Documentation ¶
Index ¶
- Variables
- type AWSInfo
- func (*AWSInfo) Descriptor() ([]byte, []int)deprecated
- func (x *AWSInfo) GetClientIdArn() string
- func (x *AWSInfo) GetClientSecret() string
- func (x *AWSInfo) GetLocation() *Location
- func (x *AWSInfo) GetRoleArn() string
- func (*AWSInfo) ProtoMessage()
- func (x *AWSInfo) ProtoReflect() protoreflect.Message
- func (x *AWSInfo) Reset()
- func (x *AWSInfo) String() string
- type AzureInfo
- type GCPInfo
- type Location
- func (*Location) Descriptor() ([]byte, []int)deprecated
- func (x *Location) GetActiveRegion() string
- func (x *Location) GetActiveZone() string
- func (x *Location) GetPassiveRegion() string
- func (x *Location) GetPassiveZone() string
- func (*Location) ProtoMessage()
- func (x *Location) ProtoReflect() protoreflect.Message
- func (x *Location) Reset()
- func (x *Location) String() string
- type Operation
- func (*Operation) Descriptor() ([]byte, []int)deprecated
- func (x *Operation) GetDone() bool
- func (x *Operation) GetError() *status.Status
- func (x *Operation) GetMetadata() *anypb.Any
- func (x *Operation) GetName() string
- func (x *Operation) GetResponse() *anypb.Any
- func (m *Operation) GetResult() isOperation_Result
- func (*Operation) ProtoMessage()
- func (x *Operation) ProtoReflect() protoreflect.Message
- func (x *Operation) Reset()
- func (x *Operation) String() string
- type Operation_Error
- type Operation_Response
Constants ¶
This section is empty.
Variables ¶
View Source
var File_types_cloud_proto protoreflect.FileDescriptor
View Source
var File_types_operation_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AWSInfo ¶
type AWSInfo struct { // Prioritized over id/secret. RoleArn string `protobuf:"bytes,1,opt,name=role_arn,json=roleArn,proto3" json:"role_arn,omitempty"` ClientIdArn string `protobuf:"bytes,2,opt,name=client_id_arn,json=clientIdArn,proto3" json:"client_id_arn,omitempty"` ClientSecret string `protobuf:"bytes,3,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"` Location *Location `protobuf:"bytes,4,opt,name=location,proto3" json:"location,omitempty"` // contains filtered or unexported fields }
func (*AWSInfo) Descriptor
deprecated
func (*AWSInfo) GetClientIdArn ¶
func (*AWSInfo) GetClientSecret ¶
func (*AWSInfo) GetLocation ¶
func (*AWSInfo) GetRoleArn ¶
func (*AWSInfo) ProtoMessage ¶
func (*AWSInfo) ProtoMessage()
func (*AWSInfo) ProtoReflect ¶
func (x *AWSInfo) ProtoReflect() protoreflect.Message
type AzureInfo ¶ added in v0.1.12
type AzureInfo struct {
// contains filtered or unexported fields
}
func (*AzureInfo) Descriptor
deprecated
added in
v0.1.12
func (*AzureInfo) ProtoMessage ¶ added in v0.1.12
func (*AzureInfo) ProtoMessage()
func (*AzureInfo) ProtoReflect ¶ added in v0.1.12
func (x *AzureInfo) ProtoReflect() protoreflect.Message
type GCPInfo ¶
type GCPInfo struct { ServiceAccount []byte `protobuf:"bytes,1,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"` Location *Location `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"` // contains filtered or unexported fields }
func (*GCPInfo) Descriptor
deprecated
func (*GCPInfo) GetLocation ¶
func (*GCPInfo) GetServiceAccount ¶
func (*GCPInfo) ProtoMessage ¶
func (*GCPInfo) ProtoMessage()
func (*GCPInfo) ProtoReflect ¶
func (x *GCPInfo) ProtoReflect() protoreflect.Message
type Location ¶
type Location struct { // If set, prioritize over active region. ActiveZone string `protobuf:"bytes,1,opt,name=active_zone,json=activeZone,proto3" json:"active_zone,omitempty"` // Valid only when active zone is not set. ActiveRegion string `protobuf:"bytes,2,opt,name=active_region,json=activeRegion,proto3" json:"active_region,omitempty"` // If set, prioritize over passive region. PassiveZone string `protobuf:"bytes,3,opt,name=passive_zone,json=passiveZone,proto3" json:"passive_zone,omitempty"` // Valid only when passive zone is not set. PassiveRegion string `protobuf:"bytes,4,opt,name=passive_region,json=passiveRegion,proto3" json:"passive_region,omitempty"` // contains filtered or unexported fields }
func (*Location) Descriptor
deprecated
func (*Location) GetActiveRegion ¶
func (*Location) GetActiveZone ¶
func (*Location) GetPassiveRegion ¶
func (*Location) GetPassiveZone ¶
func (*Location) ProtoMessage ¶
func (*Location) ProtoMessage()
func (*Location) ProtoReflect ¶
func (x *Location) ProtoReflect() protoreflect.Message
type Operation ¶ added in v0.1.9
type Operation struct { // The server-assigned name, which is only unique within the same service that // originally returns it. If you use the default HTTP mapping, the // `name` should be a resource name ending with `operations/{unique_id}`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Service-specific metadata associated with the operation. It typically // contains progress information and common metadata such as create time. // Some services might not provide such metadata. Any method that returns a // long-running operation should document the metadata type, if any. Metadata *anypb.Any `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` // If the value is `false`, it means the operation is still in progress. // If `true`, the operation is completed, and either `error` or `response` is // available. Done bool `protobuf:"varint,3,opt,name=done,proto3" json:"done,omitempty"` // The operation result, which can be either an `error` or a valid `response`. // If `done` == `false`, neither `error` nor `response` is set. // If `done` == `true`, exactly one of `error` or `response` is set. // // Types that are assignable to Result: // // *Operation_Error // *Operation_Response Result isOperation_Result `protobuf_oneof:"result"` // contains filtered or unexported fields }
This resource represents a long-running operation that is the result of a network API call.
func (*Operation) Descriptor
deprecated
added in
v0.1.9
func (*Operation) GetMetadata ¶ added in v0.1.9
func (*Operation) GetResponse ¶ added in v0.1.9
func (*Operation) ProtoMessage ¶ added in v0.1.9
func (*Operation) ProtoMessage()
func (*Operation) ProtoReflect ¶ added in v0.1.9
func (x *Operation) ProtoReflect() protoreflect.Message
type Operation_Error ¶ added in v0.1.9
type Operation_Response ¶ added in v0.1.9
type Operation_Response struct { // The normal response of the operation in case of success. If the original // method returns no data on success, such as `Delete`, the response is // `google.protobuf.Empty`. If the original method is standard // `Get`/`Create`/`Update`, the response should be the resource. For other // methods, the response should have the type `XxxResponse`, where `Xxx` // is the original method name. For example, if the original method name // is `TakeSnapshot()`, the inferred response type is // `TakeSnapshotResponse`. Response *anypb.Any `protobuf:"bytes,5,opt,name=response,proto3,oneof"` }
Click to show internal directories.
Click to hide internal directories.