Class ServicesClientImpl (2.0.0)

public sealed class ServicesClientImpl : ServicesClient

Services client wrapper implementation, for convenient use.

Inheritance

Object > ServicesClient > ServicesClientImpl

Namespace

Google.Cloud.AppEngine.V1

Assembly

Google.Cloud.AppEngine.V1.dll

Remarks

Manages services of an application.

Constructors

ServicesClientImpl(Services.ServicesClient, ServicesSettings, ILogger)

public ServicesClientImpl(Services.ServicesClient grpcClient, ServicesSettings settings, ILogger logger)

Constructs a client wrapper for the Services service, with the specified gRPC client and settings.

Parameters
NameDescription
grpcClientServices.ServicesClient

The underlying gRPC client.

settingsServicesSettings

The base ServicesSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

DeleteServiceOperationsClient

public override OperationsClient DeleteServiceOperationsClient { get; }

The long-running operations client for DeleteService.

Property Value
TypeDescription
OperationsClient
Overrides

GrpcClient

public override Services.ServicesClient GrpcClient { get; }

The underlying gRPC Services client

Property Value
TypeDescription
Services.ServicesClient
Overrides

UpdateServiceOperationsClient

public override OperationsClient UpdateServiceOperationsClient { get; }

The long-running operations client for UpdateService.

Property Value
TypeDescription
OperationsClient
Overrides

Methods

DeleteService(DeleteServiceRequest, CallSettings)

public override Operation<Empty, OperationMetadataV1> DeleteService(DeleteServiceRequest request, CallSettings callSettings = null)

Deletes the specified service and all enclosed versions.

Parameters
NameDescription
requestDeleteServiceRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Empty, OperationMetadataV1>

The RPC response.

Overrides

DeleteServiceAsync(DeleteServiceRequest, CallSettings)

public override async Task<Operation<Empty, OperationMetadataV1>> DeleteServiceAsync(DeleteServiceRequest request, CallSettings callSettings = null)

Deletes the specified service and all enclosed versions.

Parameters
NameDescription
requestDeleteServiceRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Empty, OperationMetadataV1>>

A Task containing the RPC response.

Overrides

GetService(GetServiceRequest, CallSettings)

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

Gets the current configuration of the specified service.

Parameters
NameDescription
requestGetServiceRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Service

The RPC response.

Overrides

GetServiceAsync(GetServiceRequest, CallSettings)

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

Gets the current configuration of the specified service.

Parameters
NameDescription
requestGetServiceRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Service>

A Task containing the RPC response.

Overrides

ListServices(ListServicesRequest, CallSettings)

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

Lists all the services in the application.

Parameters
NameDescription
requestListServicesRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<ListServicesResponse, Service>

A pageable sequence of Service resources.

Overrides

ListServicesAsync(ListServicesRequest, CallSettings)

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

Lists all the services in the application.

Parameters
NameDescription
requestListServicesRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<ListServicesResponse, Service>

A pageable asynchronous sequence of Service resources.

Overrides

UpdateService(UpdateServiceRequest, CallSettings)

public override Operation<Service, OperationMetadataV1> UpdateService(UpdateServiceRequest request, CallSettings callSettings = null)

Updates the configuration of the specified service.

Parameters
NameDescription
requestUpdateServiceRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Service, OperationMetadataV1>

The RPC response.

Overrides

UpdateServiceAsync(UpdateServiceRequest, CallSettings)

public override async Task<Operation<Service, OperationMetadataV1>> UpdateServiceAsync(UpdateServiceRequest request, CallSettings callSettings = null)

Updates the configuration of the specified service.

Parameters
NameDescription
requestUpdateServiceRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Service, OperationMetadataV1>>

A Task containing the RPC response.

Overrides