From 7a4d75483f55ea97e0ea0b301c091b69066211a0 Mon Sep 17 00:00:00 2001 From: Google APIs Date: Wed, 22 Nov 2017 00:35:46 +0000 Subject: [PATCH] Autogenerated update (2017-11-22) Update: - vault_v1 --- api_names_out.yaml | 1 + generated/google/apis/vault_v1.rb | 12 +++++++++--- generated/google/apis/vault_v1/classes.rb | 8 ++++---- generated/google/apis/vault_v1/service.rb | 14 ++++++++++---- 4 files changed, 24 insertions(+), 11 deletions(-) diff --git a/api_names_out.yaml b/api_names_out.yaml index 86d06851e..c1ca8db38 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -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 diff --git a/generated/google/apis/vault_v1.rb b/generated/google/apis/vault_v1.rb index d2734e02c..120675072 100644 --- a/generated/google/apis/vault_v1.rb +++ b/generated/google/apis/vault_v1.rb @@ -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 diff --git a/generated/google/apis/vault_v1/classes.rb b/generated/google/apis/vault_v1/classes.rb index 68af8e7a6..d46ad5243 100644 --- a/generated/google/apis/vault_v1/classes.rb +++ b/generated/google/apis/vault_v1/classes.rb @@ -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] diff --git a/generated/google/apis/vault_v1/service.rb b/generated/google/apis/vault_v1/service.rb index 94eee23d2..1a9d9561a 100644 --- a/generated/google/apis/vault_v1/service.rb +++ b/generated/google/apis/vault_v1/service.rb @@ -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?