Class OrganizationsResource.LocationsResource.CustomersResource.WorkloadsResource.ViolationsResource
The "violations" collection of methods.
Inheritance
OrganizationsResource.LocationsResource.CustomersResource.WorkloadsResource.ViolationsResource
Inherited Members
Namespace: Google.Apis.CloudControlsPartnerService.v1beta
Assembly: Google.Apis.CloudControlsPartnerService.v1beta.dll
Syntax
public class OrganizationsResource.LocationsResource.CustomersResource.WorkloadsResource.ViolationsResource
Constructors
ViolationsResource(IClientService)
Constructs a new resource.
Declaration
public ViolationsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Get(string)
Gets details of a single Violation.
Declaration
public virtual OrganizationsResource.LocationsResource.CustomersResource.WorkloadsResource.ViolationsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Format:
|
Returns
Type | Description |
---|---|
OrganizationsResource.LocationsResource.CustomersResource.WorkloadsResource.ViolationsResource.GetRequest |
List(string)
Lists Violations for a workload Callers may also choose to read across multiple Customers or
for a single customer as per AIP-159 by using '-' (the hyphen
or dash character) as a wildcard character instead of {customer} & {workload}.
Format:
organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}
Declaration
public virtual OrganizationsResource.LocationsResource.CustomersResource.WorkloadsResource.ViolationsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Parent resource Format
|
Returns
Type | Description |
---|---|
OrganizationsResource.LocationsResource.CustomersResource.WorkloadsResource.ViolationsResource.ListRequest |