Class: Google::Apis::DeploymentmanagerV2beta::ResourceAccessControl

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/deploymentmanager_v2beta/classes.rb,
lib/google/apis/deploymentmanager_v2beta/representations.rb,
lib/google/apis/deploymentmanager_v2beta/representations.rb

Overview

The access controls set on the resource.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ResourceAccessControl

Returns a new instance of ResourceAccessControl.



1844
1845
1846
# File 'lib/google/apis/deploymentmanager_v2beta/classes.rb', line 1844

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#gcp_iam_policyString

The GCP IAM Policy to set on the resource. Corresponds to the JSON property gcpIamPolicy

Returns:

  • (String)


1842
1843
1844
# File 'lib/google/apis/deploymentmanager_v2beta/classes.rb', line 1842

def gcp_iam_policy
  @gcp_iam_policy
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1849
1850
1851
# File 'lib/google/apis/deploymentmanager_v2beta/classes.rb', line 1849

def update!(**args)
  @gcp_iam_policy = args[:gcp_iam_policy] if args.key?(:gcp_iam_policy)
end