Movatterモバイル変換


[0]ホーム

URL:


location

package
v0.0.0-...-97cd9d5Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2025 License:Apache-2.0Imports:10Imported by:128

Details

Repository

github.com/googleapis/go-genproto

Links

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_google_cloud_location_locations_protoprotoreflect.FileDescriptor

Functions

funcRegisterLocationsServer

func RegisterLocationsServer(s *grpc.Server, srvLocationsServer)

Types

typeGetLocationRequest

type GetLocationRequest struct {// Resource name for the location.Namestring `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`// contains filtered or unexported fields}

The request message for [Locations.GetLocation][google.cloud.location.Locations.GetLocation].

func (*GetLocationRequest)Descriptordeprecated

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

Deprecated: Use GetLocationRequest.ProtoReflect.Descriptor instead.

func (*GetLocationRequest)GetName

func (x *GetLocationRequest) GetName()string

func (*GetLocationRequest)ProtoMessage

func (*GetLocationRequest) ProtoMessage()

func (*GetLocationRequest)ProtoReflect

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

func (*GetLocationRequest)Reset

func (x *GetLocationRequest) Reset()

func (*GetLocationRequest)String

func (x *GetLocationRequest) String()string

typeListLocationsRequest

type ListLocationsRequest struct {// The resource that owns the locations collection, if applicable.Namestring `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`// The standard list filter.Filterstring `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`// The standard list page size.PageSizeint32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`// The standard list page token.PageTokenstring `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`// contains filtered or unexported fields}

The request message for [Locations.ListLocations][google.cloud.location.Locations.ListLocations].

func (*ListLocationsRequest)Descriptordeprecated

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

Deprecated: Use ListLocationsRequest.ProtoReflect.Descriptor instead.

func (*ListLocationsRequest)GetFilter

func (x *ListLocationsRequest) GetFilter()string

func (*ListLocationsRequest)GetName

func (x *ListLocationsRequest) GetName()string

func (*ListLocationsRequest)GetPageSize

func (x *ListLocationsRequest) GetPageSize()int32

func (*ListLocationsRequest)GetPageToken

func (x *ListLocationsRequest) GetPageToken()string

func (*ListLocationsRequest)ProtoMessage

func (*ListLocationsRequest) ProtoMessage()

func (*ListLocationsRequest)ProtoReflect

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

func (*ListLocationsRequest)Reset

func (x *ListLocationsRequest) Reset()

func (*ListLocationsRequest)String

func (x *ListLocationsRequest) String()string

typeListLocationsResponse

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

The response message for [Locations.ListLocations][google.cloud.location.Locations.ListLocations].

func (*ListLocationsResponse)Descriptordeprecated

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 (*ListLocationsResponse)Reset

func (x *ListLocationsResponse) Reset()

func (*ListLocationsResponse)String

func (x *ListLocationsResponse) String()string

typeLocation

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

A resource that represents Google Cloud Platform location.

func (*Location)Descriptordeprecated

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() *anypb.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

typeLocationsClient

type LocationsClient interface {// Lists information about the supported locations for this service.ListLocations(ctxcontext.Context, in *ListLocationsRequest, opts ...grpc.CallOption) (*ListLocationsResponse,error)// Gets information about a location.GetLocation(ctxcontext.Context, in *GetLocationRequest, opts ...grpc.CallOption) (*Location,error)}

LocationsClient is the client API for Locations service.

For semantics around ctx use and closing/ending streaming RPCs, please refer tohttps://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

typeLocationsServer

type LocationsServer interface {// Lists information about the supported locations for this service.ListLocations(context.Context, *ListLocationsRequest) (*ListLocationsResponse,error)// Gets information about a location.GetLocation(context.Context, *GetLocationRequest) (*Location,error)}

LocationsServer is the server API for Locations service.

typeUnimplementedLocationsServer

type UnimplementedLocationsServer struct {}

UnimplementedLocationsServer can be embedded to have forward compatible implementations.

func (*UnimplementedLocationsServer)GetLocation

func (*UnimplementedLocationsServer)ListLocations

Source Files

View all Source files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp