Class: Google::Apis::DataformV1beta1::GcsRepositorySnapshotMetadata
- Inherits:
-
Object
- Object
- Google::Apis::DataformV1beta1::GcsRepositorySnapshotMetadata
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dataform_v1beta1/classes.rb,
lib/google/apis/dataform_v1beta1/representations.rb,
lib/google/apis/dataform_v1beta1/representations.rb
Overview
Metadata about a repository snapshot stored in Google Cloud Storage.
Instance Attribute Summary collapse
-
#crc32c_checksum ⇒ String
Output only.
-
#generation ⇒ Fixnum
Output only.
-
#repository_snapshot_uri ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GcsRepositorySnapshotMetadata
constructor
A new instance of GcsRepositorySnapshotMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GcsRepositorySnapshotMetadata
Returns a new instance of GcsRepositorySnapshotMetadata.
1613 1614 1615 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 1613 def initialize(**args) update!(**args) end |
Instance Attribute Details
#crc32c_checksum ⇒ String
Output only. The crc32c checksum of the repository snapshot, big-endian base64
encoded.
Corresponds to the JSON property crc32cChecksum
1600 1601 1602 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 1600 def crc32c_checksum @crc32c_checksum end |
#generation ⇒ Fixnum
Output only. The generation number of the Cloud Storage object. See https://
cloud.google.com/storage/docs/metadata#generation-number.
Corresponds to the JSON property generation
1606 1607 1608 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 1606 def generation @generation end |
#repository_snapshot_uri ⇒ String
Output only. The Google Cloud Storage URI of the repository snapshot.
Corresponds to the JSON property repositorySnapshotUri
1611 1612 1613 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 1611 def repository_snapshot_uri @repository_snapshot_uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1618 1619 1620 1621 1622 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 1618 def update!(**args) @crc32c_checksum = args[:crc32c_checksum] if args.key?(:crc32c_checksum) @generation = args[:generation] if args.key?(:generation) @repository_snapshot_uri = args[:repository_snapshot_uri] if args.key?(:repository_snapshot_uri) end |