public abstract class RegistrationServiceClient
RegistrationService client wrapper, for convenient use.
Inheritance
System.Object > RegistrationServiceClientNamespace
Google.Cloud.ServiceDirectory.V1Assembly
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 | |
---|---|
Type | Description |
System.String |
DefaultScopes
public static IReadOnlyList<string> DefaultScopes { get; }
The default RegistrationService scopes.
Property Value | |
---|---|
Type | Description |
System.Collections.Generic.IReadOnlyList<System.String> |
The default RegistrationService scopes are:
GrpcClient
public virtual RegistrationService.RegistrationServiceClient GrpcClient { get; }
The underlying gRPC RegistrationService client
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
cancellationToken | System.Threading.CancellationToken The System.Threading.CancellationToken to use while creating the client. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | CreateEndpointRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
parent | ServiceName Required. The resource name of the service that this endpoint provides. |
endpoint | Endpoint Required. A endpoint with initial fields set. |
endpointId | System.String 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 |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
parent | System.String Required. The resource name of the service that this endpoint provides. |
endpoint | Endpoint Required. A endpoint with initial fields set. |
endpointId | System.String 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 |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | CreateEndpointRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | CreateEndpointRequest The request object containing all of the parameters for the API call. |
cancellationToken | System.Threading.CancellationToken A System.Threading.CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
parent | ServiceName Required. The resource name of the service that this endpoint provides. |
endpoint | Endpoint Required. A endpoint with initial fields set. |
endpointId | System.String 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 |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
parent | ServiceName Required. The resource name of the service that this endpoint provides. |
endpoint | Endpoint Required. A endpoint with initial fields set. |
endpointId | System.String 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 |
cancellationToken | System.Threading.CancellationToken A System.Threading.CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
parent | System.String Required. The resource name of the service that this endpoint provides. |
endpoint | Endpoint Required. A endpoint with initial fields set. |
endpointId | System.String 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 |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
parent | System.String Required. The resource name of the service that this endpoint provides. |
endpoint | Endpoint Required. A endpoint with initial fields set. |
endpointId | System.String 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 |
cancellationToken | System.Threading.CancellationToken A System.Threading.CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
parent | Google.Api.Gax.ResourceNames.LocationName Required. The resource name of the project and location the namespace will be created in. |
namespace | Namespace Required. A namespace with initial fields set. |
namespaceId | System.String 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 |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | CreateNamespaceRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
parent | System.String Required. The resource name of the project and location the namespace will be created in. |
namespace | Namespace Required. A namespace with initial fields set. |
namespaceId | System.String 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 |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
parent | Google.Api.Gax.ResourceNames.LocationName Required. The resource name of the project and location the namespace will be created in. |
namespace | Namespace Required. A namespace with initial fields set. |
namespaceId | System.String 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 |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
parent | Google.Api.Gax.ResourceNames.LocationName Required. The resource name of the project and location the namespace will be created in. |
namespace | Namespace Required. A namespace with initial fields set. |
namespaceId | System.String 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 |
cancellationToken | System.Threading.CancellationToken A System.Threading.CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | CreateNamespaceRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | CreateNamespaceRequest The request object containing all of the parameters for the API call. |
cancellationToken | System.Threading.CancellationToken A System.Threading.CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
parent | System.String Required. The resource name of the project and location the namespace will be created in. |
namespace | Namespace Required. A namespace with initial fields set. |
namespaceId | System.String 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 |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
parent | System.String Required. The resource name of the project and location the namespace will be created in. |
namespace | Namespace Required. A namespace with initial fields set. |
namespaceId | System.String 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 |
cancellationToken | System.Threading.CancellationToken A System.Threading.CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | CreateServiceRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
parent | NamespaceName Required. The resource name of the namespace this service will belong to. |
service | Service Required. A service with initial fields set. |
serviceId | System.String 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 |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
parent | System.String Required. The resource name of the namespace this service will belong to. |
service | Service Required. A service with initial fields set. |
serviceId | System.String 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 |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | CreateServiceRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | CreateServiceRequest The request object containing all of the parameters for the API call. |
cancellationToken | System.Threading.CancellationToken A System.Threading.CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
parent | NamespaceName Required. The resource name of the namespace this service will belong to. |
service | Service Required. A service with initial fields set. |
serviceId | System.String 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 |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
parent | NamespaceName Required. The resource name of the namespace this service will belong to. |
service | Service Required. A service with initial fields set. |
serviceId | System.String 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 |
cancellationToken | System.Threading.CancellationToken A System.Threading.CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
parent | System.String Required. The resource name of the namespace this service will belong to. |
service | Service Required. A service with initial fields set. |
serviceId | System.String 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 |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
parent | System.String Required. The resource name of the namespace this service will belong to. |
service | Service Required. A service with initial fields set. |
serviceId | System.String 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 |
cancellationToken | System.Threading.CancellationToken A System.Threading.CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | DeleteEndpointRequest The request object containing all of the parameters for the API call. |
callSettings | Google.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 | |
---|---|
Name | Description |
name | EndpointName Required. The name of the endpoint to delete. |
callSettings | Google.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 | |
---|---|
Name | Description |
name | System.String Required. The name of the endpoint to delete. |
callSettings | Google.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 | |
---|---|
Name | Description |
request | DeleteEndpointRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | DeleteEndpointRequest The request object containing all of the parameters for the API call. |
cancellationToken | System.Threading.CancellationToken A System.Threading.CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
name | EndpointName Required. The name of the endpoint to delete. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
name | EndpointName Required. The name of the endpoint to delete. |
cancellationToken | System.Threading.CancellationToken A System.Threading.CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
name | System.String Required. The name of the endpoint to delete. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
name | System.String Required. The name of the endpoint to delete. |
cancellationToken | System.Threading.CancellationToken A System.Threading.CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | DeleteNamespaceRequest The request object containing all of the parameters for the API call. |
callSettings | Google.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 | |
---|---|
Name | Description |
name | NamespaceName Required. The name of the namespace to delete. |
callSettings | Google.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 | |
---|---|
Name | Description |
name | System.String Required. The name of the namespace to delete. |
callSettings | Google.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 | |
---|---|
Name | Description |
request | DeleteNamespaceRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | DeleteNamespaceRequest The request object containing all of the parameters for the API call. |
cancellationToken | System.Threading.CancellationToken A System.Threading.CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
name | NamespaceName Required. The name of the namespace to delete. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
name | NamespaceName Required. The name of the namespace to delete. |
cancellationToken | System.Threading.CancellationToken A System.Threading.CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
name | System.String Required. The name of the namespace to delete. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
name | System.String Required. The name of the namespace to delete. |
cancellationToken | System.Threading.CancellationToken A System.Threading.CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | DeleteServiceRequest The request object containing all of the parameters for the API call. |
callSettings | Google.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 | |
---|---|
Name | Description |
name | ServiceName Required. The name of the service to delete. |
callSettings | Google.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 | |
---|---|
Name | Description |
name | System.String Required. The name of the service to delete. |
callSettings | Google.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 | |
---|---|
Name | Description |
request | DeleteServiceRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | DeleteServiceRequest The request object containing all of the parameters for the API call. |
cancellationToken | System.Threading.CancellationToken A System.Threading.CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
name | ServiceName Required. The name of the service to delete. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
name | ServiceName Required. The name of the service to delete. |
cancellationToken | System.Threading.CancellationToken A System.Threading.CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
name | System.String Required. The name of the service to delete. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
name | System.String Required. The name of the service to delete. |
cancellationToken | System.Threading.CancellationToken A System.Threading.CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
name | EndpointName Required. The name of the endpoint to get. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Endpoint | The RPC response. |
GetEndpoint(GetEndpointRequest, CallSettings)
public virtual Endpoint GetEndpoint(GetEndpointRequest request, CallSettings callSettings = null)
Gets a endpoint.
Parameters | |
---|---|
Name | Description |
request | GetEndpointRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Endpoint | The RPC response. |
GetEndpoint(String, CallSettings)
public virtual Endpoint GetEndpoint(string name, CallSettings callSettings = null)
Gets a endpoint.
Parameters | |
---|---|
Name | Description |
name | System.String Required. The name of the endpoint to get. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Endpoint | The RPC response. |
GetEndpointAsync(EndpointName, CallSettings)
public virtual Task<Endpoint> GetEndpointAsync(EndpointName name, CallSettings callSettings = null)
Gets a endpoint.
Parameters | |
---|---|
Name | Description |
name | EndpointName Required. The name of the endpoint to get. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
name | EndpointName Required. The name of the endpoint to get. |
cancellationToken | System.Threading.CancellationToken A System.Threading.CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | GetEndpointRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | GetEndpointRequest The request object containing all of the parameters for the API call. |
cancellationToken | System.Threading.CancellationToken A System.Threading.CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
name | System.String Required. The name of the endpoint to get. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
name | System.String Required. The name of the endpoint to get. |
cancellationToken | System.Threading.CancellationToken A System.Threading.CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | Google.Cloud.Iam.V1.GetIamPolicyRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | Google.Cloud.Iam.V1.GetIamPolicyRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | Google.Cloud.Iam.V1.GetIamPolicyRequest The request object containing all of the parameters for the API call. |
cancellationToken | System.Threading.CancellationToken A System.Threading.CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | GetNamespaceRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Namespace | The RPC response. |
GetNamespace(NamespaceName, CallSettings)
public virtual Namespace GetNamespace(NamespaceName name, CallSettings callSettings = null)
Gets a namespace.
Parameters | |
---|---|
Name | Description |
name | NamespaceName Required. The name of the namespace to retrieve. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Namespace | The RPC response. |
GetNamespace(String, CallSettings)
public virtual Namespace GetNamespace(string name, CallSettings callSettings = null)
Gets a namespace.
Parameters | |
---|---|
Name | Description |
name | System.String Required. The name of the namespace to retrieve. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Namespace | The RPC response. |
GetNamespaceAsync(GetNamespaceRequest, CallSettings)
public virtual Task<Namespace> GetNamespaceAsync(GetNamespaceRequest request, CallSettings callSettings = null)
Gets a namespace.
Parameters | |
---|---|
Name | Description |
request | GetNamespaceRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | GetNamespaceRequest The request object containing all of the parameters for the API call. |
cancellationToken | System.Threading.CancellationToken A System.Threading.CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
name | NamespaceName Required. The name of the namespace to retrieve. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
name | NamespaceName Required. The name of the namespace to retrieve. |
cancellationToken | System.Threading.CancellationToken A System.Threading.CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
name | System.String Required. The name of the namespace to retrieve. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
name | System.String Required. The name of the namespace to retrieve. |
cancellationToken | System.Threading.CancellationToken A System.Threading.CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | GetServiceRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Service | The RPC response. |
GetService(ServiceName, CallSettings)
public virtual Service GetService(ServiceName name, CallSettings callSettings = null)
Gets a service.
Parameters | |
---|---|
Name | Description |
name | ServiceName Required. The name of the service to get. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Service | The RPC response. |
GetService(String, CallSettings)
public virtual Service GetService(string name, CallSettings callSettings = null)
Gets a service.
Parameters | |
---|---|
Name | Description |
name | System.String Required. The name of the service to get. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Service | The RPC response. |
GetServiceAsync(GetServiceRequest, CallSettings)
public virtual Task<Service> GetServiceAsync(GetServiceRequest request, CallSettings callSettings = null)
Gets a service.
Parameters | |
---|---|
Name | Description |
request | GetServiceRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | GetServiceRequest The request object containing all of the parameters for the API call. |
cancellationToken | System.Threading.CancellationToken A System.Threading.CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
name | ServiceName Required. The name of the service to get. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
name | ServiceName Required. The name of the service to get. |
cancellationToken | System.Threading.CancellationToken A System.Threading.CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
name | System.String Required. The name of the service to get. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
name | System.String Required. The name of the service to get. |
cancellationToken | System.Threading.CancellationToken A System.Threading.CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ListEndpointsRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
parent | ServiceName Required. The resource name of the service whose endpoints we'd like to list. |
pageToken | System.String The token returned from the previous request. A value of |
pageSize | System.Nullable<System.Int32> The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
parent | System.String Required. The resource name of the service whose endpoints we'd like to list. |
pageToken | System.String The token returned from the previous request. A value of |
pageSize | System.Nullable<System.Int32> The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ListEndpointsRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
parent | ServiceName Required. The resource name of the service whose endpoints we'd like to list. |
pageToken | System.String The token returned from the previous request. A value of |
pageSize | System.Nullable<System.Int32> The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
parent | System.String Required. The resource name of the service whose endpoints we'd like to list. |
pageToken | System.String The token returned from the previous request. A value of |
pageSize | System.Nullable<System.Int32> The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
parent | Google.Api.Gax.ResourceNames.LocationName Required. The resource name of the project and location whose namespaces we'd like to list. |
pageToken | System.String The token returned from the previous request. A value of |
pageSize | System.Nullable<System.Int32> The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ListNamespacesRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
parent | System.String Required. The resource name of the project and location whose namespaces we'd like to list. |
pageToken | System.String The token returned from the previous request. A value of |
pageSize | System.Nullable<System.Int32> The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
parent | Google.Api.Gax.ResourceNames.LocationName Required. The resource name of the project and location whose namespaces we'd like to list. |
pageToken | System.String The token returned from the previous request. A value of |
pageSize | System.Nullable<System.Int32> The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ListNamespacesRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
parent | System.String Required. The resource name of the project and location whose namespaces we'd like to list. |
pageToken | System.String The token returned from the previous request. A value of |
pageSize | System.Nullable<System.Int32> The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ListServicesRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
parent | NamespaceName Required. The resource name of the namespace whose services we'd like to list. |
pageToken | System.String The token returned from the previous request. A value of |
pageSize | System.Nullable<System.Int32> The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
parent | System.String Required. The resource name of the namespace whose services we'd like to list. |
pageToken | System.String The token returned from the previous request. A value of |
pageSize | System.Nullable<System.Int32> The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ListServicesRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
parent | NamespaceName Required. The resource name of the namespace whose services we'd like to list. |
pageToken | System.String The token returned from the previous request. A value of |
pageSize | System.Nullable<System.Int32> The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
parent | System.String Required. The resource name of the namespace whose services we'd like to list. |
pageToken | System.String The token returned from the previous request. A value of |
pageSize | System.Nullable<System.Int32> The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | Google.Cloud.Iam.V1.SetIamPolicyRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | Google.Cloud.Iam.V1.SetIamPolicyRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | Google.Cloud.Iam.V1.SetIamPolicyRequest The request object containing all of the parameters for the API call. |
cancellationToken | System.Threading.CancellationToken A System.Threading.CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
System.Threading.Tasks.Task | A task representing the asynchronous shutdown operation. |
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 | |
---|---|
Name | Description |
request | Google.Cloud.Iam.V1.TestIamPermissionsRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | Google.Cloud.Iam.V1.TestIamPermissionsRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | Google.Cloud.Iam.V1.TestIamPermissionsRequest The request object containing all of the parameters for the API call. |
cancellationToken | System.Threading.CancellationToken A System.Threading.CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
endpoint | Endpoint Required. The updated endpoint. |
updateMask | Google.Protobuf.WellKnownTypes.FieldMask Required. List of fields to be updated in this request. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Endpoint | The RPC response. |
UpdateEndpoint(UpdateEndpointRequest, CallSettings)
public virtual Endpoint UpdateEndpoint(UpdateEndpointRequest request, CallSettings callSettings = null)
Updates a endpoint.
Parameters | |
---|---|
Name | Description |
request | UpdateEndpointRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Endpoint | The RPC response. |
UpdateEndpointAsync(Endpoint, FieldMask, CallSettings)
public virtual Task<Endpoint> UpdateEndpointAsync(Endpoint endpoint, FieldMask updateMask, CallSettings callSettings = null)
Updates a endpoint.
Parameters | |
---|---|
Name | Description |
endpoint | Endpoint Required. The updated endpoint. |
updateMask | Google.Protobuf.WellKnownTypes.FieldMask Required. List of fields to be updated in this request. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
endpoint | Endpoint Required. The updated endpoint. |
updateMask | Google.Protobuf.WellKnownTypes.FieldMask Required. List of fields to be updated in this request. |
cancellationToken | System.Threading.CancellationToken A System.Threading.CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | UpdateEndpointRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | UpdateEndpointRequest The request object containing all of the parameters for the API call. |
cancellationToken | System.Threading.CancellationToken A System.Threading.CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
namespace | Namespace Required. The updated namespace. |
updateMask | Google.Protobuf.WellKnownTypes.FieldMask Required. List of fields to be updated in this request. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Namespace | The RPC response. |
UpdateNamespace(UpdateNamespaceRequest, CallSettings)
public virtual Namespace UpdateNamespace(UpdateNamespaceRequest request, CallSettings callSettings = null)
Updates a namespace.
Parameters | |
---|---|
Name | Description |
request | UpdateNamespaceRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Namespace | The RPC response. |
UpdateNamespaceAsync(Namespace, FieldMask, CallSettings)
public virtual Task<Namespace> UpdateNamespaceAsync(Namespace namespace, FieldMask updateMask, CallSettings callSettings = null)
Updates a namespace.
Parameters | |
---|---|
Name | Description |
namespace | Namespace Required. The updated namespace. |
updateMask | Google.Protobuf.WellKnownTypes.FieldMask Required. List of fields to be updated in this request. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
namespace | Namespace Required. The updated namespace. |
updateMask | Google.Protobuf.WellKnownTypes.FieldMask Required. List of fields to be updated in this request. |
cancellationToken | System.Threading.CancellationToken A System.Threading.CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | UpdateNamespaceRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | UpdateNamespaceRequest The request object containing all of the parameters for the API call. |
cancellationToken | System.Threading.CancellationToken A System.Threading.CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
service | Service Required. The updated service. |
updateMask | Google.Protobuf.WellKnownTypes.FieldMask Required. List of fields to be updated in this request. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Service | The RPC response. |
UpdateService(UpdateServiceRequest, CallSettings)
public virtual Service UpdateService(UpdateServiceRequest request, CallSettings callSettings = null)
Updates a service.
Parameters | |
---|---|
Name | Description |
request | UpdateServiceRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Service | The RPC response. |
UpdateServiceAsync(Service, FieldMask, CallSettings)
public virtual Task<Service> UpdateServiceAsync(Service service, FieldMask updateMask, CallSettings callSettings = null)
Updates a service.
Parameters | |
---|---|
Name | Description |
service | Service Required. The updated service. |
updateMask | Google.Protobuf.WellKnownTypes.FieldMask Required. List of fields to be updated in this request. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
service | Service Required. The updated service. |
updateMask | Google.Protobuf.WellKnownTypes.FieldMask Required. List of fields to be updated in this request. |
cancellationToken | System.Threading.CancellationToken A System.Threading.CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | UpdateServiceRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | UpdateServiceRequest The request object containing all of the parameters for the API call. |
cancellationToken | System.Threading.CancellationToken A System.Threading.CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
System.Threading.Tasks.Task<Service> | A Task containing the RPC response. |