genproto: google.golang.org/genproto/googleapis/cloud/servicedirectory/v1beta1 Index | Files

package servicedirectory

import "google.golang.org/genproto/googleapis/cloud/servicedirectory/v1beta1"

Index

Package Files

endpoint.pb.go lookup_service.pb.go namespace.pb.go registration_service.pb.go service.pb.go

Variables

var File_google_cloud_servicedirectory_v1beta1_endpoint_proto protoreflect.FileDescriptor
var File_google_cloud_servicedirectory_v1beta1_lookup_service_proto protoreflect.FileDescriptor
var File_google_cloud_servicedirectory_v1beta1_namespace_proto protoreflect.FileDescriptor
var File_google_cloud_servicedirectory_v1beta1_registration_service_proto protoreflect.FileDescriptor
var File_google_cloud_servicedirectory_v1beta1_service_proto protoreflect.FileDescriptor

func RegisterLookupServiceServer Uses

func RegisterLookupServiceServer(s *grpc.Server, srv LookupServiceServer)

func RegisterRegistrationServiceServer Uses

func RegisterRegistrationServiceServer(s *grpc.Server, srv RegistrationServiceServer)

type CreateEndpointRequest Uses

type CreateEndpointRequest struct {

    // Required. The resource name of the service that this endpoint provides.
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // Required. The Resource ID must be 1-63 characters long, and comply with
    // <a href="https://www.ietf.org/rfc/rfc1035.txt" target="_blank">RFC1035</a>.
    // Specifically, the name must be 1-63 characters long and match the regular
    // expression `[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?` which means the first
    // character must be a lowercase letter, and all following characters must
    // be a dash, lowercase letter, or digit, except the last character, which
    // cannot be a dash.
    EndpointId string `protobuf:"bytes,2,opt,name=endpoint_id,json=endpointId,proto3" json:"endpoint_id,omitempty"`
    // Required. A endpoint with initial fields set.
    Endpoint *Endpoint `protobuf:"bytes,3,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
    // contains filtered or unexported fields
}

The request message for [RegistrationService.CreateEndpoint][google.cloud.servicedirectory.v1beta1.RegistrationService.CreateEndpoint].

func (*CreateEndpointRequest) Descriptor Uses

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

Deprecated: Use CreateEndpointRequest.ProtoReflect.Descriptor instead.

func (*CreateEndpointRequest) GetEndpoint Uses

func (x *CreateEndpointRequest) GetEndpoint() *Endpoint

func (*CreateEndpointRequest) GetEndpointId Uses

func (x *CreateEndpointRequest) GetEndpointId() string

func (*CreateEndpointRequest) GetParent Uses

func (x *CreateEndpointRequest) GetParent() string

func (*CreateEndpointRequest) ProtoMessage Uses

func (*CreateEndpointRequest) ProtoMessage()

func (*CreateEndpointRequest) ProtoReflect Uses

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

func (*CreateEndpointRequest) Reset Uses

func (x *CreateEndpointRequest) Reset()

func (*CreateEndpointRequest) String Uses

func (x *CreateEndpointRequest) String() string

type CreateNamespaceRequest Uses

type CreateNamespaceRequest struct {

    // Required. The resource name of the project and location the namespace
    // will be created in.
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // Required. The Resource ID must be 1-63 characters long, and comply with
    // <a href="https://www.ietf.org/rfc/rfc1035.txt" target="_blank">RFC1035</a>.
    // Specifically, the name must be 1-63 characters long and match the regular
    // expression `[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?` which means the first
    // character must be a lowercase letter, and all following characters must
    // be a dash, lowercase letter, or digit, except the last character, which
    // cannot be a dash.
    NamespaceId string `protobuf:"bytes,2,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"`
    // Required. A namespace with initial fields set.
    Namespace *Namespace `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"`
    // contains filtered or unexported fields
}

The request message for [RegistrationService.CreateNamespace][google.cloud.servicedirectory.v1beta1.RegistrationService.CreateNamespace].

func (*CreateNamespaceRequest) Descriptor Uses

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

Deprecated: Use CreateNamespaceRequest.ProtoReflect.Descriptor instead.

func (*CreateNamespaceRequest) GetNamespace Uses

func (x *CreateNamespaceRequest) GetNamespace() *Namespace

func (*CreateNamespaceRequest) GetNamespaceId Uses

func (x *CreateNamespaceRequest) GetNamespaceId() string

func (*CreateNamespaceRequest) GetParent Uses

func (x *CreateNamespaceRequest) GetParent() string

func (*CreateNamespaceRequest) ProtoMessage Uses

func (*CreateNamespaceRequest) ProtoMessage()

func (*CreateNamespaceRequest) ProtoReflect Uses

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

func (*CreateNamespaceRequest) Reset Uses

func (x *CreateNamespaceRequest) Reset()

func (*CreateNamespaceRequest) String Uses

func (x *CreateNamespaceRequest) String() string

type CreateServiceRequest Uses

type CreateServiceRequest struct {

    // Required. The resource name of the namespace this service will belong to.
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // Required. The Resource ID must be 1-63 characters long, and comply with
    // <a href="https://www.ietf.org/rfc/rfc1035.txt" target="_blank">RFC1035</a>.
    // Specifically, the name must be 1-63 characters long and match the regular
    // expression `[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?` which means the first
    // character must be a lowercase letter, and all following characters must
    // be a dash, lowercase letter, or digit, except the last character, which
    // cannot be a dash.
    ServiceId string `protobuf:"bytes,2,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"`
    // Required. A service  with initial fields set.
    Service *Service `protobuf:"bytes,3,opt,name=service,proto3" json:"service,omitempty"`
    // contains filtered or unexported fields
}

The request message for [RegistrationService.CreateService][google.cloud.servicedirectory.v1beta1.RegistrationService.CreateService].

func (*CreateServiceRequest) Descriptor Uses

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

Deprecated: Use CreateServiceRequest.ProtoReflect.Descriptor instead.

func (*CreateServiceRequest) GetParent Uses

func (x *CreateServiceRequest) GetParent() string

func (*CreateServiceRequest) GetService Uses

func (x *CreateServiceRequest) GetService() *Service

func (*CreateServiceRequest) GetServiceId Uses

func (x *CreateServiceRequest) GetServiceId() string

func (*CreateServiceRequest) ProtoMessage Uses

func (*CreateServiceRequest) ProtoMessage()

func (*CreateServiceRequest) ProtoReflect Uses

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

func (*CreateServiceRequest) Reset Uses

func (x *CreateServiceRequest) Reset()

func (*CreateServiceRequest) String Uses

func (x *CreateServiceRequest) String() string

type DeleteEndpointRequest Uses

type DeleteEndpointRequest struct {

    // Required. The name of the endpoint to delete.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // contains filtered or unexported fields
}

The request message for [RegistrationService.DeleteEndpoint][google.cloud.servicedirectory.v1beta1.RegistrationService.DeleteEndpoint].

func (*DeleteEndpointRequest) Descriptor Uses

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

Deprecated: Use DeleteEndpointRequest.ProtoReflect.Descriptor instead.

func (*DeleteEndpointRequest) GetName Uses

func (x *DeleteEndpointRequest) GetName() string

func (*DeleteEndpointRequest) ProtoMessage Uses

func (*DeleteEndpointRequest) ProtoMessage()

func (*DeleteEndpointRequest) ProtoReflect Uses

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

func (*DeleteEndpointRequest) Reset Uses

func (x *DeleteEndpointRequest) Reset()

func (*DeleteEndpointRequest) String Uses

func (x *DeleteEndpointRequest) String() string

type DeleteNamespaceRequest Uses

type DeleteNamespaceRequest struct {

    // Required. The name of the namespace to delete.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // contains filtered or unexported fields
}

The request message for [RegistrationService.DeleteNamespace][google.cloud.servicedirectory.v1beta1.RegistrationService.DeleteNamespace].

func (*DeleteNamespaceRequest) Descriptor Uses

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

Deprecated: Use DeleteNamespaceRequest.ProtoReflect.Descriptor instead.

func (*DeleteNamespaceRequest) GetName Uses

func (x *DeleteNamespaceRequest) GetName() string

func (*DeleteNamespaceRequest) ProtoMessage Uses

func (*DeleteNamespaceRequest) ProtoMessage()

func (*DeleteNamespaceRequest) ProtoReflect Uses

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

func (*DeleteNamespaceRequest) Reset Uses

func (x *DeleteNamespaceRequest) Reset()

func (*DeleteNamespaceRequest) String Uses

func (x *DeleteNamespaceRequest) String() string

type DeleteServiceRequest Uses

type DeleteServiceRequest struct {

    // Required. The name of the service to delete.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // contains filtered or unexported fields
}

The request message for [RegistrationService.DeleteService][google.cloud.servicedirectory.v1beta1.RegistrationService.DeleteService].

func (*DeleteServiceRequest) Descriptor Uses

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

Deprecated: Use DeleteServiceRequest.ProtoReflect.Descriptor instead.

func (*DeleteServiceRequest) GetName Uses

func (x *DeleteServiceRequest) GetName() string

func (*DeleteServiceRequest) ProtoMessage Uses

func (*DeleteServiceRequest) ProtoMessage()

func (*DeleteServiceRequest) ProtoReflect Uses

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

func (*DeleteServiceRequest) Reset Uses

func (x *DeleteServiceRequest) Reset()

func (*DeleteServiceRequest) String Uses

func (x *DeleteServiceRequest) String() string

type Endpoint Uses

type Endpoint struct {

    // Immutable. The resource name for the endpoint in the format
    // 'projects/*/locations/*/namespaces/*/services/*/endpoints/*'.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Optional. An IPv4 or IPv6 address. Service Directory will reject bad
    // addresses like:
    //   "8.8.8"
    //   "8.8.8.8:53"
    //   "test:bad:address"
    //   "[::1]"
    //   "[::1]:8080"
    // Limited to 45 characters.
    Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
    // Optional. Service Directory will reject values outside of [0, 65535].
    Port int32 `protobuf:"varint,3,opt,name=port,proto3" json:"port,omitempty"`
    // Optional. Metadata for the endpoint. This data can be consumed by service
    // clients.  The entire metadata dictionary may contain up to 512 characters,
    // spread accoss all key-value pairs. Metadata that goes beyond any these
    // limits will be rejected.
    Metadata map[string]string `protobuf:"bytes,4,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    // contains filtered or unexported fields
}

An individual endpoint that provides a [service][google.cloud.servicedirectory.v1beta1.Service]. The service must already exist to create an endpoint.

func (*Endpoint) Descriptor Uses

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

Deprecated: Use Endpoint.ProtoReflect.Descriptor instead.

func (*Endpoint) GetAddress Uses

func (x *Endpoint) GetAddress() string

func (*Endpoint) GetMetadata Uses

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

func (*Endpoint) GetName Uses

func (x *Endpoint) GetName() string

func (*Endpoint) GetPort Uses

func (x *Endpoint) GetPort() int32

func (*Endpoint) ProtoMessage Uses

func (*Endpoint) ProtoMessage()

func (*Endpoint) ProtoReflect Uses

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

func (*Endpoint) Reset Uses

func (x *Endpoint) Reset()

func (*Endpoint) String Uses

func (x *Endpoint) String() string

type GetEndpointRequest Uses

type GetEndpointRequest struct {

    // Required. The name of the endpoint to get.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // contains filtered or unexported fields
}

The request message for [RegistrationService.GetEndpoint][google.cloud.servicedirectory.v1beta1.RegistrationService.GetEndpoint]. This should not be used to lookup endpoints at runtime. Instead, use the `resolve` method.

func (*GetEndpointRequest) Descriptor Uses

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

Deprecated: Use GetEndpointRequest.ProtoReflect.Descriptor instead.

func (*GetEndpointRequest) GetName Uses

func (x *GetEndpointRequest) GetName() string

func (*GetEndpointRequest) ProtoMessage Uses

func (*GetEndpointRequest) ProtoMessage()

func (*GetEndpointRequest) ProtoReflect Uses

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

func (*GetEndpointRequest) Reset Uses

func (x *GetEndpointRequest) Reset()

func (*GetEndpointRequest) String Uses

func (x *GetEndpointRequest) String() string

type GetNamespaceRequest Uses

type GetNamespaceRequest struct {

    // Required. The name of the namespace to retrieve.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // contains filtered or unexported fields
}

The request message for [RegistrationService.GetNamespace][google.cloud.servicedirectory.v1beta1.RegistrationService.GetNamespace].

func (*GetNamespaceRequest) Descriptor Uses

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

Deprecated: Use GetNamespaceRequest.ProtoReflect.Descriptor instead.

func (*GetNamespaceRequest) GetName Uses

func (x *GetNamespaceRequest) GetName() string

func (*GetNamespaceRequest) ProtoMessage Uses

func (*GetNamespaceRequest) ProtoMessage()

func (*GetNamespaceRequest) ProtoReflect Uses

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

func (*GetNamespaceRequest) Reset Uses

func (x *GetNamespaceRequest) Reset()

func (*GetNamespaceRequest) String Uses

func (x *GetNamespaceRequest) String() string

type GetServiceRequest Uses

type GetServiceRequest struct {

    // Required. The name of the service to get.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // contains filtered or unexported fields
}

The request message for [RegistrationService.GetService][google.cloud.servicedirectory.v1beta1.RegistrationService.GetService]. This should not be used for looking up a service. Insead, use the `resolve` method as it will contain all endpoints and associated metadata.

func (*GetServiceRequest) Descriptor Uses

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

Deprecated: Use GetServiceRequest.ProtoReflect.Descriptor instead.

func (*GetServiceRequest) GetName Uses

func (x *GetServiceRequest) GetName() string

func (*GetServiceRequest) ProtoMessage Uses

func (*GetServiceRequest) ProtoMessage()

func (*GetServiceRequest) ProtoReflect Uses

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

func (*GetServiceRequest) Reset Uses

func (x *GetServiceRequest) Reset()

func (*GetServiceRequest) String Uses

func (x *GetServiceRequest) String() string

type ListEndpointsRequest Uses

type ListEndpointsRequest struct {

    // Required. The resource name of the service whose endpoints we'd like to
    // list.
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // Optional. The maximum number of items to return.
    PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
    // Optional. The next_page_token value returned from a previous List request,
    // if any.
    PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
    // Optional. The filter to list result by.
    //
    // General filter string syntax:
    // <field> <operator> <value> (<logical connector>)
    // <field> can be "name", "address", "port" or "metadata.<key>" for map field.
    // <operator> can be "<, >, <=, >=, !=, =, :". Of which ":" means HAS, and
    // is roughly the same as "=".
    // <value> must be the same data type as field.
    // <logical connector> can be "AND, OR, NOT".
    //
    // Examples of valid filters:
    // * "metadata.owner" returns Endpoints that have a label with the key "owner"
    //   this is the same as "metadata:owner".
    // * "metadata.protocol=gRPC" returns Endpoints that have key/value
    //   "protocol=gRPC".
    // * "address=192.108.1.105" returns Endpoints that have this address.
    // * "port>8080" returns Endpoints that have port number larger than 8080.
    // * "name>projects/my-project/locations/us-east/namespaces/my-namespace/services/my-service/endpoints/endpoint-c"
    //   returns Endpoints that have name that is alphabetically later than the
    //   string, so "endpoint-e" will be returned but "endpoint-a" will not be.
    // * "metadata.owner!=sd AND metadata.foo=bar" returns Endpoints that have
    //   "owner" in label key but value is not "sd" AND have key/value foo=bar.
    // * "doesnotexist.foo=bar" returns an empty list. Note that Endpoint doesn't
    //   have a field called "doesnotexist". Since the filter does not match any
    //   Endpoints, it returns no results.
    Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
    // Optional. The order to list result by.
    OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
    // contains filtered or unexported fields
}

The request message for [RegistrationService.ListEndpoints][google.cloud.servicedirectory.v1beta1.RegistrationService.ListEndpoints].

func (*ListEndpointsRequest) Descriptor Uses

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

Deprecated: Use ListEndpointsRequest.ProtoReflect.Descriptor instead.

func (*ListEndpointsRequest) GetFilter Uses

func (x *ListEndpointsRequest) GetFilter() string

func (*ListEndpointsRequest) GetOrderBy Uses

func (x *ListEndpointsRequest) GetOrderBy() string

func (*ListEndpointsRequest) GetPageSize Uses

func (x *ListEndpointsRequest) GetPageSize() int32

func (*ListEndpointsRequest) GetPageToken Uses

func (x *ListEndpointsRequest) GetPageToken() string

func (*ListEndpointsRequest) GetParent Uses

func (x *ListEndpointsRequest) GetParent() string

func (*ListEndpointsRequest) ProtoMessage Uses

func (*ListEndpointsRequest) ProtoMessage()

func (*ListEndpointsRequest) ProtoReflect Uses

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

func (*ListEndpointsRequest) Reset Uses

func (x *ListEndpointsRequest) Reset()

func (*ListEndpointsRequest) String Uses

func (x *ListEndpointsRequest) String() string

type ListEndpointsResponse Uses

type ListEndpointsResponse struct {

    // The list of endpoints.
    Endpoints []*Endpoint `protobuf:"bytes,1,rep,name=endpoints,proto3" json:"endpoints,omitempty"`
    // Token to retrieve the next page of results, or empty if there are no
    // more results in the list.
    NextPageToken string `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 [RegistrationService.ListEndpoints][google.cloud.servicedirectory.v1beta1.RegistrationService.ListEndpoints].

func (*ListEndpointsResponse) Descriptor Uses

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

Deprecated: Use ListEndpointsResponse.ProtoReflect.Descriptor instead.

func (*ListEndpointsResponse) GetEndpoints Uses

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

func (*ListEndpointsResponse) GetNextPageToken Uses

func (x *ListEndpointsResponse) GetNextPageToken() string

func (*ListEndpointsResponse) ProtoMessage Uses

func (*ListEndpointsResponse) ProtoMessage()

func (*ListEndpointsResponse) ProtoReflect Uses

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

func (*ListEndpointsResponse) Reset Uses

func (x *ListEndpointsResponse) Reset()

func (*ListEndpointsResponse) String Uses

func (x *ListEndpointsResponse) String() string

type ListNamespacesRequest Uses

type ListNamespacesRequest struct {

    // Required. The resource name of the project and location whose namespaces we'd like to
    // list.
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // Optional. The maximum number of items to return.
    PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
    // Optional. The next_page_token value returned from a previous List request, if any.
    PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
    // Optional. The filter to list result by.
    //
    // General filter string syntax:
    // <field> <operator> <value> (<logical connector>)
    // <field> can be "name", or "labels.<key>" for map field.
    // <operator> can be "<, >, <=, >=, !=, =, :". Of which ":" means HAS, and
    // is roughly the same as "=".
    // <value> must be the same data type as field.
    // <logical connector> can be "AND, OR, NOT".
    //
    // Examples of valid filters:
    // * "labels.owner" returns Namespaces that have a label with the key "owner"
    //   this is the same as "labels:owner".
    // * "labels.protocol=gRPC" returns Namespaces that have key/value
    //   "protocol=gRPC".
    // * "name>projects/my-project/locations/us-east/namespaces/namespace-c"
    //   returns Namespaces that have name that is alphabetically later than the
    //   string, so "namespace-e" will be returned but "namespace-a" will not be.
    // * "labels.owner!=sd AND labels.foo=bar" returns Namespaces that have
    //   "owner" in label key but value is not "sd" AND have key/value foo=bar.
    // * "doesnotexist.foo=bar" returns an empty list. Note that Namespace doesn't
    //   have a field called "doesnotexist". Since the filter does not match any
    //   Namespaces, it returns no results.
    Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
    // Optional. The order to list result by.
    //
    // General order by string syntax:
    // <field> (<asc|desc>) (,)
    // <field> allows values {"name"}
    // <asc/desc> ascending or descending order by <field>. If this is left
    // blank, "asc" is used.
    // Note that an empty order_by string result in default order, which is order
    // by name in ascending order.
    OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
    // contains filtered or unexported fields
}

The request message for [RegistrationService.ListNamespaces][google.cloud.servicedirectory.v1beta1.RegistrationService.ListNamespaces].

func (*ListNamespacesRequest) Descriptor Uses

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

Deprecated: Use ListNamespacesRequest.ProtoReflect.Descriptor instead.

func (*ListNamespacesRequest) GetFilter Uses

func (x *ListNamespacesRequest) GetFilter() string

func (*ListNamespacesRequest) GetOrderBy Uses

func (x *ListNamespacesRequest) GetOrderBy() string

func (*ListNamespacesRequest) GetPageSize Uses

func (x *ListNamespacesRequest) GetPageSize() int32

func (*ListNamespacesRequest) GetPageToken Uses

func (x *ListNamespacesRequest) GetPageToken() string

func (*ListNamespacesRequest) GetParent Uses

func (x *ListNamespacesRequest) GetParent() string

func (*ListNamespacesRequest) ProtoMessage Uses

func (*ListNamespacesRequest) ProtoMessage()

func (*ListNamespacesRequest) ProtoReflect Uses

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

func (*ListNamespacesRequest) Reset Uses

func (x *ListNamespacesRequest) Reset()

func (*ListNamespacesRequest) String Uses

func (x *ListNamespacesRequest) String() string

type ListNamespacesResponse Uses

type ListNamespacesResponse struct {

    // The list of namespaces.
    Namespaces []*Namespace `protobuf:"bytes,1,rep,name=namespaces,proto3" json:"namespaces,omitempty"`
    // Token to retrieve the next page of results, or empty if there are no
    // more results in the list.
    NextPageToken string `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 [RegistrationService.ListNamespaces][google.cloud.servicedirectory.v1beta1.RegistrationService.ListNamespaces].

func (*ListNamespacesResponse) Descriptor Uses

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

Deprecated: Use ListNamespacesResponse.ProtoReflect.Descriptor instead.

func (*ListNamespacesResponse) GetNamespaces Uses

func (x *ListNamespacesResponse) GetNamespaces() []*Namespace

func (*ListNamespacesResponse) GetNextPageToken Uses

func (x *ListNamespacesResponse) GetNextPageToken() string

func (*ListNamespacesResponse) ProtoMessage Uses

func (*ListNamespacesResponse) ProtoMessage()

func (*ListNamespacesResponse) ProtoReflect Uses

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

func (*ListNamespacesResponse) Reset Uses

func (x *ListNamespacesResponse) Reset()

func (*ListNamespacesResponse) String Uses

func (x *ListNamespacesResponse) String() string

type ListServicesRequest Uses

type ListServicesRequest struct {

    // Required. The resource name of the namespace whose services we'd
    // like to list.
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // Optional. The maximum number of items to return.
    PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
    // Optional. The next_page_token value returned from a previous List request,
    // if any.
    PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
    // Optional. The filter to list result by.
    //
    // General filter string syntax:
    // <field> <operator> <value> (<logical connector>)
    // <field> can be "name", or "metadata.<key>" for map field.
    // <operator> can be "<, >, <=, >=, !=, =, :". Of which ":" means HAS, and
    // is roughly the same as "=".
    // <value> must be the same data type as field.
    // <logical connector> can be "AND, OR, NOT".
    //
    // Examples of valid filters:
    // * "metadata.owner" returns Services that have a label with the key "owner"
    //   this is the same as "metadata:owner".
    // * "metadata.protocol=gRPC" returns Services that have key/value
    //   "protocol=gRPC".
    // * "name>projects/my-project/locations/us-east/namespaces/my-namespace/services/service-c"
    //   returns Services that have name that is alphabetically later than the
    //   string, so "service-e" will be returned but "service-a" will not be.
    // * "metadata.owner!=sd AND metadata.foo=bar" returns Services that have
    //   "owner" in label key but value is not "sd" AND have key/value foo=bar.
    // * "doesnotexist.foo=bar" returns an empty list. Note that Service doesn't
    //   have a field called "doesnotexist". Since the filter does not match any
    //   Services, it returns no results.
    Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
    // Optional. The order to list result by.
    OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
    // contains filtered or unexported fields
}

The request message for [RegistrationService.ListServices][google.cloud.servicedirectory.v1beta1.RegistrationService.ListServices].

func (*ListServicesRequest) Descriptor Uses

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

Deprecated: Use ListServicesRequest.ProtoReflect.Descriptor instead.

func (*ListServicesRequest) GetFilter Uses

func (x *ListServicesRequest) GetFilter() string

func (*ListServicesRequest) GetOrderBy Uses

func (x *ListServicesRequest) GetOrderBy() string

func (*ListServicesRequest) GetPageSize Uses

func (x *ListServicesRequest) GetPageSize() int32

func (*ListServicesRequest) GetPageToken Uses

func (x *ListServicesRequest) GetPageToken() string

func (*ListServicesRequest) GetParent Uses

func (x *ListServicesRequest) GetParent() string

func (*ListServicesRequest) ProtoMessage Uses

func (*ListServicesRequest) ProtoMessage()

func (*ListServicesRequest) ProtoReflect Uses

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

func (*ListServicesRequest) Reset Uses

func (x *ListServicesRequest) Reset()

func (*ListServicesRequest) String Uses

func (x *ListServicesRequest) String() string

type ListServicesResponse Uses

type ListServicesResponse struct {

    // The list of services.
    Services []*Service `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"`
    // Token to retrieve the next page of results, or empty if there are no
    // more results in the list.
    NextPageToken string `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 [RegistrationService.ListServices][google.cloud.servicedirectory.v1beta1.RegistrationService.ListServices].

func (*ListServicesResponse) Descriptor Uses

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

Deprecated: Use ListServicesResponse.ProtoReflect.Descriptor instead.

func (*ListServicesResponse) GetNextPageToken Uses

func (x *ListServicesResponse) GetNextPageToken() string

func (*ListServicesResponse) GetServices Uses

func (x *ListServicesResponse) GetServices() []*Service

func (*ListServicesResponse) ProtoMessage Uses

func (*ListServicesResponse) ProtoMessage()

func (*ListServicesResponse) ProtoReflect Uses

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

func (*ListServicesResponse) Reset Uses

func (x *ListServicesResponse) Reset()

func (*ListServicesResponse) String Uses

func (x *ListServicesResponse) String() string

type LookupServiceClient Uses

type LookupServiceClient interface {
    // Returns a [service][google.cloud.servicedirectory.v1beta1.Service] and its
    // associated endpoints.
    // Resolving a service is not considered an active developer method.
    ResolveService(ctx context.Context, in *ResolveServiceRequest, opts ...grpc.CallOption) (*ResolveServiceResponse, error)
}

LookupServiceClient is the client API for LookupService service.

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

func NewLookupServiceClient Uses

func NewLookupServiceClient(cc grpc.ClientConnInterface) LookupServiceClient

type LookupServiceServer Uses

type LookupServiceServer interface {
    // Returns a [service][google.cloud.servicedirectory.v1beta1.Service] and its
    // associated endpoints.
    // Resolving a service is not considered an active developer method.
    ResolveService(context.Context, *ResolveServiceRequest) (*ResolveServiceResponse, error)
}

LookupServiceServer is the server API for LookupService service.

type Namespace Uses

type Namespace struct {

    // Immutable. The resource name for the namespace in the format
    // 'projects/*/locations/*/namespaces/*'.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Optional. Resource labels associated with this Namespace.
    // No more than 64 user labels can be associated with a given resource.  Label
    // keys and values can be no longer than 63 characters.
    Labels map[string]string `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    // contains filtered or unexported fields
}

A container for [services][google.cloud.servicedirectory.v1beta1.Service]. Namespaces allow administrators to group services together and define permissions for a collection of services.

func (*Namespace) Descriptor Uses

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

Deprecated: Use Namespace.ProtoReflect.Descriptor instead.

func (*Namespace) GetLabels Uses

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

func (*Namespace) GetName Uses

func (x *Namespace) GetName() string

func (*Namespace) ProtoMessage Uses

func (*Namespace) ProtoMessage()

func (*Namespace) ProtoReflect Uses

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

func (*Namespace) Reset Uses

func (x *Namespace) Reset()

func (*Namespace) String Uses

func (x *Namespace) String() string

type RegistrationServiceClient Uses

type RegistrationServiceClient interface {
    // Creates a namespace, and returns the new Namespace.
    CreateNamespace(ctx context.Context, in *CreateNamespaceRequest, opts ...grpc.CallOption) (*Namespace, error)
    // Lists all namespaces.
    ListNamespaces(ctx context.Context, in *ListNamespacesRequest, opts ...grpc.CallOption) (*ListNamespacesResponse, error)
    // Gets a namespace.
    GetNamespace(ctx context.Context, in *GetNamespaceRequest, opts ...grpc.CallOption) (*Namespace, error)
    // Updates a namespace.
    UpdateNamespace(ctx context.Context, in *UpdateNamespaceRequest, opts ...grpc.CallOption) (*Namespace, error)
    // Deletes a namespace. This also deletes all services and endpoints in
    // the namespace.
    DeleteNamespace(ctx context.Context, in *DeleteNamespaceRequest, opts ...grpc.CallOption) (*empty.Empty, error)
    // Creates a service, and returns the new Service.
    CreateService(ctx context.Context, in *CreateServiceRequest, opts ...grpc.CallOption) (*Service, error)
    // Lists all services belonging to a namespace.
    ListServices(ctx context.Context, in *ListServicesRequest, opts ...grpc.CallOption) (*ListServicesResponse, error)
    // Gets a service.
    GetService(ctx context.Context, in *GetServiceRequest, opts ...grpc.CallOption) (*Service, error)
    // Updates a service.
    UpdateService(ctx context.Context, in *UpdateServiceRequest, opts ...grpc.CallOption) (*Service, error)
    // Deletes a service. This also deletes all endpoints associated with
    // the service.
    DeleteService(ctx context.Context, in *DeleteServiceRequest, opts ...grpc.CallOption) (*empty.Empty, error)
    // Creates a endpoint, and returns the new Endpoint.
    CreateEndpoint(ctx context.Context, in *CreateEndpointRequest, opts ...grpc.CallOption) (*Endpoint, error)
    // Lists all endpoints.
    ListEndpoints(ctx context.Context, in *ListEndpointsRequest, opts ...grpc.CallOption) (*ListEndpointsResponse, error)
    // Gets a endpoint.
    GetEndpoint(ctx context.Context, in *GetEndpointRequest, opts ...grpc.CallOption) (*Endpoint, error)
    // Updates a endpoint.
    UpdateEndpoint(ctx context.Context, in *UpdateEndpointRequest, opts ...grpc.CallOption) (*Endpoint, error)
    // Deletes a endpoint.
    DeleteEndpoint(ctx context.Context, in *DeleteEndpointRequest, opts ...grpc.CallOption) (*empty.Empty, error)
    // Gets the IAM Policy for a resource (namespace or service only).
    GetIamPolicy(ctx context.Context, in *v1.GetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error)
    // Sets the IAM Policy for a resource (namespace or service only).
    SetIamPolicy(ctx context.Context, in *v1.SetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error)
    // Tests IAM permissions for a resource (namespace or service only).
    TestIamPermissions(ctx context.Context, in *v1.TestIamPermissionsRequest, opts ...grpc.CallOption) (*v1.TestIamPermissionsResponse, error)
}

RegistrationServiceClient is the client API for RegistrationService service.

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

func NewRegistrationServiceClient Uses

func NewRegistrationServiceClient(cc grpc.ClientConnInterface) RegistrationServiceClient

type RegistrationServiceServer Uses

type RegistrationServiceServer interface {
    // Creates a namespace, and returns the new Namespace.
    CreateNamespace(context.Context, *CreateNamespaceRequest) (*Namespace, error)
    // Lists all namespaces.
    ListNamespaces(context.Context, *ListNamespacesRequest) (*ListNamespacesResponse, error)
    // Gets a namespace.
    GetNamespace(context.Context, *GetNamespaceRequest) (*Namespace, error)
    // Updates a namespace.
    UpdateNamespace(context.Context, *UpdateNamespaceRequest) (*Namespace, error)
    // Deletes a namespace. This also deletes all services and endpoints in
    // the namespace.
    DeleteNamespace(context.Context, *DeleteNamespaceRequest) (*empty.Empty, error)
    // Creates a service, and returns the new Service.
    CreateService(context.Context, *CreateServiceRequest) (*Service, error)
    // Lists all services belonging to a namespace.
    ListServices(context.Context, *ListServicesRequest) (*ListServicesResponse, error)
    // Gets a service.
    GetService(context.Context, *GetServiceRequest) (*Service, error)
    // Updates a service.
    UpdateService(context.Context, *UpdateServiceRequest) (*Service, error)
    // Deletes a service. This also deletes all endpoints associated with
    // the service.
    DeleteService(context.Context, *DeleteServiceRequest) (*empty.Empty, error)
    // Creates a endpoint, and returns the new Endpoint.
    CreateEndpoint(context.Context, *CreateEndpointRequest) (*Endpoint, error)
    // Lists all endpoints.
    ListEndpoints(context.Context, *ListEndpointsRequest) (*ListEndpointsResponse, error)
    // Gets a endpoint.
    GetEndpoint(context.Context, *GetEndpointRequest) (*Endpoint, error)
    // Updates a endpoint.
    UpdateEndpoint(context.Context, *UpdateEndpointRequest) (*Endpoint, error)
    // Deletes a endpoint.
    DeleteEndpoint(context.Context, *DeleteEndpointRequest) (*empty.Empty, error)
    // Gets the IAM Policy for a resource (namespace or service only).
    GetIamPolicy(context.Context, *v1.GetIamPolicyRequest) (*v1.Policy, error)
    // Sets the IAM Policy for a resource (namespace or service only).
    SetIamPolicy(context.Context, *v1.SetIamPolicyRequest) (*v1.Policy, error)
    // Tests IAM permissions for a resource (namespace or service only).
    TestIamPermissions(context.Context, *v1.TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error)
}

RegistrationServiceServer is the server API for RegistrationService service.

type ResolveServiceRequest Uses

type ResolveServiceRequest struct {

    // Required. The name of the service to resolve.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Optional. The maximum number of endpoints to return. Defaults to 25. Maximum is 100.
    // If a value less than one is specified, the Default is used.
    // If a value greater than the Maximum is specified, the Maximum is used.
    MaxEndpoints int32 `protobuf:"varint,2,opt,name=max_endpoints,json=maxEndpoints,proto3" json:"max_endpoints,omitempty"`
    // Optional. The filter applied to the endpoints of the resolved service.
    //
    // General filter string syntax:
    // <field> <operator> <value> (<logical connector>)
    // <field> can be "name" or "metadata.<key>" for map field.
    // <operator> can be "<, >, <=, >=, !=, =, :". Of which ":" means HAS and is
    // roughly the same as "=".
    // <value> must be the same data type as the field.
    // <logical connector> can be "AND, OR, NOT".
    //
    // Examples of valid filters:
    // * "metadata.owner" returns Endpoints that have a label with the
    //   key "owner", this is the same as "metadata:owner"
    // * "metadata.protocol=gRPC" returns Endpoints that have key/value
    //   "protocol=gRPC"
    // * "metadata.owner!=sd AND metadata.foo=bar" returns
    //   Endpoints that have "owner" field in metadata with a value that is not
    //   "sd" AND have the key/value foo=bar.
    EndpointFilter string `protobuf:"bytes,3,opt,name=endpoint_filter,json=endpointFilter,proto3" json:"endpoint_filter,omitempty"`
    // contains filtered or unexported fields
}

The request message for [LookupService.ResolveService][google.cloud.servicedirectory.v1beta1.LookupService.ResolveService]. Looks up a service by its name, returns the service and its endpoints.

func (*ResolveServiceRequest) Descriptor Uses

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

Deprecated: Use ResolveServiceRequest.ProtoReflect.Descriptor instead.

func (*ResolveServiceRequest) GetEndpointFilter Uses

func (x *ResolveServiceRequest) GetEndpointFilter() string

func (*ResolveServiceRequest) GetMaxEndpoints Uses

func (x *ResolveServiceRequest) GetMaxEndpoints() int32

func (*ResolveServiceRequest) GetName Uses

func (x *ResolveServiceRequest) GetName() string

func (*ResolveServiceRequest) ProtoMessage Uses

func (*ResolveServiceRequest) ProtoMessage()

func (*ResolveServiceRequest) ProtoReflect Uses

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

func (*ResolveServiceRequest) Reset Uses

func (x *ResolveServiceRequest) Reset()

func (*ResolveServiceRequest) String Uses

func (x *ResolveServiceRequest) String() string

type ResolveServiceResponse Uses

type ResolveServiceResponse struct {
    Service *Service `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
    // contains filtered or unexported fields
}

The response message for [LookupService.ResolveService][google.cloud.servicedirectory.v1beta1.LookupService.ResolveService].

func (*ResolveServiceResponse) Descriptor Uses

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

Deprecated: Use ResolveServiceResponse.ProtoReflect.Descriptor instead.

func (*ResolveServiceResponse) GetService Uses

func (x *ResolveServiceResponse) GetService() *Service

func (*ResolveServiceResponse) ProtoMessage Uses

func (*ResolveServiceResponse) ProtoMessage()

func (*ResolveServiceResponse) ProtoReflect Uses

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

func (*ResolveServiceResponse) Reset Uses

func (x *ResolveServiceResponse) Reset()

func (*ResolveServiceResponse) String Uses

func (x *ResolveServiceResponse) String() string

type Service Uses

type Service struct {

    // Immutable. The resource name for the service in the format
    // 'projects/*/locations/*/namespaces/*/services/*'.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Optional. Metadata for the service. This data can be consumed by service
    // clients.  The entire metadata dictionary may contain up to 2000 characters,
    // spread across all key-value pairs. Metadata that goes beyond any these
    // limits will be rejected.
    Metadata map[string]string `protobuf:"bytes,2,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    // Output only. Endpoints associated with this service. Returned on LookupService.Resolve.
    // Control plane clients should use RegistrationService.ListEndpoints.
    Endpoints []*Endpoint `protobuf:"bytes,3,rep,name=endpoints,proto3" json:"endpoints,omitempty"`
    // contains filtered or unexported fields
}

An individual service. A service contains a name and optional metadata. A service must exist before [endpoints][google.cloud.servicedirectory.v1beta1.Endpoint] can be added to it.

func (*Service) Descriptor Uses

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

Deprecated: Use Service.ProtoReflect.Descriptor instead.

func (*Service) GetEndpoints Uses

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

func (*Service) GetMetadata Uses

func (x *Service) GetMetadata() map[string]string

func (*Service) GetName Uses

func (x *Service) GetName() string

func (*Service) ProtoMessage Uses

func (*Service) ProtoMessage()

func (*Service) ProtoReflect Uses

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

func (*Service) Reset Uses

func (x *Service) Reset()

func (*Service) String Uses

func (x *Service) String() string

type UnimplementedLookupServiceServer Uses

type UnimplementedLookupServiceServer struct {
}

UnimplementedLookupServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedLookupServiceServer) ResolveService Uses

func (*UnimplementedLookupServiceServer) ResolveService(context.Context, *ResolveServiceRequest) (*ResolveServiceResponse, error)

type UnimplementedRegistrationServiceServer Uses

type UnimplementedRegistrationServiceServer struct {
}

UnimplementedRegistrationServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedRegistrationServiceServer) CreateEndpoint Uses

