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

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

Overview

An export. To work with Vault resources, the account must have the required Vault privileges and access to the matter. To access a matter, the account must have created the matter, have the matter shared with them, or have the View All Matters privilege.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Export

Returns a new instance of Export.



598
599
600
# File 'lib/google/apis/vault_v1/classes.rb', line 598

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



550
551
552
# File 'lib/google/apis/vault_v1/classes.rb', line 550

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)


555
556
557
# File 'lib/google/apis/vault_v1/classes.rb', line 555

def create_time
  @create_time
end

#export_optionsGoogle::Apis::VaultV1::ExportOptions

Additional options for exports Corresponds to the JSON property exportOptions



560
561
562
# File 'lib/google/apis/vault_v1/classes.rb', line 560

def export_options
  @export_options
end

#idString

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

Returns:

  • (String)


565
566
567
# File 'lib/google/apis/vault_v1/classes.rb', line 565

def id
  @id
end

#matter_idString

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

Returns:

  • (String)


570
571
572
# File 'lib/google/apis/vault_v1/classes.rb', line 570

def matter_id
  @matter_id
end

#nameString

The export name. Don't use special characters (~!$'(),;@:/?) in the name, they can prevent you from downloading exports. Corresponds to the JSON property name

Returns:

  • (String)


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

def name
  @name
end

#queryGoogle::Apis::VaultV1::Query

The query definition used for search and export. Corresponds to the JSON property query



581
582
583
# File 'lib/google/apis/vault_v1/classes.rb', line 581

def query
  @query
end

#requesterGoogle::Apis::VaultV1::UserInfo

User's information. Corresponds to the JSON property requester



586
587
588
# File 'lib/google/apis/vault_v1/classes.rb', line 586

def requester
  @requester
end

#statsGoogle::Apis::VaultV1::ExportStats

Progress information for an export. Corresponds to the JSON property stats



591
592
593
# File 'lib/google/apis/vault_v1/classes.rb', line 591

def stats
  @stats
end

#statusString

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

Returns:

  • (String)


596
597
598
# File 'lib/google/apis/vault_v1/classes.rb', line 596

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



603
604
605
606
607
608
609
610
611
612
613
614
# File 'lib/google/apis/vault_v1/classes.rb', line 603

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