Class: Google::Apis::DeploymentmanagerAlpha::ResourceAccessControl
- Inherits:
-
Object
- Object
- Google::Apis::DeploymentmanagerAlpha::ResourceAccessControl
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/deploymentmanager_alpha/classes.rb,
lib/google/apis/deploymentmanager_alpha/representations.rb,
lib/google/apis/deploymentmanager_alpha/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.
2237 2238 2239 |
# File 'lib/google/apis/deploymentmanager_alpha/classes.rb', line 2237 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
2235 2236 2237 |
# File 'lib/google/apis/deploymentmanager_alpha/classes.rb', line 2235 def gcp_iam_policy @gcp_iam_policy end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2242 2243 2244 |
# File 'lib/google/apis/deploymentmanager_alpha/classes.rb', line 2242 def update!(**args) @gcp_iam_policy = args[:gcp_iam_policy] if args.key?(:gcp_iam_policy) end |