Class: Google::Apis::DeploymentmanagerAlpha::ResourceAccessControl

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/deploymentmanager_alpha/classes.rb,
generated/google/apis/deploymentmanager_alpha/representations.rb,
generated/google/apis/deploymentmanager_alpha/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.



1817
1818
1819
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 1817

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)


1815
1816
1817
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 1815

def gcp_iam_policy
  @gcp_iam_policy
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1822
1823
1824
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 1822

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