idspb

package
v0.0.0-...-752cc9a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 25, 2025 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Overview

Package idspb is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var File_mockgcp_cloud_ids_v1_service_proto protoreflect.FileDescriptor
View Source
var ProjectsLocationsEndpointsServer_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "mockgcp.cloud.ids.v1.ProjectsLocationsEndpointsServer",
	HandlerType: (*ProjectsLocationsEndpointsServerServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateProjectsLocationsEndpoint",
			Handler:    _ProjectsLocationsEndpointsServer_CreateProjectsLocationsEndpoint_Handler,
		},
		{
			MethodName: "DeleteProjectsLocationsEndpoint",
			Handler:    _ProjectsLocationsEndpointsServer_DeleteProjectsLocationsEndpoint_Handler,
		},
		{
			MethodName: "GetProjectsLocationsEndpoint",
			Handler:    _ProjectsLocationsEndpointsServer_GetProjectsLocationsEndpoint_Handler,
		},
		{
			MethodName: "ListProjectsLocationsEndpoints",
			Handler:    _ProjectsLocationsEndpointsServer_ListProjectsLocationsEndpoints_Handler,
		},
		{
			MethodName: "PatchProjectsLocationsEndpoint",
			Handler:    _ProjectsLocationsEndpointsServer_PatchProjectsLocationsEndpoint_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "mockgcp/cloud/ids/v1/service.proto",
}

ProjectsLocationsEndpointsServer_ServiceDesc is the grpc.ServiceDesc for ProjectsLocationsEndpointsServer service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var ProjectsLocationsServer_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "mockgcp.cloud.ids.v1.ProjectsLocationsServer",
	HandlerType: (*ProjectsLocationsServerServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetProjectsLocation",
			Handler:    _ProjectsLocationsServer_GetProjectsLocation_Handler,
		},
		{
			MethodName: "ListProjectsLocations",
			Handler:    _ProjectsLocationsServer_ListProjectsLocations_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "mockgcp/cloud/ids/v1/service.proto",
}

ProjectsLocationsServer_ServiceDesc is the grpc.ServiceDesc for ProjectsLocationsServer service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var ProjectsServer_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "mockgcp.cloud.ids.v1.ProjectsServer",
	HandlerType: (*ProjectsServerServer)(nil),
	Methods:     []grpc.MethodDesc{},
	Streams:     []grpc.StreamDesc{},
	Metadata:    "mockgcp/cloud/ids/v1/service.proto",
}

ProjectsServer_ServiceDesc is the grpc.ServiceDesc for ProjectsServer service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterProjectsLocationsEndpointsServerHandler

func RegisterProjectsLocationsEndpointsServerHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterProjectsLocationsEndpointsServerHandler registers the http handlers for service ProjectsLocationsEndpointsServer to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterProjectsLocationsEndpointsServerHandlerClient

func RegisterProjectsLocationsEndpointsServerHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ProjectsLocationsEndpointsServerClient) error

RegisterProjectsLocationsEndpointsServerHandlerClient registers the http handlers for service ProjectsLocationsEndpointsServer to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ProjectsLocationsEndpointsServerClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ProjectsLocationsEndpointsServerClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ProjectsLocationsEndpointsServerClient" to call the correct interceptors.

func RegisterProjectsLocationsEndpointsServerHandlerFromEndpoint

func RegisterProjectsLocationsEndpointsServerHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterProjectsLocationsEndpointsServerHandlerFromEndpoint is same as RegisterProjectsLocationsEndpointsServerHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterProjectsLocationsEndpointsServerHandlerServer

func RegisterProjectsLocationsEndpointsServerHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ProjectsLocationsEndpointsServerServer) error

RegisterProjectsLocationsEndpointsServerHandlerServer registers the http handlers for service ProjectsLocationsEndpointsServer to "mux". UnaryRPC :call ProjectsLocationsEndpointsServerServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterProjectsLocationsEndpointsServerHandlerFromEndpoint instead.

func RegisterProjectsLocationsEndpointsServerServer

func RegisterProjectsLocationsEndpointsServerServer(s grpc.ServiceRegistrar, srv ProjectsLocationsEndpointsServerServer)

func RegisterProjectsLocationsServerHandler

func RegisterProjectsLocationsServerHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterProjectsLocationsServerHandler registers the http handlers for service ProjectsLocationsServer to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterProjectsLocationsServerHandlerClient

func RegisterProjectsLocationsServerHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ProjectsLocationsServerClient) error

RegisterProjectsLocationsServerHandlerClient registers the http handlers for service ProjectsLocationsServer to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ProjectsLocationsServerClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ProjectsLocationsServerClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ProjectsLocationsServerClient" to call the correct interceptors.

func RegisterProjectsLocationsServerHandlerFromEndpoint

func RegisterProjectsLocationsServerHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterProjectsLocationsServerHandlerFromEndpoint is same as RegisterProjectsLocationsServerHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterProjectsLocationsServerHandlerServer

func RegisterProjectsLocationsServerHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ProjectsLocationsServerServer) error

RegisterProjectsLocationsServerHandlerServer registers the http handlers for service ProjectsLocationsServer to "mux". UnaryRPC :call ProjectsLocationsServerServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterProjectsLocationsServerHandlerFromEndpoint instead.

func RegisterProjectsLocationsServerServer

func RegisterProjectsLocationsServerServer(s grpc.ServiceRegistrar, srv ProjectsLocationsServerServer)

func RegisterProjectsServerServer

func RegisterProjectsServerServer(s grpc.ServiceRegistrar, srv ProjectsServerServer)

Types

type AuditConfig

