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

Constructor Details

#initialize(**args) ⇒ Export

Returns a new instance of Export.



576
577
578
# File 'generated/google/apis/vault_v1/classes.rb', line 576

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



529
530
531
# File 'generated/google/apis/vault_v1/classes.rb', line 529

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)


534
535
536
# File 'generated/google/apis/vault_v1/classes.rb', line 534

def create_time
  @create_time
end

#export_optionsGoogle::Apis::VaultV1::ExportOptions

Export advanced options Corresponds to the JSON property exportOptions



539
540
541
# File 'generated/google/apis/vault_v1/classes.rb', line 539

def export_options
  @export_options
end

#idString

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

Returns:

  • (String)


544
545
546
# File 'generated/google/apis/vault_v1/classes.rb', line 544

def id
  @id
end

#matter_idString

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

Returns:

  • (String)


549
550
551
# File 'generated/google/apis/vault_v1/classes.rb', line 549

def matter_id
  @matter_id
end

#nameString

The export name. Corresponds to the JSON property name

Returns:

  • (String)


554
555
556
# File 'generated/google/apis/vault_v1/classes.rb', line 554

def name
  @name
end

#queryGoogle::Apis::VaultV1::Query

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



559
560
561
# File 'generated/google/apis/vault_v1/classes.rb', line 559

def query
  @query
end

#requesterGoogle::Apis::VaultV1::UserInfo

User's information. Corresponds to the JSON property requester



564
565
566
# File 'generated/google/apis/vault_v1/classes.rb', line 564

def requester
  @requester
end

#statsGoogle::Apis::VaultV1::ExportStats

Stats of an export. Corresponds to the JSON property stats



569
570
571
# File 'generated/google/apis/vault_v1/classes.rb', line 569

def stats
  @stats
end

#statusString

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

Returns:

  • (String)


574
575
576
# File 'generated/google/apis/vault_v1/classes.rb', line 574

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



581
582
583
584
585
586
587
588
589
590
591
592
# File 'generated/google/apis/vault_v1/classes.rb', line 581

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