Class: Google::Apis::VaultV1::ExportOptions

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

Export advanced options

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

Returns a new instance of ExportOptions



501
502
503
# File 'generated/google/apis/vault_v1/classes.rb', line 501

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

Instance Attribute Details

#drive_optionsGoogle::Apis::VaultV1::DriveExportOptions

The options for Drive export. Corresponds to the JSON property driveOptions



479
480
481
# File 'generated/google/apis/vault_v1/classes.rb', line 479

def drive_options
  @drive_options
end

#groups_optionsGoogle::Apis::VaultV1::GroupsExportOptions

The options for groups export. Corresponds to the JSON property groupsOptions



484
485
486
# File 'generated/google/apis/vault_v1/classes.rb', line 484

def groups_options
  @groups_options
end

#hangouts_chat_optionsGoogle::Apis::VaultV1::HangoutsChatExportOptions

The options for hangouts chat export. Corresponds to the JSON property hangoutsChatOptions



489
490
491
# File 'generated/google/apis/vault_v1/classes.rb', line 489

def hangouts_chat_options
  @hangouts_chat_options
end

#mail_optionsGoogle::Apis::VaultV1::MailExportOptions

The options for mail export. Corresponds to the JSON property mailOptions



494
495
496
# File 'generated/google/apis/vault_v1/classes.rb', line 494

def mail_options
  @mail_options
end

#regionString

The requested export location. Corresponds to the JSON property region

Returns:

  • (String)


499
500
501
# File 'generated/google/apis/vault_v1/classes.rb', line 499

def region
  @region
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



506
507
508
509
510
511
512
# File 'generated/google/apis/vault_v1/classes.rb', line 506

def update!(**args)
  @drive_options = args[:drive_options] if args.key?(:drive_options)
  @groups_options = args[:groups_options] if args.key?(:groups_options)
  @hangouts_chat_options = args[:hangouts_chat_options] if args.key?(:hangouts_chat_options)
  @mail_options = args[:mail_options] if args.key?(:mail_options)
  @region = args[:region] if args.key?(:region)
end