Class OrganizationsResource.LocationsResource.WorkloadsResource.EnableResourceMonitoringRequest
Enable resource violation monitoring for a workload.
Inheritance
OrganizationsResource.LocationsResource.WorkloadsResource.EnableResourceMonitoringRequest
Implements
Inherited Members
Namespace: Google.Apis.Assuredworkloads.v1
Assembly: Google.Apis.Assuredworkloads.v1.dll
Syntax
public class OrganizationsResource.LocationsResource.WorkloadsResource.EnableResourceMonitoringRequest : AssuredworkloadsBaseServiceRequest<GoogleCloudAssuredworkloadsV1EnableResourceMonitoringResponse>, IClientServiceRequest<GoogleCloudAssuredworkloadsV1EnableResourceMonitoringResponse>, 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()