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": list_matters
"/vault:v1/vault.matters.list/pageSize": page_size "/vault:v1/vault.matters.list/pageSize": page_size
"/vault:v1/vault.matters.list/pageToken": page_token "/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.list/view": view
"/vault:v1/vault.matters.removePermissions": remove_matter_permissions "/vault:v1/vault.matters.removePermissions": remove_matter_permissions
"/vault:v1/vault.matters.removePermissions/matterId": matter_id "/vault:v1/vault.matters.removePermissions/matterId": matter_id

View File

@ -20,12 +20,18 @@ module Google
module Apis module Apis
# Google Vault API # Google Vault API
# #
# # Archiving and eDiscovery for G Suite.
# #
# @see https://apps.google.com/products/vault/ # @see https://developers.google.com/vault
module VaultV1 module VaultV1
VERSION = 'V1' 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 end
end end

View File

@ -195,13 +195,13 @@ module Google
class HeldGroupsQuery class HeldGroupsQuery
include Google::Apis::Core::Hashable 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. # rounded down to the start of the given date.
# Corresponds to the JSON property `endTime` # Corresponds to the JSON property `endTime`
# @return [String] # @return [String]
attr_accessor :end_time 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. # rounded down to the start of the given date.
# Corresponds to the JSON property `startTime` # Corresponds to the JSON property `startTime`
# @return [String] # @return [String]
@ -228,13 +228,13 @@ module Google
class HeldMailQuery class HeldMailQuery
include Google::Apis::Core::Hashable 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. # rounded down to the start of the given date.
# Corresponds to the JSON property `endTime` # Corresponds to the JSON property `endTime`
# @return [String] # @return [String]
attr_accessor :end_time 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. # rounded down to the start of the given date.
# Corresponds to the JSON property `startTime` # Corresponds to the JSON property `startTime`
# @return [String] # @return [String]

View File

@ -22,7 +22,7 @@ module Google
module VaultV1 module VaultV1
# Google Vault API # Google Vault API
# #
# # Archiving and eDiscovery for G Suite.
# #
# @example # @example
# require 'google/apis/vault_v1' # require 'google/apis/vault_v1'
@ -30,7 +30,7 @@ module Google
# Vault = Google::Apis::VaultV1 # Alias the module # Vault = Google::Apis::VaultV1 # Alias the module
# service = Vault::VaultService.new # service = Vault::VaultService.new
# #
# @see https://apps.google.com/products/vault/ # @see https://developers.google.com/vault
class VaultService < Google::Apis::Core::BaseService class VaultService < Google::Apis::Core::BaseService
# @return [String] # @return [String]
# API key. Your API key identifies your project and provides you with API access, # 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) execute_or_queue_command(command, &block)
end 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 [Google::Apis::VaultV1::Matter] matter_object
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
@ -212,6 +214,9 @@ module Google
# Default and maximum are 100. # Default and maximum are 100.
# @param [String] page_token # @param [String] page_token
# The pagination token as returned in the response. # 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 # @param [String] view
# Specifies which parts of the matter to return in response. # Specifies which parts of the matter to return in response.
# @param [String] fields # @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::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::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required # @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 = make_simple_command(:get, 'v1/matters', options)
command.response_representation = Google::Apis::VaultV1::ListMattersResponse::Representation command.response_representation = Google::Apis::VaultV1::ListMattersResponse::Representation
command.response_class = Google::Apis::VaultV1::ListMattersResponse command.response_class = Google::Apis::VaultV1::ListMattersResponse
command.query['pageSize'] = page_size unless page_size.nil? command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.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['view'] = view unless view.nil?
command.query['fields'] = fields unless fields.nil? command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['quotaUser'] = quota_user unless quota_user.nil?