Cloud Security Compliance v1 API - Class Config.ConfigClient (1.0.0-beta02)

public class Config.ConfigClient : ClientBase<Config.ConfigClient>

Reference documentation and code samples for the Cloud Security Compliance v1 API class Config.ConfigClient.

Client for Config

Inheritance

object > ClientBase > ClientBaseConfigConfigClient > Config.ConfigClient

Namespace

Google.Cloud.CloudSecurityCompliance.V1

Assembly

Google.Cloud.CloudSecurityCompliance.V1.dll

Constructors

ConfigClient()

protected ConfigClient()

Protected parameterless constructor to allow creation of test doubles.

ConfigClient(CallInvoker)

public ConfigClient(CallInvoker callInvoker)

Creates a new client for Config that uses a custom CallInvoker.

Parameter
Name Description
callInvoker CallInvoker

The callInvoker to use to make remote calls.

ConfigClient(ChannelBase)

public ConfigClient(ChannelBase channel)

Creates a new client for Config

Parameter
Name Description
channel ChannelBase

The channel to use to make remote calls.

ConfigClient(ClientBaseConfiguration)

protected ConfigClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration

The client configuration.

Methods

CreateCloudControl(CreateCloudControlRequest, CallOptions)

public virtual CloudControl CreateCloudControl(CreateCloudControlRequest request, CallOptions options)

Creates a new CloudControl with type Custom under a given parent resource. Built-in CloudControls are managed by Google and cannot be created through this API.

Parameters
Name Description
request CreateCloudControlRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
CloudControl

The response received from the server.

CreateCloudControl(CreateCloudControlRequest, Metadata, DateTime?, CancellationToken)

