Class: Google::Apis::ConfigV1::ExportDeploymentStatefileRequest
- Inherits:
-
Object
- Object
- Google::Apis::ConfigV1::ExportDeploymentStatefileRequest
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/config_v1/classes.rb,
lib/google/apis/config_v1/representations.rb,
lib/google/apis/config_v1/representations.rb
Overview
A request to export a state file passed to a 'ExportDeploymentStatefile' call.
Instance Attribute Summary collapse
-
#draft ⇒ Boolean
(also: #draft?)
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ExportDeploymentStatefileRequest
constructor
A new instance of ExportDeploymentStatefileRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ExportDeploymentStatefileRequest
Returns a new instance of ExportDeploymentStatefileRequest.
509 510 511 |
# File 'lib/google/apis/config_v1/classes.rb', line 509 def initialize(**args) update!(**args) end |
Instance Attribute Details
#draft ⇒ Boolean Also known as: draft?
Optional. If this flag is set to true, the exported deployment state file will
be the draft state. This will enable the draft file to be validated before
copying it over to the working state on unlock.
Corresponds to the JSON property draft
506 507 508 |
# File 'lib/google/apis/config_v1/classes.rb', line 506 def draft @draft end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
514 515 516 |
# File 'lib/google/apis/config_v1/classes.rb', line 514 def update!(**args) @draft = args[:draft] if args.key?(:draft) end |