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.



456
457
458
# File 'lib/google/apis/looker_v1/classes.rb', line 456

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



420
421
422
# File 'lib/google/apis/looker_v1/classes.rb', line 420

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>)


426
427
428
# File 'lib/google/apis/looker_v1/classes.rb', line 426

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)


433
434
435
# File 'lib/google/apis/looker_v1/classes.rb', line 433

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)


439
440
441
# File 'lib/google/apis/looker_v1/classes.rb', line 439

def looker_instance
  @looker_instance
end

#looker_platform_editionString

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

Returns:

  • (String)


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

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)


449
450
451
# File 'lib/google/apis/looker_v1/classes.rb', line 449

def looker_version
  @looker_version
end

#sourceString

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

Returns:

  • (String)


454
455
456
# File 'lib/google/apis/looker_v1/classes.rb', line 454

def source
  @source
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



461
462
463
464
465
466
467
468
469
# File 'lib/google/apis/looker_v1/classes.rb', line 461

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