Class: Google::Apis::DeploymentmanagerV2beta::PollingOptions
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::DeploymentmanagerV2beta::PollingOptions
 
- 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
- 
  
    
      #diagnostics  ⇒ Array<Google::Apis::DeploymentmanagerV2beta::Diagnostic> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    An array of diagnostics to be collected by Deployment Manager, these diagnostics will be displayed to the user. 
- 
  
    
      #fail_condition  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    JsonPath expression that determines if the request failed. 
- 
  
    
      #finish_condition  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    JsonPath expression that determines if the request is completed. 
- 
  
    
      #polling_link  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    JsonPath expression that evaluates to string, it indicates where to poll. 
- 
  
    
      #target_link  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    JsonPath expression, after polling is completed, indicates where to fetch the resource. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ PollingOptions 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of PollingOptions. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ PollingOptions
Returns a new instance of PollingOptions
| 1666 1667 1668 | # File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 1666 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#diagnostics ⇒ Array<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
| 1643 1644 1645 | # File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 1643 def diagnostics @diagnostics end | 
#fail_condition ⇒ String
JsonPath expression that determines if the request failed.
Corresponds to the JSON property failCondition
| 1648 1649 1650 | # File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 1648 def fail_condition @fail_condition end | 
#finish_condition ⇒ String
JsonPath expression that determines if the request is completed.
Corresponds to the JSON property finishCondition
| 1653 1654 1655 | # File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 1653 def finish_condition @finish_condition end | 
#polling_link ⇒ String
JsonPath expression that evaluates to string, it indicates where to poll.
Corresponds to the JSON property pollingLink
| 1658 1659 1660 | # File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 1658 def polling_link @polling_link end | 
#target_link ⇒ String
JsonPath expression, after polling is completed, indicates where to fetch the
resource.
Corresponds to the JSON property targetLink
| 1664 1665 1666 | # File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 1664 def target_link @target_link end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1671 1672 1673 1674 1675 1676 1677 | # File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 1671 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 |