Class: Google::Apis::DeploymentmanagerV2::ResourceAccessControl

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

Overview

The access controls set on the resource.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ResourceAccessControl

Returns a new instance of ResourceAccessControl.



1426
1427
1428
# File 'generated/google/apis/deploymentmanager_v2/classes.rb', line 1426

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)


1424
1425
1426
# File 'generated/google/apis/deploymentmanager_v2/classes.rb', line 1424

def gcp_iam_policy
  @gcp_iam_policy
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1431
1432
1433
# File 'generated/google/apis/deploymentmanager_v2/classes.rb', line 1431

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