type AuditConfig struct {

	// The configuration for logging of each type of permission.
	AuditLogConfigs []*AuditLogConfig `protobuf:"bytes,1,rep,name=audit_log_configs,json=auditLogConfigs" json:"audit_log_configs,omitempty"`
	// Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.
	Service *string `protobuf:"bytes,2,opt,name=service" json:"service,omitempty"`
	// contains filtered or unexported fields
}

Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.

func (*AuditConfig) Descriptor deprecated

func (*AuditConfig) Descriptor() ([]byte, []int)

Deprecated: Use AuditConfig.ProtoReflect.Descriptor instead.

func (*AuditConfig) GetAuditLogConfigs

func (x *AuditConfig) GetAuditLogConfigs() []*AuditLogConfig

func (*AuditConfig) GetService

func (x *AuditConfig) GetService() string

func (*AuditConfig) ProtoMessage

func (*AuditConfig) ProtoMessage()

func (*AuditConfig) ProtoReflect

func (x *AuditConfig) ProtoReflect() protoreflect.Message

func (*AuditConfig) Reset

func (x *AuditConfig) Reset()

func (*AuditConfig) String

func (x *AuditConfig) String() string

type AuditLogConfig

type AuditLogConfig struct {

	// Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.
	ExemptedMembers []string `protobuf:"bytes,1,rep,name=exempted_members,json=exemptedMembers" json:"exempted_members,omitempty"`
	// The log type that this config enables.
	LogType *string `protobuf:"bytes,2,opt,name=log_type,json=logType" json:"log_type,omitempty"`
	// contains filtered or unexported fields
}

Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.

func (*AuditLogConfig) Descriptor deprecated

func (*AuditLogConfig) Descriptor() ([]byte, []int)

Deprecated: Use AuditLogConfig.ProtoReflect.Descriptor instead.

func (*AuditLogConfig) GetExemptedMembers

func (x *AuditLogConfig) GetExemptedMembers() []string

func (*AuditLogConfig) GetLogType

func (x *AuditLogConfig) GetLogType() string

func (*AuditLogConfig) ProtoMessage

func (*AuditLogConfig) ProtoMessage()

func (*AuditLogConfig) ProtoReflect

func (x *AuditLogConfig) ProtoReflect() protoreflect.Message

func (*AuditLogConfig) Reset

func (x *AuditLogConfig) Reset()

func (*AuditLogConfig) String

func (x *AuditLogConfig) String() string

type Binding

type Binding struct {

	// The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
	Condition *Expr `protobuf:"bytes,1,opt,name=condition" json:"condition,omitempty"`
	// Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.
	Members []string `protobuf:"bytes,2,rep,name=members" json:"members,omitempty"`
	// Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).
	Role *string `protobuf:"bytes,3,opt,name=role" json:"role,omitempty"`
	// contains filtered or unexported fields
}

Associates `members`, or principals, with a `role`.

func (*Binding) Descriptor deprecated

func (*Binding) Descriptor() ([]byte, []int)

Deprecated: Use Binding.ProtoReflect.Descriptor instead.

func (*Binding) GetCondition

func (x *Binding) GetCondition() *Expr

func (*Binding) GetMembers

func (x *Binding) GetMembers() []string

func (*Binding) GetRole

func (x *Binding) GetRole() string

func (*Binding) ProtoMessage

func (*Binding) ProtoMessage()

func (*Binding) ProtoReflect

func (x *Binding) ProtoReflect() protoreflect.Message

func (*Binding) Reset

func (x *Binding) Reset()

func (*Binding) String

func (x *Binding) String() string

type CancelOperationRequest

type CancelOperationRequest struct {
	// contains filtered or unexported fields
}

The request message for Operations.CancelOperation.

func (*CancelOperationRequest) Descriptor deprecated

func (*CancelOperationRequest) Descriptor() ([]byte, []int)

Deprecated: Use CancelOperationRequest.ProtoReflect.Descriptor instead.

func (*CancelOperationRequest) ProtoMessage

func (*CancelOperationRequest) ProtoMessage()

func (*CancelOperationRequest) ProtoReflect

func (x *CancelOperationRequest) ProtoReflect() protoreflect.Message

func (*CancelOperationRequest) Reset

func (x *CancelOperationRequest) Reset()

func (*CancelOperationRequest) String

func (x *CancelOperationRequest) String() string

type CreateProjectsLocationsEndpointRequest

