Class: Google::Apis::DeploymentmanagerAlpha::AsyncOptions
- Inherits:
-
Object
- Object
- Google::Apis::DeploymentmanagerAlpha::AsyncOptions
- 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
Async options that determine when a resource should finish.
Instance Attribute Summary collapse
-
#method_match ⇒ String
Method regex where this policy will apply.
-
#polling_options ⇒ Google::Apis::DeploymentmanagerAlpha::PollingOptions
Deployment manager will poll instances for this API resource setting a RUNNING state, and blocking until polling conditions tell whether the resource is completed or failed.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AsyncOptions
constructor
A new instance of AsyncOptions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AsyncOptions
Returns a new instance of AsyncOptions.
41 42 43 |
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 41 def initialize(**args) update!(**args) end |
Instance Attribute Details
#method_match ⇒ String
Method regex where this policy will apply.
Corresponds to the JSON property methodMatch
32 33 34 |
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 32 def method_match @method_match end |
#polling_options ⇒ Google::Apis::DeploymentmanagerAlpha::PollingOptions
Deployment manager will poll instances for this API resource setting a RUNNING
state, and blocking until polling conditions tell whether the resource is
completed or failed.
Corresponds to the JSON property pollingOptions
39 40 41 |
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 39 def @polling_options end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
46 47 48 49 |
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 46 def update!(**args) @method_match = args[:method_match] if args.key?(:method_match) @polling_options = args[:polling_options] if args.key?(:polling_options) end |