Class: Google::Apis::VaultV1::Export

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

Overview

An export

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Export

Returns a new instance of Export



446
447
448
# File 'generated/google/apis/vault_v1/classes.rb', line 446

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

Instance Attribute Details

#cloud_storage_sinkGoogle::Apis::VaultV1::CloudStorageSink

Export sink for cloud storage files. Corresponds to the JSON property cloudStorageSink



399
400
401
# File 'generated/google/apis/vault_v1/classes.rb', line 399

def cloud_storage_sink
  @cloud_storage_sink
end

#create_timeString

Output only. The time when the export was created. Corresponds to the JSON property createTime

Returns:

  • (String)


404
405
406
# File 'generated/google/apis/vault_v1/classes.rb', line 404

def create_time
  @create_time
end

#export_optionsGoogle::Apis::VaultV1::ExportOptions

Export advanced options Corresponds to the JSON property exportOptions



409
410
411
# File 'generated/google/apis/vault_v1/classes.rb', line 409

def export_options
  @export_options
end

#idString

Output only. The generated export ID. Corresponds to the JSON property id

Returns:

  • (String)


414
415
416
# File 'generated/google/apis/vault_v1/classes.rb', line 414

def id
  @id
end

#matter_idString

Output only. The matter ID. Corresponds to the JSON property matterId

Returns:

  • (String)


419
420
421
# File 'generated/google/apis/vault_v1/classes.rb', line 419

def matter_id
  @matter_id
end

#nameString

The export name. Corresponds to the JSON property name

Returns:

  • (String)


424
425
426
# File 'generated/google/apis/vault_v1/classes.rb', line 424

def name
  @name
end

#queryGoogle::Apis::VaultV1::Query

A query definition relevant for search & export. Corresponds to the JSON property query



429
430
431
# File 'generated/google/apis/vault_v1/classes.rb', line 429

def query
  @query
end

#requesterGoogle::Apis::VaultV1::UserInfo

User's information. Corresponds to the JSON property requester



434
435
436
# File 'generated/google/apis/vault_v1/classes.rb', line 434

def requester
  @requester
end

#statsGoogle::Apis::VaultV1::ExportStats

Stats of an export. Corresponds to the JSON property stats



439
440
441
# File 'generated/google/apis/vault_v1/classes.rb', line 439

def stats
  @stats
end

#statusString

Output only. The export status. Corresponds to the JSON property status

Returns:

  • (String)


444
445
446
# File 'generated/google/apis/vault_v1/classes.rb', line 444

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



451
452
453
454
455
456
457
458
459
460
461
462
# File 'generated/google/apis/vault_v1/classes.rb', line 451

def update!(**args)
  @cloud_storage_sink = args[:cloud_storage_sink] if args.key?(:cloud_storage_sink)
  @create_time = args[:create_time] if args.key?(:create_time)
  @export_options = args[:export_options] if args.key?(:export_options)
  @id = args[:id] if args.key?(:id)
  @matter_id = args[:matter_id] if args.key?(:matter_id)
  @name = args[:name] if args.key?(:name)
  @query = args[:query] if args.key?(:query)
  @requester = args[:requester] if args.key?(:requester)
  @stats = args[:stats] if args.key?(:stats)
  @status = args[:status] if args.key?(:status)
end