func (*UnimplementedRegistrationServiceServer) CreateEndpoint(context.Context, *CreateEndpointRequest) (*Endpoint, error)

func (*UnimplementedRegistrationServiceServer) CreateNamespace Uses

func (*UnimplementedRegistrationServiceServer) CreateNamespace(context.Context, *CreateNamespaceRequest) (*Namespace, error)

func (*UnimplementedRegistrationServiceServer) CreateService Uses

func (*UnimplementedRegistrationServiceServer) CreateService(context.Context, *CreateServiceRequest) (*Service, error)

func (*UnimplementedRegistrationServiceServer) DeleteEndpoint Uses

func (*UnimplementedRegistrationServiceServer) DeleteEndpoint(context.Context, *DeleteEndpointRequest) (*empty.Empty, error)

func (*UnimplementedRegistrationServiceServer) DeleteNamespace Uses

func (*UnimplementedRegistrationServiceServer) DeleteNamespace(context.Context, *DeleteNamespaceRequest) (*empty.Empty, error)

func (*UnimplementedRegistrationServiceServer) DeleteService Uses

func (*UnimplementedRegistrationServiceServer) DeleteService(context.Context, *DeleteServiceRequest) (*empty.Empty, error)

func (*UnimplementedRegistrationServiceServer) GetEndpoint Uses

