Class: Google::Apis::DeploymentmanagerV2beta::AsyncOptions
- Inherits:
-
Object
- Object
- Google::Apis::DeploymentmanagerV2beta::AsyncOptions
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/deploymentmanager_v2beta/classes.rb,
generated/google/apis/deploymentmanager_v2beta/representations.rb,
generated/google/apis/deploymentmanager_v2beta/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::DeploymentmanagerV2beta::PollingOptions
Corresponds to the JSON property
pollingOptions
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AsyncOptions
constructor
A new instance of AsyncOptions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AsyncOptions
Returns a new instance of AsyncOptions
39 40 41 |
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 39 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_v2beta/classes.rb', line 32 def method_match @method_match end |
#polling_options ⇒ Google::Apis::DeploymentmanagerV2beta::PollingOptions
Corresponds to the JSON property pollingOptions
37 38 39 |
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 37 def @polling_options end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
44 45 46 47 |
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 44 def update!(**args) @method_match = args[:method_match] if args.key?(:method_match) @polling_options = args[:polling_options] if args.key?(:polling_options) end |