Show / Hide Table of Contents

Class OrganizationsResource.LocationsResource.CustomersResource.WorkloadsResource.ViolationsResource

The "violations" collection of methods.

Inheritance
object
OrganizationsResource.LocationsResource.CustomersResource.WorkloadsResource.ViolationsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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: organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/violations/{violation}

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 organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}

Returns
Type Description
OrganizationsResource.LocationsResource.CustomersResource.WorkloadsResource.ViolationsResource.ListRequest
In this article
Back to top Generated by DocFX