public sealed class ConfigClientImpl : ConfigClient
Reference documentation and code samples for the Cloud Security Compliance v1 API class ConfigClientImpl.
Config client wrapper implementation, for convenient use.
Namespace
Google.Cloud.CloudSecurityCompliance.V1Assembly
Google.Cloud.CloudSecurityCompliance.V1.dll
Remarks
Service describing handlers for config resources
Constructors
ConfigClientImpl(ConfigClient, ConfigSettings, ILogger)
public ConfigClientImpl(Config.ConfigClient grpcClient, ConfigSettings settings, ILogger logger)
Constructs a client wrapper for the Config service, with the specified gRPC client and settings.
Parameters | |
---|---|
Name | Description |
grpcClient |
ConfigConfigClient The underlying gRPC client. |
settings |
ConfigSettings The base ConfigSettings used within this client. |
logger |
ILogger Optional ILogger to use within this client. |
Properties
GrpcClient
public override Config.ConfigClient GrpcClient { get; }
The underlying gRPC Config client
Property Value | |
---|---|
Type | Description |
ConfigConfigClient |
LocationsClient
public override LocationsClient LocationsClient { get; }
The LocationsClient associated with this client.
Property Value | |
---|---|
Type | Description |
LocationsClient |
Methods
CreateCloudControl(CreateCloudControlRequest, CallSettings)
public override CloudControl CreateCloudControl(CreateCloudControlRequest request, CallSettings callSettings = null)
Creates a single CloudControl for a given resource.
Parameters | |
---|---|
Name | Description |
request |
CreateCloudControlRequest 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 |
CloudControl |
The RPC response. |
CreateCloudControlAsync(CreateCloudControlRequest, CallSettings)
public override Task<CloudControl> CreateCloudControlAsync(CreateCloudControlRequest request, CallSettings callSettings = null)
Creates a single CloudControl for a given resource.
Parameters | |
---|---|
Name | Description |
request |
CreateCloudControlRequest 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 |
TaskCloudControl |
A Task containing the RPC response. |
CreateFramework(CreateFrameworkRequest, CallSettings)
public override Framework CreateFramework(CreateFrameworkRequest request, CallSettings callSettings = null)
Creates a single framework for a given resource.
Parameters | |
---|---|
Name | Description |
request |
CreateFrameworkRequest 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 |
Framework |
The RPC response. |
CreateFrameworkAsync(CreateFrameworkRequest, CallSettings)
public override Task<Framework> CreateFrameworkAsync(CreateFrameworkRequest request, CallSettings callSettings = null)
Creates a single framework for a given resource.
Parameters | |
---|---|
Name | Description |
request |
CreateFrameworkRequest 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 |
TaskFramework |
A Task containing the RPC response. |
DeleteCloudControl(DeleteCloudControlRequest, CallSettings)
public override void DeleteCloudControl(DeleteCloudControlRequest request, CallSettings callSettings = null)
Deletes a single CloudControl.
Parameters | |
---|---|
Name | Description |
request |
DeleteCloudControlRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
DeleteCloudControlAsync(DeleteCloudControlRequest, CallSettings)
public override Task DeleteCloudControlAsync(DeleteCloudControlRequest request, CallSettings callSettings = null)
Deletes a single CloudControl.
Parameters | |
---|---|
Name | Description |
request |
DeleteCloudControlRequest 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 |
Task |
A Task containing the RPC response. |
DeleteFramework(DeleteFrameworkRequest, CallSettings)
public override void DeleteFramework(DeleteFrameworkRequest request, CallSettings callSettings = null)
Deletes a single Framework.
Parameters | |
---|---|
Name | Description |
request |
DeleteFrameworkRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
DeleteFrameworkAsync(DeleteFrameworkRequest, CallSettings)
public override Task DeleteFrameworkAsync(DeleteFrameworkRequest request, CallSettings callSettings = null)
Deletes a single Framework.
Parameters | |
---|---|
Name | Description |
request |
DeleteFrameworkRequest 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 |
Task |
A Task containing the RPC response. |
GetCloudControl(GetCloudControlRequest, CallSettings)
public override CloudControl GetCloudControl(GetCloudControlRequest request, CallSettings callSettings = null)
Gets details of a single CloudControl.
Parameters | |
---|---|
Name | Description |
request |
GetCloudControlRequest 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 |
CloudControl |
The RPC response. |
GetCloudControlAsync(GetCloudControlRequest, CallSettings)
public override Task<CloudControl> GetCloudControlAsync(GetCloudControlRequest request, CallSettings callSettings = null)
Gets details of a single CloudControl.
Parameters | |
---|---|
Name | Description |
request |
GetCloudControlRequest 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 |
TaskCloudControl |
A Task containing the RPC response. |
GetFramework(GetFrameworkRequest, CallSettings)
public override Framework GetFramework(GetFrameworkRequest request, CallSettings callSettings = null)
Gets details of a single Framework.
Parameters | |
---|---|
Name | Description |
request |
GetFrameworkRequest 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 |
Framework |
The RPC response. |
GetFrameworkAsync(GetFrameworkRequest, CallSettings)
public override Task<Framework> GetFrameworkAsync(GetFrameworkRequest request, CallSettings callSettings = null)
Gets details of a single Framework.
Parameters | |
---|---|
Name | Description |
request |
GetFrameworkRequest 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 |
TaskFramework |
A Task containing the RPC response. |
ListCloudControls(ListCloudControlsRequest, CallSettings)
public override PagedEnumerable<ListCloudControlsResponse, CloudControl> ListCloudControls(ListCloudControlsRequest request, CallSettings callSettings = null)
Lists CloudControls in a given organization.
Parameters | |
---|---|
Name | Description |
request |
ListCloudControlsRequest 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 |
PagedEnumerableListCloudControlsResponseCloudControl |
A pageable sequence of CloudControl resources. |
ListCloudControlsAsync(ListCloudControlsRequest, CallSettings)
public override PagedAsyncEnumerable<ListCloudControlsResponse, CloudControl> ListCloudControlsAsync(ListCloudControlsRequest request, CallSettings callSettings = null)
Lists CloudControls in a given organization.
Parameters | |
---|---|
Name | Description |
request |
ListCloudControlsRequest 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 |
PagedAsyncEnumerableListCloudControlsResponseCloudControl |
A pageable asynchronous sequence of CloudControl resources. |
ListFrameworks(ListFrameworksRequest, CallSettings)
public override PagedEnumerable<ListFrameworksResponse, Framework> ListFrameworks(ListFrameworksRequest request, CallSettings callSettings = null)
Lists Frameworks in a given organization.
Parameters | |
---|---|
Name | Description |
request |
ListFrameworksRequest 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 |
PagedEnumerableListFrameworksResponseFramework |
A pageable sequence of Framework resources. |
ListFrameworksAsync(ListFrameworksRequest, CallSettings)
public override PagedAsyncEnumerable<ListFrameworksResponse, Framework> ListFrameworksAsync(ListFrameworksRequest request, CallSettings callSettings = null)
Lists Frameworks in a given organization.
Parameters | |
---|---|
Name | Description |
request |
ListFrameworksRequest 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 |
PagedAsyncEnumerableListFrameworksResponseFramework |
A pageable asynchronous sequence of Framework resources. |
UpdateCloudControl(UpdateCloudControlRequest, CallSettings)
public override CloudControl UpdateCloudControl(UpdateCloudControlRequest request, CallSettings callSettings = null)
Updates a single CloudControl.
Parameters | |
---|---|
Name | Description |
request |
UpdateCloudControlRequest 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 |
CloudControl |
The RPC response. |
UpdateCloudControlAsync(UpdateCloudControlRequest, CallSettings)
public override Task<CloudControl> UpdateCloudControlAsync(UpdateCloudControlRequest request, CallSettings callSettings = null)
Updates a single CloudControl.
Parameters | |
---|---|
Name | Description |
request |
UpdateCloudControlRequest 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 |
TaskCloudControl |
A Task containing the RPC response. |
UpdateFramework(UpdateFrameworkRequest, CallSettings)
public override Framework UpdateFramework(UpdateFrameworkRequest request, CallSettings callSettings = null)
Updates a single Framework.
Parameters | |
---|---|
Name | Description |
request |
UpdateFrameworkRequest 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 |
Framework |
The RPC response. |
UpdateFrameworkAsync(UpdateFrameworkRequest, CallSettings)
public override Task<Framework> UpdateFrameworkAsync(UpdateFrameworkRequest request, CallSettings callSettings = null)
Updates a single Framework.
Parameters | |
---|---|
Name | Description |
request |
UpdateFrameworkRequest 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 |
TaskFramework |
A Task containing the RPC response. |