type CreateProjectsLocationsEndpointRequest struct {
	EndpointId                *string   `protobuf:"bytes,1,opt,name=endpoint_id,json=endpointId" json:"endpoint_id,omitempty"`
	Parent                    *string   `protobuf:"bytes,2,opt,name=parent" json:"parent,omitempty"`
	RequestId                 *string   `protobuf:"bytes,3,opt,name=request_id,json=requestId" json:"request_id,omitempty"`
	ProjectsLocationsEndpoint *Endpoint `` /* 131-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*CreateProjectsLocationsEndpointRequest) Descriptor deprecated

func (*CreateProjectsLocationsEndpointRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateProjectsLocationsEndpointRequest.ProtoReflect.Descriptor instead.

func (*CreateProjectsLocationsEndpointRequest) GetEndpointId

func (*CreateProjectsLocationsEndpointRequest) GetParent

func (*CreateProjectsLocationsEndpointRequest) GetProjectsLocationsEndpoint

func (x *CreateProjectsLocationsEndpointRequest) GetProjectsLocationsEndpoint() *Endpoint

func (*CreateProjectsLocationsEndpointRequest) GetRequestId

func (*CreateProjectsLocationsEndpointRequest) ProtoMessage

func (*CreateProjectsLocationsEndpointRequest) ProtoReflect

func (*CreateProjectsLocationsEndpointRequest) Reset

func (*CreateProjectsLocationsEndpointRequest) String

type DeleteProjectsLocationsEndpointRequest

type DeleteProjectsLocationsEndpointRequest struct {
	Name      *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	RequestId *string `protobuf:"bytes,2,opt,name=request_id,json=requestId" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteProjectsLocationsEndpointRequest) Descriptor deprecated

func (*DeleteProjectsLocationsEndpointRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteProjectsLocationsEndpointRequest.ProtoReflect.Descriptor instead.

func (*DeleteProjectsLocationsEndpointRequest) GetName

func (*DeleteProjectsLocationsEndpointRequest) GetRequestId

func (*DeleteProjectsLocationsEndpointRequest) ProtoMessage

func (*DeleteProjectsLocationsEndpointRequest) ProtoReflect

func (*DeleteProjectsLocationsEndpointRequest) Reset

func (*DeleteProjectsLocationsEndpointRequest) String

type Empty

type Empty struct {
	// contains filtered or unexported fields
}

A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }

func (*Empty) Descriptor deprecated

func (*Empty) Descriptor() ([]byte, []int)

Deprecated: Use Empty.ProtoReflect.Descriptor instead.

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) ProtoReflect

func (x *Empty) ProtoReflect() protoreflect.Message

func (*Empty) Reset

func (x *Empty) Reset()

func (*Empty) String

func (x *Empty) String() string

type Endpoint

type Endpoint struct {

	// Output only. The create time timestamp.
	CreateTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime" json:"create_time,omitempty"`
	// User-provided description of the endpoint
	Description *string `protobuf:"bytes,2,opt,name=description" json:"description,omitempty"`
	// Output only. The fully qualified URL of the endpoint's ILB Forwarding Rule.
	EndpointForwardingRule *string `protobuf:"bytes,3,opt,name=endpoint_forwarding_rule,json=endpointForwardingRule" json:"endpoint_forwarding_rule,omitempty"`
	// Output only. The IP address of the IDS Endpoint's ILB.
	EndpointIp *string `protobuf:"bytes,4,opt,name=endpoint_ip,json=endpointIp" json:"endpoint_ip,omitempty"`
	// The labels of the endpoint.
	Labels map[string]string `` /* 132-byte string literal not displayed */
	// Output only. The name of the endpoint.
	Name *string `protobuf:"bytes,6,opt,name=name" json:"name,omitempty"`
	// Required. The fully qualified URL of the network to which the IDS Endpoint is attached.
	Network *string `protobuf:"bytes,7,opt,name=network" json:"network,omitempty"`
	// Output only. [Output Only] Reserved for future use.
	SatisfiesPzi *bool `protobuf:"varint,8,opt,name=satisfies_pzi,json=satisfiesPzi" json:"satisfies_pzi,omitempty"`
	// Output only. [Output Only] Reserved for future use.
	SatisfiesPzs *bool `protobuf:"varint,9,opt,name=satisfies_pzs,json=satisfiesPzs" json:"satisfies_pzs,omitempty"`
	// Required. Lowest threat severity that this endpoint will alert on.
	Severity *string `protobuf:"bytes,10,opt,name=severity" json:"severity,omitempty"`
	// Output only. Current state of the endpoint.
	State *string `protobuf:"bytes,11,opt,name=state" json:"state,omitempty"`
	// List of threat IDs to be excepted from generating alerts.
	ThreatExceptions []string `protobuf:"bytes,12,rep,name=threat_exceptions,json=threatExceptions" json:"threat_exceptions,omitempty"`
	// Whether the endpoint should report traffic logs in addition to threat logs.
	TrafficLogs *bool `protobuf:"varint,13,opt,name=traffic_logs,json=trafficLogs" json:"traffic_logs,omitempty"`
	// Output only. The update time timestamp.
	UpdateTime *timestamp.Timestamp `protobuf:"bytes,14,opt,name=update_time,json=updateTime" json:"update_time,omitempty"`
	// contains filtered or unexported fields
}

Endpoint describes a single IDS endpoint. It defines a forwarding rule to which packets can be sent for IDS inspection.

func (*Endpoint) Descriptor deprecated

func (*Endpoint) Descriptor() ([]byte, []int)

Deprecated: Use Endpoint.ProtoReflect.Descriptor instead.

func (*Endpoint) GetCreateTime

func (x *Endpoint) GetCreateTime() *timestamp.Timestamp

func (*Endpoint) GetDescription

func (x *Endpoint) GetDescription() string

func (*Endpoint) GetEndpointForwardingRule

func (x *Endpoint) GetEndpointForwardingRule() string

func (*Endpoint) GetEndpointIp

func (x *Endpoint) GetEndpointIp() string

func (*Endpoint) GetLabels

func (x *Endpoint) GetLabels() map[string]string

func (*Endpoint) GetName

func (x *Endpoint) GetName() string

func (*Endpoint) GetNetwork

func (x *Endpoint) GetNetwork() string

func (*Endpoint) GetSatisfiesPzi

func (x *Endpoint) GetSatisfiesPzi() bool

func (*Endpoint) GetSatisfiesPzs

func (x *Endpoint) GetSatisfiesPzs() bool

func (*Endpoint) GetSeverity

func (x *Endpoint) GetSeverity() string

func (*Endpoint) GetState

func (x *Endpoint) GetState() string

func (*Endpoint) GetThreatExceptions

func (x *Endpoint) GetThreatExceptions() []string

func (*Endpoint) GetTrafficLogs

func (x *Endpoint) GetTrafficLogs() bool

