Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterCloudLocationFinderServer(s grpc.ServiceRegistrar, srv CloudLocationFinderServer)
- type CloudLocation
- func (*CloudLocation) Descriptor() ([]byte, []int)deprecated
- func (x *CloudLocation) GetCarbonFreeEnergyPercentage() float32
- func (x *CloudLocation) GetCloudLocationType() CloudLocation_CloudLocationType
- func (x *CloudLocation) GetCloudProvider() CloudLocation_CloudProvider
- func (x *CloudLocation) GetContainingCloudLocation() string
- func (x *CloudLocation) GetDisplayName() string
- func (x *CloudLocation) GetName() string
- func (x *CloudLocation) GetTerritoryCode() string
- func (*CloudLocation) ProtoMessage()
- func (x *CloudLocation) ProtoReflect() protoreflect.Message
- func (x *CloudLocation) Reset()
- func (x *CloudLocation) String() string
- type CloudLocationFinderClient
- type CloudLocationFinderServer
- type CloudLocation_CloudLocationType
- func (CloudLocation_CloudLocationType) Descriptor() protoreflect.EnumDescriptor
- func (x CloudLocation_CloudLocationType) Enum() *CloudLocation_CloudLocationType
- func (CloudLocation_CloudLocationType) EnumDescriptor() ([]byte, []int)deprecated
- func (x CloudLocation_CloudLocationType) Number() protoreflect.EnumNumber
- func (x CloudLocation_CloudLocationType) String() string
- func (CloudLocation_CloudLocationType) Type() protoreflect.EnumType
- type CloudLocation_CloudProvider
- func (CloudLocation_CloudProvider) Descriptor() protoreflect.EnumDescriptor
- func (x CloudLocation_CloudProvider) Enum() *CloudLocation_CloudProvider
- func (CloudLocation_CloudProvider) EnumDescriptor() ([]byte, []int)deprecated
- func (x CloudLocation_CloudProvider) Number() protoreflect.EnumNumber
- func (x CloudLocation_CloudProvider) String() string
- func (CloudLocation_CloudProvider) Type() protoreflect.EnumType
- type GetCloudLocationRequest
- func (*GetCloudLocationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetCloudLocationRequest) GetName() string
- func (*GetCloudLocationRequest) ProtoMessage()
- func (x *GetCloudLocationRequest) ProtoReflect() protoreflect.Message
- func (x *GetCloudLocationRequest) Reset()
- func (x *GetCloudLocationRequest) String() string
- type ListCloudLocationsRequest
- func (*ListCloudLocationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListCloudLocationsRequest) GetFilter() string
- func (x *ListCloudLocationsRequest) GetPageSize() int32
- func (x *ListCloudLocationsRequest) GetPageToken() string
- func (x *ListCloudLocationsRequest) GetParent() string
- func (*ListCloudLocationsRequest) ProtoMessage()
- func (x *ListCloudLocationsRequest) ProtoReflect() protoreflect.Message
- func (x *ListCloudLocationsRequest) Reset()
- func (x *ListCloudLocationsRequest) String() string
- type ListCloudLocationsResponse
- func (*ListCloudLocationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListCloudLocationsResponse) GetCloudLocations() []*CloudLocation
- func (x *ListCloudLocationsResponse) GetNextPageToken() string
- func (*ListCloudLocationsResponse) ProtoMessage()
- func (x *ListCloudLocationsResponse) ProtoReflect() protoreflect.Message
- func (x *ListCloudLocationsResponse) Reset()
- func (x *ListCloudLocationsResponse) String() string
- type SearchCloudLocationsRequest
- func (*SearchCloudLocationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SearchCloudLocationsRequest) GetPageSize() int32
- func (x *SearchCloudLocationsRequest) GetPageToken() string
- func (x *SearchCloudLocationsRequest) GetParent() string
- func (x *SearchCloudLocationsRequest) GetQuery() string
- func (x *SearchCloudLocationsRequest) GetSourceCloudLocation() string
- func (*SearchCloudLocationsRequest) ProtoMessage()
- func (x *SearchCloudLocationsRequest) ProtoReflect() protoreflect.Message
- func (x *SearchCloudLocationsRequest) Reset()
- func (x *SearchCloudLocationsRequest) String() string
- type SearchCloudLocationsResponse
- func (*SearchCloudLocationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SearchCloudLocationsResponse) GetCloudLocations() []*CloudLocation
- func (x *SearchCloudLocationsResponse) GetNextPageToken() string
- func (*SearchCloudLocationsResponse) ProtoMessage()
- func (x *SearchCloudLocationsResponse) ProtoReflect() protoreflect.Message
- func (x *SearchCloudLocationsResponse) Reset()
- func (x *SearchCloudLocationsResponse) String() string
- type UnimplementedCloudLocationFinderServer
- func (UnimplementedCloudLocationFinderServer) GetCloudLocation(context.Context, *GetCloudLocationRequest) (*CloudLocation, error)
- func (UnimplementedCloudLocationFinderServer) ListCloudLocations(context.Context, *ListCloudLocationsRequest) (*ListCloudLocationsResponse, error)
- func (UnimplementedCloudLocationFinderServer) SearchCloudLocations(context.Context, *SearchCloudLocationsRequest) (*SearchCloudLocationsResponse, error)
- type UnsafeCloudLocationFinderServer
Constants ¶
const ( CloudLocationFinder_ListCloudLocations_FullMethodName = "/google.cloud.locationfinder.v1.CloudLocationFinder/ListCloudLocations" CloudLocationFinder_GetCloudLocation_FullMethodName = "/google.cloud.locationfinder.v1.CloudLocationFinder/GetCloudLocation" CloudLocationFinder_SearchCloudLocations_FullMethodName = "/google.cloud.locationfinder.v1.CloudLocationFinder/SearchCloudLocations" )
Variables ¶
var ( CloudLocation_CloudProvider_name = map[int32]string{ 0: "CLOUD_PROVIDER_UNSPECIFIED", 1: "CLOUD_PROVIDER_GCP", 2: "CLOUD_PROVIDER_AWS", 3: "CLOUD_PROVIDER_AZURE", 4: "CLOUD_PROVIDER_OCI", } CloudLocation_CloudProvider_value = map[string]int32{ "CLOUD_PROVIDER_UNSPECIFIED": 0, "CLOUD_PROVIDER_GCP": 1, "CLOUD_PROVIDER_AWS": 2, "CLOUD_PROVIDER_AZURE": 3, "CLOUD_PROVIDER_OCI": 4, } )
Enum value maps for CloudLocation_CloudProvider.
var ( CloudLocation_CloudLocationType_name = map[int32]string{ 0: "CLOUD_LOCATION_TYPE_UNSPECIFIED", 1: "CLOUD_LOCATION_TYPE_REGION", 2: "CLOUD_LOCATION_TYPE_ZONE", 3: "CLOUD_LOCATION_TYPE_REGION_EXTENSION", 4: "CLOUD_LOCATION_TYPE_GDCC_ZONE", } CloudLocation_CloudLocationType_value = map[string]int32{ "CLOUD_LOCATION_TYPE_UNSPECIFIED": 0, "CLOUD_LOCATION_TYPE_REGION": 1, "CLOUD_LOCATION_TYPE_ZONE": 2, "CLOUD_LOCATION_TYPE_REGION_EXTENSION": 3, "CLOUD_LOCATION_TYPE_GDCC_ZONE": 4, } )
Enum value maps for CloudLocation_CloudLocationType.
var CloudLocationFinder_ServiceDesc = grpc.ServiceDesc{ ServiceName: "google.cloud.locationfinder.v1.CloudLocationFinder", HandlerType: (*CloudLocationFinderServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListCloudLocations", Handler: _CloudLocationFinder_ListCloudLocations_Handler, }, { MethodName: "GetCloudLocation", Handler: _CloudLocationFinder_GetCloudLocation_Handler, }, { MethodName: "SearchCloudLocations", Handler: _CloudLocationFinder_SearchCloudLocations_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "google/cloud/locationfinder/v1/service.proto", }
CloudLocationFinder_ServiceDesc is the grpc.ServiceDesc for CloudLocationFinder service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_google_cloud_locationfinder_v1_cloud_location_proto protoreflect.FileDescriptor
var File_google_cloud_locationfinder_v1_service_proto protoreflect.FileDescriptor
Functions ¶
func RegisterCloudLocationFinderServer ¶
func RegisterCloudLocationFinderServer(s grpc.ServiceRegistrar, srv CloudLocationFinderServer)
Types ¶
type CloudLocation ¶
type CloudLocation struct {
// Identifier. Name of the cloud location. Unique name of the cloud location
// including project and location using the form:
// `projects/{project_id}/locations/{location}/cloudLocations/{cloud_location}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. The containing cloud location in the strict nesting hierarchy.
// For example, the containing cloud location of a zone is a region.
ContainingCloudLocation string `` /* 132-byte string literal not displayed */
// Optional. The human-readable name of the cloud location. Example:
// us-east-2, us-east1.
DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// Optional. The provider of the cloud location. Values can be Google Cloud or
// third-party providers, including AWS, Azure, or Oracle Cloud
// Infrastructure.
CloudProvider CloudLocation_CloudProvider `` /* 165-byte string literal not displayed */
// Optional. The two-letter ISO 3166-1 alpha-2 code of the cloud location.
// Examples: US, JP, KR.
TerritoryCode string `protobuf:"bytes,5,opt,name=territory_code,json=territoryCode,proto3" json:"territory_code,omitempty"`
// Optional. The type of the cloud location.
CloudLocationType CloudLocation_CloudLocationType `` /* 183-byte string literal not displayed */
// Optional. The carbon free energy percentage of the cloud location. This
// represents the average percentage of time customers' application will be
// running on carbon-free energy. See
// https://cloud.google.com/sustainability/region-carbon for more details.
// There is a difference between default value 0 and unset value. 0 means the
// carbon free energy percentage is 0%, while unset value means the carbon
// footprint data is not available.
CarbonFreeEnergyPercentage *float32 `` /* 151-byte string literal not displayed */
// contains filtered or unexported fields
}
Represents resource cloud locations.
func (*CloudLocation) Descriptor
deprecated
func (*CloudLocation) Descriptor() ([]byte, []int)
Deprecated: Use CloudLocation.ProtoReflect.Descriptor instead.
func (*CloudLocation) GetCarbonFreeEnergyPercentage ¶
func (x *CloudLocation) GetCarbonFreeEnergyPercentage() float32
func (*CloudLocation) GetCloudLocationType ¶
func (x *CloudLocation) GetCloudLocationType() CloudLocation_CloudLocationType
func (*CloudLocation) GetCloudProvider ¶
func (x *CloudLocation) GetCloudProvider() CloudLocation_CloudProvider
func (*CloudLocation) GetContainingCloudLocation ¶
func (x *CloudLocation) GetContainingCloudLocation() string
func (*CloudLocation) GetDisplayName ¶
func (x *CloudLocation) GetDisplayName() string
func (*CloudLocation) GetName ¶
func (x *CloudLocation) GetName() string
func (*CloudLocation) GetTerritoryCode ¶
func (x *CloudLocation) GetTerritoryCode() string
func (*CloudLocation) ProtoMessage ¶
func (*CloudLocation) ProtoMessage()
func (*CloudLocation) ProtoReflect ¶
func (x *CloudLocation) ProtoReflect() protoreflect.Message
func (*CloudLocation) Reset ¶
func (x *CloudLocation) Reset()
func (*CloudLocation) String ¶
func (x *CloudLocation) String() string
type CloudLocationFinderClient ¶
type CloudLocationFinderClient interface {
// Lists cloud locations under a given project and location.
ListCloudLocations(ctx context.Context, in *ListCloudLocationsRequest, opts ...grpc.CallOption) (*ListCloudLocationsResponse, error)
// Retrieves a resource containing information about a cloud location.
GetCloudLocation(ctx context.Context, in *GetCloudLocationRequest, opts ...grpc.CallOption) (*CloudLocation, error)
// Searches for cloud locations from a given source location.
SearchCloudLocations(ctx context.Context, in *SearchCloudLocationsRequest, opts ...grpc.CallOption) (*SearchCloudLocationsResponse, error)
}
CloudLocationFinderClient is the client API for CloudLocationFinder 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.
func NewCloudLocationFinderClient ¶
func NewCloudLocationFinderClient(cc grpc.ClientConnInterface) CloudLocationFinderClient
type CloudLocationFinderServer ¶
type CloudLocationFinderServer interface {
// Lists cloud locations under a given project and location.
ListCloudLocations(context.Context, *ListCloudLocationsRequest) (*ListCloudLocationsResponse, error)
// Retrieves a resource containing information about a cloud location.
GetCloudLocation(context.Context, *GetCloudLocationRequest) (*CloudLocation, error)
// Searches for cloud locations from a given source location.
SearchCloudLocations(context.Context, *SearchCloudLocationsRequest) (*SearchCloudLocationsResponse, error)
}
CloudLocationFinderServer is the server API for CloudLocationFinder service. All implementations should embed UnimplementedCloudLocationFinderServer for forward compatibility
type CloudLocation_CloudLocationType ¶
type CloudLocation_CloudLocationType int32
The type of the cloud location. This enum lists all possible categories of cloud locations.
const ( // Unspecified type. CloudLocation_CLOUD_LOCATION_TYPE_UNSPECIFIED CloudLocation_CloudLocationType = 0 // CloudLocation type for region. CloudLocation_CLOUD_LOCATION_TYPE_REGION CloudLocation_CloudLocationType = 1 // CloudLocation type for zone. CloudLocation_CLOUD_LOCATION_TYPE_ZONE CloudLocation_CloudLocationType = 2 // CloudLocation type for region extension. CloudLocation_CLOUD_LOCATION_TYPE_REGION_EXTENSION CloudLocation_CloudLocationType = 3 // CloudLocation type for Google Distributed Cloud Connected Zone. CloudLocation_CLOUD_LOCATION_TYPE_GDCC_ZONE CloudLocation_CloudLocationType = 4 )
func (CloudLocation_CloudLocationType) Descriptor ¶
func (CloudLocation_CloudLocationType) Descriptor() protoreflect.EnumDescriptor
func (CloudLocation_CloudLocationType) Enum ¶
func (x CloudLocation_CloudLocationType) Enum() *CloudLocation_CloudLocationType
func (CloudLocation_CloudLocationType) EnumDescriptor
deprecated
func (CloudLocation_CloudLocationType) EnumDescriptor() ([]byte, []int)
Deprecated: Use CloudLocation_CloudLocationType.Descriptor instead.
func (CloudLocation_CloudLocationType) Number ¶
func (x CloudLocation_CloudLocationType) Number() protoreflect.EnumNumber
func (CloudLocation_CloudLocationType) String ¶
func (x CloudLocation_CloudLocationType) String() string
func (CloudLocation_CloudLocationType) Type ¶
func (CloudLocation_CloudLocationType) Type() protoreflect.EnumType
type CloudLocation_CloudProvider ¶
type CloudLocation_CloudProvider int32
The type of the cloud provider. This enum lists all possible providers of cloud locations.
const ( // Unspecified type. CloudLocation_CLOUD_PROVIDER_UNSPECIFIED CloudLocation_CloudProvider = 0 // Cloud provider type for Google Cloud. CloudLocation_CLOUD_PROVIDER_GCP CloudLocation_CloudProvider = 1 // Cloud provider type for AWS. CloudLocation_CLOUD_PROVIDER_AWS CloudLocation_CloudProvider = 2 // Cloud provider type for Azure. CloudLocation_CLOUD_PROVIDER_AZURE CloudLocation_CloudProvider = 3 // Cloud provider type for OCI. CloudLocation_CLOUD_PROVIDER_OCI CloudLocation_CloudProvider = 4 )
func (CloudLocation_CloudProvider) Descriptor ¶
func (CloudLocation_CloudProvider) Descriptor() protoreflect.EnumDescriptor
func (CloudLocation_CloudProvider) Enum ¶
func (x CloudLocation_CloudProvider) Enum() *CloudLocation_CloudProvider
func (CloudLocation_CloudProvider) EnumDescriptor
deprecated
func (CloudLocation_CloudProvider) EnumDescriptor() ([]byte, []int)
Deprecated: Use CloudLocation_CloudProvider.Descriptor instead.
func (CloudLocation_CloudProvider) Number ¶
func (x CloudLocation_CloudProvider) Number() protoreflect.EnumNumber
func (CloudLocation_CloudProvider) String ¶
func (x CloudLocation_CloudProvider) String() string
func (CloudLocation_CloudProvider) Type ¶
func (CloudLocation_CloudProvider) Type() protoreflect.EnumType
type GetCloudLocationRequest ¶
type GetCloudLocationRequest struct {
// Required. Name of the resource.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Message for getting a cloud location.
func (*GetCloudLocationRequest) Descriptor
deprecated
func (*GetCloudLocationRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCloudLocationRequest.ProtoReflect.Descriptor instead.
func (*GetCloudLocationRequest) GetName ¶
func (x *GetCloudLocationRequest) GetName() string
func (*GetCloudLocationRequest) ProtoMessage ¶
func (*GetCloudLocationRequest) ProtoMessage()
func (*GetCloudLocationRequest) ProtoReflect ¶
func (x *GetCloudLocationRequest) ProtoReflect() protoreflect.Message
func (*GetCloudLocationRequest) Reset ¶
func (x *GetCloudLocationRequest) Reset()
func (*GetCloudLocationRequest) String ¶
func (x *GetCloudLocationRequest) String() string
type ListCloudLocationsRequest ¶
type ListCloudLocationsRequest struct {
// Required. The parent, which owns this collection of cloud locations.
// Format: projects/{project}/locations/{location}
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. The maximum number of cloud locations to return per page. The
// service might return fewer cloud locations than this value. If unspecified,
// server will pick an appropriate default.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A token identifying a page of results the server should return.
// Provide page token returned by a previous 'ListCloudLocations' call to
// retrieve the next page of results. When paginating, all other parameters
// provided to 'ListCloudLocations' must match the call that provided the page
// token.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. A filter expression that filters resources listed in the
// response. The expression is in the form of field=value. For example,
// 'cloud_location_type=CLOUD_LOCATION_TYPE_REGION'. Multiple filter queries
// are space-separated. For example,
// 'cloud_location_type=CLOUD_LOCATION_TYPE_REGION territory_code="US"' By
// default, each expression is an AND expression. However, you can include AND
// and OR expressions explicitly.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// contains filtered or unexported fields
}
Message for requesting list of cloud locations..
func (*ListCloudLocationsRequest) Descriptor
deprecated
func (*ListCloudLocationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListCloudLocationsRequest.ProtoReflect.Descriptor instead.
func (*ListCloudLocationsRequest) GetFilter ¶
func (x *ListCloudLocationsRequest) GetFilter() string
func (*ListCloudLocationsRequest) GetPageSize ¶
func (x *ListCloudLocationsRequest) GetPageSize() int32
func (*ListCloudLocationsRequest) GetPageToken ¶
func (x *ListCloudLocationsRequest) GetPageToken() string
func (*ListCloudLocationsRequest) GetParent ¶
func (x *ListCloudLocationsRequest) GetParent() string
func (*ListCloudLocationsRequest) ProtoMessage ¶
func (*ListCloudLocationsRequest) ProtoMessage()
func (*ListCloudLocationsRequest) ProtoReflect ¶
func (x *ListCloudLocationsRequest) ProtoReflect() protoreflect.Message
func (*ListCloudLocationsRequest) Reset ¶
func (x *ListCloudLocationsRequest) Reset()
func (*ListCloudLocationsRequest) String ¶
func (x *ListCloudLocationsRequest) String() string
type ListCloudLocationsResponse ¶
type ListCloudLocationsResponse struct {
// Output only. List of cloud locations.
CloudLocations []*CloudLocation `protobuf:"bytes,1,rep,name=cloud_locations,json=cloudLocations,proto3" json:"cloud_locations,omitempty"`
// Output only. The continuation token, used to page through large result
// sets. Provide this value in a subsequent request as page_token in
// subsequent requests to retrieve the next page. If this field is not
// present, there are no subsequent results.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}
Message for response to listing cloud locations.
func (*ListCloudLocationsResponse) Descriptor
deprecated
func (*ListCloudLocationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListCloudLocationsResponse.ProtoReflect.Descriptor instead.
func (*ListCloudLocationsResponse) GetCloudLocations ¶
func (x *ListCloudLocationsResponse) GetCloudLocations() []*CloudLocation
func (*ListCloudLocationsResponse) GetNextPageToken ¶
func (x *ListCloudLocationsResponse) GetNextPageToken() string
func (*ListCloudLocationsResponse) ProtoMessage ¶
func (*ListCloudLocationsResponse) ProtoMessage()
func (*ListCloudLocationsResponse) ProtoReflect ¶
func (x *ListCloudLocationsResponse) ProtoReflect() protoreflect.Message
func (*ListCloudLocationsResponse) Reset ¶
func (x *ListCloudLocationsResponse) Reset()
func (*ListCloudLocationsResponse) String ¶
func (x *ListCloudLocationsResponse) String() string
type SearchCloudLocationsRequest ¶
type SearchCloudLocationsRequest struct {
// Required. The parent, which owns this collection of cloud locations.
// Format: projects/{project}/locations/{location}
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The source cloud location to search from.
// Example search can be searching nearby cloud locations from the source
// cloud location by latency.
SourceCloudLocation string `protobuf:"bytes,2,opt,name=source_cloud_location,json=sourceCloudLocation,proto3" json:"source_cloud_location,omitempty"`
// Optional. The maximum number of cloud locations to return. The service
// might return fewer cloud locations than this value. If unspecified, server
// will pick an appropriate default.
PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A token identifying a page of results the server should return.
// Provide Page token returned by a previous 'ListCloudLocations' call to
// retrieve the next page of results. When paginating, all other parameters
// provided to 'ListCloudLocations' must match the call that provided the page
// token.
PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. The query string in search query syntax. While filter is used to
// filter the search results by attributes, query is used to specify the
// search requirements.
Query string `protobuf:"bytes,6,opt,name=query,proto3" json:"query,omitempty"`
// contains filtered or unexported fields
}
Message for searching cloud locations from a given source location.
func (*SearchCloudLocationsRequest) Descriptor
deprecated
func (*SearchCloudLocationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use SearchCloudLocationsRequest.ProtoReflect.Descriptor instead.
func (*SearchCloudLocationsRequest) GetPageSize ¶
func (x *SearchCloudLocationsRequest) GetPageSize() int32
func (*SearchCloudLocationsRequest) GetPageToken ¶
func (x *SearchCloudLocationsRequest) GetPageToken() string
func (*SearchCloudLocationsRequest) GetParent ¶
func (x *SearchCloudLocationsRequest) GetParent() string
func (*SearchCloudLocationsRequest) GetQuery ¶
func (x *SearchCloudLocationsRequest) GetQuery() string
func (*SearchCloudLocationsRequest) GetSourceCloudLocation ¶
func (x *SearchCloudLocationsRequest) GetSourceCloudLocation() string
func (*SearchCloudLocationsRequest) ProtoMessage ¶
func (*SearchCloudLocationsRequest) ProtoMessage()
func (*SearchCloudLocationsRequest) ProtoReflect ¶
func (x *SearchCloudLocationsRequest) ProtoReflect() protoreflect.Message
func (*SearchCloudLocationsRequest) Reset ¶
func (x *SearchCloudLocationsRequest) Reset()
func (*SearchCloudLocationsRequest) String ¶
func (x *SearchCloudLocationsRequest) String() string
type SearchCloudLocationsResponse ¶
type SearchCloudLocationsResponse struct {
// Output only. List of cloud locations.
CloudLocations []*CloudLocation `protobuf:"bytes,1,rep,name=cloud_locations,json=cloudLocations,proto3" json:"cloud_locations,omitempty"`
// Output only. The continuation token, used to page through large result
// sets. Provide this value in a subsequent request as page_token in
// subsequent requests to retrieve the next page. If this field is not
// present, there are no subsequent results.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}
Message for response to searching cloud locations.
func (*SearchCloudLocationsResponse) Descriptor
deprecated
func (*SearchCloudLocationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use SearchCloudLocationsResponse.ProtoReflect.Descriptor instead.
func (*SearchCloudLocationsResponse) GetCloudLocations ¶
func (x *SearchCloudLocationsResponse) GetCloudLocations() []*CloudLocation
func (*SearchCloudLocationsResponse) GetNextPageToken ¶
func (x *SearchCloudLocationsResponse) GetNextPageToken() string
func (*SearchCloudLocationsResponse) ProtoMessage ¶
func (*SearchCloudLocationsResponse) ProtoMessage()
func (*SearchCloudLocationsResponse) ProtoReflect ¶
func (x *SearchCloudLocationsResponse) ProtoReflect() protoreflect.Message
func (*SearchCloudLocationsResponse) Reset ¶
func (x *SearchCloudLocationsResponse) Reset()
func (*SearchCloudLocationsResponse) String ¶
func (x *SearchCloudLocationsResponse) String() string
type UnimplementedCloudLocationFinderServer ¶
type UnimplementedCloudLocationFinderServer struct {
}
UnimplementedCloudLocationFinderServer should be embedded to have forward compatible implementations.
func (UnimplementedCloudLocationFinderServer) GetCloudLocation ¶
func (UnimplementedCloudLocationFinderServer) GetCloudLocation(context.Context, *GetCloudLocationRequest) (*CloudLocation, error)
func (UnimplementedCloudLocationFinderServer) ListCloudLocations ¶
func (UnimplementedCloudLocationFinderServer) ListCloudLocations(context.Context, *ListCloudLocationsRequest) (*ListCloudLocationsResponse, error)
func (UnimplementedCloudLocationFinderServer) SearchCloudLocations ¶
func (UnimplementedCloudLocationFinderServer) SearchCloudLocations(context.Context, *SearchCloudLocationsRequest) (*SearchCloudLocationsResponse, error)
type UnsafeCloudLocationFinderServer ¶ added in v0.1.1
type UnsafeCloudLocationFinderServer interface {
// contains filtered or unexported methods
}
UnsafeCloudLocationFinderServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CloudLocationFinderServer will result in compilation errors.