func (*UnimplementedRegistrationServiceServer) GetEndpoint(context.Context, *GetEndpointRequest) (*Endpoint, error)

func (*UnimplementedRegistrationServiceServer) GetIamPolicy Uses

func (*UnimplementedRegistrationServiceServer) GetIamPolicy(context.Context, *v1.GetIamPolicyRequest) (*v1.Policy, error)

func (*UnimplementedRegistrationServiceServer) GetNamespace Uses

func (*UnimplementedRegistrationServiceServer) GetNamespace(context.Context, *GetNamespaceRequest) (*Namespace, error)

func (*UnimplementedRegistrationServiceServer) GetService Uses

func (*UnimplementedRegistrationServiceServer) GetService(context.Context, *GetServiceRequest) (*Service, error)

func (*UnimplementedRegistrationServiceServer) ListEndpoints Uses

func (*UnimplementedRegistrationServiceServer) ListEndpoints(context.Context, *ListEndpointsRequest) (*ListEndpointsResponse, error)

func (*UnimplementedRegistrationServiceServer) ListNamespaces Uses

func (*UnimplementedRegistrationServiceServer) ListNamespaces(context.Context, *ListNamespacesRequest) (*ListNamespacesResponse, error)

func (*UnimplementedRegistrationServiceServer) ListServices Uses