func (*Endpoint) GetUpdateTime

func (x *Endpoint) GetUpdateTime() *timestamp.Timestamp

func (*Endpoint) ProtoMessage

func (*Endpoint) ProtoMessage()

func (*Endpoint) ProtoReflect

func (x *Endpoint) ProtoReflect() protoreflect.Message

func (*Endpoint) Reset

func (x *Endpoint) Reset()

func (*Endpoint) String

func (x *Endpoint) String() string

type Expr

type Expr struct {

	// Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
	Description *string `protobuf:"bytes,1,opt,name=description" json:"description,omitempty"`
	// Textual representation of an expression in Common Expression Language syntax.
	Expression *string `protobuf:"bytes,2,opt,name=expression" json:"expression,omitempty"`
	// Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
	Location *string `protobuf:"bytes,3,opt,name=location" json:"location,omitempty"`
	// Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
	Title *string `protobuf:"bytes,4,opt,name=title" json:"title,omitempty"`
	// contains filtered or unexported fields
}

Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.

func (*Expr) Descriptor deprecated

func (*Expr) Descriptor() ([]byte, []int)

Deprecated: Use Expr.ProtoReflect.Descriptor instead.

func (*Expr) GetDescription

func (x *Expr) GetDescription() string

func (*Expr) GetExpression

func (x *Expr) GetExpression() string

func (*Expr) GetLocation

func (x *Expr) GetLocation() string

func (*Expr) GetTitle

func (x *Expr) GetTitle() string

func (*Expr) ProtoMessage

func (*Expr) ProtoMessage()

func (*Expr) ProtoReflect

func (x *Expr) ProtoReflect() protoreflect.Message

func (*Expr) Reset

func (x *Expr) Reset()

func (*Expr) String

func (x *Expr) String() string

type GetProjectsLocationRequest

type GetProjectsLocationRequest struct {
	Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*GetProjectsLocationRequest) Descriptor deprecated

