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.



1613
1614
1615
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 1613

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)


1600
1601
1602
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 1600

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)


1606
1607
1608
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 1606

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)


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