Class: Google::Apis::DeploymentmanagerAlpha::MethodMap
- Inherits:
-
Object
- Object
- Google::Apis::DeploymentmanagerAlpha::MethodMap
- 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
-
#create ⇒ String
The action identifier for the create method to be used for this collection Corresponds to the JSON property
create. -
#delete ⇒ String
The action identifier for the delete method to be used for this collection Corresponds to the JSON property
delete. -
#get ⇒ String
The action identifier for the get method to be used for this collection Corresponds to the JSON property
get. -
#set_iam_policy ⇒ String
The action identifier for the setIamPolicy method to be used for this collection Corresponds to the JSON property
setIamPolicy. -
#update ⇒ String
The action identifier for the update method to be used for this collection Corresponds to the JSON property
update.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MethodMap
constructor
A new instance of MethodMap.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MethodMap
Returns a new instance of MethodMap.
1137 1138 1139 |
# File 'lib/google/apis/deploymentmanager_alpha/classes.rb', line 1137 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create ⇒ String
The action identifier for the create method to be used for this collection
Corresponds to the JSON property create
1114 1115 1116 |
# File 'lib/google/apis/deploymentmanager_alpha/classes.rb', line 1114 def create @create end |
#delete ⇒ String
The action identifier for the delete method to be used for this collection
Corresponds to the JSON property delete
1119 1120 1121 |
# File 'lib/google/apis/deploymentmanager_alpha/classes.rb', line 1119 def delete @delete end |
#get ⇒ String
The action identifier for the get method to be used for this collection
Corresponds to the JSON property get
1124 1125 1126 |
# File 'lib/google/apis/deploymentmanager_alpha/classes.rb', line 1124 def get @get end |
#set_iam_policy ⇒ String
The action identifier for the setIamPolicy method to be used for this
collection
Corresponds to the JSON property setIamPolicy
1130 1131 1132 |
# File 'lib/google/apis/deploymentmanager_alpha/classes.rb', line 1130 def set_iam_policy @set_iam_policy end |
#update ⇒ String
The action identifier for the update method to be used for this collection
Corresponds to the JSON property update
1135 1136 1137 |
# File 'lib/google/apis/deploymentmanager_alpha/classes.rb', line 1135 def update @update end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1142 1143 1144 1145 1146 1147 1148 |
# File 'lib/google/apis/deploymentmanager_alpha/classes.rb', line 1142 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 |