Class: Google::Apis::DataformV1beta1::GcsRepositorySnapshotMetadata

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GcsRepositorySnapshotMetadata

Returns a new instance of GcsRepositorySnapshotMetadata.



1761
1762
1763
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 1761

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#crc32c_checksumString

Output only. The crc32c checksum of the repository snapshot, big-endian base64 encoded. Corresponds to the JSON property crc32cChecksum

Returns:

  • (String)


1748
1749
1750
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 1748

def crc32c_checksum
  @crc32c_checksum
end

#generationFixnum

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

Returns:

  • (Fixnum)


1754
1755
1756
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 1754

def generation
  @generation
end

#repository_snapshot_uriString

Output only. The Google Cloud Storage URI of the repository snapshot. Corresponds to the JSON property repositorySnapshotUri

Returns:

  • (String)


1759
1760
1761
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 1759

def repository_snapshot_uri
  @repository_snapshot_uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1766
1767
1768
1769
1770
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 1766

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