public virtual CloudControl CreateCloudControl(CreateCloudControlRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a new CloudControl with type Custom under a given parent resource. Built-in CloudControls are managed by Google and cannot be created through this API.

Parameters
Name Description
request CreateCloudControlRequest

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
CloudControl

The response received from the server.

CreateCloudControlAsync(CreateCloudControlRequest, CallOptions)

public virtual AsyncUnaryCall<CloudControl> CreateCloudControlAsync(CreateCloudControlRequest request, CallOptions options)

Creates a new CloudControl with type Custom under a given parent resource. Built-in CloudControls are managed by Google and cannot be created through this API.

Parameters
Name Description
request CreateCloudControlRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallCloudControl

The call object.

CreateCloudControlAsync(CreateCloudControlRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<CloudControl> CreateCloudControlAsync(CreateCloudControlRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a new CloudControl with type Custom under a given parent resource. Built-in CloudControls are managed by Google and cannot be created through this API.

Parameters
Name Description
request CreateCloudControlRequest

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
AsyncUnaryCallCloudControl

The call object.

CreateFramework(CreateFrameworkRequest, CallOptions)

public virtual Framework CreateFramework(CreateFrameworkRequest request, CallOptions options)

Creates a new Framework with type Custom under a given parent resource. Frameworks with type Built-in are managed by Google and cannot be created through this API.

Parameters
Name Description
request CreateFrameworkRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Framework

The response received from the server.

CreateFramework(CreateFrameworkRequest, Metadata, DateTime?, CancellationToken)

public virtual Framework CreateFramework(CreateFrameworkRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a new Framework with type Custom under a given parent resource. Frameworks with type Built-in are managed by Google and cannot be created through this API.

Parameters
Name Description
request CreateFrameworkRequest

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
Framework

The response received from the server.

CreateFrameworkAsync(CreateFrameworkRequest, CallOptions)

public virtual AsyncUnaryCall<Framework> CreateFrameworkAsync(CreateFrameworkRequest request, CallOptions options)

Creates a new Framework with type Custom under a given parent resource. Frameworks with type Built-in are managed by Google and cannot be created through this API.

Parameters
Name Description
request CreateFrameworkRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallFramework

The call object.

CreateFrameworkAsync(CreateFrameworkRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Framework> CreateFrameworkAsync(CreateFrameworkRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a new Framework with type Custom under a given parent resource. Frameworks with type Built-in are managed by Google and cannot be created through this API.

Parameters
Name Description
request CreateFrameworkRequest

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
AsyncUnaryCallFramework

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.

DeleteCloudControl(DeleteCloudControlRequest, CallOptions)

public virtual Empty DeleteCloudControl(DeleteCloudControlRequest request, CallOptions options)

Deletes a single Custom CloudControl, including all its major and minor revisions.

  • This operation can only be performed on CloudControls with type CUSTOM. Built-in CloudControls cannot be deleted.
  • The CloudControl cannot be deleted if any of its revisions are currently referenced by any Framework.
  • This action is permanent and cannot be undone.
Parameters
Name Description
request DeleteCloudControlRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Empty

The response received from the server.

DeleteCloudControl(DeleteCloudControlRequest, Metadata, DateTime?, CancellationToken)

public virtual Empty DeleteCloudControl(DeleteCloudControlRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a single Custom CloudControl, including all its major and minor revisions.

  • This operation can only be performed on CloudControls with type CUSTOM. Built-in CloudControls cannot be deleted.
  • The CloudControl cannot be deleted if any of its revisions are currently referenced by any Framework.
  • This action is permanent and cannot be undone.
Parameters
Name Description
request DeleteCloudControlRequest

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
Empty

The response received from the server.

DeleteCloudControlAsync(DeleteCloudControlRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> DeleteCloudControlAsync(DeleteCloudControlRequest request, CallOptions options)

Deletes a single Custom CloudControl, including all its major and minor revisions.

  • This operation can only be performed on CloudControls with type CUSTOM. Built-in CloudControls cannot be deleted.
  • The CloudControl cannot be deleted if any of its revisions are currently referenced by any Framework.
  • This action is permanent and cannot be undone.
Parameters
Name Description
request DeleteCloudControlRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallEmpty

The call object.

DeleteCloudControlAsync(DeleteCloudControlRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Empty> DeleteCloudControlAsync(DeleteCloudControlRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a single Custom CloudControl, including all its major and minor revisions.

  • This operation can only be performed on CloudControls with type CUSTOM. Built-in CloudControls cannot be deleted.
  • The CloudControl cannot be deleted if any of its revisions are currently referenced by any Framework.
  • This action is permanent and cannot be undone.
Parameters
Name Description
request DeleteCloudControlRequest

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
AsyncUnaryCallEmpty

The call object.

DeleteFramework(DeleteFrameworkRequest, CallOptions)

public virtual Empty DeleteFramework(DeleteFrameworkRequest request, CallOptions options)

Deletes a single Custom Framework, including all its minor and minor revisions.

  • This operation can only be performed on Frameworks with type CUSTOM. Built-in Frameworks cannot be deleted.
  • The Framework cannot be deleted if it is currently deployed on any resource.
  • This action is permanent and cannot be undone.
Parameters
Name Description
request DeleteFrameworkRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Empty

The response received from the server.

DeleteFramework(DeleteFrameworkRequest, Metadata, DateTime?, CancellationToken)

public virtual Empty DeleteFramework(DeleteFrameworkRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a single Custom Framework, including all its minor and minor revisions.

  • This operation can only be performed on Frameworks with type CUSTOM. Built-in Frameworks cannot be deleted.
  • The Framework cannot be deleted if it is currently deployed on any resource.
  • This action is permanent and cannot be undone.
Parameters
Name Description
request DeleteFrameworkRequest

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
Empty

The response received from the server.

DeleteFrameworkAsync(DeleteFrameworkRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> DeleteFrameworkAsync(DeleteFrameworkRequest request, CallOptions options)

Deletes a single Custom Framework, including all its minor and minor revisions.

  • This operation can only be performed on Frameworks with type CUSTOM. Built-in Frameworks cannot be deleted.
  • The Framework cannot be deleted if it is currently deployed on any resource.
  • This action is permanent and cannot be undone.
Parameters
Name Description
request DeleteFrameworkRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallEmpty

The call object.

DeleteFrameworkAsync(DeleteFrameworkRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Empty> DeleteFrameworkAsync(DeleteFrameworkRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a single Custom Framework, including all its minor and minor revisions.

  • This operation can only be performed on Frameworks with type CUSTOM. Built-in Frameworks cannot be deleted.
  • The Framework cannot be deleted if it is currently deployed on any resource.
  • This action is permanent and cannot be undone.
Parameters
Name Description
request DeleteFrameworkRequest

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
AsyncUnaryCallEmpty

The call object.

GetCloudControl(GetCloudControlRequest, CallOptions)

public virtual CloudControl GetCloudControl(GetCloudControlRequest request, CallOptions options)

Gets details of a single CloudControl. This method retrieves a CloudControl resource, which can be either Built-in or Custom, identified by its name.

By default, the latest major version of the CloudControl is returned. A specific major version can be retrieved by specifying the major_revision_id in the request.

Parameters
Name Description
request GetCloudControlRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
CloudControl

The response received from the server.

GetCloudControl(GetCloudControlRequest, Metadata, DateTime?, CancellationToken)

public virtual CloudControl GetCloudControl(GetCloudControlRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets details of a single CloudControl. This method retrieves a CloudControl resource, which can be either Built-in or Custom, identified by its name.

By default, the latest major version of the CloudControl is returned. A specific major version can be retrieved by specifying the major_revision_id in the request.

Parameters
Name Description
request GetCloudControlRequest

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
CloudControl

The response received from the server.

GetCloudControlAsync(GetCloudControlRequest, CallOptions)

public virtual AsyncUnaryCall<CloudControl> GetCloudControlAsync(GetCloudControlRequest request, CallOptions options)

Gets details of a single CloudControl. This method retrieves a CloudControl resource, which can be either Built-in or Custom, identified by its name.

By default, the latest major version of the CloudControl is returned. A specific major version can be retrieved by specifying the major_revision_id in the request.

Parameters
Name Description
request GetCloudControlRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallCloudControl

The call object.

GetCloudControlAsync(GetCloudControlRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<CloudControl> GetCloudControlAsync(GetCloudControlRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets details of a single CloudControl. This method retrieves a CloudControl resource, which can be either Built-in or Custom, identified by its name.

By default, the latest major version of the CloudControl is returned. A specific major version can be retrieved by specifying the major_revision_id in the request.

Parameters
Name Description
request GetCloudControlRequest

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
AsyncUnaryCallCloudControl

The call object.

GetFramework(GetFrameworkRequest, CallOptions)

public virtual Framework GetFramework(GetFrameworkRequest request, CallOptions options)

Gets details of a single Framework. This method retrieves a Framework resource, which can be either Built-in or Custom, identified by its name.

By default, the latest major version of the Framework is returned. A specific major version can be retrieved by specifying the major_revision_id in the request.

Parameters
Name Description
request GetFrameworkRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Framework

The response received from the server.

GetFramework(GetFrameworkRequest, Metadata, DateTime?, CancellationToken)

public virtual Framework GetFramework(GetFrameworkRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets details of a single Framework. This method retrieves a Framework resource, which can be either Built-in or Custom, identified by its name.

By default, the latest major version of the Framework is returned. A specific major version can be retrieved by specifying the major_revision_id in the request.

Parameters
Name Description
request GetFrameworkRequest

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
Framework

The response received from the server.

GetFrameworkAsync(GetFrameworkRequest, CallOptions)

public virtual AsyncUnaryCall<Framework> GetFrameworkAsync(GetFrameworkRequest request, CallOptions options)

Gets details of a single Framework. This method retrieves a Framework resource, which can be either Built-in or Custom, identified by its name.

By default, the latest major version of the Framework is returned. A specific major version can be retrieved by specifying the major_revision_id in the request.

Parameters
Name Description
request GetFrameworkRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallFramework

The call object.

GetFrameworkAsync(GetFrameworkRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Framework> GetFrameworkAsync(GetFrameworkRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets details of a single Framework. This method retrieves a Framework resource, which can be either Built-in or Custom, identified by its name.

By default, the latest major version of the Framework is returned. A specific major version can be retrieved by specifying the major_revision_id in the request.

Parameters
Name Description
request GetFrameworkRequest

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
AsyncUnaryCallFramework

The call object.

ListCloudControls(ListCloudControlsRequest, CallOptions)

public virtual ListCloudControlsResponse ListCloudControls(ListCloudControlsRequest request, CallOptions options)

Lists all CloudControls (both Built-in and Custom) available within a given parent resource. This method supports pagination. The latest major version of each CloudControl is returned.

Parameters
Name Description
request ListCloudControlsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListCloudControlsResponse

The response received from the server.

ListCloudControls(ListCloudControlsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListCloudControlsResponse ListCloudControls(ListCloudControlsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists all CloudControls (both Built-in and Custom) available within a given parent resource. This method supports pagination. The latest major version of each CloudControl is returned.

Parameters
Name Description
request ListCloudControlsRequest

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
ListCloudControlsResponse

The response received from the server.

ListCloudControlsAsync(ListCloudControlsRequest, CallOptions)

public virtual AsyncUnaryCall<ListCloudControlsResponse> ListCloudControlsAsync(ListCloudControlsRequest request, CallOptions options)

Lists all CloudControls (both Built-in and Custom) available within a given parent resource. This method supports pagination. The latest major version of each CloudControl is returned.

Parameters
Name Description
request ListCloudControlsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListCloudControlsResponse

The call object.

ListCloudControlsAsync(ListCloudControlsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListCloudControlsResponse> ListCloudControlsAsync(ListCloudControlsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists all CloudControls (both Built-in and Custom) available within a given parent resource. This method supports pagination. The latest major version of each CloudControl is returned.

Parameters
Name Description
request ListCloudControlsRequest

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
AsyncUnaryCallListCloudControlsResponse

The call object.

ListFrameworks(ListFrameworksRequest, CallOptions)

public virtual ListFrameworksResponse ListFrameworks(ListFrameworksRequest request, CallOptions options)

Lists all Frameworks (both Built-in and Custom) available within a given parent resource. This method supports pagination. The latest major version of each Framework is returned.

Parameters
Name Description
request ListFrameworksRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListFrameworksResponse

The response received from the server.

ListFrameworks(ListFrameworksRequest, Metadata, DateTime?, CancellationToken)

public virtual ListFrameworksResponse ListFrameworks(ListFrameworksRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists all Frameworks (both Built-in and Custom) available within a given parent resource. This method supports pagination. The latest major version of each Framework is returned.

Parameters
Name Description
request ListFrameworksRequest

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
ListFrameworksResponse

The response received from the server.

ListFrameworksAsync(ListFrameworksRequest, CallOptions)

public virtual AsyncUnaryCall<ListFrameworksResponse> ListFrameworksAsync(ListFrameworksRequest request, CallOptions options)

Lists all Frameworks (both Built-in and Custom) available within a given parent resource. This method supports pagination. The latest major version of each Framework is returned.

Parameters
Name Description
request ListFrameworksRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListFrameworksResponse

The call object.

ListFrameworksAsync(ListFrameworksRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListFrameworksResponse> ListFrameworksAsync(ListFrameworksRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists all Frameworks (both Built-in and Custom) available within a given parent resource. This method supports pagination. The latest major version of each Framework is returned.

Parameters
Name Description
request ListFrameworksRequest

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
AsyncUnaryCallListFrameworksResponse

The call object.

NewInstance(ClientBaseConfiguration)

protected override Config.ConfigClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration
Returns
Type Description
ConfigConfigClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.CloudSecurityCompliance.V1.Config.ConfigClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

UpdateCloudControl(UpdateCloudControlRequest, CallOptions)

public virtual CloudControl UpdateCloudControl(UpdateCloudControlRequest request, CallOptions options)

Updates a single CloudControl. This method allows for partial updates of a Custom CloudControl resource. Built-in CloudControls cannot be updated.

  • If an update_mask is provided, only the fields specified in the mask will be updated.
  • If no update_mask is provided, all fields present in the request's cloud_control body will be used to overwrite the existing resource.

A successful update will result in a new version of the CloudControl.

Parameters
Name Description
request UpdateCloudControlRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
CloudControl

The response received from the server.

UpdateCloudControl(UpdateCloudControlRequest, Metadata, DateTime?, CancellationToken)

public virtual CloudControl UpdateCloudControl(UpdateCloudControlRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates a single CloudControl. This method allows for partial updates of a Custom CloudControl resource. Built-in CloudControls cannot be updated.

  • If an update_mask is provided, only the fields specified in the mask will be updated.
  • If no update_mask is provided, all fields present in the request's cloud_control body will be used to overwrite the existing resource.

A successful update will result in a new version of the CloudControl.

Parameters
Name Description
request UpdateCloudControlRequest

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
CloudControl

The response received from the server.

UpdateCloudControlAsync(UpdateCloudControlRequest, CallOptions)

public virtual AsyncUnaryCall<CloudControl> UpdateCloudControlAsync(UpdateCloudControlRequest request, CallOptions options)

Updates a single CloudControl. This method allows for partial updates of a Custom CloudControl resource. Built-in CloudControls cannot be updated.

  • If an update_mask is provided, only the fields specified in the mask will be updated.
  • If no update_mask is provided, all fields present in the request's cloud_control body will be used to overwrite the existing resource.

A successful update will result in a new version of the CloudControl.

Parameters
Name Description
request UpdateCloudControlRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallCloudControl

The call object.

UpdateCloudControlAsync(UpdateCloudControlRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<CloudControl> UpdateCloudControlAsync(UpdateCloudControlRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates a single CloudControl. This method allows for partial updates of a Custom CloudControl resource. Built-in CloudControls cannot be updated.

  • If an update_mask is provided, only the fields specified in the mask will be updated.
  • If no update_mask is provided, all fields present in the request's cloud_control body will be used to overwrite the existing resource.

A successful update will result in a new version of the CloudControl.

Parameters
Name Description
request UpdateCloudControlRequest

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
AsyncUnaryCallCloudControl

The call object.

UpdateFramework(UpdateFrameworkRequest, CallOptions)

public virtual Framework UpdateFramework(UpdateFrameworkRequest request, CallOptions options)

Updates a single Framework. This method allows for partial updates of a Framework resource. The fields to be updated are specified using the update_mask.

  • If an update_mask is provided, only the fields specified in the mask will be updated.
  • If no update_mask is provided, all fields present in the request's framework body will be used to overwrite the existing resource.

This operation can only be performed on Frameworks with type CUSTOM. A successful update will result in a new version of the Framework.

Parameters
Name Description
request UpdateFrameworkRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Framework

The response received from the server.

UpdateFramework(UpdateFrameworkRequest, Metadata, DateTime?, CancellationToken)

public virtual Framework UpdateFramework(UpdateFrameworkRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates a single Framework. This method allows for partial updates of a Framework resource. The fields to be updated are specified using the update_mask.

  • If an update_mask is provided, only the fields specified in the mask will be updated.
  • If no update_mask is provided, all fields present in the request's framework body will be used to overwrite the existing resource.

This operation can only be performed on Frameworks with type CUSTOM. A successful update will result in a new version of the Framework.

Parameters
Name Description
request UpdateFrameworkRequest

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
Framework

The response received from the server.

UpdateFrameworkAsync(UpdateFrameworkRequest, CallOptions)

public virtual AsyncUnaryCall<Framework> UpdateFrameworkAsync(UpdateFrameworkRequest request, CallOptions options)

Updates a single Framework. This method allows for partial updates of a Framework resource. The fields to be updated are specified using the update_mask.

  • If an update_mask is provided, only the fields specified in the mask will be updated.
  • If no update_mask is provided, all fields present in the request's framework body will be used to overwrite the existing resource.

This operation can only be performed on Frameworks with type CUSTOM. A successful update will result in a new version of the Framework.

Parameters
Name Description
request UpdateFrameworkRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallFramework

The call object.

UpdateFrameworkAsync(UpdateFrameworkRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Framework> UpdateFrameworkAsync(UpdateFrameworkRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates a single Framework. This method allows for partial updates of a Framework resource. The fields to be updated are specified using the update_mask.

  • If an update_mask is provided, only the fields specified in the mask will be updated.
  • If no update_mask is provided, all fields present in the request's framework body will be used to overwrite the existing resource.

This operation can only be performed on Frameworks with type CUSTOM. A successful update will result in a new version of the Framework.

Parameters
Name Description
request UpdateFrameworkRequest

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
AsyncUnaryCallFramework

The call object.