Class: Google::Apis::DeploymentmanagerV2beta::ResourceAccessControl
- Inherits:
-
Object
- Object
- Google::Apis::DeploymentmanagerV2beta::ResourceAccessControl
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/deploymentmanager_v2beta/classes.rb,
generated/google/apis/deploymentmanager_v2beta/representations.rb,
generated/google/apis/deploymentmanager_v2beta/representations.rb
Overview
The access controls set on the resource.
Instance Attribute Summary collapse
-
#gcp_iam_policy ⇒ String
The GCP IAM Policy to set on the resource.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ResourceAccessControl
constructor
A new instance of ResourceAccessControl.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ResourceAccessControl
Returns a new instance of ResourceAccessControl.
1710 1711 1712 |
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 1710 def initialize(**args) update!(**args) end |
Instance Attribute Details
#gcp_iam_policy ⇒ String
The GCP IAM Policy to set on the resource.
Corresponds to the JSON property gcpIamPolicy
1708 1709 1710 |
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 1708 def gcp_iam_policy @gcp_iam_policy end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1715 1716 1717 |
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 1715 def update!(**args) @gcp_iam_policy = args[:gcp_iam_policy] if args.key?(:gcp_iam_policy) end |