Class: Google::Apis::DeploymentmanagerAlpha::MethodMap

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

Deployment Manager will call these methods during the events of creation/ deletion/update/get/setIamPolicy

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) ⇒ MethodMap

Returns a new instance of MethodMap.


1388
1389
1390
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 1388

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

Instance Attribute Details

#createString

The action identifier for the create method to be used for this collection Corresponds to the JSON property create

Returns:

  • (String)

1365
1366
1367
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 1365

def create
  @create
end

#deleteString

The action identifier for the delete method to be used for this collection Corresponds to the JSON property delete

Returns:

  • (String)

1370
1371
1372
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 1370

def delete
  @delete
end

#getString

The action identifier for the get method to be used for this collection Corresponds to the JSON property get

Returns:

  • (String)

1375
1376
1377
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 1375

def get
  @get
end

#set_iam_policyString

The action identifier for the setIamPolicy method to be used for this collection Corresponds to the JSON property setIamPolicy

Returns:

  • (String)

1381
1382
1383
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 1381

def set_iam_policy
  @set_iam_policy
end

#updateString

The action identifier for the update method to be used for this collection Corresponds to the JSON property update

Returns:

  • (String)

1386
1387
1388
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 1386

def update
  @update
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


1393
1394
1395
1396
1397
1398
1399
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 1393

def update!(**args)
  @create = args[:create] if args.key?(:create)
  @delete = args[:delete] if args.key?(:delete)
  @get = args[:get] if args.key?(:get)
  @set_iam_policy = args[:set_iam_policy] if args.key?(:set_iam_policy)
  @update = args[:update] if args.key?(:update)
end