Class: Google::Apis::DataformV1::GcsRepositorySnapshotMetadata

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dataform_v1/classes.rb,
lib/google/apis/dataform_v1/representations.rb,
lib/google/apis/dataform_v1/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.



1588
1589
1590
# File 'lib/google/apis/dataform_v1/classes.rb', line 1588

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)


1575
1576
1577
# File 'lib/google/apis/dataform_v1/classes.rb', line 1575

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)


1581
1582
1583
# File 'lib/google/apis/dataform_v1/classes.rb', line 1581

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)


1586
1587
1588
# File 'lib/google/apis/dataform_v1/classes.rb', line 1586

def repository_snapshot_uri
  @repository_snapshot_uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1593
1594
1595
1596
1597
# File 'lib/google/apis/dataform_v1/classes.rb', line 1593

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