Class OrganizationsResource.LocationsResource.WorkloadsResource.EnableComplianceUpdatesRequest
This endpoint enables Assured Workloads service to offer compliance updates for the folder based
assured workload. It sets up an Assured Workloads Service Agent, having permissions to read
compliance controls (for example: Org Policies) applied on the workload. The caller must have
resourcemanager.folders.getIamPolicy
and resourcemanager.folders.setIamPolicy
permissions on the
assured workload folder.
Inheritance
AssuredworkloadsBaseServiceRequest<GoogleCloudAssuredworkloadsV1beta1EnableComplianceUpdatesResponse>
OrganizationsResource.LocationsResource.WorkloadsResource.EnableComplianceUpdatesRequest
Implements
Inherited Members
Namespace: Google.Apis.Assuredworkloads.v1beta1
Assembly: Google.Apis.Assuredworkloads.v1beta1.dll
Syntax
public class OrganizationsResource.LocationsResource.WorkloadsResource.EnableComplianceUpdatesRequest : AssuredworkloadsBaseServiceRequest<GoogleCloudAssuredworkloadsV1beta1EnableComplianceUpdatesResponse>, IClientServiceRequest<GoogleCloudAssuredworkloadsV1beta1EnableComplianceUpdatesResponse>, IClientServiceRequest
Constructors
EnableComplianceUpdatesRequest(IClientService, string)
Constructs a new EnableComplianceUpdates request.
Declaration
public EnableComplianceUpdatesRequest(IClientService service, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Name
Required. The name
field is used to identify the workload. Format:
organizations/{org_id}/locations/{location_id}/workloads/{workload_id}
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
InitParameters()
Initializes EnableComplianceUpdates parameter list.
Declaration
protected override void InitParameters()