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.



468
469
470
# File 'generated/google/apis/vault_v1/classes.rb', line 468

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



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

def drive_options
  @drive_options
end

#groups_optionsGoogle::Apis::VaultV1::GroupsExportOptions

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



451
452
453
# File 'generated/google/apis/vault_v1/classes.rb', line 451

def groups_options
  @groups_options
end

#hangouts_chat_optionsGoogle::Apis::VaultV1::HangoutsChatExportOptions

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



456
457
458
# File 'generated/google/apis/vault_v1/classes.rb', line 456

def hangouts_chat_options
  @hangouts_chat_options
end

#mail_optionsGoogle::Apis::VaultV1::MailExportOptions

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



461
462
463
# File 'generated/google/apis/vault_v1/classes.rb', line 461

def mail_options
  @mail_options
end

#regionString

The requested export location. Corresponds to the JSON property region

Returns:

  • (String)


466
467
468
# File 'generated/google/apis/vault_v1/classes.rb', line 466

def region
  @region
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



473
474
475
476
477
478
479
# File 'generated/google/apis/vault_v1/classes.rb', line 473

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