Reference documentation and code samples for the Compute V1 Client class GlobalOrganizationSetPolicyRequest.
Generated from protobuf message google.cloud.compute.v1.GlobalOrganizationSetPolicyRequest
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ bindings |
array<Google\Cloud\Compute\V1\Binding>
Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify bindings. |
↳ etag |
string
Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify the etag. |
↳ policy |
Google\Cloud\Compute\V1\Policy
REQUIRED: The complete policy to be applied to the 'resource'. The size of the policy is limited to a few 10s of KB. An empty policy is in general a valid policy but certain services (like Projects) might reject them. |
getBindings
Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify bindings.
Generated from protobuf field repeated .google.cloud.compute.v1.Binding bindings = 403251854;
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setBindings
Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify bindings.
Generated from protobuf field repeated .google.cloud.compute.v1.Binding bindings = 403251854;
Parameter | |
---|---|
Name | Description |
var |
array<Google\Cloud\Compute\V1\Binding>
|
Returns | |
---|---|
Type | Description |
$this |
getEtag
Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify the etag.
Generated from protobuf field optional string etag = 3123477;
Returns | |
---|---|
Type | Description |
string |
hasEtag
clearEtag
setEtag
Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify the etag.
Generated from protobuf field optional string etag = 3123477;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getPolicy
REQUIRED: The complete policy to be applied to the 'resource'. The size of the policy is limited to a few 10s of KB. An empty policy is in general a valid policy but certain services (like Projects) might reject them.
Generated from protobuf field optional .google.cloud.compute.v1.Policy policy = 91071794;
Returns | |
---|---|
Type | Description |
Google\Cloud\Compute\V1\Policy|null |
hasPolicy
clearPolicy
setPolicy
REQUIRED: The complete policy to be applied to the 'resource'. The size of the policy is limited to a few 10s of KB. An empty policy is in general a valid policy but certain services (like Projects) might reject them.
Generated from protobuf field optional .google.cloud.compute.v1.Policy policy = 91071794;
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Compute\V1\Policy
|
Returns | |
---|---|
Type | Description |
$this |