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

Inherits:
Object
  • Object
show all
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

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MethodMap

Returns a new instance of MethodMap.



1206
1207
1208
# File 'lib/google/apis/deploymentmanager_alpha/classes.rb', line 1206

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)


1183
1184
1185
# File 'lib/google/apis/deploymentmanager_alpha/classes.rb', line 1183

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)


1188
1189
1190
# File 'lib/google/apis/deploymentmanager_alpha/classes.rb', line 1188

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)


1193
1194
1195
# File 'lib/google/apis/deploymentmanager_alpha/classes.rb', line 1193

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)


1199
1200
1201
# File 'lib/google/apis/deploymentmanager_alpha/classes.rb', line 1199

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)


1204
1205
1206
# File 'lib/google/apis/deploymentmanager_alpha/classes.rb', line 1204

def update
  @update
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1211
1212
1213
1214
1215
1216
1217
# File 'lib/google/apis/deploymentmanager_alpha/classes.rb', line 1211

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