public abstract class FindingsRefinementServiceClientReference documentation and code samples for the Chronicle v1 API class FindingsRefinementServiceClient.
FindingsRefinementService client wrapper, for convenient use.
Derived Types
Namespace
Google.Cloud.Chronicle.V1Assembly
Google.Cloud.Chronicle.V1.dll
Remarks
FindingsRefinementService provides an interface for filtering out findings that are unlikely to be real threats to prevent them from triggering alerts or notifications.
Properties
DefaultEndpoint
public static string DefaultEndpoint { get; }The default endpoint for the FindingsRefinementService service, which is a host of "chronicle.googleapis.com" and a port of 443.
| Property Value | |
|---|---|
| Type | Description |
string |
|
DefaultScopes
public static IReadOnlyList<string> DefaultScopes { get; }The default FindingsRefinementService scopes.
| Property Value | |
|---|---|
| Type | Description |
IReadOnlyListstring |
|
The default FindingsRefinementService scopes are:
GrpcClient
public virtual FindingsRefinementService.FindingsRefinementServiceClient GrpcClient { get; }The underlying gRPC FindingsRefinementService client
| Property Value | |
|---|---|
| Type | Description |
FindingsRefinementServiceFindingsRefinementServiceClient |
|
ServiceMetadata
public static ServiceMetadata ServiceMetadata { get; }The service metadata associated with this client type.
| Property Value | |
|---|---|
| Type | Description |
ServiceMetadata |
|
Methods
ComputeAllFindingsRefinementActivities(ComputeAllFindingsRefinementActivitiesRequest, CallSettings)
public virtual ComputeAllFindingsRefinementActivitiesResponse ComputeAllFindingsRefinementActivities(ComputeAllFindingsRefinementActivitiesRequest request, CallSettings callSettings = null)Returns findings refinement activity for all findings refinements.
| Parameters | |
|---|---|
| Name | Description |
request |
ComputeAllFindingsRefinementActivitiesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ComputeAllFindingsRefinementActivitiesResponse |
The RPC response. |
// Create client
FindingsRefinementServiceClient findingsRefinementServiceClient = FindingsRefinementServiceClient.Create();
// Initialize request argument(s)
ComputeAllFindingsRefinementActivitiesRequest request = new ComputeAllFindingsRefinementActivitiesRequest
{
InstanceAsInstanceName = InstanceName.FromProjectLocationInstance("[PROJECT]", "[LOCATION]", "[INSTANCE]"),
Interval = new Interval(),
};
// Make the request
ComputeAllFindingsRefinementActivitiesResponse response = findingsRefinementServiceClient.ComputeAllFindingsRefinementActivities(request);
ComputeAllFindingsRefinementActivities(InstanceName, CallSettings)
public virtual ComputeAllFindingsRefinementActivitiesResponse ComputeAllFindingsRefinementActivities(InstanceName instance, CallSettings callSettings = null)Returns findings refinement activity for all findings refinements.
| Parameters | |
|---|---|
| Name | Description |
instance |
InstanceNameRequired. The ID of the Instance to retrieve counts for. Format: projects/{project}/locations/{location}/instances/{instance} |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ComputeAllFindingsRefinementActivitiesResponse |
The RPC response. |
// Create client
FindingsRefinementServiceClient findingsRefinementServiceClient = FindingsRefinementServiceClient.Create();
// Initialize request argument(s)
InstanceName instance = InstanceName.FromProjectLocationInstance("[PROJECT]", "[LOCATION]", "[INSTANCE]");
// Make the request
ComputeAllFindingsRefinementActivitiesResponse response = findingsRefinementServiceClient.ComputeAllFindingsRefinementActivities(instance);
ComputeAllFindingsRefinementActivities(string, CallSettings)
public virtual ComputeAllFindingsRefinementActivitiesResponse ComputeAllFindingsRefinementActivities(string instance, CallSettings callSettings = null)Returns findings refinement activity for all findings refinements.
| Parameters | |
|---|---|
| Name | Description |
instance |
stringRequired. The ID of the Instance to retrieve counts for. Format: projects/{project}/locations/{location}/instances/{instance} |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ComputeAllFindingsRefinementActivitiesResponse |
The RPC response. |
// Create client
FindingsRefinementServiceClient findingsRefinementServiceClient = FindingsRefinementServiceClient.Create();
// Initialize request argument(s)
string instance = "projects/[PROJECT]/locations/[LOCATION]/instances/[INSTANCE]";
// Make the request
ComputeAllFindingsRefinementActivitiesResponse response = findingsRefinementServiceClient.ComputeAllFindingsRefinementActivities(instance);
ComputeAllFindingsRefinementActivitiesAsync(ComputeAllFindingsRefinementActivitiesRequest, CallSettings)
public virtual Task<ComputeAllFindingsRefinementActivitiesResponse> ComputeAllFindingsRefinementActivitiesAsync(ComputeAllFindingsRefinementActivitiesRequest request, CallSettings callSettings = null)Returns findings refinement activity for all findings refinements.
| Parameters | |
|---|---|
| Name | Description |
request |
ComputeAllFindingsRefinementActivitiesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskComputeAllFindingsRefinementActivitiesResponse |
A Task containing the RPC response. |
// Create client
FindingsRefinementServiceClient findingsRefinementServiceClient = await FindingsRefinementServiceClient.CreateAsync();
// Initialize request argument(s)
ComputeAllFindingsRefinementActivitiesRequest request = new ComputeAllFindingsRefinementActivitiesRequest
{
InstanceAsInstanceName = InstanceName.FromProjectLocationInstance("[PROJECT]", "[LOCATION]", "[INSTANCE]"),
Interval = new Interval(),
};
// Make the request
ComputeAllFindingsRefinementActivitiesResponse response = await findingsRefinementServiceClient.ComputeAllFindingsRefinementActivitiesAsync(request);
ComputeAllFindingsRefinementActivitiesAsync(ComputeAllFindingsRefinementActivitiesRequest, CancellationToken)
public virtual Task<ComputeAllFindingsRefinementActivitiesResponse> ComputeAllFindingsRefinementActivitiesAsync(ComputeAllFindingsRefinementActivitiesRequest request, CancellationToken cancellationToken)Returns findings refinement activity for all findings refinements.
| Parameters | |
|---|---|
| Name | Description |
request |
ComputeAllFindingsRefinementActivitiesRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskComputeAllFindingsRefinementActivitiesResponse |
A Task containing the RPC response. |
// Create client
FindingsRefinementServiceClient findingsRefinementServiceClient = await FindingsRefinementServiceClient.CreateAsync();
// Initialize request argument(s)
ComputeAllFindingsRefinementActivitiesRequest request = new ComputeAllFindingsRefinementActivitiesRequest
{
InstanceAsInstanceName = InstanceName.FromProjectLocationInstance("[PROJECT]", "[LOCATION]", "[INSTANCE]"),
Interval = new Interval(),
};
// Make the request
ComputeAllFindingsRefinementActivitiesResponse response = await findingsRefinementServiceClient.ComputeAllFindingsRefinementActivitiesAsync(request);
ComputeAllFindingsRefinementActivitiesAsync(InstanceName, CallSettings)
public virtual Task<ComputeAllFindingsRefinementActivitiesResponse> ComputeAllFindingsRefinementActivitiesAsync(InstanceName instance, CallSettings callSettings = null)Returns findings refinement activity for all findings refinements.
| Parameters | |
|---|---|
| Name | Description |
instance |
InstanceNameRequired. The ID of the Instance to retrieve counts for. Format: projects/{project}/locations/{location}/instances/{instance} |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskComputeAllFindingsRefinementActivitiesResponse |
A Task containing the RPC response. |
// Create client
FindingsRefinementServiceClient findingsRefinementServiceClient = await FindingsRefinementServiceClient.CreateAsync();
// Initialize request argument(s)
InstanceName instance = InstanceName.FromProjectLocationInstance("[PROJECT]", "[LOCATION]", "[INSTANCE]");
// Make the request
ComputeAllFindingsRefinementActivitiesResponse response = await findingsRefinementServiceClient.ComputeAllFindingsRefinementActivitiesAsync(instance);
ComputeAllFindingsRefinementActivitiesAsync(InstanceName, CancellationToken)
public virtual Task<ComputeAllFindingsRefinementActivitiesResponse> ComputeAllFindingsRefinementActivitiesAsync(InstanceName instance, CancellationToken cancellationToken)Returns findings refinement activity for all findings refinements.
| Parameters | |
|---|---|
| Name | Description |
instance |
InstanceNameRequired. The ID of the Instance to retrieve counts for. Format: projects/{project}/locations/{location}/instances/{instance} |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskComputeAllFindingsRefinementActivitiesResponse |
A Task containing the RPC response. |
// Create client
FindingsRefinementServiceClient findingsRefinementServiceClient = await FindingsRefinementServiceClient.CreateAsync();
// Initialize request argument(s)
InstanceName instance = InstanceName.FromProjectLocationInstance("[PROJECT]", "[LOCATION]", "[INSTANCE]");
// Make the request
ComputeAllFindingsRefinementActivitiesResponse response = await findingsRefinementServiceClient.ComputeAllFindingsRefinementActivitiesAsync(instance);
ComputeAllFindingsRefinementActivitiesAsync(string, CallSettings)
public virtual Task<ComputeAllFindingsRefinementActivitiesResponse> ComputeAllFindingsRefinementActivitiesAsync(string instance, CallSettings callSettings = null)Returns findings refinement activity for all findings refinements.
| Parameters | |
|---|---|
| Name | Description |
instance |
stringRequired. The ID of the Instance to retrieve counts for. Format: projects/{project}/locations/{location}/instances/{instance} |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskComputeAllFindingsRefinementActivitiesResponse |
A Task containing the RPC response. |
// Create client
FindingsRefinementServiceClient findingsRefinementServiceClient = await FindingsRefinementServiceClient.CreateAsync();
// Initialize request argument(s)
string instance = "projects/[PROJECT]/locations/[LOCATION]/instances/[INSTANCE]";
// Make the request
ComputeAllFindingsRefinementActivitiesResponse response = await findingsRefinementServiceClient.ComputeAllFindingsRefinementActivitiesAsync(instance);
ComputeAllFindingsRefinementActivitiesAsync(string, CancellationToken)
public virtual Task<ComputeAllFindingsRefinementActivitiesResponse> ComputeAllFindingsRefinementActivitiesAsync(string instance, CancellationToken cancellationToken)Returns findings refinement activity for all findings refinements.
| Parameters | |
|---|---|
| Name | Description |
instance |
stringRequired. The ID of the Instance to retrieve counts for. Format: projects/{project}/locations/{location}/instances/{instance} |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskComputeAllFindingsRefinementActivitiesResponse |
A Task containing the RPC response. |
// Create client
FindingsRefinementServiceClient findingsRefinementServiceClient = await FindingsRefinementServiceClient.CreateAsync();
// Initialize request argument(s)
string instance = "projects/[PROJECT]/locations/[LOCATION]/instances/[INSTANCE]";
// Make the request
ComputeAllFindingsRefinementActivitiesResponse response = await findingsRefinementServiceClient.ComputeAllFindingsRefinementActivitiesAsync(instance);
ComputeFindingsRefinementActivity(ComputeFindingsRefinementActivityRequest, CallSettings)
public virtual ComputeFindingsRefinementActivityResponse ComputeFindingsRefinementActivity(ComputeFindingsRefinementActivityRequest request, CallSettings callSettings = null)Returns findings refinement activity for a specific findings refinement.
| Parameters | |
|---|---|
| Name | Description |
request |
ComputeFindingsRefinementActivityRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ComputeFindingsRefinementActivityResponse |
The RPC response. |
// Create client
FindingsRefinementServiceClient findingsRefinementServiceClient = FindingsRefinementServiceClient.Create();
// Initialize request argument(s)
ComputeFindingsRefinementActivityRequest request = new ComputeFindingsRefinementActivityRequest
{
FindingsRefinementName = FindingsRefinementName.FromProjectLocationInstanceFindingsRefinement("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FINDINGS_REFINEMENT]"),
Interval = new Interval(),
};
// Make the request
ComputeFindingsRefinementActivityResponse response = findingsRefinementServiceClient.ComputeFindingsRefinementActivity(request);
ComputeFindingsRefinementActivity(FindingsRefinementName, CallSettings)
public virtual ComputeFindingsRefinementActivityResponse ComputeFindingsRefinementActivity(FindingsRefinementName name, CallSettings callSettings = null)Returns findings refinement activity for a specific findings refinement.
| Parameters | |
|---|---|
| Name | Description |
name |
FindingsRefinementNameRequired. Full resource name for the findings refinement to fetch the activity for. Format: projects/{project}/locations/{region}/instances/{instance}/findingsRefinements/{findings_refinement} |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ComputeFindingsRefinementActivityResponse |
The RPC response. |
// Create client
FindingsRefinementServiceClient findingsRefinementServiceClient = FindingsRefinementServiceClient.Create();
// Initialize request argument(s)
FindingsRefinementName name = FindingsRefinementName.FromProjectLocationInstanceFindingsRefinement("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FINDINGS_REFINEMENT]");
// Make the request
ComputeFindingsRefinementActivityResponse response = findingsRefinementServiceClient.ComputeFindingsRefinementActivity(name);
ComputeFindingsRefinementActivity(string, CallSettings)
public virtual ComputeFindingsRefinementActivityResponse ComputeFindingsRefinementActivity(string name, CallSettings callSettings = null)Returns findings refinement activity for a specific findings refinement.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. Full resource name for the findings refinement to fetch the activity for. Format: projects/{project}/locations/{region}/instances/{instance}/findingsRefinements/{findings_refinement} |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ComputeFindingsRefinementActivityResponse |
The RPC response. |
// Create client
FindingsRefinementServiceClient findingsRefinementServiceClient = FindingsRefinementServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/instances/[INSTANCE]/findingsRefinements/[FINDINGS_REFINEMENT]";
// Make the request
ComputeFindingsRefinementActivityResponse response = findingsRefinementServiceClient.ComputeFindingsRefinementActivity(name);
ComputeFindingsRefinementActivityAsync(ComputeFindingsRefinementActivityRequest, CallSettings)
public virtual Task<ComputeFindingsRefinementActivityResponse> ComputeFindingsRefinementActivityAsync(ComputeFindingsRefinementActivityRequest request, CallSettings callSettings = null)Returns findings refinement activity for a specific findings refinement.
| Parameters | |
|---|---|
| Name | Description |
request |
ComputeFindingsRefinementActivityRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskComputeFindingsRefinementActivityResponse |
A Task containing the RPC response. |
// Create client
FindingsRefinementServiceClient findingsRefinementServiceClient = await FindingsRefinementServiceClient.CreateAsync();
// Initialize request argument(s)
ComputeFindingsRefinementActivityRequest request = new ComputeFindingsRefinementActivityRequest
{
FindingsRefinementName = FindingsRefinementName.FromProjectLocationInstanceFindingsRefinement("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FINDINGS_REFINEMENT]"),
Interval = new Interval(),
};
// Make the request
ComputeFindingsRefinementActivityResponse response = await findingsRefinementServiceClient.ComputeFindingsRefinementActivityAsync(request);
ComputeFindingsRefinementActivityAsync(ComputeFindingsRefinementActivityRequest, CancellationToken)
public virtual Task<ComputeFindingsRefinementActivityResponse> ComputeFindingsRefinementActivityAsync(ComputeFindingsRefinementActivityRequest request, CancellationToken cancellationToken)Returns findings refinement activity for a specific findings refinement.
| Parameters | |
|---|---|
| Name | Description |
request |
ComputeFindingsRefinementActivityRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskComputeFindingsRefinementActivityResponse |
A Task containing the RPC response. |
// Create client
FindingsRefinementServiceClient findingsRefinementServiceClient = await FindingsRefinementServiceClient.CreateAsync();
// Initialize request argument(s)
ComputeFindingsRefinementActivityRequest request = new ComputeFindingsRefinementActivityRequest
{
FindingsRefinementName = FindingsRefinementName.FromProjectLocationInstanceFindingsRefinement("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FINDINGS_REFINEMENT]"),
Interval = new Interval(),
};
// Make the request
ComputeFindingsRefinementActivityResponse response = await findingsRefinementServiceClient.ComputeFindingsRefinementActivityAsync(request);
ComputeFindingsRefinementActivityAsync(FindingsRefinementName, CallSettings)
public virtual Task<ComputeFindingsRefinementActivityResponse> ComputeFindingsRefinementActivityAsync(FindingsRefinementName name, CallSettings callSettings = null)Returns findings refinement activity for a specific findings refinement.
| Parameters | |
|---|---|
| Name | Description |
name |
FindingsRefinementNameRequired. Full resource name for the findings refinement to fetch the activity for. Format: projects/{project}/locations/{region}/instances/{instance}/findingsRefinements/{findings_refinement} |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskComputeFindingsRefinementActivityResponse |
A Task containing the RPC response. |
// Create client
FindingsRefinementServiceClient findingsRefinementServiceClient = await FindingsRefinementServiceClient.CreateAsync();
// Initialize request argument(s)
FindingsRefinementName name = FindingsRefinementName.FromProjectLocationInstanceFindingsRefinement("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FINDINGS_REFINEMENT]");
// Make the request
ComputeFindingsRefinementActivityResponse response = await findingsRefinementServiceClient.ComputeFindingsRefinementActivityAsync(name);
ComputeFindingsRefinementActivityAsync(FindingsRefinementName, CancellationToken)
public virtual Task<ComputeFindingsRefinementActivityResponse> ComputeFindingsRefinementActivityAsync(FindingsRefinementName name, CancellationToken cancellationToken)Returns findings refinement activity for a specific findings refinement.
| Parameters | |
|---|---|
| Name | Description |
name |
FindingsRefinementNameRequired. Full resource name for the findings refinement to fetch the activity for. Format: projects/{project}/locations/{region}/instances/{instance}/findingsRefinements/{findings_refinement} |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskComputeFindingsRefinementActivityResponse |
A Task containing the RPC response. |
// Create client
FindingsRefinementServiceClient findingsRefinementServiceClient = await FindingsRefinementServiceClient.CreateAsync();
// Initialize request argument(s)
FindingsRefinementName name = FindingsRefinementName.FromProjectLocationInstanceFindingsRefinement("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FINDINGS_REFINEMENT]");
// Make the request
ComputeFindingsRefinementActivityResponse response = await findingsRefinementServiceClient.ComputeFindingsRefinementActivityAsync(name);
ComputeFindingsRefinementActivityAsync(string, CallSettings)
public virtual Task<ComputeFindingsRefinementActivityResponse> ComputeFindingsRefinementActivityAsync(string name, CallSettings callSettings = null)Returns findings refinement activity for a specific findings refinement.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. Full resource name for the findings refinement to fetch the activity for. Format: projects/{project}/locations/{region}/instances/{instance}/findingsRefinements/{findings_refinement} |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskComputeFindingsRefinementActivityResponse |
A Task containing the RPC response. |
// Create client
FindingsRefinementServiceClient findingsRefinementServiceClient = await FindingsRefinementServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/instances/[INSTANCE]/findingsRefinements/[FINDINGS_REFINEMENT]";
// Make the request
ComputeFindingsRefinementActivityResponse response = await findingsRefinementServiceClient.ComputeFindingsRefinementActivityAsync(name);
ComputeFindingsRefinementActivityAsync(string, CancellationToken)
public virtual Task<ComputeFindingsRefinementActivityResponse> ComputeFindingsRefinementActivityAsync(string name, CancellationToken cancellationToken)Returns findings refinement activity for a specific findings refinement.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. Full resource name for the findings refinement to fetch the activity for. Format: projects/{project}/locations/{region}/instances/{instance}/findingsRefinements/{findings_refinement} |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskComputeFindingsRefinementActivityResponse |
A Task containing the RPC response. |
// Create client
FindingsRefinementServiceClient findingsRefinementServiceClient = await FindingsRefinementServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/instances/[INSTANCE]/findingsRefinements/[FINDINGS_REFINEMENT]";
// Make the request
ComputeFindingsRefinementActivityResponse response = await findingsRefinementServiceClient.ComputeFindingsRefinementActivityAsync(name);
Create()
public static FindingsRefinementServiceClient Create()Synchronously creates a FindingsRefinementServiceClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use FindingsRefinementServiceClientBuilder.
| Returns | |
|---|---|
| Type | Description |
FindingsRefinementServiceClient |
The created FindingsRefinementServiceClient. |
CreateAsync(CancellationToken)
public static Task<FindingsRefinementServiceClient> CreateAsync(CancellationToken cancellationToken = default)Asynchronously creates a FindingsRefinementServiceClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use FindingsRefinementServiceClientBuilder.
| Parameter | |
|---|---|
| Name | Description |
cancellationToken |
CancellationTokenThe CancellationToken to use while creating the client. |
| Returns | |
|---|---|
| Type | Description |
TaskFindingsRefinementServiceClient |
The task representing the created FindingsRefinementServiceClient. |
CreateFindingsRefinement(CreateFindingsRefinementRequest, CallSettings)
public virtual FindingsRefinement CreateFindingsRefinement(CreateFindingsRefinementRequest request, CallSettings callSettings = null)Creates a new findings refinement.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateFindingsRefinementRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
FindingsRefinement |
The RPC response. |
// Create client
FindingsRefinementServiceClient findingsRefinementServiceClient = FindingsRefinementServiceClient.Create();
// Initialize request argument(s)
CreateFindingsRefinementRequest request = new CreateFindingsRefinementRequest
{
ParentAsInstanceName = InstanceName.FromProjectLocationInstance("[PROJECT]", "[LOCATION]", "[INSTANCE]"),
FindingsRefinement = new FindingsRefinement(),
};
// Make the request
FindingsRefinement response = findingsRefinementServiceClient.CreateFindingsRefinement(request);
CreateFindingsRefinement(InstanceName, FindingsRefinement, CallSettings)
public virtual FindingsRefinement CreateFindingsRefinement(InstanceName parent, FindingsRefinement findingsRefinement, CallSettings callSettings = null)Creates a new findings refinement.
| Parameters | |
|---|---|
| Name | Description |
parent |
InstanceNameRequired. The parent resource where this findings refinement will be created. Format: projects/{project}/locations/{location}/instances/{instance} |
findingsRefinement |
FindingsRefinementRequired. The findings refinement to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
FindingsRefinement |
The RPC response. |
// Create client
FindingsRefinementServiceClient findingsRefinementServiceClient = FindingsRefinementServiceClient.Create();
// Initialize request argument(s)
InstanceName parent = InstanceName.FromProjectLocationInstance("[PROJECT]", "[LOCATION]", "[INSTANCE]");
FindingsRefinement findingsRefinement = new FindingsRefinement();
// Make the request
FindingsRefinement response = findingsRefinementServiceClient.CreateFindingsRefinement(parent, findingsRefinement);
CreateFindingsRefinement(string, FindingsRefinement, CallSettings)
public virtual FindingsRefinement CreateFindingsRefinement(string parent, FindingsRefinement findingsRefinement, CallSettings callSettings = null)Creates a new findings refinement.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource where this findings refinement will be created. Format: projects/{project}/locations/{location}/instances/{instance} |
findingsRefinement |
FindingsRefinementRequired. The findings refinement to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
FindingsRefinement |
The RPC response. |
// Create client
FindingsRefinementServiceClient findingsRefinementServiceClient = FindingsRefinementServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/instances/[INSTANCE]";
FindingsRefinement findingsRefinement = new FindingsRefinement();
// Make the request
FindingsRefinement response = findingsRefinementServiceClient.CreateFindingsRefinement(parent, findingsRefinement);
CreateFindingsRefinementAsync(CreateFindingsRefinementRequest, CallSettings)
public virtual Task<FindingsRefinement> CreateFindingsRefinementAsync(CreateFindingsRefinementRequest request, CallSettings callSettings = null)Creates a new findings refinement.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateFindingsRefinementRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskFindingsRefinement |
A Task containing the RPC response. |
// Create client
FindingsRefinementServiceClient findingsRefinementServiceClient = await FindingsRefinementServiceClient.CreateAsync();
// Initialize request argument(s)
CreateFindingsRefinementRequest request = new CreateFindingsRefinementRequest
{
ParentAsInstanceName = InstanceName.FromProjectLocationInstance("[PROJECT]", "[LOCATION]", "[INSTANCE]"),
FindingsRefinement = new FindingsRefinement(),
};
// Make the request
FindingsRefinement response = await findingsRefinementServiceClient.CreateFindingsRefinementAsync(request);
CreateFindingsRefinementAsync(CreateFindingsRefinementRequest, CancellationToken)
public virtual Task<FindingsRefinement> CreateFindingsRefinementAsync(CreateFindingsRefinementRequest request, CancellationToken cancellationToken)Creates a new findings refinement.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateFindingsRefinementRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskFindingsRefinement |
A Task containing the RPC response. |
// Create client
FindingsRefinementServiceClient findingsRefinementServiceClient = await FindingsRefinementServiceClient.CreateAsync();
// Initialize request argument(s)
CreateFindingsRefinementRequest request = new CreateFindingsRefinementRequest
{
ParentAsInstanceName = InstanceName.FromProjectLocationInstance("[PROJECT]", "[LOCATION]", "[INSTANCE]"),
FindingsRefinement = new FindingsRefinement(),
};
// Make the request
FindingsRefinement response = await findingsRefinementServiceClient.CreateFindingsRefinementAsync(request);
CreateFindingsRefinementAsync(InstanceName, FindingsRefinement, CallSettings)
public virtual Task<FindingsRefinement> CreateFindingsRefinementAsync(InstanceName parent, FindingsRefinement findingsRefinement, CallSettings callSettings = null)Creates a new findings refinement.
| Parameters | |
|---|---|
| Name | Description |
parent |
InstanceNameRequired. The parent resource where this findings refinement will be created. Format: projects/{project}/locations/{location}/instances/{instance} |
findingsRefinement |
FindingsRefinementRequired. The findings refinement to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskFindingsRefinement |
A Task containing the RPC response. |
// Create client
FindingsRefinementServiceClient findingsRefinementServiceClient = await FindingsRefinementServiceClient.CreateAsync();
// Initialize request argument(s)
InstanceName parent = InstanceName.FromProjectLocationInstance("[PROJECT]", "[LOCATION]", "[INSTANCE]");
FindingsRefinement findingsRefinement = new FindingsRefinement();
// Make the request
FindingsRefinement response = await findingsRefinementServiceClient.CreateFindingsRefinementAsync(parent, findingsRefinement);
CreateFindingsRefinementAsync(InstanceName, FindingsRefinement, CancellationToken)
public virtual Task<FindingsRefinement> CreateFindingsRefinementAsync(InstanceName parent, FindingsRefinement findingsRefinement, CancellationToken cancellationToken)Creates a new findings refinement.
| Parameters | |
|---|---|
| Name | Description |
parent |
InstanceNameRequired. The parent resource where this findings refinement will be created. Format: projects/{project}/locations/{location}/instances/{instance} |
findingsRefinement |
FindingsRefinementRequired. The findings refinement to create. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskFindingsRefinement |
A Task containing the RPC response. |
// Create client
FindingsRefinementServiceClient findingsRefinementServiceClient = await FindingsRefinementServiceClient.CreateAsync();
// Initialize request argument(s)
InstanceName parent = InstanceName.FromProjectLocationInstance("[PROJECT]", "[LOCATION]", "[INSTANCE]");
FindingsRefinement findingsRefinement = new FindingsRefinement();
// Make the request
FindingsRefinement response = await findingsRefinementServiceClient.CreateFindingsRefinementAsync(parent, findingsRefinement);
CreateFindingsRefinementAsync(string, FindingsRefinement, CallSettings)
public virtual Task<FindingsRefinement> CreateFindingsRefinementAsync(string parent, FindingsRefinement findingsRefinement, CallSettings callSettings = null)Creates a new findings refinement.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource where this findings refinement will be created. Format: projects/{project}/locations/{location}/instances/{instance} |
findingsRefinement |
FindingsRefinementRequired. The findings refinement to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskFindingsRefinement |
A Task containing the RPC response. |
// Create client
FindingsRefinementServiceClient findingsRefinementServiceClient = await FindingsRefinementServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/instances/[INSTANCE]";
FindingsRefinement findingsRefinement = new FindingsRefinement();
// Make the request
FindingsRefinement response = await findingsRefinementServiceClient.CreateFindingsRefinementAsync(parent, findingsRefinement);
CreateFindingsRefinementAsync(string, FindingsRefinement, CancellationToken)
public virtual Task<FindingsRefinement> CreateFindingsRefinementAsync(string parent, FindingsRefinement findingsRefinement, CancellationToken cancellationToken)Creates a new findings refinement.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource where this findings refinement will be created. Format: projects/{project}/locations/{location}/instances/{instance} |
findingsRefinement |
FindingsRefinementRequired. The findings refinement to create. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskFindingsRefinement |
A Task containing the RPC response. |
// Create client
FindingsRefinementServiceClient findingsRefinementServiceClient = await FindingsRefinementServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/instances/[INSTANCE]";
FindingsRefinement findingsRefinement = new FindingsRefinement();
// Make the request
FindingsRefinement response = await findingsRefinementServiceClient.CreateFindingsRefinementAsync(parent, findingsRefinement);
GetFindingsRefinement(FindingsRefinementName, CallSettings)
public virtual FindingsRefinement GetFindingsRefinement(FindingsRefinementName name, CallSettings callSettings = null)Gets a single findings refinement.
| Parameters | |
|---|---|
| Name | Description |
name |
FindingsRefinementNameRequired. The name of the findings refinement to retrieve. Format: projects/{project}/locations/{location}/instances/{instance}/findingsRefinements/{findings_refinement} |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
FindingsRefinement |
The RPC response. |
// Create client
FindingsRefinementServiceClient findingsRefinementServiceClient = FindingsRefinementServiceClient.Create();
// Initialize request argument(s)
FindingsRefinementName name = FindingsRefinementName.FromProjectLocationInstanceFindingsRefinement("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FINDINGS_REFINEMENT]");
// Make the request
FindingsRefinement response = findingsRefinementServiceClient.GetFindingsRefinement(name);
GetFindingsRefinement(GetFindingsRefinementRequest, CallSettings)
public virtual FindingsRefinement GetFindingsRefinement(GetFindingsRefinementRequest request, CallSettings callSettings = null)Gets a single findings refinement.
| Parameters | |
|---|---|
| Name | Description |
request |
GetFindingsRefinementRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
FindingsRefinement |
The RPC response. |
// Create client
FindingsRefinementServiceClient findingsRefinementServiceClient = FindingsRefinementServiceClient.Create();
// Initialize request argument(s)
GetFindingsRefinementRequest request = new GetFindingsRefinementRequest
{
FindingsRefinementName = FindingsRefinementName.FromProjectLocationInstanceFindingsRefinement("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FINDINGS_REFINEMENT]"),
};
// Make the request
FindingsRefinement response = findingsRefinementServiceClient.GetFindingsRefinement(request);
GetFindingsRefinement(string, CallSettings)
public virtual FindingsRefinement GetFindingsRefinement(string name, CallSettings callSettings = null)Gets a single findings refinement.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the findings refinement to retrieve. Format: projects/{project}/locations/{location}/instances/{instance}/findingsRefinements/{findings_refinement} |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
FindingsRefinement |
The RPC response. |
// Create client
FindingsRefinementServiceClient findingsRefinementServiceClient = FindingsRefinementServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/instances/[INSTANCE]/findingsRefinements/[FINDINGS_REFINEMENT]";
// Make the request
FindingsRefinement response = findingsRefinementServiceClient.GetFindingsRefinement(name);
GetFindingsRefinementAsync(FindingsRefinementName, CallSettings)
public virtual Task<FindingsRefinement> GetFindingsRefinementAsync(FindingsRefinementName name, CallSettings callSettings = null)Gets a single findings refinement.
| Parameters | |
|---|---|
| Name | Description |
name |
FindingsRefinementNameRequired. The name of the findings refinement to retrieve. Format: projects/{project}/locations/{location}/instances/{instance}/findingsRefinements/{findings_refinement} |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskFindingsRefinement |
A Task containing the RPC response. |
// Create client
FindingsRefinementServiceClient findingsRefinementServiceClient = await FindingsRefinementServiceClient.CreateAsync();
// Initialize request argument(s)
FindingsRefinementName name = FindingsRefinementName.FromProjectLocationInstanceFindingsRefinement("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FINDINGS_REFINEMENT]");
// Make the request
FindingsRefinement response = await findingsRefinementServiceClient.GetFindingsRefinementAsync(name);
GetFindingsRefinementAsync(FindingsRefinementName, CancellationToken)
public virtual Task<FindingsRefinement> GetFindingsRefinementAsync(FindingsRefinementName name, CancellationToken cancellationToken)Gets a single findings refinement.
| Parameters | |
|---|---|
| Name | Description |
name |
FindingsRefinementNameRequired. The name of the findings refinement to retrieve. Format: projects/{project}/locations/{location}/instances/{instance}/findingsRefinements/{findings_refinement} |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskFindingsRefinement |
A Task containing the RPC response. |
// Create client
FindingsRefinementServiceClient findingsRefinementServiceClient = await FindingsRefinementServiceClient.CreateAsync();
// Initialize request argument(s)
FindingsRefinementName name = FindingsRefinementName.FromProjectLocationInstanceFindingsRefinement("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FINDINGS_REFINEMENT]");
// Make the request
FindingsRefinement response = await findingsRefinementServiceClient.GetFindingsRefinementAsync(name);
GetFindingsRefinementAsync(GetFindingsRefinementRequest, CallSettings)
public virtual Task<FindingsRefinement> GetFindingsRefinementAsync(GetFindingsRefinementRequest request, CallSettings callSettings = null)Gets a single findings refinement.
| Parameters | |
|---|---|
| Name | Description |
request |
GetFindingsRefinementRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskFindingsRefinement |
A Task containing the RPC response. |
// Create client
FindingsRefinementServiceClient findingsRefinementServiceClient = await FindingsRefinementServiceClient.CreateAsync();
// Initialize request argument(s)
GetFindingsRefinementRequest request = new GetFindingsRefinementRequest
{
FindingsRefinementName = FindingsRefinementName.FromProjectLocationInstanceFindingsRefinement("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FINDINGS_REFINEMENT]"),
};
// Make the request
FindingsRefinement response = await findingsRefinementServiceClient.GetFindingsRefinementAsync(request);
GetFindingsRefinementAsync(GetFindingsRefinementRequest, CancellationToken)
public virtual Task<FindingsRefinement> GetFindingsRefinementAsync(GetFindingsRefinementRequest request, CancellationToken cancellationToken)Gets a single findings refinement.
| Parameters | |
|---|---|
| Name | Description |
request |
GetFindingsRefinementRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskFindingsRefinement |
A Task containing the RPC response. |
// Create client
FindingsRefinementServiceClient findingsRefinementServiceClient = await FindingsRefinementServiceClient.CreateAsync();
// Initialize request argument(s)
GetFindingsRefinementRequest request = new GetFindingsRefinementRequest
{
FindingsRefinementName = FindingsRefinementName.FromProjectLocationInstanceFindingsRefinement("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FINDINGS_REFINEMENT]"),
};
// Make the request
FindingsRefinement response = await findingsRefinementServiceClient.GetFindingsRefinementAsync(request);
GetFindingsRefinementAsync(string, CallSettings)
public virtual Task<FindingsRefinement> GetFindingsRefinementAsync(string name, CallSettings callSettings = null)Gets a single findings refinement.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the findings refinement to retrieve. Format: projects/{project}/locations/{location}/instances/{instance}/findingsRefinements/{findings_refinement} |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskFindingsRefinement |
A Task containing the RPC response. |
// Create client
FindingsRefinementServiceClient findingsRefinementServiceClient = await FindingsRefinementServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/instances/[INSTANCE]/findingsRefinements/[FINDINGS_REFINEMENT]";
// Make the request
FindingsRefinement response = await findingsRefinementServiceClient.GetFindingsRefinementAsync(name);
GetFindingsRefinementAsync(string, CancellationToken)
public virtual Task<FindingsRefinement> GetFindingsRefinementAsync(string name, CancellationToken cancellationToken)Gets a single findings refinement.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the findings refinement to retrieve. Format: projects/{project}/locations/{location}/instances/{instance}/findingsRefinements/{findings_refinement} |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskFindingsRefinement |
A Task containing the RPC response. |
// Create client
FindingsRefinementServiceClient findingsRefinementServiceClient = await FindingsRefinementServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/instances/[INSTANCE]/findingsRefinements/[FINDINGS_REFINEMENT]";
// Make the request
FindingsRefinement response = await findingsRefinementServiceClient.GetFindingsRefinementAsync(name);
GetFindingsRefinementDeployment(FindingsRefinementDeploymentName, CallSettings)
public virtual FindingsRefinementDeployment GetFindingsRefinementDeployment(FindingsRefinementDeploymentName name, CallSettings callSettings = null)Gets a findings refinement deployment.
| Parameters | |
|---|---|
| Name | Description |
name |
FindingsRefinementDeploymentNameRequired. The name of the findings refinement to retrieve. Format: projects/{project}/locations/{location}/instances/{instance}/findingsRefinements/{findings_refinement}/deployment |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
FindingsRefinementDeployment |
The RPC response. |
// Create client
FindingsRefinementServiceClient findingsRefinementServiceClient = FindingsRefinementServiceClient.Create();
// Initialize request argument(s)
FindingsRefinementDeploymentName name = FindingsRefinementDeploymentName.FromProjectLocationInstanceFindingsRefinement("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FINDINGS_REFINEMENT]");
// Make the request
FindingsRefinementDeployment response = findingsRefinementServiceClient.GetFindingsRefinementDeployment(name);
GetFindingsRefinementDeployment(GetFindingsRefinementDeploymentRequest, CallSettings)
public virtual FindingsRefinementDeployment GetFindingsRefinementDeployment(GetFindingsRefinementDeploymentRequest request, CallSettings callSettings = null)Gets a findings refinement deployment.
| Parameters | |
|---|---|
| Name | Description |
request |
GetFindingsRefinementDeploymentRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
FindingsRefinementDeployment |
The RPC response. |
// Create client
FindingsRefinementServiceClient findingsRefinementServiceClient = FindingsRefinementServiceClient.Create();
// Initialize request argument(s)
GetFindingsRefinementDeploymentRequest request = new GetFindingsRefinementDeploymentRequest
{
FindingsRefinementDeploymentName = FindingsRefinementDeploymentName.FromProjectLocationInstanceFindingsRefinement("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FINDINGS_REFINEMENT]"),
};
// Make the request
FindingsRefinementDeployment response = findingsRefinementServiceClient.GetFindingsRefinementDeployment(request);
GetFindingsRefinementDeployment(string, CallSettings)
public virtual FindingsRefinementDeployment GetFindingsRefinementDeployment(string name, CallSettings callSettings = null)Gets a findings refinement deployment.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the findings refinement to retrieve. Format: projects/{project}/locations/{location}/instances/{instance}/findingsRefinements/{findings_refinement}/deployment |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
FindingsRefinementDeployment |
The RPC response. |
// Create client
FindingsRefinementServiceClient findingsRefinementServiceClient = FindingsRefinementServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/instances/[INSTANCE]/findingsRefinements/[FINDINGS_REFINEMENT]/deployment";
// Make the request
FindingsRefinementDeployment response = findingsRefinementServiceClient.GetFindingsRefinementDeployment(name);
GetFindingsRefinementDeploymentAsync(FindingsRefinementDeploymentName, CallSettings)
public virtual Task<FindingsRefinementDeployment> GetFindingsRefinementDeploymentAsync(FindingsRefinementDeploymentName name, CallSettings callSettings = null)Gets a findings refinement deployment.
| Parameters | |
|---|---|
| Name | Description |
name |
FindingsRefinementDeploymentNameRequired. The name of the findings refinement to retrieve. Format: projects/{project}/locations/{location}/instances/{instance}/findingsRefinements/{findings_refinement}/deployment |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskFindingsRefinementDeployment |
A Task containing the RPC response. |
// Create client
FindingsRefinementServiceClient findingsRefinementServiceClient = await FindingsRefinementServiceClient.CreateAsync();
// Initialize request argument(s)
FindingsRefinementDeploymentName name = FindingsRefinementDeploymentName.FromProjectLocationInstanceFindingsRefinement("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FINDINGS_REFINEMENT]");
// Make the request
FindingsRefinementDeployment response = await findingsRefinementServiceClient.GetFindingsRefinementDeploymentAsync(name);
GetFindingsRefinementDeploymentAsync(FindingsRefinementDeploymentName, CancellationToken)
public virtual Task<FindingsRefinementDeployment> GetFindingsRefinementDeploymentAsync(FindingsRefinementDeploymentName name, CancellationToken cancellationToken)Gets a findings refinement deployment.
| Parameters | |
|---|---|
| Name | Description |
name |
FindingsRefinementDeploymentNameRequired. The name of the findings refinement to retrieve. Format: projects/{project}/locations/{location}/instances/{instance}/findingsRefinements/{findings_refinement}/deployment |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskFindingsRefinementDeployment |
A Task containing the RPC response. |
// Create client
FindingsRefinementServiceClient findingsRefinementServiceClient = await FindingsRefinementServiceClient.CreateAsync();
// Initialize request argument(s)
FindingsRefinementDeploymentName name = FindingsRefinementDeploymentName.FromProjectLocationInstanceFindingsRefinement("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FINDINGS_REFINEMENT]");
// Make the request
FindingsRefinementDeployment response = await findingsRefinementServiceClient.GetFindingsRefinementDeploymentAsync(name);
GetFindingsRefinementDeploymentAsync(GetFindingsRefinementDeploymentRequest, CallSettings)
public virtual Task<FindingsRefinementDeployment> GetFindingsRefinementDeploymentAsync(GetFindingsRefinementDeploymentRequest request, CallSettings callSettings = null)Gets a findings refinement deployment.
| Parameters | |
|---|---|
| Name | Description |
request |
GetFindingsRefinementDeploymentRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskFindingsRefinementDeployment |
A Task containing the RPC response. |
// Create client
FindingsRefinementServiceClient findingsRefinementServiceClient = await FindingsRefinementServiceClient.CreateAsync();
// Initialize request argument(s)
GetFindingsRefinementDeploymentRequest request = new GetFindingsRefinementDeploymentRequest
{
FindingsRefinementDeploymentName = FindingsRefinementDeploymentName.FromProjectLocationInstanceFindingsRefinement("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FINDINGS_REFINEMENT]"),
};
// Make the request
FindingsRefinementDeployment response = await findingsRefinementServiceClient.GetFindingsRefinementDeploymentAsync(request);
GetFindingsRefinementDeploymentAsync(GetFindingsRefinementDeploymentRequest, CancellationToken)
public virtual Task<FindingsRefinementDeployment> GetFindingsRefinementDeploymentAsync(GetFindingsRefinementDeploymentRequest request, CancellationToken cancellationToken)Gets a findings refinement deployment.
| Parameters | |
|---|---|
| Name | Description |
request |
GetFindingsRefinementDeploymentRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskFindingsRefinementDeployment |
A Task containing the RPC response. |
// Create client
FindingsRefinementServiceClient findingsRefinementServiceClient = await FindingsRefinementServiceClient.CreateAsync();
// Initialize request argument(s)
GetFindingsRefinementDeploymentRequest request = new GetFindingsRefinementDeploymentRequest
{
FindingsRefinementDeploymentName = FindingsRefinementDeploymentName.FromProjectLocationInstanceFindingsRefinement("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FINDINGS_REFINEMENT]"),
};
// Make the request
FindingsRefinementDeployment response = await findingsRefinementServiceClient.GetFindingsRefinementDeploymentAsync(request);
GetFindingsRefinementDeploymentAsync(string, CallSettings)
public virtual Task<FindingsRefinementDeployment> GetFindingsRefinementDeploymentAsync(string name, CallSettings callSettings = null)Gets a findings refinement deployment.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the findings refinement to retrieve. Format: projects/{project}/locations/{location}/instances/{instance}/findingsRefinements/{findings_refinement}/deployment |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskFindingsRefinementDeployment |
A Task containing the RPC response. |
// Create client
FindingsRefinementServiceClient findingsRefinementServiceClient = await FindingsRefinementServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/instances/[INSTANCE]/findingsRefinements/[FINDINGS_REFINEMENT]/deployment";
// Make the request
FindingsRefinementDeployment response = await findingsRefinementServiceClient.GetFindingsRefinementDeploymentAsync(name);
GetFindingsRefinementDeploymentAsync(string, CancellationToken)
public virtual Task<FindingsRefinementDeployment> GetFindingsRefinementDeploymentAsync(string name, CancellationToken cancellationToken)Gets a findings refinement deployment.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the findings refinement to retrieve. Format: projects/{project}/locations/{location}/instances/{instance}/findingsRefinements/{findings_refinement}/deployment |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskFindingsRefinementDeployment |
A Task containing the RPC response. |
// Create client
FindingsRefinementServiceClient findingsRefinementServiceClient = await FindingsRefinementServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/instances/[INSTANCE]/findingsRefinements/[FINDINGS_REFINEMENT]/deployment";
// Make the request
FindingsRefinementDeployment response = await findingsRefinementServiceClient.GetFindingsRefinementDeploymentAsync(name);
ListAllFindingsRefinementDeployments(InstanceName, string, int?, CallSettings)
public virtual PagedEnumerable<ListAllFindingsRefinementDeploymentsResponse, FindingsRefinementDeployment> ListAllFindingsRefinementDeployments(InstanceName instance, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists all findings refinement deployments.
| Parameters | |
|---|---|
| Name | Description |
instance |
InstanceNameRequired. The name of the parent resource, which is the SecOps instance to list all findings refinement deployments over. Format: projects/{project}/locations/{location}/instances/{instance} |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListAllFindingsRefinementDeploymentsResponseFindingsRefinementDeployment |
A pageable sequence of FindingsRefinementDeployment resources. |
// Create client
FindingsRefinementServiceClient findingsRefinementServiceClient = FindingsRefinementServiceClient.Create();
// Initialize request argument(s)
InstanceName instance = InstanceName.FromProjectLocationInstance("[PROJECT]", "[LOCATION]", "[INSTANCE]");
// Make the request
PagedEnumerable<ListAllFindingsRefinementDeploymentsResponse, FindingsRefinementDeployment> response = findingsRefinementServiceClient.ListAllFindingsRefinementDeployments(instance);
// Iterate over all response items, lazily performing RPCs as required
foreach (FindingsRefinementDeployment item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListAllFindingsRefinementDeploymentsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (FindingsRefinementDeployment item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<FindingsRefinementDeployment> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (FindingsRefinementDeployment item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListAllFindingsRefinementDeployments(ListAllFindingsRefinementDeploymentsRequest, CallSettings)
public virtual PagedEnumerable<ListAllFindingsRefinementDeploymentsResponse, FindingsRefinementDeployment> ListAllFindingsRefinementDeployments(ListAllFindingsRefinementDeploymentsRequest request, CallSettings callSettings = null)Lists all findings refinement deployments.
| Parameters | |
|---|---|
| Name | Description |
request |
ListAllFindingsRefinementDeploymentsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListAllFindingsRefinementDeploymentsResponseFindingsRefinementDeployment |
A pageable sequence of FindingsRefinementDeployment resources. |
// Create client
FindingsRefinementServiceClient findingsRefinementServiceClient = FindingsRefinementServiceClient.Create();
// Initialize request argument(s)
ListAllFindingsRefinementDeploymentsRequest request = new ListAllFindingsRefinementDeploymentsRequest
{
InstanceAsInstanceName = InstanceName.FromProjectLocationInstance("[PROJECT]", "[LOCATION]", "[INSTANCE]"),
Filter = "",
};
// Make the request
PagedEnumerable<ListAllFindingsRefinementDeploymentsResponse, FindingsRefinementDeployment> response = findingsRefinementServiceClient.ListAllFindingsRefinementDeployments(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (FindingsRefinementDeployment item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListAllFindingsRefinementDeploymentsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (FindingsRefinementDeployment item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<FindingsRefinementDeployment> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (FindingsRefinementDeployment item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListAllFindingsRefinementDeployments(string, string, int?, CallSettings)
public virtual PagedEnumerable<ListAllFindingsRefinementDeploymentsResponse, FindingsRefinementDeployment> ListAllFindingsRefinementDeployments(string instance, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists all findings refinement deployments.
| Parameters | |
|---|---|
| Name | Description |
instance |
stringRequired. The name of the parent resource, which is the SecOps instance to list all findings refinement deployments over. Format: projects/{project}/locations/{location}/instances/{instance} |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListAllFindingsRefinementDeploymentsResponseFindingsRefinementDeployment |
A pageable sequence of FindingsRefinementDeployment resources. |
// Create client
FindingsRefinementServiceClient findingsRefinementServiceClient = FindingsRefinementServiceClient.Create();
// Initialize request argument(s)
string instance = "projects/[PROJECT]/locations/[LOCATION]/instances/[INSTANCE]";
// Make the request
PagedEnumerable<ListAllFindingsRefinementDeploymentsResponse, FindingsRefinementDeployment> response = findingsRefinementServiceClient.ListAllFindingsRefinementDeployments(instance);
// Iterate over all response items, lazily performing RPCs as required
foreach (FindingsRefinementDeployment item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListAllFindingsRefinementDeploymentsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (FindingsRefinementDeployment item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<FindingsRefinementDeployment> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (FindingsRefinementDeployment item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListAllFindingsRefinementDeploymentsAsync(InstanceName, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListAllFindingsRefinementDeploymentsResponse, FindingsRefinementDeployment> ListAllFindingsRefinementDeploymentsAsync(InstanceName instance, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists all findings refinement deployments.
| Parameters | |
|---|---|
| Name | Description |
instance |
InstanceNameRequired. The name of the parent resource, which is the SecOps instance to list all findings refinement deployments over. Format: projects/{project}/locations/{location}/instances/{instance} |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListAllFindingsRefinementDeploymentsResponseFindingsRefinementDeployment |
A pageable asynchronous sequence of FindingsRefinementDeployment resources. |
// Create client
FindingsRefinementServiceClient findingsRefinementServiceClient = await FindingsRefinementServiceClient.CreateAsync();
// Initialize request argument(s)
InstanceName instance = InstanceName.FromProjectLocationInstance("[PROJECT]", "[LOCATION]", "[INSTANCE]");
// Make the request
PagedAsyncEnumerable<ListAllFindingsRefinementDeploymentsResponse, FindingsRefinementDeployment> response = findingsRefinementServiceClient.ListAllFindingsRefinementDeploymentsAsync(instance);
// Iterate over all response items, lazily performing RPCs as required
await foreach (FindingsRefinementDeployment item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (ListAllFindingsRefinementDeploymentsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (FindingsRefinementDeployment item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<FindingsRefinementDeployment> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (FindingsRefinementDeployment item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListAllFindingsRefinementDeploymentsAsync(ListAllFindingsRefinementDeploymentsRequest, CallSettings)
public virtual PagedAsyncEnumerable<ListAllFindingsRefinementDeploymentsResponse, FindingsRefinementDeployment> ListAllFindingsRefinementDeploymentsAsync(ListAllFindingsRefinementDeploymentsRequest request, CallSettings callSettings = null)Lists all findings refinement deployments.
| Parameters | |
|---|---|
| Name | Description |
request |
ListAllFindingsRefinementDeploymentsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListAllFindingsRefinementDeploymentsResponseFindingsRefinementDeployment |
A pageable asynchronous sequence of FindingsRefinementDeployment resources. |
// Create client
FindingsRefinementServiceClient findingsRefinementServiceClient = await FindingsRefinementServiceClient.CreateAsync();
// Initialize request argument(s)
ListAllFindingsRefinementDeploymentsRequest request = new ListAllFindingsRefinementDeploymentsRequest
{
InstanceAsInstanceName = InstanceName.FromProjectLocationInstance("[PROJECT]", "[LOCATION]", "[INSTANCE]"),
Filter = "",
};
// Make the request
PagedAsyncEnumerable<ListAllFindingsRefinementDeploymentsResponse, FindingsRefinementDeployment> response = findingsRefinementServiceClient.ListAllFindingsRefinementDeploymentsAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await foreach (FindingsRefinementDeployment item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (ListAllFindingsRefinementDeploymentsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (FindingsRefinementDeployment item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<FindingsRefinementDeployment> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (FindingsRefinementDeployment item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListAllFindingsRefinementDeploymentsAsync(string, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListAllFindingsRefinementDeploymentsResponse, FindingsRefinementDeployment> ListAllFindingsRefinementDeploymentsAsync(string instance, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists all findings refinement deployments.
| Parameters | |
|---|---|
| Name | Description |
instance |
stringRequired. The name of the parent resource, which is the SecOps instance to list all findings refinement deployments over. Format: projects/{project}/locations/{location}/instances/{instance} |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListAllFindingsRefinementDeploymentsResponseFindingsRefinementDeployment |
A pageable asynchronous sequence of FindingsRefinementDeployment resources. |
// Create client
FindingsRefinementServiceClient findingsRefinementServiceClient = await FindingsRefinementServiceClient.CreateAsync();
// Initialize request argument(s)
string instance = "projects/[PROJECT]/locations/[LOCATION]/instances/[INSTANCE]";
// Make the request
PagedAsyncEnumerable<ListAllFindingsRefinementDeploymentsResponse, FindingsRefinementDeployment> response = findingsRefinementServiceClient.ListAllFindingsRefinementDeploymentsAsync(instance);
// Iterate over all response items, lazily performing RPCs as required
await foreach (FindingsRefinementDeployment item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (ListAllFindingsRefinementDeploymentsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (FindingsRefinementDeployment item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<FindingsRefinementDeployment> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (FindingsRefinementDeployment item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListFindingsRefinements(InstanceName, string, int?, CallSettings)
public virtual PagedEnumerable<ListFindingsRefinementsResponse, FindingsRefinement> ListFindingsRefinements(InstanceName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists a collection of findings refinements.
| Parameters | |
|---|---|
| Name | Description |
parent |
InstanceNameRequired. The parent, which owns this collection of findings refinements. Format: projects/{project}/locations/{location}/instances/{instance} |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListFindingsRefinementsResponseFindingsRefinement |
A pageable sequence of FindingsRefinement resources. |
// Create client
FindingsRefinementServiceClient findingsRefinementServiceClient = FindingsRefinementServiceClient.Create();
// Initialize request argument(s)
InstanceName parent = InstanceName.FromProjectLocationInstance("[PROJECT]", "[LOCATION]", "[INSTANCE]");
// Make the request
PagedEnumerable<ListFindingsRefinementsResponse, FindingsRefinement> response = findingsRefinementServiceClient.ListFindingsRefinements(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (FindingsRefinement item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListFindingsRefinementsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (FindingsRefinement item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<FindingsRefinement> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (FindingsRefinement item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListFindingsRefinements(ListFindingsRefinementsRequest, CallSettings)
public virtual PagedEnumerable<ListFindingsRefinementsResponse, FindingsRefinement> ListFindingsRefinements(ListFindingsRefinementsRequest request, CallSettings callSettings = null)Lists a collection of findings refinements.
| Parameters | |
|---|---|
| Name | Description |
request |
ListFindingsRefinementsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListFindingsRefinementsResponseFindingsRefinement |
A pageable sequence of FindingsRefinement resources. |
// Create client
FindingsRefinementServiceClient findingsRefinementServiceClient = FindingsRefinementServiceClient.Create();
// Initialize request argument(s)
ListFindingsRefinementsRequest request = new ListFindingsRefinementsRequest
{
ParentAsInstanceName = InstanceName.FromProjectLocationInstance("[PROJECT]", "[LOCATION]", "[INSTANCE]"),
};
// Make the request
PagedEnumerable<ListFindingsRefinementsResponse, FindingsRefinement> response = findingsRefinementServiceClient.ListFindingsRefinements(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (FindingsRefinement item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListFindingsRefinementsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (FindingsRefinement item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<FindingsRefinement> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (FindingsRefinement item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListFindingsRefinements(string, string, int?, CallSettings)
public virtual PagedEnumerable<ListFindingsRefinementsResponse, FindingsRefinement> ListFindingsRefinements(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists a collection of findings refinements.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent, which owns this collection of findings refinements. Format: projects/{project}/locations/{location}/instances/{instance} |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListFindingsRefinementsResponseFindingsRefinement |
A pageable sequence of FindingsRefinement resources. |
// Create client
FindingsRefinementServiceClient findingsRefinementServiceClient = FindingsRefinementServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/instances/[INSTANCE]";
// Make the request
PagedEnumerable<ListFindingsRefinementsResponse, FindingsRefinement> response = findingsRefinementServiceClient.ListFindingsRefinements(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (FindingsRefinement item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListFindingsRefinementsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (FindingsRefinement item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<FindingsRefinement> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (FindingsRefinement item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListFindingsRefinementsAsync(InstanceName, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListFindingsRefinementsResponse, FindingsRefinement> ListFindingsRefinementsAsync(InstanceName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists a collection of findings refinements.
| Parameters | |
|---|---|
| Name | Description |
parent |
InstanceNameRequired. The parent, which owns this collection of findings refinements. Format: projects/{project}/locations/{location}/instances/{instance} |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListFindingsRefinementsResponseFindingsRefinement |
A pageable asynchronous sequence of FindingsRefinement resources. |
// Create client
FindingsRefinementServiceClient findingsRefinementServiceClient = await FindingsRefinementServiceClient.CreateAsync();
// Initialize request argument(s)
InstanceName parent = InstanceName.FromProjectLocationInstance("[PROJECT]", "[LOCATION]", "[INSTANCE]");
// Make the request
PagedAsyncEnumerable<ListFindingsRefinementsResponse, FindingsRefinement> response = findingsRefinementServiceClient.ListFindingsRefinementsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await foreach (FindingsRefinement item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (ListFindingsRefinementsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (FindingsRefinement item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<FindingsRefinement> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (FindingsRefinement item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListFindingsRefinementsAsync(ListFindingsRefinementsRequest, CallSettings)
public virtual PagedAsyncEnumerable<ListFindingsRefinementsResponse, FindingsRefinement> ListFindingsRefinementsAsync(ListFindingsRefinementsRequest request, CallSettings callSettings = null)Lists a collection of findings refinements.
| Parameters | |
|---|---|
| Name | Description |
request |
ListFindingsRefinementsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListFindingsRefinementsResponseFindingsRefinement |
A pageable asynchronous sequence of FindingsRefinement resources. |
// Create client
FindingsRefinementServiceClient findingsRefinementServiceClient = await FindingsRefinementServiceClient.CreateAsync();
// Initialize request argument(s)
ListFindingsRefinementsRequest request = new ListFindingsRefinementsRequest
{
ParentAsInstanceName = InstanceName.FromProjectLocationInstance("[PROJECT]", "[LOCATION]", "[INSTANCE]"),
};
// Make the request
PagedAsyncEnumerable<ListFindingsRefinementsResponse, FindingsRefinement> response = findingsRefinementServiceClient.ListFindingsRefinementsAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await foreach (FindingsRefinement item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (ListFindingsRefinementsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (FindingsRefinement item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<FindingsRefinement> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (FindingsRefinement item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListFindingsRefinementsAsync(string, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListFindingsRefinementsResponse, FindingsRefinement> ListFindingsRefinementsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists a collection of findings refinements.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent, which owns this collection of findings refinements. Format: projects/{project}/locations/{location}/instances/{instance} |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListFindingsRefinementsResponseFindingsRefinement |
A pageable asynchronous sequence of FindingsRefinement resources. |
// Create client
FindingsRefinementServiceClient findingsRefinementServiceClient = await FindingsRefinementServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/instances/[INSTANCE]";
// Make the request
PagedAsyncEnumerable<ListFindingsRefinementsResponse, FindingsRefinement> response = findingsRefinementServiceClient.ListFindingsRefinementsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await foreach (FindingsRefinement item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (ListFindingsRefinementsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (FindingsRefinement item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<FindingsRefinement> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (FindingsRefinement item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ShutdownDefaultChannelsAsync()
public static Task ShutdownDefaultChannelsAsync()Shuts down any channels automatically created by Create() and CreateAsync(CancellationToken). Channels which weren't automatically created are not affected.
| Returns | |
|---|---|
| Type | Description |
Task |
A task representing the asynchronous shutdown operation. |
After calling this method, further calls to Create() and CreateAsync(CancellationToken) will create new channels, which could in turn be shut down by another call to this method.
UpdateFindingsRefinement(FindingsRefinement, FieldMask, CallSettings)
public virtual FindingsRefinement UpdateFindingsRefinement(FindingsRefinement findingsRefinement, FieldMask updateMask, CallSettings callSettings = null)Updates a findings refinement.
| Parameters | |
|---|---|
| Name | Description |
findingsRefinement |
FindingsRefinementRequired. The findings refinement to update. The findings refinement's |
updateMask |
FieldMaskOptional. The list of fields to update. If |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
FindingsRefinement |
The RPC response. |
// Create client
FindingsRefinementServiceClient findingsRefinementServiceClient = FindingsRefinementServiceClient.Create();
// Initialize request argument(s)
FindingsRefinement findingsRefinement = new FindingsRefinement();
FieldMask updateMask = new FieldMask();
// Make the request
FindingsRefinement response = findingsRefinementServiceClient.UpdateFindingsRefinement(findingsRefinement, updateMask);
UpdateFindingsRefinement(UpdateFindingsRefinementRequest, CallSettings)
public virtual FindingsRefinement UpdateFindingsRefinement(UpdateFindingsRefinementRequest request, CallSettings callSettings = null)Updates a findings refinement.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateFindingsRefinementRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
FindingsRefinement |
The RPC response. |
// Create client
FindingsRefinementServiceClient findingsRefinementServiceClient = FindingsRefinementServiceClient.Create();
// Initialize request argument(s)
UpdateFindingsRefinementRequest request = new UpdateFindingsRefinementRequest
{
FindingsRefinement = new FindingsRefinement(),
UpdateMask = new FieldMask(),
};
// Make the request
FindingsRefinement response = findingsRefinementServiceClient.UpdateFindingsRefinement(request);
UpdateFindingsRefinementAsync(FindingsRefinement, FieldMask, CallSettings)
public virtual Task<FindingsRefinement> UpdateFindingsRefinementAsync(FindingsRefinement findingsRefinement, FieldMask updateMask, CallSettings callSettings = null)Updates a findings refinement.
| Parameters | |
|---|---|
| Name | Description |
findingsRefinement |
FindingsRefinementRequired. The findings refinement to update. The findings refinement's |
updateMask |
FieldMaskOptional. The list of fields to update. If |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskFindingsRefinement |
A Task containing the RPC response. |
// Create client
FindingsRefinementServiceClient findingsRefinementServiceClient = await FindingsRefinementServiceClient.CreateAsync();
// Initialize request argument(s)
FindingsRefinement findingsRefinement = new FindingsRefinement();
FieldMask updateMask = new FieldMask();
// Make the request
FindingsRefinement response = await findingsRefinementServiceClient.UpdateFindingsRefinementAsync(findingsRefinement, updateMask);
UpdateFindingsRefinementAsync(FindingsRefinement, FieldMask, CancellationToken)
public virtual Task<FindingsRefinement> UpdateFindingsRefinementAsync(FindingsRefinement findingsRefinement, FieldMask updateMask, CancellationToken cancellationToken)Updates a findings refinement.
| Parameters | |
|---|---|
| Name | Description |
findingsRefinement |
FindingsRefinementRequired. The findings refinement to update. The findings refinement's |
updateMask |
FieldMaskOptional. The list of fields to update. If |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskFindingsRefinement |
A Task containing the RPC response. |
// Create client
FindingsRefinementServiceClient findingsRefinementServiceClient = await FindingsRefinementServiceClient.CreateAsync();
// Initialize request argument(s)
FindingsRefinement findingsRefinement = new FindingsRefinement();
FieldMask updateMask = new FieldMask();
// Make the request
FindingsRefinement response = await findingsRefinementServiceClient.UpdateFindingsRefinementAsync(findingsRefinement, updateMask);
UpdateFindingsRefinementAsync(UpdateFindingsRefinementRequest, CallSettings)
public virtual Task<FindingsRefinement> UpdateFindingsRefinementAsync(UpdateFindingsRefinementRequest request, CallSettings callSettings = null)Updates a findings refinement.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateFindingsRefinementRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskFindingsRefinement |
A Task containing the RPC response. |
// Create client
FindingsRefinementServiceClient findingsRefinementServiceClient = await FindingsRefinementServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateFindingsRefinementRequest request = new UpdateFindingsRefinementRequest
{
FindingsRefinement = new FindingsRefinement(),
UpdateMask = new FieldMask(),
};
// Make the request
FindingsRefinement response = await findingsRefinementServiceClient.UpdateFindingsRefinementAsync(request);
UpdateFindingsRefinementAsync(UpdateFindingsRefinementRequest, CancellationToken)
public virtual Task<FindingsRefinement> UpdateFindingsRefinementAsync(UpdateFindingsRefinementRequest request, CancellationToken cancellationToken)Updates a findings refinement.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateFindingsRefinementRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskFindingsRefinement |
A Task containing the RPC response. |
// Create client
FindingsRefinementServiceClient findingsRefinementServiceClient = await FindingsRefinementServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateFindingsRefinementRequest request = new UpdateFindingsRefinementRequest
{
FindingsRefinement = new FindingsRefinement(),
UpdateMask = new FieldMask(),
};
// Make the request
FindingsRefinement response = await findingsRefinementServiceClient.UpdateFindingsRefinementAsync(request);
UpdateFindingsRefinementDeployment(FindingsRefinementDeployment, FieldMask, CallSettings)
public virtual FindingsRefinementDeployment UpdateFindingsRefinementDeployment(FindingsRefinementDeployment findingsRefinementDeployment, FieldMask updateMask, CallSettings callSettings = null)Updates a findings refinement deployment.
| Parameters | |
|---|---|
| Name | Description |
findingsRefinementDeployment |
FindingsRefinementDeploymentRequired. The findings refinement deployment to update. The findings refinement deployment's |
updateMask |
FieldMaskRequired. The list of fields to update. If |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
FindingsRefinementDeployment |
The RPC response. |
// Create client
FindingsRefinementServiceClient findingsRefinementServiceClient = FindingsRefinementServiceClient.Create();
// Initialize request argument(s)
FindingsRefinementDeployment findingsRefinementDeployment = new FindingsRefinementDeployment();
FieldMask updateMask = new FieldMask();
// Make the request
FindingsRefinementDeployment response = findingsRefinementServiceClient.UpdateFindingsRefinementDeployment(findingsRefinementDeployment, updateMask);
UpdateFindingsRefinementDeployment(UpdateFindingsRefinementDeploymentRequest, CallSettings)
public virtual FindingsRefinementDeployment UpdateFindingsRefinementDeployment(UpdateFindingsRefinementDeploymentRequest request, CallSettings callSettings = null)Updates a findings refinement deployment.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateFindingsRefinementDeploymentRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
FindingsRefinementDeployment |
The RPC response. |
// Create client
FindingsRefinementServiceClient findingsRefinementServiceClient = FindingsRefinementServiceClient.Create();
// Initialize request argument(s)
UpdateFindingsRefinementDeploymentRequest request = new UpdateFindingsRefinementDeploymentRequest
{
FindingsRefinementDeployment = new FindingsRefinementDeployment(),
UpdateMask = new FieldMask(),
};
// Make the request
FindingsRefinementDeployment response = findingsRefinementServiceClient.UpdateFindingsRefinementDeployment(request);
UpdateFindingsRefinementDeploymentAsync(FindingsRefinementDeployment, FieldMask, CallSettings)
public virtual Task<FindingsRefinementDeployment> UpdateFindingsRefinementDeploymentAsync(FindingsRefinementDeployment findingsRefinementDeployment, FieldMask updateMask, CallSettings callSettings = null)Updates a findings refinement deployment.
| Parameters | |
|---|---|
| Name | Description |
findingsRefinementDeployment |
FindingsRefinementDeploymentRequired. The findings refinement deployment to update. The findings refinement deployment's |
updateMask |
FieldMaskRequired. The list of fields to update. If |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskFindingsRefinementDeployment |
A Task containing the RPC response. |
// Create client
FindingsRefinementServiceClient findingsRefinementServiceClient = await FindingsRefinementServiceClient.CreateAsync();
// Initialize request argument(s)
FindingsRefinementDeployment findingsRefinementDeployment = new FindingsRefinementDeployment();
FieldMask updateMask = new FieldMask();
// Make the request
FindingsRefinementDeployment response = await findingsRefinementServiceClient.UpdateFindingsRefinementDeploymentAsync(findingsRefinementDeployment, updateMask);
UpdateFindingsRefinementDeploymentAsync(FindingsRefinementDeployment, FieldMask, CancellationToken)
public virtual Task<FindingsRefinementDeployment> UpdateFindingsRefinementDeploymentAsync(FindingsRefinementDeployment findingsRefinementDeployment, FieldMask updateMask, CancellationToken cancellationToken)Updates a findings refinement deployment.
| Parameters | |
|---|---|
| Name | Description |
findingsRefinementDeployment |
FindingsRefinementDeploymentRequired. The findings refinement deployment to update. The findings refinement deployment's |
updateMask |
FieldMaskRequired. The list of fields to update. If |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskFindingsRefinementDeployment |
A Task containing the RPC response. |
// Create client
FindingsRefinementServiceClient findingsRefinementServiceClient = await FindingsRefinementServiceClient.CreateAsync();
// Initialize request argument(s)
FindingsRefinementDeployment findingsRefinementDeployment = new FindingsRefinementDeployment();
FieldMask updateMask = new FieldMask();
// Make the request
FindingsRefinementDeployment response = await findingsRefinementServiceClient.UpdateFindingsRefinementDeploymentAsync(findingsRefinementDeployment, updateMask);
UpdateFindingsRefinementDeploymentAsync(UpdateFindingsRefinementDeploymentRequest, CallSettings)
public virtual Task<FindingsRefinementDeployment> UpdateFindingsRefinementDeploymentAsync(UpdateFindingsRefinementDeploymentRequest request, CallSettings callSettings = null)Updates a findings refinement deployment.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateFindingsRefinementDeploymentRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskFindingsRefinementDeployment |
A Task containing the RPC response. |
// Create client
FindingsRefinementServiceClient findingsRefinementServiceClient = await FindingsRefinementServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateFindingsRefinementDeploymentRequest request = new UpdateFindingsRefinementDeploymentRequest
{
FindingsRefinementDeployment = new FindingsRefinementDeployment(),
UpdateMask = new FieldMask(),
};
// Make the request
FindingsRefinementDeployment response = await findingsRefinementServiceClient.UpdateFindingsRefinementDeploymentAsync(request);
UpdateFindingsRefinementDeploymentAsync(UpdateFindingsRefinementDeploymentRequest, CancellationToken)
public virtual Task<FindingsRefinementDeployment> UpdateFindingsRefinementDeploymentAsync(UpdateFindingsRefinementDeploymentRequest request, CancellationToken cancellationToken)Updates a findings refinement deployment.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateFindingsRefinementDeploymentRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskFindingsRefinementDeployment |
A Task containing the RPC response. |
// Create client
FindingsRefinementServiceClient findingsRefinementServiceClient = await FindingsRefinementServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateFindingsRefinementDeploymentRequest request = new UpdateFindingsRefinementDeploymentRequest
{
FindingsRefinementDeployment = new FindingsRefinementDeployment(),
UpdateMask = new FieldMask(),
};
// Make the request
FindingsRefinementDeployment response = await findingsRefinementServiceClient.UpdateFindingsRefinementDeploymentAsync(request);