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



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

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



472
473
474
# File 'generated/google/apis/vault_v1/classes.rb', line 472

def drive_options
  @drive_options
end

#groups_optionsGoogle::Apis::VaultV1::GroupsExportOptions

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



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

def groups_options
  @groups_options
end

#hangouts_chat_optionsGoogle::Apis::VaultV1::HangoutsChatExportOptions

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



482
483
484
# File 'generated/google/apis/vault_v1/classes.rb', line 482

def hangouts_chat_options
  @hangouts_chat_options
end

#mail_optionsGoogle::Apis::VaultV1::MailExportOptions

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



487
488
489
# File 'generated/google/apis/vault_v1/classes.rb', line 487

def mail_options
  @mail_options
end

#regionString

The requested export location. Corresponds to the JSON property region

Returns:

  • (String)


492
493
494
# File 'generated/google/apis/vault_v1/classes.rb', line 492

def region
  @region
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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