Show / Hide Table of Contents

Class GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinition

Custom constraint definition. Defines this as a managed constraint.

Inheritance
object
GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinition
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.OrgPolicyAPI.v2.Data
Assembly: Google.Apis.OrgPolicyAPI.v2.dll
Syntax
public class GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinition : IDirectResponseSchema

Properties

ActionType

Allow or deny type.

Declaration
[JsonProperty("actionType")]
public virtual string ActionType { get; set; }
Property Value
Type Description
string

Condition

Org policy condition/expression. For example: resource.instanceName.matches("[production|test]_.*_(\d)+") or, resource.management.auto_upgrade == true The max length of the condition is 1000 characters.

Declaration
[JsonProperty("condition")]
public virtual string Condition { get; set; }
Property Value
Type Description
string

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

MethodTypes

All the operations being applied for this constraint.

Declaration
[JsonProperty("methodTypes")]
public virtual IList<string> MethodTypes { get; set; }
Property Value
Type Description
IList<string>

Parameters

Stores the structure of Parameters used by the constraint condition. The key of map represents the name of the parameter.

Declaration
[JsonProperty("parameters")]
public virtual IDictionary<string, GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinitionParameter> Parameters { get; set; }
Property Value
Type Description
IDictionary<string, GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinitionParameter>

ResourceTypes

The resource instance type on which this policy applies. Format will be of the form : / Example: * compute.googleapis.com/Instance.

Declaration
[JsonProperty("resourceTypes")]
public virtual IList<string> ResourceTypes { get; set; }
Property Value
Type Description
IList<string>

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX