Show / Hide Table of Contents

Class OrganizationsResource.LocationsResource.OrgPolicyViolationsPreviewsResource

The "orgPolicyViolationsPreviews" collection of methods.

Inheritance
object
OrganizationsResource.LocationsResource.OrgPolicyViolationsPreviewsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.PolicySimulator.v1
Assembly: Google.Apis.PolicySimulator.v1.dll
Syntax
public class OrganizationsResource.LocationsResource.OrgPolicyViolationsPreviewsResource

Constructors

OrgPolicyViolationsPreviewsResource(IClientService)

Constructs a new resource.

Declaration
public OrgPolicyViolationsPreviewsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Properties

Operations

Gets the Operations resource.

Declaration
public virtual OrganizationsResource.LocationsResource.OrgPolicyViolationsPreviewsResource.OperationsResource Operations { get; }
Property Value
Type Description
OrganizationsResource.LocationsResource.OrgPolicyViolationsPreviewsResource.OperationsResource

OrgPolicyViolations

Gets the OrgPolicyViolations resource.

Declaration
public virtual OrganizationsResource.LocationsResource.OrgPolicyViolationsPreviewsResource.OrgPolicyViolationsResource OrgPolicyViolations { get; }
Property Value
Type Description
OrganizationsResource.LocationsResource.OrgPolicyViolationsPreviewsResource.OrgPolicyViolationsResource

Methods

Create(GoogleCloudPolicysimulatorV1OrgPolicyViolationsPreview, string)

CreateOrgPolicyViolationsPreview creates an OrgPolicyViolationsPreview for the proposed changes in the provided OrgPolicyViolationsPreview.OrgPolicyOverlay. The changes to OrgPolicy are specified by this OrgPolicyOverlay. The resources to scan are inferred from these specified changes.

Declaration
public virtual OrganizationsResource.LocationsResource.OrgPolicyViolationsPreviewsResource.CreateRequest Create(GoogleCloudPolicysimulatorV1OrgPolicyViolationsPreview body, string parent)
Parameters
Type Name Description
GoogleCloudPolicysimulatorV1OrgPolicyViolationsPreview body

The body of the request.

string parent

Required. The organization under which this OrgPolicyViolationsPreview will be created. Example: organizations/my-example-org/locations/global

Returns
Type Description
OrganizationsResource.LocationsResource.OrgPolicyViolationsPreviewsResource.CreateRequest

Get(string)

GetOrgPolicyViolationsPreview gets the specified OrgPolicyViolationsPreview. Each OrgPolicyViolationsPreview is available for at least 7 days.

Declaration
public virtual OrganizationsResource.LocationsResource.OrgPolicyViolationsPreviewsResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. The name of the OrgPolicyViolationsPreview to get.

Returns
Type Description
OrganizationsResource.LocationsResource.OrgPolicyViolationsPreviewsResource.GetRequest

List(string)

ListOrgPolicyViolationsPreviews lists each OrgPolicyViolationsPreview in an organization. Each OrgPolicyViolationsPreview is available for at least 7 days.

Declaration
public virtual OrganizationsResource.LocationsResource.OrgPolicyViolationsPreviewsResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. The parent the violations are scoped to. Format: organizations/{organization}/locations/{location} Example: organizations/my-example-org/locations/global

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