Class: Google::Apis::ConfigV1::PreviewOperationMetadata
- Inherits:
-
Object
- Object
- Google::Apis::ConfigV1::PreviewOperationMetadata
- 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
Ephemeral metadata content describing the state of a preview operation.
Instance Attribute Summary collapse
-
#build ⇒ String
Output only.
-
#logs ⇒ String
Output only.
-
#preview_artifacts ⇒ Google::Apis::ConfigV1::PreviewArtifacts
Artifacts created by preview.
-
#step ⇒ String
The current step the preview operation is running.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PreviewOperationMetadata
constructor
A new instance of PreviewOperationMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PreviewOperationMetadata
Returns a new instance of PreviewOperationMetadata.
1430 1431 1432 |
# File 'lib/google/apis/config_v1/classes.rb', line 1430 def initialize(**args) update!(**args) end |
Instance Attribute Details
#build ⇒ String
Output only. Cloud Build instance UUID associated with this preview.
Corresponds to the JSON property build
1413 1414 1415 |
# File 'lib/google/apis/config_v1/classes.rb', line 1413 def build @build end |
#logs ⇒ String
Output only. Location of preview logs in gs://
bucket/
object`format.
Corresponds to the JSON property
logs`
1418 1419 1420 |
# File 'lib/google/apis/config_v1/classes.rb', line 1418 def logs @logs end |
#preview_artifacts ⇒ Google::Apis::ConfigV1::PreviewArtifacts
Artifacts created by preview.
Corresponds to the JSON property previewArtifacts
1423 1424 1425 |
# File 'lib/google/apis/config_v1/classes.rb', line 1423 def preview_artifacts @preview_artifacts end |
#step ⇒ String
The current step the preview operation is running.
Corresponds to the JSON property step
1428 1429 1430 |
# File 'lib/google/apis/config_v1/classes.rb', line 1428 def step @step end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1435 1436 1437 1438 1439 1440 |
# File 'lib/google/apis/config_v1/classes.rb', line 1435 def update!(**args) @build = args[:build] if args.key?(:build) @logs = args[:logs] if args.key?(:logs) @preview_artifacts = args[:preview_artifacts] if args.key?(:preview_artifacts) @step = args[:step] if args.key?(:step) end |