func (*UnimplementedRegistrationServiceServer) ListServices(context.Context, *ListServicesRequest) (*ListServicesResponse, error)

func (*UnimplementedRegistrationServiceServer) SetIamPolicy Uses

func (*UnimplementedRegistrationServiceServer) SetIamPolicy(context.Context, *v1.SetIamPolicyRequest) (*v1.Policy, error)

func (*UnimplementedRegistrationServiceServer) TestIamPermissions Uses

func (*UnimplementedRegistrationServiceServer) TestIamPermissions(context.Context, *v1.TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error)

func (*UnimplementedRegistrationServiceServer) UpdateEndpoint Uses

func (*UnimplementedRegistrationServiceServer) UpdateEndpoint(context.Context, *UpdateEndpointRequest) (*Endpoint, error)

func (*UnimplementedRegistrationServiceServer) UpdateNamespace Uses

func (*UnimplementedRegistrationServiceServer) UpdateNamespace(context.Context, *UpdateNamespaceRequest) (*Namespace, error)

func (*UnimplementedRegistrationServiceServer) UpdateService Uses

func (*UnimplementedRegistrationServiceServer) UpdateService(context.Context, *UpdateServiceRequest) (*Service, error)

type UpdateEndpointRequest Uses

type UpdateEndpointRequest struct {

    // Required. The updated endpoint.
    Endpoint *Endpoint `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
    // Required. List of fields to be updated in this request.
    UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
    // contains filtered or unexported fields
}

The request message for [RegistrationService.UpdateEndpoint][google.cloud.servicedirectory.v1beta1.RegistrationService.UpdateEndpoint].

func (*UpdateEndpointRequest) Descriptor Uses

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

Deprecated: Use UpdateEndpointRequest.ProtoReflect.Descriptor instead.

func (*UpdateEndpointRequest) GetEndpoint Uses

func (x *UpdateEndpointRequest) GetEndpoint() *Endpoint

func (*UpdateEndpointRequest) GetUpdateMask Uses

func (x *UpdateEndpointRequest) GetUpdateMask() *field_mask.FieldMask

func (*UpdateEndpointRequest) ProtoMessage Uses

func (*UpdateEndpointRequest) ProtoMessage()

func (*UpdateEndpointRequest) ProtoReflect Uses

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

func (*UpdateEndpointRequest) Reset Uses

func (x *UpdateEndpointRequest) Reset()

func (*UpdateEndpointRequest) String Uses

func (x *UpdateEndpointRequest) String() string

type UpdateNamespaceRequest Uses

type UpdateNamespaceRequest struct {

    // Required. The updated namespace.
    Namespace *Namespace `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
    // Required. List of fields to be updated in this request.
    UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
    // contains filtered or unexported fields
}

