Class: Google::Apis::DeploymentmanagerV2beta::PollingOptions

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

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) ⇒ PollingOptions

Returns a new instance of PollingOptions



1611
1612
1613
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 1611

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

Instance Attribute Details

#diagnosticsArray<Google::Apis::DeploymentmanagerV2beta::Diagnostic>

An array of diagnostics to be collected by Deployment Manager, these diagnostics will be displayed to the user. Corresponds to the JSON property diagnostics



1588
1589
1590
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 1588

def diagnostics
  @diagnostics
end

#fail_conditionString

JsonPath expression that determines if the request failed. Corresponds to the JSON property failCondition

Returns:

  • (String)


1593
1594
1595
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 1593

def fail_condition
  @fail_condition
end

#finish_conditionString

JsonPath expression that determines if the request is completed. Corresponds to the JSON property finishCondition

Returns:

  • (String)


1598
1599
1600
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 1598

def finish_condition
  @finish_condition
end

JsonPath expression that evaluates to string, it indicates where to poll. Corresponds to the JSON property pollingLink

Returns:

  • (String)


1603
1604
1605
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 1603

def polling_link
  @polling_link
end

JsonPath expression, after polling is completed, indicates where to fetch the resource. Corresponds to the JSON property targetLink

Returns:

  • (String)


1609
1610
1611
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 1609

def target_link
  @target_link
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1616
1617
1618
1619
1620
1621
1622
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 1616

def update!(**args)
  @diagnostics = args[:diagnostics] if args.key?(:diagnostics)
  @fail_condition = args[:fail_condition] if args.key?(:fail_condition)
  @finish_condition = args[:finish_condition] if args.key?(:finish_condition)
  @polling_link = args[:polling_link] if args.key?(:polling_link)
  @target_link = args[:target_link] if args.key?(:target_link)
end