Reference documentation and code samples for the Google Cloud Policy Simulator V1 Client class PolicyOverlay.
A change to an OrgPolicy.
Generated from protobuf message google.cloud.policysimulator.v1.OrgPolicyOverlay.PolicyOverlay
Namespace
Google \ Cloud \ PolicySimulator \ V1 \ OrgPolicyOverlayMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ policy_parent |
string
Optional. The parent of the policy we are attaching to. Example: "projects/123456" |
↳ policy |
Google\Cloud\OrgPolicy\V2\Policy
Optional. The new or updated OrgPolicy. |
getPolicyParent
Optional. The parent of the policy we are attaching to.
Example: "projects/123456"
Returns | |
---|---|
Type | Description |
string |
setPolicyParent
Optional. The parent of the policy we are attaching to.
Example: "projects/123456"
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getPolicy
Optional. The new or updated OrgPolicy.
Returns | |
---|---|
Type | Description |
Google\Cloud\OrgPolicy\V2\Policy|null |
hasPolicy
clearPolicy
setPolicy
Optional. The new or updated OrgPolicy.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\OrgPolicy\V2\Policy
|
Returns | |
---|---|
Type | Description |
$this |