public class Deployment.DeploymentClient : ClientBase<Deployment.DeploymentClient>
Reference documentation and code samples for the Cloud Security Compliance v1 API class Deployment.DeploymentClient.
Client for Deployment
Inheritance
object > ClientBase > ClientBaseDeploymentDeploymentClient > Deployment.DeploymentClientNamespace
Google.Cloud.CloudSecurityCompliance.V1Assembly
Google.Cloud.CloudSecurityCompliance.V1.dll
Constructors
DeploymentClient()
protected DeploymentClient()
Protected parameterless constructor to allow creation of test doubles.
DeploymentClient(CallInvoker)
public DeploymentClient(CallInvoker callInvoker)
Creates a new client for Deployment that uses a custom CallInvoker
.
Parameter | |
---|---|
Name | Description |
callInvoker |
CallInvoker The callInvoker to use to make remote calls. |
DeploymentClient(ChannelBase)
public DeploymentClient(ChannelBase channel)
Creates a new client for Deployment
Parameter | |
---|---|
Name | Description |
channel |
ChannelBase The channel to use to make remote calls. |
DeploymentClient(ClientBaseConfiguration)
protected DeploymentClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration |
ClientBaseClientBaseConfiguration The client configuration. |
Methods
CreateFrameworkDeployment(CreateFrameworkDeploymentRequest, CallOptions)
public virtual Operation CreateFrameworkDeployment(CreateFrameworkDeploymentRequest request, CallOptions options)
Creates a new FrameworkDeployment in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
CreateFrameworkDeploymentRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
CreateFrameworkDeployment(CreateFrameworkDeploymentRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation CreateFrameworkDeployment(CreateFrameworkDeploymentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Creates a new FrameworkDeployment in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
CreateFrameworkDeploymentRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
CreateFrameworkDeploymentAsync(CreateFrameworkDeploymentRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> CreateFrameworkDeploymentAsync(CreateFrameworkDeploymentRequest request, CallOptions options)
Creates a new FrameworkDeployment in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
CreateFrameworkDeploymentRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
CreateFrameworkDeploymentAsync(CreateFrameworkDeploymentRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> CreateFrameworkDeploymentAsync(CreateFrameworkDeploymentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Creates a new FrameworkDeployment in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
CreateFrameworkDeploymentRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
CreateLocationsClient()
public virtual Locations.LocationsClient CreateLocationsClient()
Creates a new instance of Locations.LocationsClient using the same call invoker as this client.
Returns | |
---|---|
Type | Description |
LocationsLocationsClient |
A new Locations.LocationsClient for the same target as this client. |
CreateOperationsClient()
public virtual Operations.OperationsClient CreateOperationsClient()
Creates a new instance of Operations.OperationsClient using the same call invoker as this client.
Returns | |
---|---|
Type | Description |
OperationsOperationsClient |
A new Operations client for the same target as this client. |
DeleteFrameworkDeployment(DeleteFrameworkDeploymentRequest, CallOptions)
public virtual Operation DeleteFrameworkDeployment(DeleteFrameworkDeploymentRequest request, CallOptions options)
Deletes a single FrameworkDeployment.
Parameters | |
---|---|
Name | Description |
request |
DeleteFrameworkDeploymentRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
DeleteFrameworkDeployment(DeleteFrameworkDeploymentRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation DeleteFrameworkDeployment(DeleteFrameworkDeploymentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Deletes a single FrameworkDeployment.
Parameters | |
---|---|
Name | Description |
request |
DeleteFrameworkDeploymentRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
DeleteFrameworkDeploymentAsync(DeleteFrameworkDeploymentRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DeleteFrameworkDeploymentAsync(DeleteFrameworkDeploymentRequest request, CallOptions options)
Deletes a single FrameworkDeployment.
Parameters | |
---|---|
Name | Description |
request |
DeleteFrameworkDeploymentRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
DeleteFrameworkDeploymentAsync(DeleteFrameworkDeploymentRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> DeleteFrameworkDeploymentAsync(DeleteFrameworkDeploymentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Deletes a single FrameworkDeployment.
Parameters | |
---|---|
Name | Description |
request |
DeleteFrameworkDeploymentRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
GetCloudControlDeployment(GetCloudControlDeploymentRequest, CallOptions)
public virtual CloudControlDeployment GetCloudControlDeployment(GetCloudControlDeploymentRequest request, CallOptions options)
Gets details of a single CloudControlDeployment.
Parameters | |
---|---|
Name | Description |
request |
GetCloudControlDeploymentRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
CloudControlDeployment |
The response received from the server. |
GetCloudControlDeployment(GetCloudControlDeploymentRequest, Metadata, DateTime?, CancellationToken)
public virtual CloudControlDeployment GetCloudControlDeployment(GetCloudControlDeploymentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Gets details of a single CloudControlDeployment.
Parameters | |
---|---|
Name | Description |
request |
GetCloudControlDeploymentRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
CloudControlDeployment |
The response received from the server. |
GetCloudControlDeploymentAsync(GetCloudControlDeploymentRequest, CallOptions)
public virtual AsyncUnaryCall<CloudControlDeployment> GetCloudControlDeploymentAsync(GetCloudControlDeploymentRequest request, CallOptions options)
Gets details of a single CloudControlDeployment.
Parameters | |
---|---|
Name | Description |
request |
GetCloudControlDeploymentRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallCloudControlDeployment |
The call object. |
GetCloudControlDeploymentAsync(GetCloudControlDeploymentRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<CloudControlDeployment> GetCloudControlDeploymentAsync(GetCloudControlDeploymentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Gets details of a single CloudControlDeployment.
Parameters | |
---|---|
Name | Description |
request |
GetCloudControlDeploymentRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallCloudControlDeployment |
The call object. |
GetFrameworkDeployment(GetFrameworkDeploymentRequest, CallOptions)
public virtual FrameworkDeployment GetFrameworkDeployment(GetFrameworkDeploymentRequest request, CallOptions options)
Gets details of a single FrameworkDeployment.
Parameters | |
---|---|
Name | Description |
request |
GetFrameworkDeploymentRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
FrameworkDeployment |
The response received from the server. |
GetFrameworkDeployment(GetFrameworkDeploymentRequest, Metadata, DateTime?, CancellationToken)
public virtual FrameworkDeployment GetFrameworkDeployment(GetFrameworkDeploymentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Gets details of a single FrameworkDeployment.
Parameters | |
---|---|
Name | Description |
request |
GetFrameworkDeploymentRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
FrameworkDeployment |
The response received from the server. |
GetFrameworkDeploymentAsync(GetFrameworkDeploymentRequest, CallOptions)
public virtual AsyncUnaryCall<FrameworkDeployment> GetFrameworkDeploymentAsync(GetFrameworkDeploymentRequest request, CallOptions options)
Gets details of a single FrameworkDeployment.
Parameters | |
---|---|
Name | Description |
request |
GetFrameworkDeploymentRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallFrameworkDeployment |
The call object. |
GetFrameworkDeploymentAsync(GetFrameworkDeploymentRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<FrameworkDeployment> GetFrameworkDeploymentAsync(GetFrameworkDeploymentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Gets details of a single FrameworkDeployment.
Parameters | |
---|---|
Name | Description |
request |
GetFrameworkDeploymentRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallFrameworkDeployment |
The call object. |
ListCloudControlDeployments(ListCloudControlDeploymentsRequest, CallOptions)
public virtual ListCloudControlDeploymentsResponse ListCloudControlDeployments(ListCloudControlDeploymentsRequest request, CallOptions options)
Lists CloudControlDeployments under a given parent.
Parameters | |
---|---|
Name | Description |
request |
ListCloudControlDeploymentsRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ListCloudControlDeploymentsResponse |
The response received from the server. |
ListCloudControlDeployments(ListCloudControlDeploymentsRequest, Metadata, DateTime?, CancellationToken)
public virtual ListCloudControlDeploymentsResponse ListCloudControlDeployments(ListCloudControlDeploymentsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Lists CloudControlDeployments under a given parent.
Parameters | |
---|---|
Name | Description |
request |
ListCloudControlDeploymentsRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
ListCloudControlDeploymentsResponse |
The response received from the server. |
ListCloudControlDeploymentsAsync(ListCloudControlDeploymentsRequest, CallOptions)
public virtual AsyncUnaryCall<ListCloudControlDeploymentsResponse> ListCloudControlDeploymentsAsync(ListCloudControlDeploymentsRequest request, CallOptions options)
Lists CloudControlDeployments under a given parent.
Parameters | |
---|---|
Name | Description |
request |
ListCloudControlDeploymentsRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallListCloudControlDeploymentsResponse |
The call object. |
ListCloudControlDeploymentsAsync(ListCloudControlDeploymentsRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ListCloudControlDeploymentsResponse> ListCloudControlDeploymentsAsync(ListCloudControlDeploymentsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Lists CloudControlDeployments under a given parent.
Parameters | |
---|---|
Name | Description |
request |
ListCloudControlDeploymentsRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallListCloudControlDeploymentsResponse |
The call object. |
ListFrameworkDeployments(ListFrameworkDeploymentsRequest, CallOptions)
public virtual ListFrameworkDeploymentsResponse ListFrameworkDeployments(ListFrameworkDeploymentsRequest request, CallOptions options)
Lists FrameworkDeployments in a given parent and location.
Parameters | |
---|---|
Name | Description |
request |
ListFrameworkDeploymentsRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ListFrameworkDeploymentsResponse |
The response received from the server. |
ListFrameworkDeployments(ListFrameworkDeploymentsRequest, Metadata, DateTime?, CancellationToken)
public virtual ListFrameworkDeploymentsResponse ListFrameworkDeployments(ListFrameworkDeploymentsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Lists FrameworkDeployments in a given parent and location.
Parameters | |
---|---|
Name | Description |
request |
ListFrameworkDeploymentsRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
ListFrameworkDeploymentsResponse |
The response received from the server. |
ListFrameworkDeploymentsAsync(ListFrameworkDeploymentsRequest, CallOptions)
public virtual AsyncUnaryCall<ListFrameworkDeploymentsResponse> ListFrameworkDeploymentsAsync(ListFrameworkDeploymentsRequest request, CallOptions options)
Lists FrameworkDeployments in a given parent and location.
Parameters | |
---|---|
Name | Description |
request |
ListFrameworkDeploymentsRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallListFrameworkDeploymentsResponse |
The call object. |
ListFrameworkDeploymentsAsync(ListFrameworkDeploymentsRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ListFrameworkDeploymentsResponse> ListFrameworkDeploymentsAsync(ListFrameworkDeploymentsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Lists FrameworkDeployments in a given parent and location.
Parameters | |
---|---|
Name | Description |
request |
ListFrameworkDeploymentsRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallListFrameworkDeploymentsResponse |
The call object. |
NewInstance(ClientBaseConfiguration)
protected override Deployment.DeploymentClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration |
ClientBaseClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
DeploymentDeploymentClient |