Class: Google::Apis::RunV2::GoogleCloudRunV2ImageExportStatus
- Inherits:
-
Object
- Object
- Google::Apis::RunV2::GoogleCloudRunV2ImageExportStatus
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/run_v2/classes.rb,
lib/google/apis/run_v2/representations.rb,
lib/google/apis/run_v2/representations.rb
Overview
The status of an image export job.
Instance Attribute Summary collapse
-
#export_job_state ⇒ String
Output only.
-
#exported_image_digest ⇒ String
The exported image ID as it will appear in Artifact Registry.
-
#status ⇒ Google::Apis::RunV2::UtilStatusProto
Wire-format for a Status object Corresponds to the JSON property
status
. -
#tag ⇒ String
The image tag as it will appear in Artifact Registry.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRunV2ImageExportStatus
constructor
A new instance of GoogleCloudRunV2ImageExportStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRunV2ImageExportStatus
Returns a new instance of GoogleCloudRunV2ImageExportStatus.
1032 1033 1034 |
# File 'lib/google/apis/run_v2/classes.rb', line 1032 def initialize(**args) update!(**args) end |
Instance Attribute Details
#export_job_state ⇒ String
Output only. Has the image export job finished (regardless of successful or
failure).
Corresponds to the JSON property exportJobState
1015 1016 1017 |
# File 'lib/google/apis/run_v2/classes.rb', line 1015 def export_job_state @export_job_state end |
#exported_image_digest ⇒ String
The exported image ID as it will appear in Artifact Registry.
Corresponds to the JSON property exportedImageDigest
1020 1021 1022 |
# File 'lib/google/apis/run_v2/classes.rb', line 1020 def exported_image_digest @exported_image_digest end |
#status ⇒ Google::Apis::RunV2::UtilStatusProto
Wire-format for a Status object
Corresponds to the JSON property status
1025 1026 1027 |
# File 'lib/google/apis/run_v2/classes.rb', line 1025 def status @status end |
#tag ⇒ String
The image tag as it will appear in Artifact Registry.
Corresponds to the JSON property tag
1030 1031 1032 |
# File 'lib/google/apis/run_v2/classes.rb', line 1030 def tag @tag end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1037 1038 1039 1040 1041 1042 |
# File 'lib/google/apis/run_v2/classes.rb', line 1037 def update!(**args) @export_job_state = args[:export_job_state] if args.key?(:export_job_state) @exported_image_digest = args[:exported_image_digest] if args.key?(:exported_image_digest) @status = args[:status] if args.key?(:status) @tag = args[:tag] if args.key?(:tag) end |