Autogenerated update (2017-11-22)

Update:
- vault_v1
This commit is contained in:
Google APIs 2017-11-22 00:35:46 +00:00
parent e8270e7cfd
commit 7a4d75483f
4 changed files with 24 additions and 11 deletions

View File

@ -64778,6 +64778,7 @@
"/vault:v1/vault.matters.list": list_matters
"/vault:v1/vault.matters.list/pageSize": page_size
"/vault:v1/vault.matters.list/pageToken": page_token
"/vault:v1/vault.matters.list/state": state
"/vault:v1/vault.matters.list/view": view
"/vault:v1/vault.matters.removePermissions": remove_matter_permissions
"/vault:v1/vault.matters.removePermissions/matterId": matter_id

View File

@ -20,12 +20,18 @@ module Google
module Apis
# Google Vault API
#
#
# Archiving and eDiscovery for G Suite.
#
# @see https://apps.google.com/products/vault/
# @see https://developers.google.com/vault
module VaultV1
VERSION = 'V1'
REVISION = '20170828'
REVISION = '20171026'
# Manage your eDiscovery data
AUTH_EDISCOVERY = 'https://www.googleapis.com/auth/ediscovery'
# View your eDiscovery data
AUTH_EDISCOVERY_READONLY = 'https://www.googleapis.com/auth/ediscovery.readonly'
end
end
end

View File

@ -195,13 +195,13 @@ module Google
class HeldGroupsQuery
include Google::Apis::Core::Hashable
# The end date range for the search query. These timestamps are in GMT and
# The end time range for the search query. These timestamps are in GMT and
# rounded down to the start of the given date.
# Corresponds to the JSON property `endTime`
# @return [String]
attr_accessor :end_time
# The start date range for the search query. These timestamps are in GMT and
# The start time range for the search query. These timestamps are in GMT and
# rounded down to the start of the given date.
# Corresponds to the JSON property `startTime`
# @return [String]
@ -228,13 +228,13 @@ module Google
class HeldMailQuery
include Google::Apis::Core::Hashable
# The end date range for the search query. These timestamps are in GMT and
# The end time range for the search query. These timestamps are in GMT and
# rounded down to the start of the given date.
# Corresponds to the JSON property `endTime`
# @return [String]
attr_accessor :end_time
# The start date range for the search query. These timestamps are in GMT and
# The start time range for the search query. These timestamps are in GMT and
# rounded down to the start of the given date.
# Corresponds to the JSON property `startTime`
# @return [String]

View File

@ -22,7 +22,7 @@ module Google
module VaultV1
# Google Vault API
#
#
# Archiving and eDiscovery for G Suite.
#
# @example
# require 'google/apis/vault_v1'
@ -30,7 +30,7 @@ module Google
# Vault = Google::Apis::VaultV1 # Alias the module
# service = Vault::VaultService.new
#
# @see https://apps.google.com/products/vault/
# @see https://developers.google.com/vault
class VaultService < Google::Apis::Core::BaseService
# @return [String]
# API key. Your API key identifies your project and provides you with API access,
@ -113,7 +113,9 @@ module Google
execute_or_queue_command(command, &block)
end
# Creates a new matter. Returns created matter with default view.
# Creates a new matter with the given name and description. The initial state
# is open, and the owner is the method caller. Returns the created matter
# with default view.
# @param [Google::Apis::VaultV1::Matter] matter_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -212,6 +214,9 @@ module Google
# Default and maximum are 100.
# @param [String] page_token
# The pagination token as returned in the response.
# @param [String] state
# If set, list only matters with that specific state. The default is listing
# matters of all states.
# @param [String] view
# Specifies which parts of the matter to return in response.
# @param [String] fields
@ -231,12 +236,13 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_matters(page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
def list_matters(page_size: nil, page_token: nil, state: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/matters', options)
command.response_representation = Google::Apis::VaultV1::ListMattersResponse::Representation
command.response_class = Google::Apis::VaultV1::ListMattersResponse
command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil?
command.query['state'] = state unless state.nil?
command.query['view'] = view unless view.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?