Class: Google::Apis::DeploymentmanagerV2beta::AsyncOptions

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AsyncOptions

Returns a new instance of AsyncOptions.



41
42
43
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 41

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

Instance Attribute Details

#method_matchString

Method regex where this policy will apply. Corresponds to the JSON property methodMatch

Returns:

  • (String)


32
33
34
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 32

def method_match
  @method_match
end

#polling_optionsGoogle::Apis::DeploymentmanagerV2beta::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_v2beta/classes.rb', line 39

def polling_options
  @polling_options
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



46
47
48
49
# File 'generated/google/apis/deploymentmanager_v2beta/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