The request message for [RegistrationService.UpdateNamespace][google.cloud.servicedirectory.v1beta1.RegistrationService.UpdateNamespace].

func (*UpdateNamespaceRequest) Descriptor Uses

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

Deprecated: Use UpdateNamespaceRequest.ProtoReflect.Descriptor instead.

func (*UpdateNamespaceRequest) GetNamespace Uses

func (x *UpdateNamespaceRequest) GetNamespace() *Namespace

func (*UpdateNamespaceRequest) GetUpdateMask Uses

func (x *UpdateNamespaceRequest) GetUpdateMask() *field_mask.FieldMask

func (*UpdateNamespaceRequest) ProtoMessage Uses

func (*UpdateNamespaceRequest) ProtoMessage()

func (*UpdateNamespaceRequest) ProtoReflect Uses

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

func (*UpdateNamespaceRequest) Reset Uses

func (x *UpdateNamespaceRequest) Reset()

func (*UpdateNamespaceRequest) String Uses

func (x *UpdateNamespaceRequest) String() string

type UpdateServiceRequest Uses

type UpdateServiceRequest struct {

    // Required. The updated service.
    Service *Service `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
    // Required. List of fields to be updated in this request.
    UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
    // contains filtered or unexported fields
}

The request message for [RegistrationService.UpdateService][google.cloud.servicedirectory.v1beta1.RegistrationService.UpdateService].

func (*UpdateServiceRequest) Descriptor Uses

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

Deprecated: Use UpdateServiceRequest.ProtoReflect.Descriptor instead.

func (*UpdateServiceRequest) GetService Uses

func (x *UpdateServiceRequest) GetService() *Service

func (*UpdateServiceRequest) GetUpdateMask Uses

func (x *UpdateServiceRequest) GetUpdateMask() *field_mask.FieldMask

func (*UpdateServiceRequest) ProtoMessage Uses

func (*UpdateServiceRequest) ProtoMessage()

func (*UpdateServiceRequest) ProtoReflect Uses

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

func (*UpdateServiceRequest) Reset Uses

func (x *UpdateServiceRequest) Reset()

func (*UpdateServiceRequest) String Uses

func (x *UpdateServiceRequest) String() string

Package servicedirectory imports 13 packages (graph) and is imported by 3 packages. Updated 2020-07-01. Refresh now. Tools for package owners.