func (*GetProjectsLocationRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetProjectsLocationRequest.ProtoReflect.Descriptor instead.

func (*GetProjectsLocationRequest) GetName

func (x *GetProjectsLocationRequest) GetName() string

func (*GetProjectsLocationRequest) ProtoMessage

func (*GetProjectsLocationRequest) ProtoMessage()

func (*GetProjectsLocationRequest) ProtoReflect

func (*GetProjectsLocationRequest) Reset

func (x *GetProjectsLocationRequest) Reset()

func (*GetProjectsLocationRequest) String

func (x *GetProjectsLocationRequest) String() string

type GetProjectsLocationsEndpointRequest

type GetProjectsLocationsEndpointRequest struct {
	Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*GetProjectsLocationsEndpointRequest) Descriptor deprecated

func (*GetProjectsLocationsEndpointRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetProjectsLocationsEndpointRequest.ProtoReflect.Descriptor instead.

func (*GetProjectsLocationsEndpointRequest) GetName

func (*GetProjectsLocationsEndpointRequest) ProtoMessage

func (*GetProjectsLocationsEndpointRequest) ProtoMessage()

func (*GetProjectsLocationsEndpointRequest) ProtoReflect

func (*GetProjectsLocationsEndpointRequest) Reset

func (*GetProjectsLocationsEndpointRequest) String

type ListEndpointsResponse

type ListEndpointsResponse struct {

	// The list of endpoints response.
	Endpoints []*Endpoint `protobuf:"bytes,1,rep,name=endpoints" json:"endpoints,omitempty"`
	// A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
	NextPageToken *string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken" json:"next_page_token,omitempty"`
	// Locations that could not be reached.
	Unreachable []string `protobuf:"bytes,3,rep,name=unreachable" json:"unreachable,omitempty"`
	// contains filtered or unexported fields
}

func (*ListEndpointsResponse) Descriptor deprecated

func (*ListEndpointsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListEndpointsResponse.ProtoReflect.Descriptor instead.

func (*ListEndpointsResponse) GetEndpoints

func (x *ListEndpointsResponse) GetEndpoints() []*Endpoint

func (*ListEndpointsResponse) GetNextPageToken

func (x *ListEndpointsResponse) GetNextPageToken() string

func (*ListEndpointsResponse) GetUnreachable

func (x *ListEndpointsResponse) GetUnreachable() []string

func (*ListEndpointsResponse) ProtoMessage

func (*ListEndpointsResponse) ProtoMessage()

func (*ListEndpointsResponse) ProtoReflect

func (x *ListEndpointsResponse) ProtoReflect() protoreflect.Message

func (*ListEndpointsResponse) Reset

func (x *ListEndpointsResponse) Reset()

func (*ListEndpointsResponse) String

func (x *ListEndpointsResponse) String() string

type ListLocationsResponse

type ListLocationsResponse struct {

	// A list of locations that matches the specified filter in the request.
	Locations []*Location `protobuf:"bytes,1,rep,name=locations" json:"locations,omitempty"`
	// The standard List next-page token.
	NextPageToken *string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

The response message for Locations.ListLocations.

func (*ListLocationsResponse) Descriptor deprecated

func (*ListLocationsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListLocationsResponse.ProtoReflect.Descriptor instead.

func (*ListLocationsResponse) GetLocations

func (x *ListLocationsResponse) GetLocations() []*Location

func (*ListLocationsResponse) GetNextPageToken

func (x *ListLocationsResponse) GetNextPageToken() string

func (*ListLocationsResponse) ProtoMessage

func (*ListLocationsResponse) ProtoMessage()

func (*ListLocationsResponse) ProtoReflect

func (x *ListLocationsResponse) ProtoReflect() protoreflect.Message

func (*ListLocationsResponse) Reset

func (x *ListLocationsResponse) Reset()

func (*ListLocationsResponse) String

func (x *ListLocationsResponse) String() string

type ListOperationsResponse

type ListOperationsResponse struct {

	// The standard List next-page token.
	NextPageToken *string `protobuf:"bytes,1,opt,name=next_page_token,json=nextPageToken" json:"next_page_token,omitempty"`
	// A list of operations that matches the specified filter in the request.
	Operations []*longrunningpb.Operation `protobuf:"bytes,2,rep,name=operations" json:"operations,omitempty"`
	// contains filtered or unexported fields
}

The response message for Operations.ListOperations.

func (*ListOperationsResponse) Descriptor deprecated

func (*ListOperationsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListOperationsResponse.ProtoReflect.Descriptor instead.

func (*ListOperationsResponse) GetNextPageToken

func (x *ListOperationsResponse) GetNextPageToken() string

func (*ListOperationsResponse) GetOperations

func (x *ListOperationsResponse) GetOperations() []*longrunningpb.Operation

func (*ListOperationsResponse) ProtoMessage

func (*ListOperationsResponse) ProtoMessage()

func (*ListOperationsResponse) ProtoReflect

func (x *ListOperationsResponse) ProtoReflect() protoreflect.Message

func (*ListOperationsResponse) Reset

func (x *ListOperationsResponse) Reset()

func (*ListOperationsResponse) String

func (x *ListOperationsResponse) String() string

type ListProjectsLocationsEndpointsRequest

type ListProjectsLocationsEndpointsRequest struct {
	Filter    *string `protobuf:"bytes,1,opt,name=filter" json:"filter,omitempty"`
	OrderBy   *string `protobuf:"bytes,2,opt,name=order_by,json=orderBy" json:"order_by,omitempty"`
	PageSize  *int32  `protobuf:"varint,3,opt,name=page_size,json=pageSize" json:"page_size,omitempty"`
	PageToken *string `protobuf:"bytes,4,opt,name=page_token,json=pageToken" json:"page_token,omitempty"`
	Parent    *string `protobuf:"bytes,5,opt,name=parent" json:"parent,omitempty"`
	// contains filtered or unexported fields
}

func (*ListProjectsLocationsEndpointsRequest) Descriptor deprecated

func (*ListProjectsLocationsEndpointsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListProjectsLocationsEndpointsRequest.ProtoReflect.Descriptor instead.

func (*ListProjectsLocationsEndpointsRequest) GetFilter

func (*ListProjectsLocationsEndpointsRequest) GetOrderBy

func (*ListProjectsLocationsEndpointsRequest) GetPageSize

func (*ListProjectsLocationsEndpointsRequest) GetPageToken

func (*ListProjectsLocationsEndpointsRequest) GetParent

func (*ListProjectsLocationsEndpointsRequest) ProtoMessage

func (*ListProjectsLocationsEndpointsRequest) ProtoMessage()

func (*ListProjectsLocationsEndpointsRequest) ProtoReflect

func (*ListProjectsLocationsEndpointsRequest) Reset

func (*ListProjectsLocationsEndpointsRequest) String

type ListProjectsLocationsRequest

type ListProjectsLocationsRequest struct {
	Filter    *string `protobuf:"bytes,1,opt,name=filter" json:"filter,omitempty"`
	Name      *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	PageSize  *int32  `protobuf:"varint,3,opt,name=page_size,json=pageSize" json:"page_size,omitempty"`
	PageToken *string `protobuf:"bytes,4,opt,name=page_token,json=pageToken" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListProjectsLocationsRequest) Descriptor deprecated

func (*ListProjectsLocationsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListProjectsLocationsRequest.ProtoReflect.Descriptor instead.

func (*ListProjectsLocationsRequest) GetFilter

func (x *ListProjectsLocationsRequest) GetFilter() string

func (*ListProjectsLocationsRequest) GetName

func (x *ListProjectsLocationsRequest) GetName() string

func (*ListProjectsLocationsRequest) GetPageSize

func (x *ListProjectsLocationsRequest) GetPageSize() int32

func (*ListProjectsLocationsRequest) GetPageToken

func (x *ListProjectsLocationsRequest) GetPageToken() string

func (*ListProjectsLocationsRequest) ProtoMessage

func (*ListProjectsLocationsRequest) ProtoMessage()

func (*ListProjectsLocationsRequest) ProtoReflect

func (*ListProjectsLocationsRequest) Reset

func (x *ListProjectsLocationsRequest) Reset()

func (*ListProjectsLocationsRequest) String

type Location

type Location struct {

	// The friendly name for this location, typically a nearby city name. For example, "Tokyo".
	DisplayName *string `protobuf:"bytes,1,opt,name=display_name,json=displayName" json:"display_name,omitempty"`
	// Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"}
	Labels map[string]string `` /* 132-byte string literal not displayed */
	// The canonical id for this location. For example: `"us-east1"`.
	LocationId *string `protobuf:"bytes,3,opt,name=location_id,json=locationId" json:"location_id,omitempty"`
	// Service-specific metadata. For example the available capacity at the given location.
	Metadata map[string]*any1.Any `` /* 136-byte string literal not displayed */
	// Resource name for the location, which may vary between implementations. For example: `"projects/example-project/locations/us-east1"`
	Name *string `protobuf:"bytes,5,opt,name=name" json:"name,omitempty"`
	// contains filtered or unexported fields
}

A resource that represents a Google Cloud location.

func (*Location) Descriptor deprecated

func (*Location) Descriptor() ([]byte, []int)

Deprecated: Use Location.ProtoReflect.Descriptor instead.

func (*Location) GetDisplayName

func (x *Location) GetDisplayName() string

func (*Location) GetLabels

func (x *Location) GetLabels() map[string]string

func (*Location) GetLocationId

func (x *Location) GetLocationId() string

func (*Location) GetMetadata

func (x *Location) GetMetadata() map[string]*any1.Any

func (*Location) GetName

func (x *Location) GetName() string

func (*Location) ProtoMessage

func (*Location) ProtoMessage()

func (*Location) ProtoReflect

func (x *Location) ProtoReflect() protoreflect.Message

func (*Location) Reset

func (x *Location) Reset()

func (*Location) String

func (x *Location) String() string

type OperationMetadata

type OperationMetadata struct {

	// Output only. API version used to start the operation.
	ApiVersion *string `protobuf:"bytes,1,opt,name=api_version,json=apiVersion" json:"api_version,omitempty"`
	// Output only. The time the operation was created.
	CreateTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime" json:"create_time,omitempty"`
	// Output only. The time the operation finished running.
	EndTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime" json:"end_time,omitempty"`
	// Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
	RequestedCancellation *bool `protobuf:"varint,4,opt,name=requested_cancellation,json=requestedCancellation" json:"requested_cancellation,omitempty"`
	// Output only. Human-readable status of the operation, if any.
	StatusMessage *string `protobuf:"bytes,5,opt,name=status_message,json=statusMessage" json:"status_message,omitempty"`
	// Output only. Server-defined resource path for the target of the operation.
	Target *string `protobuf:"bytes,6,opt,name=target" json:"target,omitempty"`
	// Output only. Name of the verb executed by the operation.
	Verb *string `protobuf:"bytes,7,opt,name=verb" json:"verb,omitempty"`
	// contains filtered or unexported fields
}

Represents the metadata of the long-running operation.

func (*OperationMetadata) Descriptor deprecated

func (*OperationMetadata) Descriptor() ([]byte, []int)

Deprecated: Use OperationMetadata.ProtoReflect.Descriptor instead.

func (*OperationMetadata) GetApiVersion

func (x *OperationMetadata) GetApiVersion() string

func (*OperationMetadata) GetCreateTime

func (x *OperationMetadata) GetCreateTime() *timestamp.Timestamp

func (*OperationMetadata) GetEndTime

func (x *OperationMetadata) GetEndTime() *timestamp.Timestamp

func (*OperationMetadata) GetRequestedCancellation

func (x *OperationMetadata) GetRequestedCancellation() bool

func (*OperationMetadata) GetStatusMessage

func (x *OperationMetadata) GetStatusMessage() string

func (*OperationMetadata) GetTarget

func (x *OperationMetadata) GetTarget() string

func (*OperationMetadata) GetVerb

func (x *OperationMetadata) GetVerb() string

func (*OperationMetadata) ProtoMessage

func (*OperationMetadata) ProtoMessage()

func (*OperationMetadata) ProtoReflect

func (x *OperationMetadata) ProtoReflect() protoreflect.Message

func (*OperationMetadata) Reset

func (x *OperationMetadata) Reset()

func (*OperationMetadata) String

func (x *OperationMetadata) String() string

type PatchProjectsLocationsEndpointRequest

type PatchProjectsLocationsEndpointRequest struct {
	Name                      *string   `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	RequestId                 *string   `protobuf:"bytes,2,opt,name=request_id,json=requestId" json:"request_id,omitempty"`
	UpdateMask                *string   `protobuf:"bytes,3,opt,name=update_mask,json=updateMask" json:"update_mask,omitempty"`
	ProjectsLocationsEndpoint *Endpoint `` /* 131-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*PatchProjectsLocationsEndpointRequest) Descriptor deprecated

func (*PatchProjectsLocationsEndpointRequest) Descriptor() ([]byte, []int)

Deprecated: Use PatchProjectsLocationsEndpointRequest.ProtoReflect.Descriptor instead.

func (*PatchProjectsLocationsEndpointRequest) GetName

func (*PatchProjectsLocationsEndpointRequest) GetProjectsLocationsEndpoint

func (x *PatchProjectsLocationsEndpointRequest) GetProjectsLocationsEndpoint() *Endpoint

func (*PatchProjectsLocationsEndpointRequest) GetRequestId

func (*PatchProjectsLocationsEndpointRequest) GetUpdateMask

func (x *PatchProjectsLocationsEndpointRequest) GetUpdateMask() string

func (*PatchProjectsLocationsEndpointRequest) ProtoMessage

func (*PatchProjectsLocationsEndpointRequest) ProtoMessage()

func (*PatchProjectsLocationsEndpointRequest) ProtoReflect

func (*PatchProjectsLocationsEndpointRequest) Reset

func (*PatchProjectsLocationsEndpointRequest) String

type Policy

type Policy struct {

	// Specifies cloud audit logging configuration for this policy.
	AuditConfigs []*AuditConfig `protobuf:"bytes,1,rep,name=audit_configs,json=auditConfigs" json:"audit_configs,omitempty"`
	// Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.
	Bindings []*Binding `protobuf:"bytes,2,rep,name=bindings" json:"bindings,omitempty"`
	// `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.
	Etag []byte `protobuf:"bytes,3,opt,name=etag" json:"etag,omitempty"`
	// Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
	Version *int32 `protobuf:"varint,4,opt,name=version" json:"version,omitempty"`
	// contains filtered or unexported fields
}

An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { "bindings": [ { "role": "roles/resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@appspot.gserviceaccount.com" ] }, { "role": "roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com" ], "condition": { "title": "expirable access", "description": "Does not grant access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", } } ], "etag": "BwWWja0YfJA=", "version": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).

func (*Policy) Descriptor deprecated

func (*Policy) Descriptor() ([]byte, []int)

Deprecated: Use Policy.ProtoReflect.Descriptor instead.

func (*Policy) GetAuditConfigs

func (x *Policy) GetAuditConfigs() []*AuditConfig

func (*Policy) GetBindings

func (x *Policy) GetBindings() []*Binding

func (*Policy) GetEtag

func (x *Policy) GetEtag() []byte

func (*Policy) GetVersion

func (x *Policy) GetVersion() int32

func (*Policy) ProtoMessage

func (*Policy) ProtoMessage()

func (*Policy) ProtoReflect

func (x *Policy) ProtoReflect() protoreflect.Message

func (*Policy) Reset

func (x *Policy) Reset()

func (*Policy) String

func (x *Policy) String() string

type ProjectsLocationsEndpointsServerClient

type ProjectsLocationsEndpointsServerClient interface {
	// Creates a new Endpoint in a given project and location.
	CreateProjectsLocationsEndpoint(ctx context.Context, in *CreateProjectsLocationsEndpointRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Deletes a single Endpoint.
	DeleteProjectsLocationsEndpoint(ctx context.Context, in *DeleteProjectsLocationsEndpointRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Gets details of a single Endpoint.
	GetProjectsLocationsEndpoint(ctx context.Context, in *GetProjectsLocationsEndpointRequest, opts ...grpc.CallOption) (*Endpoint, error)
	// Lists Endpoints in a given project and location.
	ListProjectsLocationsEndpoints(ctx context.Context, in *ListProjectsLocationsEndpointsRequest, opts ...grpc.CallOption) (*ListEndpointsResponse, error)
	// Updates the parameters of a single Endpoint.
	PatchProjectsLocationsEndpoint(ctx context.Context, in *PatchProjectsLocationsEndpointRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
}

ProjectsLocationsEndpointsServerClient is the client API for ProjectsLocationsEndpointsServer service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type ProjectsLocationsEndpointsServerServer

type ProjectsLocationsEndpointsServerServer interface {
	// Creates a new Endpoint in a given project and location.
	CreateProjectsLocationsEndpoint(context.Context, *CreateProjectsLocationsEndpointRequest) (*longrunningpb.Operation, error)
	// Deletes a single Endpoint.
	DeleteProjectsLocationsEndpoint(context.Context, *DeleteProjectsLocationsEndpointRequest) (*longrunningpb.Operation, error)
	// Gets details of a single Endpoint.
	GetProjectsLocationsEndpoint(context.Context, *GetProjectsLocationsEndpointRequest) (*Endpoint, error)
	// Lists Endpoints in a given project and location.
	ListProjectsLocationsEndpoints(context.Context, *ListProjectsLocationsEndpointsRequest) (*ListEndpointsResponse, error)
	// Updates the parameters of a single Endpoint.
	PatchProjectsLocationsEndpoint(context.Context, *PatchProjectsLocationsEndpointRequest) (*longrunningpb.Operation, error)
	// contains filtered or unexported methods
}

ProjectsLocationsEndpointsServerServer is the server API for ProjectsLocationsEndpointsServer service. All implementations must embed UnimplementedProjectsLocationsEndpointsServerServer for forward compatibility

type ProjectsLocationsServerClient

type ProjectsLocationsServerClient interface {
	// Gets information about a location.
	GetProjectsLocation(ctx context.Context, in *GetProjectsLocationRequest, opts ...grpc.CallOption) (*Location, error)
	// Lists information about the supported locations for this service.
	ListProjectsLocations(ctx context.Context, in *ListProjectsLocationsRequest, opts ...grpc.CallOption) (*ListLocationsResponse, error)
}

ProjectsLocationsServerClient is the client API for ProjectsLocationsServer service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type ProjectsLocationsServerServer

type ProjectsLocationsServerServer interface {
	// Gets information about a location.
	GetProjectsLocation(context.Context, *GetProjectsLocationRequest) (*Location, error)
	// Lists information about the supported locations for this service.
	ListProjectsLocations(context.Context, *ListProjectsLocationsRequest) (*ListLocationsResponse, error)
	// contains filtered or unexported methods
}

ProjectsLocationsServerServer is the server API for ProjectsLocationsServer service. All implementations must embed UnimplementedProjectsLocationsServerServer for forward compatibility

type ProjectsServerClient

type ProjectsServerClient interface {
}

ProjectsServerClient is the client API for ProjectsServer service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type ProjectsServerServer

type ProjectsServerServer interface {
	// contains filtered or unexported methods
}

ProjectsServerServer is the server API for ProjectsServer service. All implementations must embed UnimplementedProjectsServerServer for forward compatibility

type SetIamPolicyRequest

type SetIamPolicyRequest struct {

	// REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them.
	Policy *Policy `protobuf:"bytes,1,opt,name=policy" json:"policy,omitempty"`
	// OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: "bindings, etag"`
	UpdateMask *string `protobuf:"bytes,2,opt,name=update_mask,json=updateMask" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

Request message for `SetIamPolicy` method.

func (*SetIamPolicyRequest) Descriptor deprecated

func (*SetIamPolicyRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetIamPolicyRequest.ProtoReflect.Descriptor instead.

func (*SetIamPolicyRequest) GetPolicy

func (x *SetIamPolicyRequest) GetPolicy() *Policy

func (*SetIamPolicyRequest) GetUpdateMask

func (x *SetIamPolicyRequest) GetUpdateMask() string

func (*SetIamPolicyRequest) ProtoMessage

func (*SetIamPolicyRequest) ProtoMessage()

func (*SetIamPolicyRequest) ProtoReflect

func (x *SetIamPolicyRequest) ProtoReflect() protoreflect.Message

func (*SetIamPolicyRequest) Reset

func (x *SetIamPolicyRequest) Reset()

func (*SetIamPolicyRequest) String

func (x *SetIamPolicyRequest) String() string

type Status

type Status struct {

	// The status code, which should be an enum value of google.rpc.Code.
	Code *int32 `protobuf:"varint,1,opt,name=code" json:"code,omitempty"`
	// A list of messages that carry the error details. There is a common set of message types for APIs to use.
	Details []*any1.Any `protobuf:"bytes,2,rep,name=details" json:"details,omitempty"`
	// A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
	Message *string `protobuf:"bytes,3,opt,name=message" json:"message,omitempty"`
	// contains filtered or unexported fields
}

The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).

func (*Status) Descriptor deprecated

func (*Status) Descriptor() ([]byte, []int)

Deprecated: Use Status.ProtoReflect.Descriptor instead.

func (*Status) GetCode

func (x *Status) GetCode() int32

func (*Status) GetDetails

func (x *Status) GetDetails() []*any1.Any

func (*Status) GetMessage

func (x *Status) GetMessage() string

func (*Status) ProtoMessage

func (*Status) ProtoMessage()

func (*Status) ProtoReflect

func (x *Status) ProtoReflect() protoreflect.Message

func (*Status) Reset

func (x *Status) Reset()

func (*Status) String

func (x *Status) String() string

type TestIamPermissionsRequest

type TestIamPermissionsRequest struct {

	// The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
	Permissions []string `protobuf:"bytes,1,rep,name=permissions" json:"permissions,omitempty"`
	// contains filtered or unexported fields
}

Request message for `TestIamPermissions` method.

func (*TestIamPermissionsRequest) Descriptor deprecated

func (*TestIamPermissionsRequest) Descriptor() ([]byte, []int)

Deprecated: Use TestIamPermissionsRequest.ProtoReflect.Descriptor instead.

func (*TestIamPermissionsRequest) GetPermissions

func (x *TestIamPermissionsRequest) GetPermissions() []string

func (*TestIamPermissionsRequest) ProtoMessage

func (*TestIamPermissionsRequest) ProtoMessage()

func (*TestIamPermissionsRequest) ProtoReflect

func (*TestIamPermissionsRequest) Reset

func (x *TestIamPermissionsRequest) Reset()

func (*TestIamPermissionsRequest) String

func (x *TestIamPermissionsRequest) String() string

type TestIamPermissionsResponse

type TestIamPermissionsResponse struct {

	// A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
	Permissions []string `protobuf:"bytes,1,rep,name=permissions" json:"permissions,omitempty"`
	// contains filtered or unexported fields
}

Response message for `TestIamPermissions` method.

func (*TestIamPermissionsResponse) Descriptor deprecated

func (*TestIamPermissionsResponse) Descriptor() ([]byte, []int)

Deprecated: Use TestIamPermissionsResponse.ProtoReflect.Descriptor instead.

func (*TestIamPermissionsResponse) GetPermissions

func (x *TestIamPermissionsResponse) GetPermissions() []string

func (*TestIamPermissionsResponse) ProtoMessage

func (*TestIamPermissionsResponse) ProtoMessage()

func (*TestIamPermissionsResponse) ProtoReflect

func (*TestIamPermissionsResponse) Reset

func (x *TestIamPermissionsResponse) Reset()

func (*TestIamPermissionsResponse) String

func (x *TestIamPermissionsResponse) String() string

type UnimplementedProjectsLocationsEndpointsServerServer

type UnimplementedProjectsLocationsEndpointsServerServer struct {
}

UnimplementedProjectsLocationsEndpointsServerServer must be embedded to have forward compatible implementations.

func (UnimplementedProjectsLocationsEndpointsServerServer) CreateProjectsLocationsEndpoint

func (UnimplementedProjectsLocationsEndpointsServerServer) DeleteProjectsLocationsEndpoint

func (UnimplementedProjectsLocationsEndpointsServerServer) GetProjectsLocationsEndpoint

func (UnimplementedProjectsLocationsEndpointsServerServer) ListProjectsLocationsEndpoints

func (UnimplementedProjectsLocationsEndpointsServerServer) PatchProjectsLocationsEndpoint

type UnimplementedProjectsLocationsServerServer

type UnimplementedProjectsLocationsServerServer struct {
}

UnimplementedProjectsLocationsServerServer must be embedded to have forward compatible implementations.

func (UnimplementedProjectsLocationsServerServer) GetProjectsLocation

func (UnimplementedProjectsLocationsServerServer) ListProjectsLocations

type UnimplementedProjectsServerServer

type UnimplementedProjectsServerServer struct {
}

UnimplementedProjectsServerServer must be embedded to have forward compatible implementations.

type UnsafeProjectsLocationsEndpointsServerServer

type UnsafeProjectsLocationsEndpointsServerServer interface {
	// contains filtered or unexported methods
}

UnsafeProjectsLocationsEndpointsServerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ProjectsLocationsEndpointsServerServer will result in compilation errors.

type UnsafeProjectsLocationsServerServer

type UnsafeProjectsLocationsServerServer interface {
	// contains filtered or unexported methods
}

UnsafeProjectsLocationsServerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ProjectsLocationsServerServer will result in compilation errors.

type UnsafeProjectsServerServer

type UnsafeProjectsServerServer interface {
	// contains filtered or unexported methods
}

UnsafeProjectsServerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ProjectsServerServer will result in compilation errors.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL