Autogenerated update (2018-03-04)

Update:
- vault_v1
This commit is contained in:
Google APIs 2018-03-04 00:36:08 +00:00
parent 4efe498900
commit 5b85c49a25
4 changed files with 45 additions and 1 deletions

View File

@ -69272,6 +69272,7 @@
"/vault:v1/CorpusQuery": corpus_query
"/vault:v1/CorpusQuery/driveQuery": drive_query
"/vault:v1/CorpusQuery/groupsQuery": groups_query
"/vault:v1/CorpusQuery/hangoutsChatQuery": hangouts_chat_query
"/vault:v1/CorpusQuery/mailQuery": mail_query
"/vault:v1/Empty": empty
"/vault:v1/HeldAccount": held_account
@ -69283,6 +69284,8 @@
"/vault:v1/HeldGroupsQuery/endTime": end_time
"/vault:v1/HeldGroupsQuery/startTime": start_time
"/vault:v1/HeldGroupsQuery/terms": terms
"/vault:v1/HeldHangoutsChatQuery": held_hangouts_chat_query
"/vault:v1/HeldHangoutsChatQuery/includeRooms": include_rooms
"/vault:v1/HeldMailQuery": held_mail_query
"/vault:v1/HeldMailQuery/endTime": end_time
"/vault:v1/HeldMailQuery/startTime": start_time

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/vault
module VaultV1
VERSION = 'V1'
REVISION = '20180217'
REVISION = '20180303'
# Manage your eDiscovery data
AUTH_EDISCOVERY = 'https://www.googleapis.com/auth/ediscovery'

View File

@ -108,6 +108,11 @@ module Google
# @return [Google::Apis::VaultV1::HeldGroupsQuery]
attr_accessor :groups_query
# Query options for hangouts chat holds.
# Corresponds to the JSON property `hangoutsChatQuery`
# @return [Google::Apis::VaultV1::HeldHangoutsChatQuery]
attr_accessor :hangouts_chat_query
# Query options for mail holds.
# Corresponds to the JSON property `mailQuery`
# @return [Google::Apis::VaultV1::HeldMailQuery]
@ -121,6 +126,7 @@ module Google
def update!(**args)
@drive_query = args[:drive_query] if args.key?(:drive_query)
@groups_query = args[:groups_query] if args.key?(:groups_query)
@hangouts_chat_query = args[:hangouts_chat_query] if args.key?(:hangouts_chat_query)
@mail_query = args[:mail_query] if args.key?(:mail_query)
end
end
@ -224,6 +230,26 @@ module Google
end
end
# Query options for hangouts chat holds.
class HeldHangoutsChatQuery
include Google::Apis::Core::Hashable
# If true, include rooms the user has participated in.
# Corresponds to the JSON property `includeRooms`
# @return [Boolean]
attr_accessor :include_rooms
alias_method :include_rooms?, :include_rooms
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@include_rooms = args[:include_rooms] if args.key?(:include_rooms)
end
end
# Query options for mail holds.
class HeldMailQuery
include Google::Apis::Core::Hashable

View File

@ -70,6 +70,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class HeldHangoutsChatQuery
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class HeldMailQuery
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -173,6 +179,8 @@ module Google
property :groups_query, as: 'groupsQuery', class: Google::Apis::VaultV1::HeldGroupsQuery, decorator: Google::Apis::VaultV1::HeldGroupsQuery::Representation
property :hangouts_chat_query, as: 'hangoutsChatQuery', class: Google::Apis::VaultV1::HeldHangoutsChatQuery, decorator: Google::Apis::VaultV1::HeldHangoutsChatQuery::Representation
property :mail_query, as: 'mailQuery', class: Google::Apis::VaultV1::HeldMailQuery, decorator: Google::Apis::VaultV1::HeldMailQuery::Representation
end
@ -208,6 +216,13 @@ module Google
end
end
class HeldHangoutsChatQuery
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :include_rooms, as: 'includeRooms'
end
end
class HeldMailQuery
# @private
class Representation < Google::Apis::Core::JsonRepresentation