Class: Google::Apis::LookerV1::ExportMetadata

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/looker_v1/classes.rb,
lib/google/apis/looker_v1/representations.rb,
lib/google/apis/looker_v1/representations.rb

Overview

ExportMetadata represents the metadata of the exported artifacts. The metadata. json file in export artifact can be parsed as this message

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ExportMetadata

Returns a new instance of ExportMetadata.



481
482
483
# File 'lib/google/apis/looker_v1/classes.rb', line 481

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

Instance Attribute Details

#export_encryption_keyGoogle::Apis::LookerV1::ExportMetadataEncryptionKey

Encryption key details for the exported artifact. Corresponds to the JSON property exportEncryptionKey



445
446
447
# File 'lib/google/apis/looker_v1/classes.rb', line 445

def export_encryption_key
  @export_encryption_key
end

#file_pathsArray<String>

List of files created as part of export artifact (excluding the metadata). The paths are relative to the folder containing the metadata. Corresponds to the JSON property filePaths

Returns:

  • (Array<String>)


451
452
453
# File 'lib/google/apis/looker_v1/classes.rb', line 451

def file_paths
  @file_paths
end

#looker_encryption_keyString

Looker encryption key, encrypted with the provided export encryption key. This value will only be populated if the looker instance uses Looker managed encryption instead of CMEK. Corresponds to the JSON property lookerEncryptionKey

Returns:

  • (String)


458
459
460
# File 'lib/google/apis/looker_v1/classes.rb', line 458

def looker_encryption_key
  @looker_encryption_key
end

#looker_instanceString

Name of the exported instance. Format: projects/project/locations/location/ instances/instance Corresponds to the JSON property lookerInstance

Returns:

  • (String)


464
465
466
# File 'lib/google/apis/looker_v1/classes.rb', line 464

def looker_instance
  @looker_instance
end

#looker_platform_editionString

Platform edition of the exported instance. Corresponds to the JSON property lookerPlatformEdition

Returns:

  • (String)


469
470
471
# File 'lib/google/apis/looker_v1/classes.rb', line 469

def looker_platform_edition
  @looker_platform_edition
end

#looker_versionString

Version of instance when the export was created. Corresponds to the JSON property lookerVersion

Returns:

  • (String)


474
475
476
# File 'lib/google/apis/looker_v1/classes.rb', line 474

def looker_version
  @looker_version
end

#sourceString

The source type of the migration. Corresponds to the JSON property source

Returns:

  • (String)


479
480
481
# File 'lib/google/apis/looker_v1/classes.rb', line 479

def source
  @source
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



486
487
488
489
490
491
492
493
494
# File 'lib/google/apis/looker_v1/classes.rb', line 486

def update!(**args)
  @export_encryption_key = args[:export_encryption_key] if args.key?(:export_encryption_key)
  @file_paths = args[:file_paths] if args.key?(:file_paths)
  @looker_encryption_key = args[:looker_encryption_key] if args.key?(:looker_encryption_key)
  @looker_instance = args[:looker_instance] if args.key?(:looker_instance)
  @looker_platform_edition = args[:looker_platform_edition] if args.key?(:looker_platform_edition)
  @looker_version = args[:looker_version] if args.key?(:looker_version)
  @source = args[:source] if args.key?(:source)
end