App Engine v1 API - Class ServicesClientImpl (2.4.0)

public sealed class ServicesClientImpl : ServicesClient

Reference documentation and code samples for the App Engine v1 API class ServicesClientImpl.

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(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
Name Description
grpcClient ServicesServicesClient

The underlying gRPC client.

settings ServicesSettings

The base ServicesSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

DeleteServiceOperationsClient

public override OperationsClient DeleteServiceOperationsClient { get; }

The long-running operations client for DeleteService.

Property Value
Type Description
OperationsClient
Overrides

GrpcClient

public override Services.ServicesClient GrpcClient { get; }

The underlying gRPC Services client

Property Value
Type Description
ServicesServicesClient
Overrides

UpdateServiceOperationsClient

public override OperationsClient UpdateServiceOperationsClient { get; }

The long-running operations client for UpdateService.

Property Value
Type Description
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
Name Description
request DeleteServiceRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadataV1

The RPC response.

Overrides

DeleteServiceAsync(DeleteServiceRequest, CallSettings)

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

Deletes the specified service and all enclosed versions.

Parameters
Name Description
request DeleteServiceRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadataV1

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
Name Description
request GetServiceRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
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
Name Description
request GetServiceRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskService

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
Name Description
request ListServicesRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListServicesResponseService

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
Name Description
request ListServicesRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListServicesResponseService

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
Name Description
request UpdateServiceRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationServiceOperationMetadataV1

The RPC response.

Overrides

UpdateServiceAsync(UpdateServiceRequest, CallSettings)

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

Updates the configuration of the specified service.

Parameters
Name Description
request UpdateServiceRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationServiceOperationMetadataV1

A Task containing the RPC response.

Overrides