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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

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_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

Corresponds to the JSON property pollingOptions



37
38
39
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 37

def polling_options
  @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