Class OrganizationsResource.LocationsResource.WorkloadsResource.EnableResourceMonitoringRequest
Enable resource violation monitoring for a workload.
Inheritance
AssuredworkloadsBaseServiceRequest<GoogleCloudAssuredworkloadsV1beta1EnableResourceMonitoringResponse>
OrganizationsResource.LocationsResource.WorkloadsResource.EnableResourceMonitoringRequest
Implements
Inherited Members
Namespace: Google.Apis.Assuredworkloads.v1beta1
Assembly: Google.Apis.Assuredworkloads.v1beta1.dll
Syntax
public class OrganizationsResource.LocationsResource.WorkloadsResource.EnableResourceMonitoringRequest : AssuredworkloadsBaseServiceRequest<GoogleCloudAssuredworkloadsV1beta1EnableResourceMonitoringResponse>, IClientServiceRequest<GoogleCloudAssuredworkloadsV1beta1EnableResourceMonitoringResponse>, IClientServiceRequest
Constructors
EnableResourceMonitoringRequest(IClientService, string)
Constructs a new EnableResourceMonitoring request.
Declaration
public EnableResourceMonitoringRequest(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 EnableResourceMonitoring parameter list.
Declaration
protected override void InitParameters()