Class GoogleCloudAssuredworkloadsV1beta1OrgPolicy
This assured workload service object is used to represent the org policy attached to a resource. It servces the same purpose as the orgpolicy.v2.Policy object but with functionality that is limited to what is supported by Assured Workloads(e.g. only one rule under one OrgPolicy object, no conditions, etc).
Implements
Inherited Members
Namespace: Google.Apis.Assuredworkloads.v1beta1.Data
Assembly: Google.Apis.Assuredworkloads.v1beta1.dll
Syntax
public class GoogleCloudAssuredworkloadsV1beta1OrgPolicy : IDirectResponseSchema
Properties
Constraint
The constraint name of the OrgPolicy. e.g. "constraints/gcp.resourceLocations".
Declaration
[JsonProperty("constraint")]
public virtual string Constraint { 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 |
Inherit
If inherit
is true, policy rules of the lowest ancestor in the resource hierarchy chain are inherited. If
it is false, policy rules are not inherited.
Declaration
[JsonProperty("inherit")]
public virtual bool? Inherit { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Reset
Ignores policies set above this resource and restores to the constraint_default
value. reset
can only be
true when rules
is empty and inherit
is false.
Declaration
[JsonProperty("reset")]
public virtual bool? Reset { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Resource
Resource that the OrgPolicy attaches to. Format: folders/123" projects/123".
Declaration
[JsonProperty("resource")]
public virtual string Resource { get; set; }
Property Value
Type | Description |
---|---|
string |
Rule
The rule of the OrgPolicy.
Declaration
[JsonProperty("rule")]
public virtual GoogleCloudAssuredworkloadsV1beta1OrgPolicyPolicyRule Rule { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudAssuredworkloadsV1beta1OrgPolicyPolicyRule |