Class RegistrationServiceClient (1.0.0)

public abstract class RegistrationServiceClient

RegistrationService client wrapper, for convenient use.

Inheritance

System.Object > RegistrationServiceClient

Namespace

Google.Cloud.ServiceDirectory.V1

Assembly

Google.Cloud.ServiceDirectory.V1.dll

Remarks

Service Directory API for registering services. It defines the following resource model:

  • The API has a collection of [Namespace][google.cloud.servicedirectory.v1.Namespace] resources, named projects/*/locations/*/namespaces/*.

  • Each Namespace has a collection of [Service][google.cloud.servicedirectory.v1.Service] resources, named projects/*/locations/*/namespaces/*/services/*.

  • Each Service has a collection of [Endpoint][google.cloud.servicedirectory.v1.Endpoint] resources, named projects/*/locations/*/namespaces/*/services/*/endpoints/*.

Properties

DefaultEndpoint

public static string DefaultEndpoint { get; }

The default endpoint for the RegistrationService service, which is a host of "servicedirectory.googleapis.com" and a port of 443.

Property Value
TypeDescription
System.String

DefaultScopes

public static IReadOnlyList<string> DefaultScopes { get; }

The default RegistrationService scopes.

Property Value
TypeDescription
System.Collections.Generic.IReadOnlyList<System.String>
Remarks

The default RegistrationService scopes are:

GrpcClient

public virtual RegistrationService.RegistrationServiceClient GrpcClient { get; }

The underlying gRPC RegistrationService client

Property Value
TypeDescription
RegistrationService.RegistrationServiceClient

Methods

Create()

public static RegistrationServiceClient Create()

Synchronously creates a RegistrationServiceClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use RegistrationServiceClientBuilder.

Returns
TypeDescription
RegistrationServiceClient

The created RegistrationServiceClient.

CreateAsync(CancellationToken)

public static Task<RegistrationServiceClient> CreateAsync(CancellationToken cancellationToken = default(CancellationToken))

Asynchronously creates a RegistrationServiceClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use RegistrationServiceClientBuilder.

Parameter
NameDescription
cancellationTokenSystem.Threading.CancellationToken

The System.Threading.CancellationToken to use while creating the client.

Returns
TypeDescription
System.Threading.Tasks.Task<RegistrationServiceClient>

The task representing the created RegistrationServiceClient.

CreateEndpoint(CreateEndpointRequest, CallSettings)

public virtual Endpoint CreateEndpoint(CreateEndpointRequest request, CallSettings callSettings = null)

Creates a endpoint, and returns the new Endpoint.

Parameters
NameDescription
requestCreateEndpointRequest

The request object containing all of the parameters for the API call.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Endpoint

The RPC response.

CreateEndpoint(ServiceName, Endpoint, String, CallSettings)

public virtual Endpoint CreateEndpoint(ServiceName parent, Endpoint endpoint, string endpointId, CallSettings callSettings = null)

Creates a endpoint, and returns the new Endpoint.

Parameters
NameDescription
parentServiceName

Required. The resource name of the service that this endpoint provides.

endpointEndpoint

Required. A endpoint with initial fields set.

endpointIdSystem.String

Required. The Resource ID must be 1-63 characters long, and comply with &lt;a href="https://www.ietf.org/rfc/rfc1035.txt"; target="_blank"&gt;RFC1035&lt;/a&gt;. 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.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Endpoint

The RPC response.

CreateEndpoint(String, Endpoint, String, CallSettings)

public virtual Endpoint CreateEndpoint(string parent, Endpoint endpoint, string endpointId, CallSettings callSettings = null)

Creates a endpoint, and returns the new Endpoint.

Parameters
NameDescription
parentSystem.String

Required. The resource name of the service that this endpoint provides.

endpointEndpoint

Required. A endpoint with initial fields set.

endpointIdSystem.String

Required. The Resource ID must be 1-63 characters long, and comply with &lt;a href="https://www.ietf.org/rfc/rfc1035.txt"; target="_blank"&gt;RFC1035&lt;/a&gt;. 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.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Endpoint

The RPC response.

CreateEndpointAsync(CreateEndpointRequest, CallSettings)

public virtual Task<Endpoint> CreateEndpointAsync(CreateEndpointRequest request, CallSettings callSettings = null)

Creates a endpoint, and returns the new Endpoint.

Parameters
NameDescription
requestCreateEndpointRequest

The request object containing all of the parameters for the API call.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task<Endpoint>

A Task containing the RPC response.

CreateEndpointAsync(CreateEndpointRequest, CancellationToken)

public virtual Task<Endpoint> CreateEndpointAsync(CreateEndpointRequest request, CancellationToken cancellationToken)

Creates a endpoint, and returns the new Endpoint.

Parameters
NameDescription
requestCreateEndpointRequest

The request object containing all of the parameters for the API call.

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task<Endpoint>

A Task containing the RPC response.

CreateEndpointAsync(ServiceName, Endpoint, String, CallSettings)

public virtual Task<Endpoint> CreateEndpointAsync(ServiceName parent, Endpoint endpoint, string endpointId, CallSettings callSettings = null)

Creates a endpoint, and returns the new Endpoint.

Parameters
NameDescription
parentServiceName

Required. The resource name of the service that this endpoint provides.

endpointEndpoint

Required. A endpoint with initial fields set.

endpointIdSystem.String

Required. The Resource ID must be 1-63 characters long, and comply with &lt;a href="https://www.ietf.org/rfc/rfc1035.txt"; target="_blank"&gt;RFC1035&lt;/a&gt;. 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.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task<Endpoint>

A Task containing the RPC response.

CreateEndpointAsync(ServiceName, Endpoint, String, CancellationToken)

public virtual Task<Endpoint> CreateEndpointAsync(ServiceName parent, Endpoint endpoint, string endpointId, CancellationToken cancellationToken)

Creates a endpoint, and returns the new Endpoint.

Parameters
NameDescription
parentServiceName

Required. The resource name of the service that this endpoint provides.

endpointEndpoint

Required. A endpoint with initial fields set.

endpointIdSystem.String

Required. The Resource ID must be 1-63 characters long, and comply with &lt;a href="https://www.ietf.org/rfc/rfc1035.txt"; target="_blank"&gt;RFC1035&lt;/a&gt;. 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.

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task<Endpoint>

A Task containing the RPC response.

CreateEndpointAsync(String, Endpoint, String, CallSettings)

public virtual Task<Endpoint> CreateEndpointAsync(string parent, Endpoint endpoint, string endpointId, CallSettings callSettings = null)

Creates a endpoint, and returns the new Endpoint.

Parameters
NameDescription
parentSystem.String

Required. The resource name of the service that this endpoint provides.

endpointEndpoint

Required. A endpoint with initial fields set.

endpointIdSystem.String

Required. The Resource ID must be 1-63 characters long, and comply with &lt;a href="https://www.ietf.org/rfc/rfc1035.txt"; target="_blank"&gt;RFC1035&lt;/a&gt;. 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.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task<Endpoint>

A Task containing the RPC response.

CreateEndpointAsync(String, Endpoint, String, CancellationToken)

public virtual Task<Endpoint> CreateEndpointAsync(string parent, Endpoint endpoint, string endpointId, CancellationToken cancellationToken)

Creates a endpoint, and returns the new Endpoint.

Parameters
NameDescription
parentSystem.String

Required. The resource name of the service that this endpoint provides.

endpointEndpoint

Required. A endpoint with initial fields set.

endpointIdSystem.String

Required. The Resource ID must be 1-63 characters long, and comply with &lt;a href="https://www.ietf.org/rfc/rfc1035.txt"; target="_blank"&gt;RFC1035&lt;/a&gt;. 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.

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task<Endpoint>

A Task containing the RPC response.

CreateNamespace(LocationName, Namespace, String, CallSettings)

public virtual Namespace CreateNamespace(LocationName parent, Namespace namespace, string namespaceId, CallSettings callSettings = null)

Creates a namespace, and returns the new Namespace.

Parameters
NameDescription
parentGoogle.Api.Gax.ResourceNames.LocationName

Required. The resource name of the project and location the namespace will be created in.

namespaceNamespace

Required. A namespace with initial fields set.

namespaceIdSystem.String

Required. The Resource ID must be 1-63 characters long, and comply with &lt;a href="https://www.ietf.org/rfc/rfc1035.txt"; target="_blank"&gt;RFC1035&lt;/a&gt;. 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.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Namespace

The RPC response.

CreateNamespace(CreateNamespaceRequest, CallSettings)

public virtual Namespace CreateNamespace(CreateNamespaceRequest request, CallSettings callSettings = null)

Creates a namespace, and returns the new Namespace.

Parameters
NameDescription
requestCreateNamespaceRequest

The request object containing all of the parameters for the API call.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Namespace

The RPC response.

CreateNamespace(String, Namespace, String, CallSettings)

public virtual Namespace CreateNamespace(string parent, Namespace namespace, string namespaceId, CallSettings callSettings = null)

Creates a namespace, and returns the new Namespace.

Parameters
NameDescription
parentSystem.String

Required. The resource name of the project and location the namespace will be created in.

namespaceNamespace

Required. A namespace with initial fields set.

namespaceIdSystem.String

Required. The Resource ID must be 1-63 characters long, and comply with &lt;a href="https://www.ietf.org/rfc/rfc1035.txt"; target="_blank"&gt;RFC1035&lt;/a&gt;. 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.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Namespace

The RPC response.

CreateNamespaceAsync(LocationName, Namespace, String, CallSettings)

public virtual Task<Namespace> CreateNamespaceAsync(LocationName parent, Namespace namespace, string namespaceId, CallSettings callSettings = null)

Creates a namespace, and returns the new Namespace.

Parameters
NameDescription
parentGoogle.Api.Gax.ResourceNames.LocationName

Required. The resource name of the project and location the namespace will be created in.

namespaceNamespace

Required. A namespace with initial fields set.

namespaceIdSystem.String

Required. The Resource ID must be 1-63 characters long, and comply with &lt;a href="https://www.ietf.org/rfc/rfc1035.txt"; target="_blank"&gt;RFC1035&lt;/a&gt;. 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.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task<Namespace>

A Task containing the RPC response.

CreateNamespaceAsync(LocationName, Namespace, String, CancellationToken)

public virtual Task<Namespace> CreateNamespaceAsync(LocationName parent, Namespace namespace, string namespaceId, CancellationToken cancellationToken)

Creates a namespace, and returns the new Namespace.

Parameters
NameDescription
parentGoogle.Api.Gax.ResourceNames.LocationName

Required. The resource name of the project and location the namespace will be created in.

namespaceNamespace

Required. A namespace with initial fields set.

namespaceIdSystem.String

Required. The Resource ID must be 1-63 characters long, and comply with &lt;a href="https://www.ietf.org/rfc/rfc1035.txt"; target="_blank"&gt;RFC1035&lt;/a&gt;. 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.

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task<Namespace>

A Task containing the RPC response.

CreateNamespaceAsync(CreateNamespaceRequest, CallSettings)

public virtual Task<Namespace> CreateNamespaceAsync(CreateNamespaceRequest request, CallSettings callSettings = null)

Creates a namespace, and returns the new Namespace.

Parameters
NameDescription
requestCreateNamespaceRequest

The request object containing all of the parameters for the API call.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task<Namespace>

A Task containing the RPC response.

CreateNamespaceAsync(CreateNamespaceRequest, CancellationToken)

public virtual Task<Namespace> CreateNamespaceAsync(CreateNamespaceRequest request, CancellationToken cancellationToken)

Creates a namespace, and returns the new Namespace.

Parameters
NameDescription
requestCreateNamespaceRequest

The request object containing all of the parameters for the API call.

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task<Namespace>

A Task containing the RPC response.

CreateNamespaceAsync(String, Namespace, String, CallSettings)

public virtual Task<Namespace> CreateNamespaceAsync(string parent, Namespace namespace, string namespaceId, CallSettings callSettings = null)

Creates a namespace, and returns the new Namespace.

Parameters
NameDescription
parentSystem.String

Required. The resource name of the project and location the namespace will be created in.

namespaceNamespace

Required. A namespace with initial fields set.

namespaceIdSystem.String

Required. The Resource ID must be 1-63 characters long, and comply with &lt;a href="https://www.ietf.org/rfc/rfc1035.txt"; target="_blank"&gt;RFC1035&lt;/a&gt;. 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.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task<Namespace>

A Task containing the RPC response.

CreateNamespaceAsync(String, Namespace, String, CancellationToken)

public virtual Task<Namespace> CreateNamespaceAsync(string parent, Namespace namespace, string namespaceId, CancellationToken cancellationToken)

Creates a namespace, and returns the new Namespace.

Parameters
NameDescription
parentSystem.String

Required. The resource name of the project and location the namespace will be created in.

namespaceNamespace

Required. A namespace with initial fields set.

namespaceIdSystem.String

Required. The Resource ID must be 1-63 characters long, and comply with &lt;a href="https://www.ietf.org/rfc/rfc1035.txt"; target="_blank"&gt;RFC1035&lt;/a&gt;. 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.

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task<Namespace>

A Task containing the RPC response.

CreateService(CreateServiceRequest, CallSettings)

public virtual Service CreateService(CreateServiceRequest request, CallSettings callSettings = null)

Creates a service, and returns the new Service.

Parameters
NameDescription
requestCreateServiceRequest

The request object containing all of the parameters for the API call.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Service

The RPC response.

CreateService(NamespaceName, Service, String, CallSettings)

public virtual Service CreateService(NamespaceName parent, Service service, string serviceId, CallSettings callSettings = null)

Creates a service, and returns the new Service.

Parameters
NameDescription
parentNamespaceName

Required. The resource name of the namespace this service will belong to.

serviceService

Required. A service with initial fields set.

serviceIdSystem.String

Required. The Resource ID must be 1-63 characters long, and comply with &lt;a href="https://www.ietf.org/rfc/rfc1035.txt"; target="_blank"&gt;RFC1035&lt;/a&gt;. 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.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Service

The RPC response.

CreateService(String, Service, String, CallSettings)

public virtual Service CreateService(string parent, Service service, string serviceId, CallSettings callSettings = null)

Creates a service, and returns the new Service.

Parameters
NameDescription
parentSystem.String

Required. The resource name of the namespace this service will belong to.

serviceService

Required. A service with initial fields set.

serviceIdSystem.String

Required. The Resource ID must be 1-63 characters long, and comply with &lt;a href="https://www.ietf.org/rfc/rfc1035.txt"; target="_blank"&gt;RFC1035&lt;/a&gt;. 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.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Service

The RPC response.

CreateServiceAsync(CreateServiceRequest, CallSettings)

public virtual Task<Service> CreateServiceAsync(CreateServiceRequest request, CallSettings callSettings = null)

Creates a service, and returns the new Service.

Parameters
NameDescription
requestCreateServiceRequest

The request object containing all of the parameters for the API call.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task<Service>

A Task containing the RPC response.

CreateServiceAsync(CreateServiceRequest, CancellationToken)

public virtual Task<Service> CreateServiceAsync(CreateServiceRequest request, CancellationToken cancellationToken)

Creates a service, and returns the new Service.

Parameters
NameDescription
requestCreateServiceRequest

The request object containing all of the parameters for the API call.

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task<Service>

A Task containing the RPC response.

CreateServiceAsync(NamespaceName, Service, String, CallSettings)

public virtual Task<Service> CreateServiceAsync(NamespaceName parent, Service service, string serviceId, CallSettings callSettings = null)

Creates a service, and returns the new Service.

Parameters
NameDescription
parentNamespaceName

Required. The resource name of the namespace this service will belong to.

serviceService

Required. A service with initial fields set.

serviceIdSystem.String

Required. The Resource ID must be 1-63 characters long, and comply with &lt;a href="https://www.ietf.org/rfc/rfc1035.txt"; target="_blank"&gt;RFC1035&lt;/a&gt;. 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.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task<Service>

A Task containing the RPC response.

CreateServiceAsync(NamespaceName, Service, String, CancellationToken)

public virtual Task<Service> CreateServiceAsync(NamespaceName parent, Service service, string serviceId, CancellationToken cancellationToken)

Creates a service, and returns the new Service.

Parameters
NameDescription
parentNamespaceName

Required. The resource name of the namespace this service will belong to.

serviceService

Required. A service with initial fields set.

serviceIdSystem.String

Required. The Resource ID must be 1-63 characters long, and comply with &lt;a href="https://www.ietf.org/rfc/rfc1035.txt"; target="_blank"&gt;RFC1035&lt;/a&gt;. 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.

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task<Service>

A Task containing the RPC response.

CreateServiceAsync(String, Service, String, CallSettings)

public virtual Task<Service> CreateServiceAsync(string parent, Service service, string serviceId, CallSettings callSettings = null)

Creates a service, and returns the new Service.

Parameters
NameDescription
parentSystem.String

Required. The resource name of the namespace this service will belong to.

serviceService

Required. A service with initial fields set.

serviceIdSystem.String

Required. The Resource ID must be 1-63 characters long, and comply with &lt;a href="https://www.ietf.org/rfc/rfc1035.txt"; target="_blank"&gt;RFC1035&lt;/a&gt;. 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.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task<Service>

A Task containing the RPC response.

CreateServiceAsync(String, Service, String, CancellationToken)

public virtual Task<Service> CreateServiceAsync(string parent, Service service, string serviceId, CancellationToken cancellationToken)

Creates a service, and returns the new Service.

Parameters
NameDescription
parentSystem.String

Required. The resource name of the namespace this service will belong to.

serviceService

Required. A service with initial fields set.

serviceIdSystem.String

Required. The Resource ID must be 1-63 characters long, and comply with &lt;a href="https://www.ietf.org/rfc/rfc1035.txt"; target="_blank"&gt;RFC1035&lt;/a&gt;. 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.

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task<Service>

A Task containing the RPC response.

DeleteEndpoint(DeleteEndpointRequest, CallSettings)

public virtual void DeleteEndpoint(DeleteEndpointRequest request, CallSettings callSettings = null)

Deletes a endpoint.

Parameters
NameDescription
requestDeleteEndpointRequest

The request object containing all of the parameters for the API call.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

DeleteEndpoint(EndpointName, CallSettings)

public virtual void DeleteEndpoint(EndpointName name, CallSettings callSettings = null)

Deletes a endpoint.

Parameters
NameDescription
nameEndpointName

Required. The name of the endpoint to delete.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

DeleteEndpoint(String, CallSettings)

public virtual void DeleteEndpoint(string name, CallSettings callSettings = null)

Deletes a endpoint.

Parameters
NameDescription
nameSystem.String

Required. The name of the endpoint to delete.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

DeleteEndpointAsync(DeleteEndpointRequest, CallSettings)

public virtual Task DeleteEndpointAsync(DeleteEndpointRequest request, CallSettings callSettings = null)

Deletes a endpoint.

Parameters
NameDescription
requestDeleteEndpointRequest

The request object containing all of the parameters for the API call.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task

A Task containing the RPC response.

DeleteEndpointAsync(DeleteEndpointRequest, CancellationToken)

public virtual Task DeleteEndpointAsync(DeleteEndpointRequest request, CancellationToken cancellationToken)

Deletes a endpoint.

Parameters
NameDescription
requestDeleteEndpointRequest

The request object containing all of the parameters for the API call.

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task

A Task containing the RPC response.

DeleteEndpointAsync(EndpointName, CallSettings)

public virtual Task DeleteEndpointAsync(EndpointName name, CallSettings callSettings = null)

Deletes a endpoint.

Parameters
NameDescription
nameEndpointName

Required. The name of the endpoint to delete.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task

A Task containing the RPC response.

DeleteEndpointAsync(EndpointName, CancellationToken)

public virtual Task DeleteEndpointAsync(EndpointName name, CancellationToken cancellationToken)

Deletes a endpoint.

Parameters
NameDescription
nameEndpointName

Required. The name of the endpoint to delete.

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task

A Task containing the RPC response.

DeleteEndpointAsync(String, CallSettings)

public virtual Task DeleteEndpointAsync(string name, CallSettings callSettings = null)

Deletes a endpoint.

Parameters
NameDescription
nameSystem.String

Required. The name of the endpoint to delete.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task

A Task containing the RPC response.

DeleteEndpointAsync(String, CancellationToken)

public virtual Task DeleteEndpointAsync(string name, CancellationToken cancellationToken)

Deletes a endpoint.

Parameters
NameDescription
nameSystem.String

Required. The name of the endpoint to delete.

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task

A Task containing the RPC response.

DeleteNamespace(DeleteNamespaceRequest, CallSettings)

public virtual void DeleteNamespace(DeleteNamespaceRequest request, CallSettings callSettings = null)

Deletes a namespace. This also deletes all services and endpoints in the namespace.

Parameters
NameDescription
requestDeleteNamespaceRequest

The request object containing all of the parameters for the API call.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

DeleteNamespace(NamespaceName, CallSettings)

public virtual void DeleteNamespace(NamespaceName name, CallSettings callSettings = null)

Deletes a namespace. This also deletes all services and endpoints in the namespace.

Parameters
NameDescription
nameNamespaceName

Required. The name of the namespace to delete.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

DeleteNamespace(String, CallSettings)

public virtual void DeleteNamespace(string name, CallSettings callSettings = null)

Deletes a namespace. This also deletes all services and endpoints in the namespace.

Parameters
NameDescription
nameSystem.String

Required. The name of the namespace to delete.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

DeleteNamespaceAsync(DeleteNamespaceRequest, CallSettings)

public virtual Task DeleteNamespaceAsync(DeleteNamespaceRequest request, CallSettings callSettings = null)

Deletes a namespace. This also deletes all services and endpoints in the namespace.

Parameters
NameDescription
requestDeleteNamespaceRequest

The request object containing all of the parameters for the API call.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task

A Task containing the RPC response.

DeleteNamespaceAsync(DeleteNamespaceRequest, CancellationToken)

public virtual Task DeleteNamespaceAsync(DeleteNamespaceRequest request, CancellationToken cancellationToken)

Deletes a namespace. This also deletes all services and endpoints in the namespace.

Parameters
NameDescription
requestDeleteNamespaceRequest

The request object containing all of the parameters for the API call.

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task

A Task containing the RPC response.

DeleteNamespaceAsync(NamespaceName, CallSettings)

public virtual Task DeleteNamespaceAsync(NamespaceName name, CallSettings callSettings = null)

Deletes a namespace. This also deletes all services and endpoints in the namespace.

Parameters
NameDescription
nameNamespaceName

Required. The name of the namespace to delete.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task

A Task containing the RPC response.

DeleteNamespaceAsync(NamespaceName, CancellationToken)

public virtual Task DeleteNamespaceAsync(NamespaceName name, CancellationToken cancellationToken)

Deletes a namespace. This also deletes all services and endpoints in the namespace.

Parameters
NameDescription
nameNamespaceName

Required. The name of the namespace to delete.

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task

A Task containing the RPC response.

DeleteNamespaceAsync(String, CallSettings)

public virtual Task DeleteNamespaceAsync(string name, CallSettings callSettings = null)

Deletes a namespace. This also deletes all services and endpoints in the namespace.

Parameters
NameDescription
nameSystem.String

Required. The name of the namespace to delete.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task

A Task containing the RPC response.

DeleteNamespaceAsync(String, CancellationToken)

public virtual Task DeleteNamespaceAsync(string name, CancellationToken cancellationToken)

Deletes a namespace. This also deletes all services and endpoints in the namespace.

Parameters
NameDescription
nameSystem.String

Required. The name of the namespace to delete.

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task

A Task containing the RPC response.

DeleteService(DeleteServiceRequest, CallSettings)

public virtual void DeleteService(DeleteServiceRequest request, CallSettings callSettings = null)

Deletes a service. This also deletes all endpoints associated with the service.

Parameters
NameDescription
requestDeleteServiceRequest

The request object containing all of the parameters for the API call.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

DeleteService(ServiceName, CallSettings)

public virtual void DeleteService(ServiceName name, CallSettings callSettings = null)

Deletes a service. This also deletes all endpoints associated with the service.

Parameters
NameDescription
nameServiceName

Required. The name of the service to delete.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

DeleteService(String, CallSettings)

public virtual void DeleteService(string name, CallSettings callSettings = null)

Deletes a service. This also deletes all endpoints associated with the service.

Parameters
NameDescription
nameSystem.String

Required. The name of the service to delete.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

DeleteServiceAsync(DeleteServiceRequest, CallSettings)

public virtual Task DeleteServiceAsync(DeleteServiceRequest request, CallSettings callSettings = null)

Deletes a service. This also deletes all endpoints associated with the service.

Parameters
NameDescription
requestDeleteServiceRequest

The request object containing all of the parameters for the API call.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task

A Task containing the RPC response.

DeleteServiceAsync(DeleteServiceRequest, CancellationToken)

public virtual Task DeleteServiceAsync(DeleteServiceRequest request, CancellationToken cancellationToken)

Deletes a service. This also deletes all endpoints associated with the service.

Parameters
NameDescription
requestDeleteServiceRequest

The request object containing all of the parameters for the API call.

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task

A Task containing the RPC response.

DeleteServiceAsync(ServiceName, CallSettings)

public virtual Task DeleteServiceAsync(ServiceName name, CallSettings callSettings = null)

Deletes a service. This also deletes all endpoints associated with the service.

Parameters
NameDescription
nameServiceName

Required. The name of the service to delete.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task

A Task containing the RPC response.

DeleteServiceAsync(ServiceName, CancellationToken)

public virtual Task DeleteServiceAsync(ServiceName name, CancellationToken cancellationToken)

Deletes a service. This also deletes all endpoints associated with the service.

Parameters
NameDescription
nameServiceName

Required. The name of the service to delete.

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task

A Task containing the RPC response.

DeleteServiceAsync(String, CallSettings)

public virtual Task DeleteServiceAsync(string name, CallSettings callSettings = null)

Deletes a service. This also deletes all endpoints associated with the service.

Parameters
NameDescription
nameSystem.String

Required. The name of the service to delete.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task

A Task containing the RPC response.

DeleteServiceAsync(String, CancellationToken)

public virtual Task DeleteServiceAsync(string name, CancellationToken cancellationToken)

Deletes a service. This also deletes all endpoints associated with the service.

Parameters
NameDescription
nameSystem.String

Required. The name of the service to delete.

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task

A Task containing the RPC response.

GetEndpoint(EndpointName, CallSettings)

public virtual Endpoint GetEndpoint(EndpointName name, CallSettings callSettings = null)

Gets a endpoint.

Parameters
NameDescription
nameEndpointName

Required. The name of the endpoint to get.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Endpoint

The RPC response.

GetEndpoint(GetEndpointRequest, CallSettings)

public virtual Endpoint GetEndpoint(GetEndpointRequest request, CallSettings callSettings = null)

Gets a endpoint.

Parameters
NameDescription
requestGetEndpointRequest

The request object containing all of the parameters for the API call.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Endpoint

The RPC response.

GetEndpoint(String, CallSettings)

public virtual Endpoint GetEndpoint(string name, CallSettings callSettings = null)

Gets a endpoint.

Parameters
NameDescription
nameSystem.String

Required. The name of the endpoint to get.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Endpoint

The RPC response.

GetEndpointAsync(EndpointName, CallSettings)

public virtual Task<Endpoint> GetEndpointAsync(EndpointName name, CallSettings callSettings = null)

Gets a endpoint.

Parameters
NameDescription
nameEndpointName

Required. The name of the endpoint to get.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task<Endpoint>

A Task containing the RPC response.

GetEndpointAsync(EndpointName, CancellationToken)

public virtual Task<Endpoint> GetEndpointAsync(EndpointName name, CancellationToken cancellationToken)

Gets a endpoint.

Parameters
NameDescription
nameEndpointName

Required. The name of the endpoint to get.

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task<Endpoint>

A Task containing the RPC response.

GetEndpointAsync(GetEndpointRequest, CallSettings)

public virtual Task<Endpoint> GetEndpointAsync(GetEndpointRequest request, CallSettings callSettings = null)

Gets a endpoint.

Parameters
NameDescription
requestGetEndpointRequest

The request object containing all of the parameters for the API call.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task<Endpoint>

A Task containing the RPC response.

GetEndpointAsync(GetEndpointRequest, CancellationToken)

public virtual Task<Endpoint> GetEndpointAsync(GetEndpointRequest request, CancellationToken cancellationToken)

Gets a endpoint.

Parameters
NameDescription
requestGetEndpointRequest

The request object containing all of the parameters for the API call.

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task<Endpoint>

A Task containing the RPC response.

GetEndpointAsync(String, CallSettings)

public virtual Task<Endpoint> GetEndpointAsync(string name, CallSettings callSettings = null)

Gets a endpoint.

Parameters
NameDescription
nameSystem.String

Required. The name of the endpoint to get.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task<Endpoint>

A Task containing the RPC response.

GetEndpointAsync(String, CancellationToken)

public virtual Task<Endpoint> GetEndpointAsync(string name, CancellationToken cancellationToken)

Gets a endpoint.

Parameters
NameDescription
nameSystem.String

Required. The name of the endpoint to get.

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task<Endpoint>

A Task containing the RPC response.

GetIamPolicy(GetIamPolicyRequest, CallSettings)

public virtual Policy GetIamPolicy(GetIamPolicyRequest request, CallSettings callSettings = null)

Gets the IAM Policy for a resource (namespace or service only).

Parameters
NameDescription
requestGoogle.Cloud.Iam.V1.GetIamPolicyRequest

The request object containing all of the parameters for the API call.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Google.Cloud.Iam.V1.Policy

The RPC response.

GetIamPolicyAsync(GetIamPolicyRequest, CallSettings)

public virtual Task<Policy> GetIamPolicyAsync(GetIamPolicyRequest request, CallSettings callSettings = null)

Gets the IAM Policy for a resource (namespace or service only).

Parameters
NameDescription
requestGoogle.Cloud.Iam.V1.GetIamPolicyRequest

The request object containing all of the parameters for the API call.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task<Google.Cloud.Iam.V1.Policy>

A Task containing the RPC response.

GetIamPolicyAsync(GetIamPolicyRequest, CancellationToken)

public virtual Task<Policy> GetIamPolicyAsync(GetIamPolicyRequest request, CancellationToken cancellationToken)

Gets the IAM Policy for a resource (namespace or service only).

Parameters
NameDescription
requestGoogle.Cloud.Iam.V1.GetIamPolicyRequest

The request object containing all of the parameters for the API call.

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task<Google.Cloud.Iam.V1.Policy>

A Task containing the RPC response.

GetNamespace(GetNamespaceRequest, CallSettings)

public virtual Namespace GetNamespace(GetNamespaceRequest request, CallSettings callSettings = null)

Gets a namespace.

Parameters
NameDescription
requestGetNamespaceRequest

The request object containing all of the parameters for the API call.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Namespace

The RPC response.

GetNamespace(NamespaceName, CallSettings)

public virtual Namespace GetNamespace(NamespaceName name, CallSettings callSettings = null)

Gets a namespace.

Parameters
NameDescription
nameNamespaceName

Required. The name of the namespace to retrieve.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Namespace

The RPC response.

GetNamespace(String, CallSettings)

public virtual Namespace GetNamespace(string name, CallSettings callSettings = null)

Gets a namespace.

Parameters
NameDescription
nameSystem.String

Required. The name of the namespace to retrieve.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Namespace

The RPC response.

GetNamespaceAsync(GetNamespaceRequest, CallSettings)

public virtual Task<Namespace> GetNamespaceAsync(GetNamespaceRequest request, CallSettings callSettings = null)

Gets a namespace.

Parameters
NameDescription
requestGetNamespaceRequest

The request object containing all of the parameters for the API call.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task<Namespace>

A Task containing the RPC response.

GetNamespaceAsync(GetNamespaceRequest, CancellationToken)

public virtual Task<Namespace> GetNamespaceAsync(GetNamespaceRequest request, CancellationToken cancellationToken)

Gets a namespace.

Parameters
NameDescription
requestGetNamespaceRequest

The request object containing all of the parameters for the API call.

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task<Namespace>

A Task containing the RPC response.

GetNamespaceAsync(NamespaceName, CallSettings)

public virtual Task<Namespace> GetNamespaceAsync(NamespaceName name, CallSettings callSettings = null)

Gets a namespace.

Parameters
NameDescription
nameNamespaceName

Required. The name of the namespace to retrieve.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task<Namespace>

A Task containing the RPC response.

GetNamespaceAsync(NamespaceName, CancellationToken)

public virtual Task<Namespace> GetNamespaceAsync(NamespaceName name, CancellationToken cancellationToken)

Gets a namespace.

Parameters
NameDescription
nameNamespaceName

Required. The name of the namespace to retrieve.

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task<Namespace>

A Task containing the RPC response.

GetNamespaceAsync(String, CallSettings)

public virtual Task<Namespace> GetNamespaceAsync(string name, CallSettings callSettings = null)

Gets a namespace.

Parameters
NameDescription
nameSystem.String

Required. The name of the namespace to retrieve.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task<Namespace>

A Task containing the RPC response.

GetNamespaceAsync(String, CancellationToken)

public virtual Task<Namespace> GetNamespaceAsync(string name, CancellationToken cancellationToken)

Gets a namespace.

Parameters
NameDescription
nameSystem.String

Required. The name of the namespace to retrieve.

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task<Namespace>

A Task containing the RPC response.

GetService(GetServiceRequest, CallSettings)

public virtual Service GetService(GetServiceRequest request, CallSettings callSettings = null)

Gets a service.

Parameters
NameDescription
requestGetServiceRequest

The request object containing all of the parameters for the API call.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Service

The RPC response.

GetService(ServiceName, CallSettings)

public virtual Service GetService(ServiceName name, CallSettings callSettings = null)

Gets a service.

Parameters
NameDescription
nameServiceName

Required. The name of the service to get.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Service

The RPC response.

GetService(String, CallSettings)

public virtual Service GetService(string name, CallSettings callSettings = null)

Gets a service.

Parameters
NameDescription
nameSystem.String

Required. The name of the service to get.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Service

The RPC response.

GetServiceAsync(GetServiceRequest, CallSettings)

public virtual Task<Service> GetServiceAsync(GetServiceRequest request, CallSettings callSettings = null)

Gets a service.

Parameters
NameDescription
requestGetServiceRequest

The request object containing all of the parameters for the API call.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task<Service>

A Task containing the RPC response.

GetServiceAsync(GetServiceRequest, CancellationToken)

public virtual Task<Service> GetServiceAsync(GetServiceRequest request, CancellationToken cancellationToken)

Gets a service.

Parameters
NameDescription
requestGetServiceRequest

The request object containing all of the parameters for the API call.

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task<Service>

A Task containing the RPC response.

GetServiceAsync(ServiceName, CallSettings)

public virtual Task<Service> GetServiceAsync(ServiceName name, CallSettings callSettings = null)

Gets a service.

Parameters
NameDescription
nameServiceName

Required. The name of the service to get.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task<Service>

A Task containing the RPC response.

GetServiceAsync(ServiceName, CancellationToken)

public virtual Task<Service> GetServiceAsync(ServiceName name, CancellationToken cancellationToken)

Gets a service.

Parameters
NameDescription
nameServiceName

Required. The name of the service to get.

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task<Service>

A Task containing the RPC response.

GetServiceAsync(String, CallSettings)

public virtual Task<Service> GetServiceAsync(string name, CallSettings callSettings = null)

Gets a service.

Parameters
NameDescription
nameSystem.String

Required. The name of the service to get.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task<Service>

A Task containing the RPC response.

GetServiceAsync(String, CancellationToken)

public virtual Task<Service> GetServiceAsync(string name, CancellationToken cancellationToken)

Gets a service.

Parameters
NameDescription
nameSystem.String

Required. The name of the service to get.

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task<Service>

A Task containing the RPC response.

ListEndpoints(ListEndpointsRequest, CallSettings)

public virtual PagedEnumerable<ListEndpointsResponse, Endpoint> ListEndpoints(ListEndpointsRequest request, CallSettings callSettings = null)

Lists all endpoints.

Parameters
NameDescription
requestListEndpointsRequest

The request object containing all of the parameters for the API call.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Google.Api.Gax.PagedEnumerable<ListEndpointsResponse, Endpoint>

A pageable sequence of Endpoint resources.

ListEndpoints(ServiceName, String, Nullable<Int32>, CallSettings)

public virtual PagedEnumerable<ListEndpointsResponse, Endpoint> ListEndpoints(ServiceName parent, string pageToken = null, int? pageSize = default(int? ), CallSettings callSettings = null)

Lists all endpoints.

Parameters
NameDescription
parentServiceName

Required. The resource name of the service whose endpoints we'd like to list.

pageTokenSystem.String

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeSystem.Nullable<System.Int32>

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Google.Api.Gax.PagedEnumerable<ListEndpointsResponse, Endpoint>

A pageable sequence of Endpoint resources.

ListEndpoints(String, String, Nullable<Int32>, CallSettings)

public virtual PagedEnumerable<ListEndpointsResponse, Endpoint> ListEndpoints(string parent, string pageToken = null, int? pageSize = default(int? ), CallSettings callSettings = null)

Lists all endpoints.

Parameters
NameDescription
parentSystem.String

Required. The resource name of the service whose endpoints we'd like to list.

pageTokenSystem.String

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeSystem.Nullable<System.Int32>

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Google.Api.Gax.PagedEnumerable<ListEndpointsResponse, Endpoint>

A pageable sequence of Endpoint resources.

ListEndpointsAsync(ListEndpointsRequest, CallSettings)

public virtual PagedAsyncEnumerable<ListEndpointsResponse, Endpoint> ListEndpointsAsync(ListEndpointsRequest request, CallSettings callSettings = null)

Lists all endpoints.

Parameters
NameDescription
requestListEndpointsRequest

The request object containing all of the parameters for the API call.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Google.Api.Gax.PagedAsyncEnumerable<ListEndpointsResponse, Endpoint>

A pageable asynchronous sequence of Endpoint resources.

ListEndpointsAsync(ServiceName, String, Nullable<Int32>, CallSettings)

public virtual PagedAsyncEnumerable<ListEndpointsResponse, Endpoint> ListEndpointsAsync(ServiceName parent, string pageToken = null, int? pageSize = default(int? ), CallSettings callSettings = null)

Lists all endpoints.

Parameters
NameDescription
parentServiceName

Required. The resource name of the service whose endpoints we'd like to list.

pageTokenSystem.String

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeSystem.Nullable<System.Int32>

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Google.Api.Gax.PagedAsyncEnumerable<ListEndpointsResponse, Endpoint>

A pageable asynchronous sequence of Endpoint resources.

ListEndpointsAsync(String, String, Nullable<Int32>, CallSettings)

public virtual PagedAsyncEnumerable<ListEndpointsResponse, Endpoint> ListEndpointsAsync(string parent, string pageToken = null, int? pageSize = default(int? ), CallSettings callSettings = null)

Lists all endpoints.

Parameters
NameDescription
parentSystem.String

Required. The resource name of the service whose endpoints we'd like to list.

pageTokenSystem.String

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeSystem.Nullable<System.Int32>

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Google.Api.Gax.PagedAsyncEnumerable<ListEndpointsResponse, Endpoint>

A pageable asynchronous sequence of Endpoint resources.

ListNamespaces(LocationName, String, Nullable<Int32>, CallSettings)

public virtual PagedEnumerable<ListNamespacesResponse, Namespace> ListNamespaces(LocationName parent, string pageToken = null, int? pageSize = default(int? ), CallSettings callSettings = null)

Lists all namespaces.

Parameters
NameDescription
parentGoogle.Api.Gax.ResourceNames.LocationName

Required. The resource name of the project and location whose namespaces we'd like to list.

pageTokenSystem.String

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeSystem.Nullable<System.Int32>

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Google.Api.Gax.PagedEnumerable<ListNamespacesResponse, Namespace>

A pageable sequence of Namespace resources.

ListNamespaces(ListNamespacesRequest, CallSettings)

public virtual PagedEnumerable<ListNamespacesResponse, Namespace> ListNamespaces(ListNamespacesRequest request, CallSettings callSettings = null)

Lists all namespaces.

Parameters
NameDescription
requestListNamespacesRequest

The request object containing all of the parameters for the API call.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Google.Api.Gax.PagedEnumerable<ListNamespacesResponse, Namespace>

A pageable sequence of Namespace resources.

ListNamespaces(String, String, Nullable<Int32>, CallSettings)

public virtual PagedEnumerable<ListNamespacesResponse, Namespace> ListNamespaces(string parent, string pageToken = null, int? pageSize = default(int? ), CallSettings callSettings = null)

Lists all namespaces.

Parameters
NameDescription
parentSystem.String

Required. The resource name of the project and location whose namespaces we'd like to list.

pageTokenSystem.String

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeSystem.Nullable<System.Int32>

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Google.Api.Gax.PagedEnumerable<ListNamespacesResponse, Namespace>

A pageable sequence of Namespace resources.

ListNamespacesAsync(LocationName, String, Nullable<Int32>, CallSettings)

public virtual PagedAsyncEnumerable<ListNamespacesResponse, Namespace> ListNamespacesAsync(LocationName parent, string pageToken = null, int? pageSize = default(int? ), CallSettings callSettings = null)

Lists all namespaces.

Parameters
NameDescription
parentGoogle.Api.Gax.ResourceNames.LocationName

Required. The resource name of the project and location whose namespaces we'd like to list.

pageTokenSystem.String

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeSystem.Nullable<System.Int32>

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Google.Api.Gax.PagedAsyncEnumerable<ListNamespacesResponse, Namespace>

A pageable asynchronous sequence of Namespace resources.

ListNamespacesAsync(ListNamespacesRequest, CallSettings)

public virtual PagedAsyncEnumerable<ListNamespacesResponse, Namespace> ListNamespacesAsync(ListNamespacesRequest request, CallSettings callSettings = null)

Lists all namespaces.

Parameters
NameDescription
requestListNamespacesRequest

The request object containing all of the parameters for the API call.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Google.Api.Gax.PagedAsyncEnumerable<ListNamespacesResponse, Namespace>

A pageable asynchronous sequence of Namespace resources.

ListNamespacesAsync(String, String, Nullable<Int32>, CallSettings)

public virtual PagedAsyncEnumerable<ListNamespacesResponse, Namespace> ListNamespacesAsync(string parent, string pageToken = null, int? pageSize = default(int? ), CallSettings callSettings = null)

Lists all namespaces.

Parameters
NameDescription
parentSystem.String

Required. The resource name of the project and location whose namespaces we'd like to list.

pageTokenSystem.String

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeSystem.Nullable<System.Int32>

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Google.Api.Gax.PagedAsyncEnumerable<ListNamespacesResponse, Namespace>

A pageable asynchronous sequence of Namespace resources.

ListServices(ListServicesRequest, CallSettings)

public virtual PagedEnumerable<ListServicesResponse, Service> ListServices(ListServicesRequest request, CallSettings callSettings = null)

Lists all services belonging to a namespace.

Parameters
NameDescription
requestListServicesRequest

The request object containing all of the parameters for the API call.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Google.Api.Gax.PagedEnumerable<ListServicesResponse, Service>

A pageable sequence of Service resources.

ListServices(NamespaceName, String, Nullable<Int32>, CallSettings)

public virtual PagedEnumerable<ListServicesResponse, Service> ListServices(NamespaceName parent, string pageToken = null, int? pageSize = default(int? ), CallSettings callSettings = null)

Lists all services belonging to a namespace.

Parameters
NameDescription
parentNamespaceName

Required. The resource name of the namespace whose services we'd like to list.

pageTokenSystem.String

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeSystem.Nullable<System.Int32>

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Google.Api.Gax.PagedEnumerable<ListServicesResponse, Service>

A pageable sequence of Service resources.

ListServices(String, String, Nullable<Int32>, CallSettings)

public virtual PagedEnumerable<ListServicesResponse, Service> ListServices(string parent, string pageToken = null, int? pageSize = default(int? ), CallSettings callSettings = null)

Lists all services belonging to a namespace.

Parameters
NameDescription
parentSystem.String

Required. The resource name of the namespace whose services we'd like to list.

pageTokenSystem.String

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeSystem.Nullable<System.Int32>

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Google.Api.Gax.PagedEnumerable<ListServicesResponse, Service>

A pageable sequence of Service resources.

ListServicesAsync(ListServicesRequest, CallSettings)

public virtual PagedAsyncEnumerable<ListServicesResponse, Service> ListServicesAsync(ListServicesRequest request, CallSettings callSettings = null)

Lists all services belonging to a namespace.

Parameters
NameDescription
requestListServicesRequest

The request object containing all of the parameters for the API call.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Google.Api.Gax.PagedAsyncEnumerable<ListServicesResponse, Service>

A pageable asynchronous sequence of Service resources.

ListServicesAsync(NamespaceName, String, Nullable<Int32>, CallSettings)

public virtual PagedAsyncEnumerable<ListServicesResponse, Service> ListServicesAsync(NamespaceName parent, string pageToken = null, int? pageSize = default(int? ), CallSettings callSettings = null)

Lists all services belonging to a namespace.

Parameters
NameDescription
parentNamespaceName

Required. The resource name of the namespace whose services we'd like to list.

pageTokenSystem.String

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeSystem.Nullable<System.Int32>

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Google.Api.Gax.PagedAsyncEnumerable<ListServicesResponse, Service>

A pageable asynchronous sequence of Service resources.

ListServicesAsync(String, String, Nullable<Int32>, CallSettings)

public virtual PagedAsyncEnumerable<ListServicesResponse, Service> ListServicesAsync(string parent, string pageToken = null, int? pageSize = default(int? ), CallSettings callSettings = null)

Lists all services belonging to a namespace.

Parameters
NameDescription
parentSystem.String

Required. The resource name of the namespace whose services we'd like to list.

pageTokenSystem.String

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeSystem.Nullable<System.Int32>

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Google.Api.Gax.PagedAsyncEnumerable<ListServicesResponse, Service>

A pageable asynchronous sequence of Service resources.

SetIamPolicy(SetIamPolicyRequest, CallSettings)

public virtual Policy SetIamPolicy(SetIamPolicyRequest request, CallSettings callSettings = null)

Sets the IAM Policy for a resource (namespace or service only).

Parameters
NameDescription
requestGoogle.Cloud.Iam.V1.SetIamPolicyRequest

The request object containing all of the parameters for the API call.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Google.Cloud.Iam.V1.Policy

The RPC response.

SetIamPolicyAsync(SetIamPolicyRequest, CallSettings)

public virtual Task<Policy> SetIamPolicyAsync(SetIamPolicyRequest request, CallSettings callSettings = null)

Sets the IAM Policy for a resource (namespace or service only).

Parameters
NameDescription
requestGoogle.Cloud.Iam.V1.SetIamPolicyRequest

The request object containing all of the parameters for the API call.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task<Google.Cloud.Iam.V1.Policy>

A Task containing the RPC response.

SetIamPolicyAsync(SetIamPolicyRequest, CancellationToken)

public virtual Task<Policy> SetIamPolicyAsync(SetIamPolicyRequest request, CancellationToken cancellationToken)

Sets the IAM Policy for a resource (namespace or service only).

Parameters
NameDescription
requestGoogle.Cloud.Iam.V1.SetIamPolicyRequest

The request object containing all of the parameters for the API call.

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task<Google.Cloud.Iam.V1.Policy>

A Task containing the RPC response.

ShutdownDefaultChannelsAsync()

public static Task ShutdownDefaultChannelsAsync()

Shuts down any channels automatically created by Create() and CreateAsync(CancellationToken). Channels which weren't automatically created are not affected.

Returns
TypeDescription
System.Threading.Tasks.Task

A task representing the asynchronous shutdown operation.

Remarks

After calling this method, further calls to Create() and CreateAsync(CancellationToken) will create new channels, which could in turn be shut down by another call to this method.

TestIamPermissions(TestIamPermissionsRequest, CallSettings)

public virtual TestIamPermissionsResponse TestIamPermissions(TestIamPermissionsRequest request, CallSettings callSettings = null)

Tests IAM permissions for a resource (namespace or service only).

Parameters
NameDescription
requestGoogle.Cloud.Iam.V1.TestIamPermissionsRequest

The request object containing all of the parameters for the API call.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Google.Cloud.Iam.V1.TestIamPermissionsResponse

The RPC response.

TestIamPermissionsAsync(TestIamPermissionsRequest, CallSettings)

public virtual Task<TestIamPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsRequest request, CallSettings callSettings = null)

Tests IAM permissions for a resource (namespace or service only).

Parameters
NameDescription
requestGoogle.Cloud.Iam.V1.TestIamPermissionsRequest

The request object containing all of the parameters for the API call.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task<Google.Cloud.Iam.V1.TestIamPermissionsResponse>

A Task containing the RPC response.

TestIamPermissionsAsync(TestIamPermissionsRequest, CancellationToken)

public virtual Task<TestIamPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsRequest request, CancellationToken cancellationToken)

Tests IAM permissions for a resource (namespace or service only).

Parameters
NameDescription
requestGoogle.Cloud.Iam.V1.TestIamPermissionsRequest

The request object containing all of the parameters for the API call.

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task<Google.Cloud.Iam.V1.TestIamPermissionsResponse>

A Task containing the RPC response.

UpdateEndpoint(Endpoint, FieldMask, CallSettings)

public virtual Endpoint UpdateEndpoint(Endpoint endpoint, FieldMask updateMask, CallSettings callSettings = null)

Updates a endpoint.

Parameters
NameDescription
endpointEndpoint

Required. The updated endpoint.

updateMaskGoogle.Protobuf.WellKnownTypes.FieldMask

Required. List of fields to be updated in this request.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Endpoint

The RPC response.

UpdateEndpoint(UpdateEndpointRequest, CallSettings)

public virtual Endpoint UpdateEndpoint(UpdateEndpointRequest request, CallSettings callSettings = null)

Updates a endpoint.

Parameters
NameDescription
requestUpdateEndpointRequest

The request object containing all of the parameters for the API call.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Endpoint

The RPC response.

UpdateEndpointAsync(Endpoint, FieldMask, CallSettings)

public virtual Task<Endpoint> UpdateEndpointAsync(Endpoint endpoint, FieldMask updateMask, CallSettings callSettings = null)

Updates a endpoint.

Parameters
NameDescription
endpointEndpoint

Required. The updated endpoint.

updateMaskGoogle.Protobuf.WellKnownTypes.FieldMask

Required. List of fields to be updated in this request.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task<Endpoint>

A Task containing the RPC response.

UpdateEndpointAsync(Endpoint, FieldMask, CancellationToken)

public virtual Task<Endpoint> UpdateEndpointAsync(Endpoint endpoint, FieldMask updateMask, CancellationToken cancellationToken)

Updates a endpoint.

Parameters
NameDescription
endpointEndpoint

Required. The updated endpoint.

updateMaskGoogle.Protobuf.WellKnownTypes.FieldMask

Required. List of fields to be updated in this request.

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task<Endpoint>

A Task containing the RPC response.

UpdateEndpointAsync(UpdateEndpointRequest, CallSettings)

public virtual Task<Endpoint> UpdateEndpointAsync(UpdateEndpointRequest request, CallSettings callSettings = null)

Updates a endpoint.

Parameters
NameDescription
requestUpdateEndpointRequest

The request object containing all of the parameters for the API call.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task<Endpoint>

A Task containing the RPC response.

UpdateEndpointAsync(UpdateEndpointRequest, CancellationToken)

public virtual Task<Endpoint> UpdateEndpointAsync(UpdateEndpointRequest request, CancellationToken cancellationToken)

Updates a endpoint.

Parameters
NameDescription
requestUpdateEndpointRequest

The request object containing all of the parameters for the API call.

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task<Endpoint>

A Task containing the RPC response.

UpdateNamespace(Namespace, FieldMask, CallSettings)

public virtual Namespace UpdateNamespace(Namespace namespace, FieldMask updateMask, CallSettings callSettings = null)

Updates a namespace.

Parameters
NameDescription
namespaceNamespace

Required. The updated namespace.

updateMaskGoogle.Protobuf.WellKnownTypes.FieldMask

Required. List of fields to be updated in this request.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Namespace

The RPC response.

UpdateNamespace(UpdateNamespaceRequest, CallSettings)

public virtual Namespace UpdateNamespace(UpdateNamespaceRequest request, CallSettings callSettings = null)

Updates a namespace.

Parameters
NameDescription
requestUpdateNamespaceRequest

The request object containing all of the parameters for the API call.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Namespace

The RPC response.

UpdateNamespaceAsync(Namespace, FieldMask, CallSettings)

public virtual Task<Namespace> UpdateNamespaceAsync(Namespace namespace, FieldMask updateMask, CallSettings callSettings = null)

Updates a namespace.

Parameters
NameDescription
namespaceNamespace

Required. The updated namespace.

updateMaskGoogle.Protobuf.WellKnownTypes.FieldMask

Required. List of fields to be updated in this request.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task<Namespace>

A Task containing the RPC response.

UpdateNamespaceAsync(Namespace, FieldMask, CancellationToken)

public virtual Task<Namespace> UpdateNamespaceAsync(Namespace namespace, FieldMask updateMask, CancellationToken cancellationToken)

Updates a namespace.

Parameters
NameDescription
namespaceNamespace

Required. The updated namespace.

updateMaskGoogle.Protobuf.WellKnownTypes.FieldMask

Required. List of fields to be updated in this request.

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task<Namespace>

A Task containing the RPC response.

UpdateNamespaceAsync(UpdateNamespaceRequest, CallSettings)

public virtual Task<Namespace> UpdateNamespaceAsync(UpdateNamespaceRequest request, CallSettings callSettings = null)

Updates a namespace.

Parameters
NameDescription
requestUpdateNamespaceRequest

The request object containing all of the parameters for the API call.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task<Namespace>

A Task containing the RPC response.

UpdateNamespaceAsync(UpdateNamespaceRequest, CancellationToken)

public virtual Task<Namespace> UpdateNamespaceAsync(UpdateNamespaceRequest request, CancellationToken cancellationToken)

Updates a namespace.

Parameters
NameDescription
requestUpdateNamespaceRequest

The request object containing all of the parameters for the API call.

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task<Namespace>

A Task containing the RPC response.

UpdateService(Service, FieldMask, CallSettings)

public virtual Service UpdateService(Service service, FieldMask updateMask, CallSettings callSettings = null)

Updates a service.

Parameters
NameDescription
serviceService

Required. The updated service.

updateMaskGoogle.Protobuf.WellKnownTypes.FieldMask

Required. List of fields to be updated in this request.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Service

The RPC response.

UpdateService(UpdateServiceRequest, CallSettings)

public virtual Service UpdateService(UpdateServiceRequest request, CallSettings callSettings = null)

Updates a service.

Parameters
NameDescription
requestUpdateServiceRequest

The request object containing all of the parameters for the API call.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Service

The RPC response.

UpdateServiceAsync(Service, FieldMask, CallSettings)

public virtual Task<Service> UpdateServiceAsync(Service service, FieldMask updateMask, CallSettings callSettings = null)

Updates a service.

Parameters
NameDescription
serviceService

Required. The updated service.

updateMaskGoogle.Protobuf.WellKnownTypes.FieldMask

Required. List of fields to be updated in this request.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task<Service>

A Task containing the RPC response.

UpdateServiceAsync(Service, FieldMask, CancellationToken)

public virtual Task<Service> UpdateServiceAsync(Service service, FieldMask updateMask, CancellationToken cancellationToken)

Updates a service.

Parameters
NameDescription
serviceService

Required. The updated service.

updateMaskGoogle.Protobuf.WellKnownTypes.FieldMask

Required. List of fields to be updated in this request.

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task<Service>

A Task containing the RPC response.

UpdateServiceAsync(UpdateServiceRequest, CallSettings)

public virtual Task<Service> UpdateServiceAsync(UpdateServiceRequest request, CallSettings callSettings = null)

Updates a service.

Parameters
NameDescription
requestUpdateServiceRequest

The request object containing all of the parameters for the API call.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task<Service>

A Task containing the RPC response.

UpdateServiceAsync(UpdateServiceRequest, CancellationToken)

public virtual Task<Service> UpdateServiceAsync(UpdateServiceRequest request, CancellationToken cancellationToken)

Updates a service.

Parameters
NameDescription
requestUpdateServiceRequest

The request object containing all of the parameters for the API call.

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task<Service>

A Task containing the RPC response.