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

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

Additional options for exports

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ExportOptions

Returns a new instance of ExportOptions.



743
744
745
# File 'lib/google/apis/vault_v1/classes.rb', line 743

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

Instance Attribute Details

#calendar_optionsGoogle::Apis::VaultV1::CalendarExportOptions

The options for Calendar exports. Corresponds to the JSON property calendarOptions



711
712
713
# File 'lib/google/apis/vault_v1/classes.rb', line 711

def calendar_options
  @calendar_options
end

#drive_optionsGoogle::Apis::VaultV1::DriveExportOptions

Options for Drive exports. Corresponds to the JSON property driveOptions



716
717
718
# File 'lib/google/apis/vault_v1/classes.rb', line 716

def drive_options
  @drive_options
end

#groups_optionsGoogle::Apis::VaultV1::GroupsExportOptions

Options for Groups exports. Corresponds to the JSON property groupsOptions



721
722
723
# File 'lib/google/apis/vault_v1/classes.rb', line 721

def groups_options
  @groups_options
end

#hangouts_chat_optionsGoogle::Apis::VaultV1::HangoutsChatExportOptions

Options for Chat exports. Corresponds to the JSON property hangoutsChatOptions



726
727
728
# File 'lib/google/apis/vault_v1/classes.rb', line 726

def hangouts_chat_options
  @hangouts_chat_options
end

#mail_optionsGoogle::Apis::VaultV1::MailExportOptions

Options for Gmail exports. Corresponds to the JSON property mailOptions



731
732
733
# File 'lib/google/apis/vault_v1/classes.rb', line 731

def mail_options
  @mail_options
end

#regionString

The requested data region for the export. Corresponds to the JSON property region

Returns:

  • (String)


736
737
738
# File 'lib/google/apis/vault_v1/classes.rb', line 736

def region
  @region
end

#voice_optionsGoogle::Apis::VaultV1::VoiceExportOptions

The options for Voice exports. Corresponds to the JSON property voiceOptions



741
742
743
# File 'lib/google/apis/vault_v1/classes.rb', line 741

def voice_options
  @voice_options
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



748
749
750
751
752
753
754
755
756
# File 'lib/google/apis/vault_v1/classes.rb', line 748

def update!(**args)
  @calendar_options = args[:calendar_options] if args.key?(:calendar_options)
  @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)
  @voice_options = args[:voice_options] if args.key?(:voice_options)
end