Class: Google::Apis::DeploymentmanagerAlpha::PollingOptions
- Inherits:
-
Object
- Object
- Google::Apis::DeploymentmanagerAlpha::PollingOptions
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/deploymentmanager_alpha/classes.rb,
lib/google/apis/deploymentmanager_alpha/representations.rb,
lib/google/apis/deploymentmanager_alpha/representations.rb
Instance Attribute Summary collapse
-
#diagnostics ⇒ Array<Google::Apis::DeploymentmanagerAlpha::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.
Constructor Details
#initialize(**args) ⇒ PollingOptions
Returns a new instance of PollingOptions.
1994 1995 1996 |
# File 'lib/google/apis/deploymentmanager_alpha/classes.rb', line 1994 def initialize(**args) update!(**args) end |
Instance Attribute Details
#diagnostics ⇒ Array<Google::Apis::DeploymentmanagerAlpha::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
1971 1972 1973 |
# File 'lib/google/apis/deploymentmanager_alpha/classes.rb', line 1971 def diagnostics @diagnostics end |
#fail_condition ⇒ String
JsonPath expression that determines if the request failed.
Corresponds to the JSON property failCondition
1976 1977 1978 |
# File 'lib/google/apis/deploymentmanager_alpha/classes.rb', line 1976 def fail_condition @fail_condition end |
#finish_condition ⇒ String
JsonPath expression that determines if the request is completed.
Corresponds to the JSON property finishCondition
1981 1982 1983 |
# File 'lib/google/apis/deploymentmanager_alpha/classes.rb', line 1981 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
1986 1987 1988 |
# File 'lib/google/apis/deploymentmanager_alpha/classes.rb', line 1986 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
1992 1993 1994 |
# File 'lib/google/apis/deploymentmanager_alpha/classes.rb', line 1992 def target_link @target_link end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1999 2000 2001 2002 2003 2004 2005 |
# File 'lib/google/apis/deploymentmanager_alpha/classes.rb', line 1999 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 |