public sealed class ServicesClientImpl : ServicesClientServices client wrapper implementation, for convenient use.
Namespace
Google.Cloud.AppEngine.V1Assembly
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 | |
|---|---|
| Name | Description |
grpcClient |
Services.ServicesClientThe underlying gRPC client. |
settings |
ServicesSettingsThe base ServicesSettings used within this client. |
logger |
ILoggerOptional 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 |
|
GrpcClient
public override Services.ServicesClient GrpcClient { get; }The underlying gRPC Services client
| Property Value | |
|---|---|
| Type | Description |
Services.ServicesClient |
|
UpdateServiceOperationsClient
public override OperationsClient UpdateServiceOperationsClient { get; }The long-running operations client for UpdateService.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
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 |
DeleteServiceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Operation<Empty, OperationMetadataV1> |
The RPC response. |
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 | |
|---|---|
| Name | Description |
request |
DeleteServiceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<Operation<Empty, OperationMetadataV1>> |
A Task containing the RPC response. |
GetService(GetServiceRequest, CallSettings)
public override Service GetService(GetServiceRequest request, CallSettings callSettings = null)Gets the current configuration of the specified service.
| Parameters | |
|---|---|
| Name | Description |
request |
GetServiceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Service |
The RPC response. |
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 |
GetServiceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<Service> |
A Task containing the RPC response. |
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 |
ListServicesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerable<ListServicesResponse, Service> |
A pageable sequence of Service resources. |
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 |
ListServicesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerable<ListServicesResponse, Service> |
A pageable asynchronous sequence of Service resources. |
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 |
UpdateServiceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Operation<Service, OperationMetadataV1> |
The RPC response. |
UpdateServiceAsync(UpdateServiceRequest, CallSettings)
public override async Task<Operation<Service, OperationMetadataV1>> UpdateServiceAsync(UpdateServiceRequest request, CallSettings callSettings = null)Updates the configuration of the specified service.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateServiceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<Operation<Service, OperationMetadataV1>> |
A Task containing the RPC response. |