Autogenerated update (2019-11-01)

Update:
- datastore_v1
- datastore_v1beta3
- firestore_v1
- firestore_v1beta1
- jobs_v2
- jobs_v3
- jobs_v3p1beta1
- monitoring_v3
- people_v1
- videointelligence_v1
- videointelligence_v1beta2
- videointelligence_v1p1beta1
- videointelligence_v1p2beta1
- videointelligence_v1p3beta1
This commit is contained in:
Google APIs 2019-11-01 00:37:15 +00:00
parent 8c8d45193f
commit f23200d05b
31 changed files with 886 additions and 147 deletions

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/datastore/ # @see https://cloud.google.com/datastore/
module DatastoreV1 module DatastoreV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20190804' REVISION = '20191020'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -260,7 +260,7 @@ module Google
end end
# Prevents the supplied keys' IDs from being auto-allocated by Cloud # Prevents the supplied keys' IDs from being auto-allocated by Cloud
# Datastore. # Datastore. Used for imports only; other workloads are not supported.
# @param [String] project_id # @param [String] project_id
# The ID of the project against which to make the request. # The ID of the project against which to make the request.
# @param [Google::Apis::DatastoreV1::ReserveIdsRequest] reserve_ids_request_object # @param [Google::Apis::DatastoreV1::ReserveIdsRequest] reserve_ids_request_object
@ -359,6 +359,90 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Creates the specified index.
# A newly created index's initial state is `CREATING`. On completion of the
# returned google.longrunning.Operation, the state will be `READY`.
# If the index already exists, the call will return an `ALREADY_EXISTS`
# status.
# During index creation, the process could result in an error, in which
# case the index will move to the `ERROR` state. The process can be recovered
# by fixing the data that caused the error, removing the index with
# delete, then
# re-creating the index with create.
# Indexes with a single property cannot be created.
# @param [String] project_id
# Project ID against which to make the request.
# @param [Google::Apis::DatastoreV1::GoogleDatastoreAdminV1Index] google_datastore_admin_v1_index_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::DatastoreV1::GoogleLongrunningOperation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::DatastoreV1::GoogleLongrunningOperation]
#
# @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 create_project_index(project_id, google_datastore_admin_v1_index_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/projects/{projectId}/indexes', options)
command.request_representation = Google::Apis::DatastoreV1::GoogleDatastoreAdminV1Index::Representation
command.request_object = google_datastore_admin_v1_index_object
command.response_representation = Google::Apis::DatastoreV1::GoogleLongrunningOperation::Representation
command.response_class = Google::Apis::DatastoreV1::GoogleLongrunningOperation
command.params['projectId'] = project_id unless project_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Deletes an existing index.
# An index can only be deleted if it is in a `READY` or `ERROR` state. On
# successful execution of the request, the index will be in a `DELETING`
# state. And on completion of the
# returned google.longrunning.Operation, the index will be removed.
# During index deletion, the process could result in an error, in which
# case the index will move to the `ERROR` state. The process can be recovered
# by fixing the data that caused the error, followed by calling
# delete again.
# @param [String] project_id
# Project ID against which to make the request.
# @param [String] index_id
# The resource ID of the index to delete.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::DatastoreV1::GoogleLongrunningOperation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::DatastoreV1::GoogleLongrunningOperation]
#
# @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 delete_project_index(project_id, index_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1/projects/{projectId}/indexes/{indexId}', options)
command.response_representation = Google::Apis::DatastoreV1::GoogleLongrunningOperation::Representation
command.response_class = Google::Apis::DatastoreV1::GoogleLongrunningOperation
command.params['projectId'] = project_id unless project_id.nil?
command.params['indexId'] = index_id unless index_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Gets an index. # Gets an index.
# @param [String] project_id # @param [String] project_id
# Project ID against which to make the request. # Project ID against which to make the request.

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/datastore/ # @see https://cloud.google.com/datastore/
module DatastoreV1beta3 module DatastoreV1beta3
VERSION = 'V1beta3' VERSION = 'V1beta3'
REVISION = '20190421' REVISION = '20191020'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -183,7 +183,7 @@ module Google
end end
# Prevents the supplied keys' IDs from being auto-allocated by Cloud # Prevents the supplied keys' IDs from being auto-allocated by Cloud
# Datastore. # Datastore. Used for imports only; other workloads are not supported.
# @param [String] project_id # @param [String] project_id
# The ID of the project against which to make the request. # The ID of the project against which to make the request.
# @param [Google::Apis::DatastoreV1beta3::ReserveIdsRequest] reserve_ids_request_object # @param [Google::Apis::DatastoreV1beta3::ReserveIdsRequest] reserve_ids_request_object

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/firestore # @see https://cloud.google.com/firestore
module FirestoreV1 module FirestoreV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20190804' REVISION = '20191018'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/firestore # @see https://cloud.google.com/firestore
module FirestoreV1beta1 module FirestoreV1beta1
VERSION = 'V1beta1' VERSION = 'V1beta1'
REVISION = '20190804' REVISION = '20191019'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/talent-solution/job-search/docs/ # @see https://cloud.google.com/talent-solution/job-search/docs/
module JobsV2 module JobsV2
VERSION = 'V2' VERSION = 'V2'
REVISION = '20190720' REVISION = '20191030'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -2630,6 +2630,34 @@ module Google
end end
end end
# Message representing input to a Mendel server for debug forcing.
# See go/mendel-debug-forcing for more details.
# Next ID: 2
class MendelDebugInput
include Google::Apis::Core::Hashable
# When a request spans multiple servers, a MendelDebugInput may travel with
# the request and take effect in all the servers. This field is a map of
# namespaces to NamespacedMendelDebugInput protos. In a single server, up to
# two NamespacedMendelDebugInput protos are applied:
# 1. NamespacedMendelDebugInput with the global namespace (key == "").
# 2. NamespacedMendelDebugInput with the server's namespace.
# When both NamespacedMendelDebugInput protos are present, they are merged.
# See go/mendel-debug-forcing for more details.
# Corresponds to the JSON property `namespacedDebugInput`
# @return [Hash<String,Google::Apis::JobsV2::NamespacedDebugInput>]
attr_accessor :namespaced_debug_input
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@namespaced_debug_input = args[:namespaced_debug_input] if args.key?(:namespaced_debug_input)
end
end
# Represents an amount of money with its currency type. # Represents an amount of money with its currency type.
class Money class Money
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -2667,6 +2695,145 @@ module Google
end end
end end
# Next ID: 15
class NamespacedDebugInput
include Google::Apis::Core::Hashable
# Set of experiment names to be absolutely forced.
# These experiments will be forced without evaluating the conditions.
# Corresponds to the JSON property `absolutelyForcedExpNames`
# @return [Array<String>]
attr_accessor :absolutely_forced_exp_names
# Set of experiment tags to be absolutely forced.
# The experiments with these tags will be forced without evaluating the
# conditions.
# Corresponds to the JSON property `absolutelyForcedExpTags`
# @return [Array<String>]
attr_accessor :absolutely_forced_exp_tags
# Set of experiment ids to be absolutely forced.
# These ids will be forced without evaluating the conditions.
# Corresponds to the JSON property `absolutelyForcedExps`
# @return [Array<Fixnum>]
attr_accessor :absolutely_forced_exps
# Set of experiment names to be conditionally forced.
# These experiments will be forced only if their conditions and their
# parent domain's conditions are true.
# Corresponds to the JSON property `conditionallyForcedExpNames`
# @return [Array<String>]
attr_accessor :conditionally_forced_exp_names
# Set of experiment tags to be conditionally forced.
# The experiments with these tags will be forced only if their conditions
# and their parent domain's conditions are true.
# Corresponds to the JSON property `conditionallyForcedExpTags`
# @return [Array<String>]
attr_accessor :conditionally_forced_exp_tags
# Set of experiment ids to be conditionally forced.
# These ids will be forced only if their conditions and their parent
# domain's conditions are true.
# Corresponds to the JSON property `conditionallyForcedExps`
# @return [Array<Fixnum>]
attr_accessor :conditionally_forced_exps
# If true, disable automatic enrollment selection (at all diversion
# points). Automatic enrollment selection means experiment selection
# process based on the experiment's automatic enrollment condition. This
# does not disable selection of forced experiments.
# Corresponds to the JSON property `disableAutomaticEnrollmentSelection`
# @return [Boolean]
attr_accessor :disable_automatic_enrollment_selection
alias_method :disable_automatic_enrollment_selection?, :disable_automatic_enrollment_selection
# Set of experiment names to be disabled.
# If an experiment is disabled, it is never selected nor forced.
# If an aggregate experiment is disabled, its partitions are disabled
# together. If an experiment with an enrollment is disabled, the enrollment
# is disabled together. If a name corresponds to a domain, the domain
# itself and all descendant experiments and domains are disabled together.
# Corresponds to the JSON property `disableExpNames`
# @return [Array<String>]
attr_accessor :disable_exp_names
# Set of experiment tags to be disabled. All experiments that are tagged
# with one or more of these tags are disabled.
# If an experiment is disabled, it is never selected nor forced.
# If an aggregate experiment is disabled, its partitions are disabled
# together. If an experiment with an enrollment is disabled, the enrollment
# is disabled together.
# Corresponds to the JSON property `disableExpTags`
# @return [Array<String>]
attr_accessor :disable_exp_tags
# Set of experiment ids to be disabled.
# If an experiment is disabled, it is never selected nor forced.
# If an aggregate experiment is disabled, its partitions are disabled
# together. If an experiment with an enrollment is disabled, the enrollment
# is disabled together. If an ID corresponds to a domain, the domain itself
# and all descendant experiments and domains are disabled together.
# Corresponds to the JSON property `disableExps`
# @return [Array<Fixnum>]
attr_accessor :disable_exps
# If true, disable manual enrollment selection (at all diversion points).
# Manual enrollment selection means experiment selection process based on
# the request's manual enrollment states (a.k.a. opt-in experiments).
# This does not disable selection of forced experiments.
# Corresponds to the JSON property `disableManualEnrollmentSelection`
# @return [Boolean]
attr_accessor :disable_manual_enrollment_selection
alias_method :disable_manual_enrollment_selection?, :disable_manual_enrollment_selection
# If true, disable organic experiment selection (at all diversion points).
# Organic selection means experiment selection process based on traffic
# allocation and diversion condition evaluation.
# This does not disable selection of forced experiments.
# This is useful in cases when it is not known whether experiment selection
# behavior is responsible for a error or breakage. Disabling organic
# selection may help to isolate the cause of a given problem.
# Corresponds to the JSON property `disableOrganicSelection`
# @return [Boolean]
attr_accessor :disable_organic_selection
alias_method :disable_organic_selection?, :disable_organic_selection
# Flags to force in a particular experiment state.
# Map from flag name to flag value.
# Corresponds to the JSON property `forcedFlags`
# @return [Hash<String,String>]
attr_accessor :forced_flags
# Rollouts to force in a particular experiment state.
# Map from rollout name to rollout value.
# Corresponds to the JSON property `forcedRollouts`
# @return [Hash<String,Boolean>]
attr_accessor :forced_rollouts
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@absolutely_forced_exp_names = args[:absolutely_forced_exp_names] if args.key?(:absolutely_forced_exp_names)
@absolutely_forced_exp_tags = args[:absolutely_forced_exp_tags] if args.key?(:absolutely_forced_exp_tags)
@absolutely_forced_exps = args[:absolutely_forced_exps] if args.key?(:absolutely_forced_exps)
@conditionally_forced_exp_names = args[:conditionally_forced_exp_names] if args.key?(:conditionally_forced_exp_names)
@conditionally_forced_exp_tags = args[:conditionally_forced_exp_tags] if args.key?(:conditionally_forced_exp_tags)
@conditionally_forced_exps = args[:conditionally_forced_exps] if args.key?(:conditionally_forced_exps)
@disable_automatic_enrollment_selection = args[:disable_automatic_enrollment_selection] if args.key?(:disable_automatic_enrollment_selection)
@disable_exp_names = args[:disable_exp_names] if args.key?(:disable_exp_names)
@disable_exp_tags = args[:disable_exp_tags] if args.key?(:disable_exp_tags)
@disable_exps = args[:disable_exps] if args.key?(:disable_exps)
@disable_manual_enrollment_selection = args[:disable_manual_enrollment_selection] if args.key?(:disable_manual_enrollment_selection)
@disable_organic_selection = args[:disable_organic_selection] if args.key?(:disable_organic_selection)
@forced_flags = args[:forced_flags] if args.key?(:forced_flags)
@forced_rollouts = args[:forced_rollouts] if args.key?(:forced_rollouts)
end
end
# Input only. # Input only.
# Use this field to specify bucketing option for the histogram search response. # Use this field to specify bucketing option for the histogram search response.
class NumericBucketingOption class NumericBucketingOption

View File

@ -304,12 +304,24 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class MendelDebugInput
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Money class Money
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class NamespacedDebugInput
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class NumericBucketingOption class NumericBucketingOption
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -942,6 +954,14 @@ module Google
end end
end end
class MendelDebugInput
# @private
class Representation < Google::Apis::Core::JsonRepresentation
hash :namespaced_debug_input, as: 'namespacedDebugInput', class: Google::Apis::JobsV2::NamespacedDebugInput, decorator: Google::Apis::JobsV2::NamespacedDebugInput::Representation
end
end
class Money class Money
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -951,6 +971,26 @@ module Google
end end
end end
class NamespacedDebugInput
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :absolutely_forced_exp_names, as: 'absolutelyForcedExpNames'
collection :absolutely_forced_exp_tags, as: 'absolutelyForcedExpTags'
collection :absolutely_forced_exps, as: 'absolutelyForcedExps'
collection :conditionally_forced_exp_names, as: 'conditionallyForcedExpNames'
collection :conditionally_forced_exp_tags, as: 'conditionallyForcedExpTags'
collection :conditionally_forced_exps, as: 'conditionallyForcedExps'
property :disable_automatic_enrollment_selection, as: 'disableAutomaticEnrollmentSelection'
collection :disable_exp_names, as: 'disableExpNames'
collection :disable_exp_tags, as: 'disableExpTags'
collection :disable_exps, as: 'disableExps'
property :disable_manual_enrollment_selection, as: 'disableManualEnrollmentSelection'
property :disable_organic_selection, as: 'disableOrganicSelection'
hash :forced_flags, as: 'forcedFlags'
hash :forced_rollouts, as: 'forcedRollouts'
end
end
class NumericBucketingOption class NumericBucketingOption
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/talent-solution/job-search/docs/ # @see https://cloud.google.com/talent-solution/job-search/docs/
module JobsV3 module JobsV3
VERSION = 'V3' VERSION = 'V3'
REVISION = '20190912' REVISION = '20191029'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1573,6 +1573,17 @@ module Google
# @return [String] # @return [String]
attr_accessor :query attr_accessor :query
# The language code of query. For example, "en-US". This field helps to
# better interpret the query.
# If a value isn't specified, the query language code is automatically
# detected, which may not be accurate.
# Language code should be in BCP-47 format, such as "en-US" or "sr-Latn".
# For more information, see
# [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47).
# Corresponds to the JSON property `queryLanguageCode`
# @return [String]
attr_accessor :query_language_code
def initialize(**args) def initialize(**args)
update!(**args) update!(**args)
end end
@ -1591,6 +1602,7 @@ module Google
@location_filters = args[:location_filters] if args.key?(:location_filters) @location_filters = args[:location_filters] if args.key?(:location_filters)
@publish_time_range = args[:publish_time_range] if args.key?(:publish_time_range) @publish_time_range = args[:publish_time_range] if args.key?(:publish_time_range)
@query = args[:query] if args.key?(:query) @query = args[:query] if args.key?(:query)
@query_language_code = args[:query_language_code] if args.key?(:query_language_code)
end end
end end
@ -1878,6 +1890,34 @@ module Google
end end
end end
# Message representing input to a Mendel server for debug forcing.
# See go/mendel-debug-forcing for more details.
# Next ID: 2
class MendelDebugInput
include Google::Apis::Core::Hashable
# When a request spans multiple servers, a MendelDebugInput may travel with
# the request and take effect in all the servers. This field is a map of
# namespaces to NamespacedMendelDebugInput protos. In a single server, up to
# two NamespacedMendelDebugInput protos are applied:
# 1. NamespacedMendelDebugInput with the global namespace (key == "").
# 2. NamespacedMendelDebugInput with the server's namespace.
# When both NamespacedMendelDebugInput protos are present, they are merged.
# See go/mendel-debug-forcing for more details.
# Corresponds to the JSON property `namespacedDebugInput`
# @return [Hash<String,Google::Apis::JobsV3::NamespacedDebugInput>]
attr_accessor :namespaced_debug_input
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@namespaced_debug_input = args[:namespaced_debug_input] if args.key?(:namespaced_debug_input)
end
end
# Represents an amount of money with its currency type. # Represents an amount of money with its currency type.
class Money class Money
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -1915,6 +1955,145 @@ module Google
end end
end end
# Next ID: 15
class NamespacedDebugInput
include Google::Apis::Core::Hashable
# Set of experiment names to be absolutely forced.
# These experiments will be forced without evaluating the conditions.
# Corresponds to the JSON property `absolutelyForcedExpNames`
# @return [Array<String>]
attr_accessor :absolutely_forced_exp_names
# Set of experiment tags to be absolutely forced.
# The experiments with these tags will be forced without evaluating the
# conditions.
# Corresponds to the JSON property `absolutelyForcedExpTags`
# @return [Array<String>]
attr_accessor :absolutely_forced_exp_tags
# Set of experiment ids to be absolutely forced.
# These ids will be forced without evaluating the conditions.
# Corresponds to the JSON property `absolutelyForcedExps`
# @return [Array<Fixnum>]
attr_accessor :absolutely_forced_exps
# Set of experiment names to be conditionally forced.
# These experiments will be forced only if their conditions and their
# parent domain's conditions are true.
# Corresponds to the JSON property `conditionallyForcedExpNames`
# @return [Array<String>]
attr_accessor :conditionally_forced_exp_names
# Set of experiment tags to be conditionally forced.
# The experiments with these tags will be forced only if their conditions
# and their parent domain's conditions are true.
# Corresponds to the JSON property `conditionallyForcedExpTags`
# @return [Array<String>]
attr_accessor :conditionally_forced_exp_tags
# Set of experiment ids to be conditionally forced.
# These ids will be forced only if their conditions and their parent
# domain's conditions are true.
# Corresponds to the JSON property `conditionallyForcedExps`
# @return [Array<Fixnum>]
attr_accessor :conditionally_forced_exps
# If true, disable automatic enrollment selection (at all diversion
# points). Automatic enrollment selection means experiment selection
# process based on the experiment's automatic enrollment condition. This
# does not disable selection of forced experiments.
# Corresponds to the JSON property `disableAutomaticEnrollmentSelection`
# @return [Boolean]
attr_accessor :disable_automatic_enrollment_selection
alias_method :disable_automatic_enrollment_selection?, :disable_automatic_enrollment_selection
# Set of experiment names to be disabled.
# If an experiment is disabled, it is never selected nor forced.
# If an aggregate experiment is disabled, its partitions are disabled
# together. If an experiment with an enrollment is disabled, the enrollment
# is disabled together. If a name corresponds to a domain, the domain
# itself and all descendant experiments and domains are disabled together.
# Corresponds to the JSON property `disableExpNames`
# @return [Array<String>]
attr_accessor :disable_exp_names
# Set of experiment tags to be disabled. All experiments that are tagged
# with one or more of these tags are disabled.
# If an experiment is disabled, it is never selected nor forced.
# If an aggregate experiment is disabled, its partitions are disabled
# together. If an experiment with an enrollment is disabled, the enrollment
# is disabled together.
# Corresponds to the JSON property `disableExpTags`
# @return [Array<String>]
attr_accessor :disable_exp_tags
# Set of experiment ids to be disabled.
# If an experiment is disabled, it is never selected nor forced.
# If an aggregate experiment is disabled, its partitions are disabled
# together. If an experiment with an enrollment is disabled, the enrollment
# is disabled together. If an ID corresponds to a domain, the domain itself
# and all descendant experiments and domains are disabled together.
# Corresponds to the JSON property `disableExps`
# @return [Array<Fixnum>]
attr_accessor :disable_exps
# If true, disable manual enrollment selection (at all diversion points).
# Manual enrollment selection means experiment selection process based on
# the request's manual enrollment states (a.k.a. opt-in experiments).
# This does not disable selection of forced experiments.
# Corresponds to the JSON property `disableManualEnrollmentSelection`
# @return [Boolean]
attr_accessor :disable_manual_enrollment_selection
alias_method :disable_manual_enrollment_selection?, :disable_manual_enrollment_selection
# If true, disable organic experiment selection (at all diversion points).
# Organic selection means experiment selection process based on traffic
# allocation and diversion condition evaluation.
# This does not disable selection of forced experiments.
# This is useful in cases when it is not known whether experiment selection
# behavior is responsible for a error or breakage. Disabling organic
# selection may help to isolate the cause of a given problem.
# Corresponds to the JSON property `disableOrganicSelection`
# @return [Boolean]
attr_accessor :disable_organic_selection
alias_method :disable_organic_selection?, :disable_organic_selection
# Flags to force in a particular experiment state.
# Map from flag name to flag value.
# Corresponds to the JSON property `forcedFlags`
# @return [Hash<String,String>]
attr_accessor :forced_flags
# Rollouts to force in a particular experiment state.
# Map from rollout name to rollout value.
# Corresponds to the JSON property `forcedRollouts`
# @return [Hash<String,Boolean>]
attr_accessor :forced_rollouts
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@absolutely_forced_exp_names = args[:absolutely_forced_exp_names] if args.key?(:absolutely_forced_exp_names)
@absolutely_forced_exp_tags = args[:absolutely_forced_exp_tags] if args.key?(:absolutely_forced_exp_tags)
@absolutely_forced_exps = args[:absolutely_forced_exps] if args.key?(:absolutely_forced_exps)
@conditionally_forced_exp_names = args[:conditionally_forced_exp_names] if args.key?(:conditionally_forced_exp_names)
@conditionally_forced_exp_tags = args[:conditionally_forced_exp_tags] if args.key?(:conditionally_forced_exp_tags)
@conditionally_forced_exps = args[:conditionally_forced_exps] if args.key?(:conditionally_forced_exps)
@disable_automatic_enrollment_selection = args[:disable_automatic_enrollment_selection] if args.key?(:disable_automatic_enrollment_selection)
@disable_exp_names = args[:disable_exp_names] if args.key?(:disable_exp_names)
@disable_exp_tags = args[:disable_exp_tags] if args.key?(:disable_exp_tags)
@disable_exps = args[:disable_exps] if args.key?(:disable_exps)
@disable_manual_enrollment_selection = args[:disable_manual_enrollment_selection] if args.key?(:disable_manual_enrollment_selection)
@disable_organic_selection = args[:disable_organic_selection] if args.key?(:disable_organic_selection)
@forced_flags = args[:forced_flags] if args.key?(:forced_flags)
@forced_rollouts = args[:forced_rollouts] if args.key?(:forced_rollouts)
end
end
# Input only. # Input only.
# Use this field to specify bucketing option for the histogram search response. # Use this field to specify bucketing option for the histogram search response.
class NumericBucketingOption class NumericBucketingOption

View File

@ -250,12 +250,24 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class MendelDebugInput
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Money class Money
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class NamespacedDebugInput
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class NumericBucketingOption class NumericBucketingOption
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -690,6 +702,7 @@ module Google
property :publish_time_range, as: 'publishTimeRange', class: Google::Apis::JobsV3::TimestampRange, decorator: Google::Apis::JobsV3::TimestampRange::Representation property :publish_time_range, as: 'publishTimeRange', class: Google::Apis::JobsV3::TimestampRange, decorator: Google::Apis::JobsV3::TimestampRange::Representation
property :query, as: 'query' property :query, as: 'query'
property :query_language_code, as: 'queryLanguageCode'
end end
end end
@ -760,6 +773,14 @@ module Google
end end
end end
class MendelDebugInput
# @private
class Representation < Google::Apis::Core::JsonRepresentation
hash :namespaced_debug_input, as: 'namespacedDebugInput', class: Google::Apis::JobsV3::NamespacedDebugInput, decorator: Google::Apis::JobsV3::NamespacedDebugInput::Representation
end
end
class Money class Money
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -769,6 +790,26 @@ module Google
end end
end end
class NamespacedDebugInput
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :absolutely_forced_exp_names, as: 'absolutelyForcedExpNames'
collection :absolutely_forced_exp_tags, as: 'absolutelyForcedExpTags'
collection :absolutely_forced_exps, as: 'absolutelyForcedExps'
collection :conditionally_forced_exp_names, as: 'conditionallyForcedExpNames'
collection :conditionally_forced_exp_tags, as: 'conditionallyForcedExpTags'
collection :conditionally_forced_exps, as: 'conditionallyForcedExps'
property :disable_automatic_enrollment_selection, as: 'disableAutomaticEnrollmentSelection'
collection :disable_exp_names, as: 'disableExpNames'
collection :disable_exp_tags, as: 'disableExpTags'
collection :disable_exps, as: 'disableExps'
property :disable_manual_enrollment_selection, as: 'disableManualEnrollmentSelection'
property :disable_organic_selection, as: 'disableOrganicSelection'
hash :forced_flags, as: 'forcedFlags'
hash :forced_rollouts, as: 'forcedRollouts'
end
end
class NumericBucketingOption class NumericBucketingOption
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/talent-solution/job-search/docs/ # @see https://cloud.google.com/talent-solution/job-search/docs/
module JobsV3p1beta1 module JobsV3p1beta1
VERSION = 'V3p1beta1' VERSION = 'V3p1beta1'
REVISION = '20190912' REVISION = '20191030'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1750,6 +1750,17 @@ module Google
# @return [String] # @return [String]
attr_accessor :query attr_accessor :query
# The language code of query. For example, "en-US". This field helps to
# better interpret the query.
# If a value isn't specified, the query language code is automatically
# detected, which may not be accurate.
# Language code should be in BCP-47 format, such as "en-US" or "sr-Latn".
# For more information, see
# [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47).
# Corresponds to the JSON property `queryLanguageCode`
# @return [String]
attr_accessor :query_language_code
def initialize(**args) def initialize(**args)
update!(**args) update!(**args)
end end
@ -1769,6 +1780,7 @@ module Google
@location_filters = args[:location_filters] if args.key?(:location_filters) @location_filters = args[:location_filters] if args.key?(:location_filters)
@publish_time_range = args[:publish_time_range] if args.key?(:publish_time_range) @publish_time_range = args[:publish_time_range] if args.key?(:publish_time_range)
@query = args[:query] if args.key?(:query) @query = args[:query] if args.key?(:query)
@query_language_code = args[:query_language_code] if args.key?(:query_language_code)
end end
end end
@ -2056,6 +2068,34 @@ module Google
end end
end end
# Message representing input to a Mendel server for debug forcing.
# See go/mendel-debug-forcing for more details.
# Next ID: 2
class MendelDebugInput
include Google::Apis::Core::Hashable
# When a request spans multiple servers, a MendelDebugInput may travel with
# the request and take effect in all the servers. This field is a map of
# namespaces to NamespacedMendelDebugInput protos. In a single server, up to
# two NamespacedMendelDebugInput protos are applied:
# 1. NamespacedMendelDebugInput with the global namespace (key == "").
# 2. NamespacedMendelDebugInput with the server's namespace.
# When both NamespacedMendelDebugInput protos are present, they are merged.
# See go/mendel-debug-forcing for more details.
# Corresponds to the JSON property `namespacedDebugInput`
# @return [Hash<String,Google::Apis::JobsV3p1beta1::NamespacedDebugInput>]
attr_accessor :namespaced_debug_input
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@namespaced_debug_input = args[:namespaced_debug_input] if args.key?(:namespaced_debug_input)
end
end
# Represents an amount of money with its currency type. # Represents an amount of money with its currency type.
class Money class Money
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -2093,6 +2133,145 @@ module Google
end end
end end
# Next ID: 15
class NamespacedDebugInput
include Google::Apis::Core::Hashable
# Set of experiment names to be absolutely forced.
# These experiments will be forced without evaluating the conditions.
# Corresponds to the JSON property `absolutelyForcedExpNames`
# @return [Array<String>]
attr_accessor :absolutely_forced_exp_names
# Set of experiment tags to be absolutely forced.
# The experiments with these tags will be forced without evaluating the
# conditions.
# Corresponds to the JSON property `absolutelyForcedExpTags`
# @return [Array<String>]
attr_accessor :absolutely_forced_exp_tags
# Set of experiment ids to be absolutely forced.
# These ids will be forced without evaluating the conditions.
# Corresponds to the JSON property `absolutelyForcedExps`
# @return [Array<Fixnum>]
attr_accessor :absolutely_forced_exps
# Set of experiment names to be conditionally forced.
# These experiments will be forced only if their conditions and their
# parent domain's conditions are true.
# Corresponds to the JSON property `conditionallyForcedExpNames`
# @return [Array<String>]
attr_accessor :conditionally_forced_exp_names
# Set of experiment tags to be conditionally forced.
# The experiments with these tags will be forced only if their conditions
# and their parent domain's conditions are true.
# Corresponds to the JSON property `conditionallyForcedExpTags`
# @return [Array<String>]
attr_accessor :conditionally_forced_exp_tags
# Set of experiment ids to be conditionally forced.
# These ids will be forced only if their conditions and their parent
# domain's conditions are true.
# Corresponds to the JSON property `conditionallyForcedExps`
# @return [Array<Fixnum>]
attr_accessor :conditionally_forced_exps
# If true, disable automatic enrollment selection (at all diversion
# points). Automatic enrollment selection means experiment selection
# process based on the experiment's automatic enrollment condition. This
# does not disable selection of forced experiments.
# Corresponds to the JSON property `disableAutomaticEnrollmentSelection`
# @return [Boolean]
attr_accessor :disable_automatic_enrollment_selection
alias_method :disable_automatic_enrollment_selection?, :disable_automatic_enrollment_selection
# Set of experiment names to be disabled.
# If an experiment is disabled, it is never selected nor forced.
# If an aggregate experiment is disabled, its partitions are disabled
# together. If an experiment with an enrollment is disabled, the enrollment
# is disabled together. If a name corresponds to a domain, the domain
# itself and all descendant experiments and domains are disabled together.
# Corresponds to the JSON property `disableExpNames`
# @return [Array<String>]
attr_accessor :disable_exp_names
# Set of experiment tags to be disabled. All experiments that are tagged
# with one or more of these tags are disabled.
# If an experiment is disabled, it is never selected nor forced.
# If an aggregate experiment is disabled, its partitions are disabled
# together. If an experiment with an enrollment is disabled, the enrollment
# is disabled together.
# Corresponds to the JSON property `disableExpTags`
# @return [Array<String>]
attr_accessor :disable_exp_tags
# Set of experiment ids to be disabled.
# If an experiment is disabled, it is never selected nor forced.
# If an aggregate experiment is disabled, its partitions are disabled
# together. If an experiment with an enrollment is disabled, the enrollment
# is disabled together. If an ID corresponds to a domain, the domain itself
# and all descendant experiments and domains are disabled together.
# Corresponds to the JSON property `disableExps`
# @return [Array<Fixnum>]
attr_accessor :disable_exps
# If true, disable manual enrollment selection (at all diversion points).
# Manual enrollment selection means experiment selection process based on
# the request's manual enrollment states (a.k.a. opt-in experiments).
# This does not disable selection of forced experiments.
# Corresponds to the JSON property `disableManualEnrollmentSelection`
# @return [Boolean]
attr_accessor :disable_manual_enrollment_selection
alias_method :disable_manual_enrollment_selection?, :disable_manual_enrollment_selection
# If true, disable organic experiment selection (at all diversion points).
# Organic selection means experiment selection process based on traffic
# allocation and diversion condition evaluation.
# This does not disable selection of forced experiments.
# This is useful in cases when it is not known whether experiment selection
# behavior is responsible for a error or breakage. Disabling organic
# selection may help to isolate the cause of a given problem.
# Corresponds to the JSON property `disableOrganicSelection`
# @return [Boolean]
attr_accessor :disable_organic_selection
alias_method :disable_organic_selection?, :disable_organic_selection
# Flags to force in a particular experiment state.
# Map from flag name to flag value.
# Corresponds to the JSON property `forcedFlags`
# @return [Hash<String,String>]
attr_accessor :forced_flags
# Rollouts to force in a particular experiment state.
# Map from rollout name to rollout value.
# Corresponds to the JSON property `forcedRollouts`
# @return [Hash<String,Boolean>]
attr_accessor :forced_rollouts
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@absolutely_forced_exp_names = args[:absolutely_forced_exp_names] if args.key?(:absolutely_forced_exp_names)
@absolutely_forced_exp_tags = args[:absolutely_forced_exp_tags] if args.key?(:absolutely_forced_exp_tags)
@absolutely_forced_exps = args[:absolutely_forced_exps] if args.key?(:absolutely_forced_exps)
@conditionally_forced_exp_names = args[:conditionally_forced_exp_names] if args.key?(:conditionally_forced_exp_names)
@conditionally_forced_exp_tags = args[:conditionally_forced_exp_tags] if args.key?(:conditionally_forced_exp_tags)
@conditionally_forced_exps = args[:conditionally_forced_exps] if args.key?(:conditionally_forced_exps)
@disable_automatic_enrollment_selection = args[:disable_automatic_enrollment_selection] if args.key?(:disable_automatic_enrollment_selection)
@disable_exp_names = args[:disable_exp_names] if args.key?(:disable_exp_names)
@disable_exp_tags = args[:disable_exp_tags] if args.key?(:disable_exp_tags)
@disable_exps = args[:disable_exps] if args.key?(:disable_exps)
@disable_manual_enrollment_selection = args[:disable_manual_enrollment_selection] if args.key?(:disable_manual_enrollment_selection)
@disable_organic_selection = args[:disable_organic_selection] if args.key?(:disable_organic_selection)
@forced_flags = args[:forced_flags] if args.key?(:forced_flags)
@forced_rollouts = args[:forced_rollouts] if args.key?(:forced_rollouts)
end
end
# Input only. # Input only.
# Use this field to specify bucketing option for the histogram search response. # Use this field to specify bucketing option for the histogram search response.
class NumericBucketingOption class NumericBucketingOption

View File

@ -268,12 +268,24 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class MendelDebugInput
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Money class Money
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class NamespacedDebugInput
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class NumericBucketingOption class NumericBucketingOption
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -744,6 +756,7 @@ module Google
property :publish_time_range, as: 'publishTimeRange', class: Google::Apis::JobsV3p1beta1::TimestampRange, decorator: Google::Apis::JobsV3p1beta1::TimestampRange::Representation property :publish_time_range, as: 'publishTimeRange', class: Google::Apis::JobsV3p1beta1::TimestampRange, decorator: Google::Apis::JobsV3p1beta1::TimestampRange::Representation
property :query, as: 'query' property :query, as: 'query'
property :query_language_code, as: 'queryLanguageCode'
end end
end end
@ -814,6 +827,14 @@ module Google
end end
end end
class MendelDebugInput
# @private
class Representation < Google::Apis::Core::JsonRepresentation
hash :namespaced_debug_input, as: 'namespacedDebugInput', class: Google::Apis::JobsV3p1beta1::NamespacedDebugInput, decorator: Google::Apis::JobsV3p1beta1::NamespacedDebugInput::Representation
end
end
class Money class Money
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -823,6 +844,26 @@ module Google
end end
end end
class NamespacedDebugInput
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :absolutely_forced_exp_names, as: 'absolutelyForcedExpNames'
collection :absolutely_forced_exp_tags, as: 'absolutelyForcedExpTags'
collection :absolutely_forced_exps, as: 'absolutelyForcedExps'
collection :conditionally_forced_exp_names, as: 'conditionallyForcedExpNames'
collection :conditionally_forced_exp_tags, as: 'conditionallyForcedExpTags'
collection :conditionally_forced_exps, as: 'conditionallyForcedExps'
property :disable_automatic_enrollment_selection, as: 'disableAutomaticEnrollmentSelection'
collection :disable_exp_names, as: 'disableExpNames'
collection :disable_exp_tags, as: 'disableExpTags'
collection :disable_exps, as: 'disableExps'
property :disable_manual_enrollment_selection, as: 'disableManualEnrollmentSelection'
property :disable_organic_selection, as: 'disableOrganicSelection'
hash :forced_flags, as: 'forcedFlags'
hash :forced_rollouts, as: 'forcedRollouts'
end
end
class NumericBucketingOption class NumericBucketingOption
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -30,7 +30,7 @@ module Google
# @see https://cloud.google.com/monitoring/api/ # @see https://cloud.google.com/monitoring/api/
module MonitoringV3 module MonitoringV3
VERSION = 'V3' VERSION = 'V3'
REVISION = '20191005' REVISION = '20191027'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1640,8 +1640,8 @@ module Google
# multiple streams on each resource to a single stream for each resource or when # multiple streams on each resource to a single stream for each resource or when
# aggregating streams across all members of a group of resrouces). Multiple # aggregating streams across all members of a group of resrouces). Multiple
# aggregations are applied in the order specified.This field is similar to the # aggregations are applied in the order specified.This field is similar to the
# one in the MetricService.ListTimeSeries request. It is advisable to use the # one in the ListTimeSeries request. It is advisable to use the ListTimeSeries
# ListTimeSeries method when debugging this field. # method when debugging this field.
# Corresponds to the JSON property `aggregations` # Corresponds to the JSON property `aggregations`
# @return [Array<Google::Apis::MonitoringV3::Aggregation>] # @return [Array<Google::Apis::MonitoringV3::Aggregation>]
attr_accessor :aggregations attr_accessor :aggregations
@ -1656,10 +1656,10 @@ module Google
# A filter that identifies which time series should be compared with the # A filter that identifies which time series should be compared with the
# threshold.The filter is similar to the one that is specified in the # threshold.The filter is similar to the one that is specified in the
# MetricService.ListTimeSeries request (that call is useful to verify the time # ListTimeSeries request (that call is useful to verify the time series that
# series that will be retrieved / processed) and must specify the metric type # will be retrieved / processed) and must specify the metric type and optionally
# and optionally may contain restrictions on resource type, resource labels, and # may contain restrictions on resource type, resource labels, and metric labels.
# metric labels. This field may not exceed 2048 Unicode characters in length. # This field may not exceed 2048 Unicode characters in length.
# Corresponds to the JSON property `filter` # Corresponds to the JSON property `filter`
# @return [String] # @return [String]
attr_accessor :filter attr_accessor :filter
@ -1874,8 +1874,8 @@ module Google
# multiple streams on each resource to a single stream for each resource or when # multiple streams on each resource to a single stream for each resource or when
# aggregating streams across all members of a group of resrouces). Multiple # aggregating streams across all members of a group of resrouces). Multiple
# aggregations are applied in the order specified.This field is similar to the # aggregations are applied in the order specified.This field is similar to the
# one in the MetricService.ListTimeSeries request. It is advisable to use the # one in the ListTimeSeries request. It is advisable to use the ListTimeSeries
# ListTimeSeries method when debugging this field. # method when debugging this field.
# Corresponds to the JSON property `aggregations` # Corresponds to the JSON property `aggregations`
# @return [Array<Google::Apis::MonitoringV3::Aggregation>] # @return [Array<Google::Apis::MonitoringV3::Aggregation>]
attr_accessor :aggregations attr_accessor :aggregations
@ -1925,10 +1925,10 @@ module Google
# A filter that identifies which time series should be compared with the # A filter that identifies which time series should be compared with the
# threshold.The filter is similar to the one that is specified in the # threshold.The filter is similar to the one that is specified in the
# MetricService.ListTimeSeries request (that call is useful to verify the time # ListTimeSeries request (that call is useful to verify the time series that
# series that will be retrieved / processed) and must specify the metric type # will be retrieved / processed) and must specify the metric type and optionally
# and optionally may contain restrictions on resource type, resource labels, and # may contain restrictions on resource type, resource labels, and metric labels.
# metric labels. This field may not exceed 2048 Unicode characters in length. # This field may not exceed 2048 Unicode characters in length.
# Corresponds to the JSON property `filter` # Corresponds to the JSON property `filter`
# @return [String] # @return [String]
attr_accessor :filter attr_accessor :filter

View File

@ -1265,8 +1265,8 @@ module Google
# Optional. The beginning of the time interval. The default value for the start # Optional. The beginning of the time interval. The default value for the start
# time is the end time. The start time must not be later than the end time. # time is the end time. The start time must not be later than the end time.
# @param [String] order_by # @param [String] order_by
# Unsupported: must be left blank. The points in each time series are returned # Unsupported: must be left blank. The points in each time series are currently
# in reverse time order. # returned in reverse time order (most recent to oldest).
# @param [Fixnum] page_size # @param [Fixnum] page_size
# A positive number that is the maximum number of results to return. If # A positive number that is the maximum number of results to return. If
# page_size is empty or more than 100,000 results, the effective page_size is # page_size is empty or more than 100,000 results, the effective page_size is

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/people/ # @see https://developers.google.com/people/
module PeopleV1 module PeopleV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20190910' REVISION = '20191030'
# See, edit, download, and permanently delete your contacts # See, edit, download, and permanently delete your contacts
AUTH_CONTACTS = 'https://www.googleapis.com/auth/contacts' AUTH_CONTACTS = 'https://www.googleapis.com/auth/contacts'

View File

@ -48,7 +48,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :extended_address attr_accessor :extended_address
# The read-only type of the address translated and formatted in the viewer's # Output only. The type of the address translated and formatted in the viewer's
# account locale or the `Accept-Language` HTTP header locale. # account locale or the `Accept-Language` HTTP header locale.
# Corresponds to the JSON property `formattedType` # Corresponds to the JSON property `formattedType`
# @return [String] # @return [String]
@ -265,25 +265,27 @@ module Google
# @return [String] # @return [String]
attr_accessor :etag attr_accessor :etag
# The read-only name translated and formatted in the viewer's account locale # Output only. The name translated and formatted in the viewer's account locale
# or the `Accept-Language` HTTP header locale for system groups names. # or the `Accept-Language` HTTP header locale for system groups names.
# Group names set by the owner are the same as name. # Group names set by the owner are the same as name.
# Corresponds to the JSON property `formattedName` # Corresponds to the JSON property `formattedName`
# @return [String] # @return [String]
attr_accessor :formatted_name attr_accessor :formatted_name
# The read-only contact group type. # Output only. The contact group type.
# Corresponds to the JSON property `groupType` # Corresponds to the JSON property `groupType`
# @return [String] # @return [String]
attr_accessor :group_type attr_accessor :group_type
# The total number of contacts in the group irrespective of max members in # Output only. The total number of contacts in the group irrespective of max
# members in
# specified in the request. # specified in the request.
# Corresponds to the JSON property `memberCount` # Corresponds to the JSON property `memberCount`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :member_count attr_accessor :member_count
# The list of contact person resource names that are members of the contact # Output only. The list of contact person resource names that are members of the
# contact
# group. The field is not populated for LIST requests and can only be updated # group. The field is not populated for LIST requests and can only be updated
# through the # through the
# [ModifyContactGroupMembers](/people/api/rest/v1/contactgroups/members/modify). # [ModifyContactGroupMembers](/people/api/rest/v1/contactgroups/members/modify).
@ -291,7 +293,7 @@ module Google
# @return [Array<String>] # @return [Array<String>]
attr_accessor :member_resource_names attr_accessor :member_resource_names
# The read-only metadata about a contact group. # The metadata about a contact group.
# Corresponds to the JSON property `metadata` # Corresponds to the JSON property `metadata`
# @return [Google::Apis::PeopleV1::ContactGroupMetadata] # @return [Google::Apis::PeopleV1::ContactGroupMetadata]
attr_accessor :metadata attr_accessor :metadata
@ -329,7 +331,7 @@ module Google
class ContactGroupMembership class ContactGroupMembership
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# The read-only contact group ID for the contact group membership. # Output only. The contact group ID for the contact group membership.
# Corresponds to the JSON property `contactGroupId` # Corresponds to the JSON property `contactGroupId`
# @return [String] # @return [String]
attr_accessor :contact_group_id attr_accessor :contact_group_id
@ -355,11 +357,12 @@ module Google
end end
end end
# The read-only metadata about a contact group. # The metadata about a contact group.
class ContactGroupMetadata class ContactGroupMetadata
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# True if the contact group resource has been deleted. Populated only for # Output only. True if the contact group resource has been deleted. Populated
# only for
# [`ListContactGroups`](/people/api/rest/v1/contactgroups/list) requests # [`ListContactGroups`](/people/api/rest/v1/contactgroups/list) requests
# that include a sync token. # that include a sync token.
# Corresponds to the JSON property `deleted` # Corresponds to the JSON property `deleted`
@ -367,7 +370,7 @@ module Google
attr_accessor :deleted attr_accessor :deleted
alias_method :deleted?, :deleted alias_method :deleted?, :deleted
# The time the group was last updated. # Output only. The time the group was last updated.
# Corresponds to the JSON property `updateTime` # Corresponds to the JSON property `updateTime`
# @return [String] # @return [String]
attr_accessor :update_time attr_accessor :update_time
@ -419,7 +422,7 @@ module Google
end end
end end
# A person's read-only cover photo. A large image shown on the person's # A person's cover photo. A large image shown on the person's
# profile page that represents who they are or what they care about. # profile page that represents who they are or what they care about.
class CoverPhoto class CoverPhoto
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -537,7 +540,7 @@ module Google
end end
end end
# A read-only G Suite Domain membership. # A G Suite Domain membership.
class DomainMembership class DomainMembership
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -566,7 +569,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :display_name attr_accessor :display_name
# The read-only type of the email address translated and formatted in the # Output only. The type of the email address translated and formatted in the
# viewer's account locale or the `Accept-Language` HTTP header locale. # viewer's account locale or the `Accept-Language` HTTP header locale.
# Corresponds to the JSON property `formattedType` # Corresponds to the JSON property `formattedType`
# @return [String] # @return [String]
@ -640,7 +643,7 @@ module Google
# @return [Google::Apis::PeopleV1::Date] # @return [Google::Apis::PeopleV1::Date]
attr_accessor :date attr_accessor :date
# The read-only type of the event translated and formatted in the # Output only. The type of the event translated and formatted in the
# viewer's account locale or the `Accept-Language` HTTP header locale. # viewer's account locale or the `Accept-Language` HTTP header locale.
# Corresponds to the JSON property `formattedType` # Corresponds to the JSON property `formattedType`
# @return [String] # @return [String]
@ -688,7 +691,8 @@ module Google
# @return [Google::Apis::PeopleV1::Source] # @return [Google::Apis::PeopleV1::Source]
attr_accessor :source attr_accessor :source
# True if the field is verified; false if the field is unverified. A # Output only. True if the field is verified; false if the field is unverified.
# A
# verified field is typically a name, email address, phone number, or # verified field is typically a name, email address, phone number, or
# website that has been confirmed to be owned by the person. # website that has been confirmed to be owned by the person.
# Corresponds to the JSON property `verified` # Corresponds to the JSON property `verified`
@ -712,7 +716,7 @@ module Google
class Gender class Gender
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# The read-only value of the gender translated and formatted in the viewer's # Output only. The value of the gender translated and formatted in the viewer's
# account locale or the `Accept-Language` HTTP header locale. # account locale or the `Accept-Language` HTTP header locale.
# Corresponds to the JSON property `formattedValue` # Corresponds to the JSON property `formattedValue`
# @return [String] # @return [String]
@ -768,13 +772,13 @@ module Google
class ImClient class ImClient
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# The read-only protocol of the IM client formatted in the viewer's account # Output only. The protocol of the IM client formatted in the viewer's account
# locale or the `Accept-Language` HTTP header locale. # locale or the `Accept-Language` HTTP header locale.
# Corresponds to the JSON property `formattedProtocol` # Corresponds to the JSON property `formattedProtocol`
# @return [String] # @return [String]
attr_accessor :formatted_protocol attr_accessor :formatted_protocol
# The read-only type of the IM client translated and formatted in the # Output only. The type of the IM client translated and formatted in the
# viewer's account locale or the `Accept-Language` HTTP header locale. # viewer's account locale or the `Accept-Language` HTTP header locale.
# Corresponds to the JSON property `formattedType` # Corresponds to the JSON property `formattedType`
# @return [String] # @return [String]
@ -972,7 +976,7 @@ module Google
# @return [Google::Apis::PeopleV1::ContactGroupMembership] # @return [Google::Apis::PeopleV1::ContactGroupMembership]
attr_accessor :contact_group_membership attr_accessor :contact_group_membership
# A read-only G Suite Domain membership. # A G Suite Domain membership.
# Corresponds to the JSON property `domainMembership` # Corresponds to the JSON property `domainMembership`
# @return [Google::Apis::PeopleV1::DomainMembership] # @return [Google::Apis::PeopleV1::DomainMembership]
attr_accessor :domain_membership attr_accessor :domain_membership
@ -1000,14 +1004,14 @@ module Google
class ModifyContactGroupMembersRequest class ModifyContactGroupMembersRequest
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# The resource names of the contact people to add in the form of in the form # The resource names of the contact people to add in the form of
# `people/`<var>person_id</var>. # `people/`<var>person_id</var>.
# Corresponds to the JSON property `resourceNamesToAdd` # Corresponds to the JSON property `resourceNamesToAdd`
# @return [Array<String>] # @return [Array<String>]
attr_accessor :resource_names_to_add attr_accessor :resource_names_to_add
# The resource names of the contact people to remove in the form of in the # The resource names of the contact people to remove in the form of
# form of `people/`<var>person_id</var>. # `people/`<var>person_id</var>.
# Corresponds to the JSON property `resourceNamesToRemove` # Corresponds to the JSON property `resourceNamesToRemove`
# @return [Array<String>] # @return [Array<String>]
attr_accessor :resource_names_to_remove attr_accessor :resource_names_to_remove
@ -1053,13 +1057,13 @@ module Google
class Name class Name
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# The read-only display name formatted according to the locale specified by # Output only. The display name formatted according to the locale specified by
# the viewer's account or the `Accept-Language` HTTP header. # the viewer's account or the `Accept-Language` HTTP header.
# Corresponds to the JSON property `displayName` # Corresponds to the JSON property `displayName`
# @return [String] # @return [String]
attr_accessor :display_name attr_accessor :display_name
# The read-only display name with the last name first formatted according to # Output only. The display name with the last name first formatted according to
# the locale specified by the viewer's account or the # the locale specified by the viewer's account or the
# `Accept-Language` HTTP header. # `Accept-Language` HTTP header.
# Corresponds to the JSON property `displayNameLastFirst` # Corresponds to the JSON property `displayNameLastFirst`
@ -1240,7 +1244,7 @@ module Google
# @return [Google::Apis::PeopleV1::Date] # @return [Google::Apis::PeopleV1::Date]
attr_accessor :end_date attr_accessor :end_date
# The read-only type of the organization translated and formatted in the # Output only. The type of the organization translated and formatted in the
# viewer's account locale or the `Accept-Language` HTTP header locale. # viewer's account locale or the `Accept-Language` HTTP header locale.
# Corresponds to the JSON property `formattedType` # Corresponds to the JSON property `formattedType`
# @return [String] # @return [String]
@ -1338,13 +1342,13 @@ module Google
# @return [Array<Google::Apis::PeopleV1::Address>] # @return [Array<Google::Apis::PeopleV1::Address>]
attr_accessor :addresses attr_accessor :addresses
# **DEPRECATED** (Please use `person.ageRanges` instead)** # Output only. **DEPRECATED** (Please use `person.ageRanges` instead)**
# The person's read-only age range. # The person's age range.
# Corresponds to the JSON property `ageRange` # Corresponds to the JSON property `ageRange`
# @return [String] # @return [String]
attr_accessor :age_range attr_accessor :age_range
# The person's read-only age ranges. # Output only. The person's age ranges.
# Corresponds to the JSON property `ageRanges` # Corresponds to the JSON property `ageRanges`
# @return [Array<Google::Apis::PeopleV1::AgeRangeType>] # @return [Array<Google::Apis::PeopleV1::AgeRangeType>]
attr_accessor :age_ranges attr_accessor :age_ranges
@ -1364,7 +1368,7 @@ module Google
# @return [Array<Google::Apis::PeopleV1::BraggingRights>] # @return [Array<Google::Apis::PeopleV1::BraggingRights>]
attr_accessor :bragging_rights attr_accessor :bragging_rights
# The person's read-only cover photos. # Output only. The person's cover photos.
# Corresponds to the JSON property `coverPhotos` # Corresponds to the JSON property `coverPhotos`
# @return [Array<Google::Apis::PeopleV1::CoverPhoto>] # @return [Array<Google::Apis::PeopleV1::CoverPhoto>]
attr_accessor :cover_photos attr_accessor :cover_photos
@ -1410,7 +1414,7 @@ module Google
# @return [Array<Google::Apis::PeopleV1::Membership>] # @return [Array<Google::Apis::PeopleV1::Membership>]
attr_accessor :memberships attr_accessor :memberships
# The read-only metadata about a person. # The metadata about a person.
# Corresponds to the JSON property `metadata` # Corresponds to the JSON property `metadata`
# @return [Google::Apis::PeopleV1::PersonMetadata] # @return [Google::Apis::PeopleV1::PersonMetadata]
attr_accessor :metadata attr_accessor :metadata
@ -1440,7 +1444,7 @@ module Google
# @return [Array<Google::Apis::PeopleV1::PhoneNumber>] # @return [Array<Google::Apis::PeopleV1::PhoneNumber>]
attr_accessor :phone_numbers attr_accessor :phone_numbers
# The person's read-only photos. # Output only. The person's photos.
# Corresponds to the JSON property `photos` # Corresponds to the JSON property `photos`
# @return [Array<Google::Apis::PeopleV1::Photo>] # @return [Array<Google::Apis::PeopleV1::Photo>]
attr_accessor :photos attr_accessor :photos
@ -1450,12 +1454,12 @@ module Google
# @return [Array<Google::Apis::PeopleV1::Relation>] # @return [Array<Google::Apis::PeopleV1::Relation>]
attr_accessor :relations attr_accessor :relations
# The person's read-only relationship interests. # Output only. The person's relationship interests.
# Corresponds to the JSON property `relationshipInterests` # Corresponds to the JSON property `relationshipInterests`
# @return [Array<Google::Apis::PeopleV1::RelationshipInterest>] # @return [Array<Google::Apis::PeopleV1::RelationshipInterest>]
attr_accessor :relationship_interests attr_accessor :relationship_interests
# The person's read-only relationship statuses. # Output only. The person's relationship statuses.
# Corresponds to the JSON property `relationshipStatuses` # Corresponds to the JSON property `relationshipStatuses`
# @return [Array<Google::Apis::PeopleV1::RelationshipStatus>] # @return [Array<Google::Apis::PeopleV1::RelationshipStatus>]
attr_accessor :relationship_statuses attr_accessor :relationship_statuses
@ -1482,7 +1486,7 @@ module Google
# @return [Array<Google::Apis::PeopleV1::Skill>] # @return [Array<Google::Apis::PeopleV1::Skill>]
attr_accessor :skills attr_accessor :skills
# The person's read-only taglines. # Output only. The person's taglines.
# Corresponds to the JSON property `taglines` # Corresponds to the JSON property `taglines`
# @return [Array<Google::Apis::PeopleV1::Tagline>] # @return [Array<Google::Apis::PeopleV1::Tagline>]
attr_accessor :taglines attr_accessor :taglines
@ -1538,11 +1542,11 @@ module Google
end end
end end
# The read-only metadata about a person. # The metadata about a person.
class PersonMetadata class PersonMetadata
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# True if the person resource has been deleted. Populated only for # Output only. True if the person resource has been deleted. Populated only for
# [`connections.list`](/people/api/rest/v1/people.connections/list) requests # [`connections.list`](/people/api/rest/v1/people.connections/list) requests
# that include a sync token. # that include a sync token.
# Corresponds to the JSON property `deleted` # Corresponds to the JSON property `deleted`
@ -1550,19 +1554,19 @@ module Google
attr_accessor :deleted attr_accessor :deleted
alias_method :deleted?, :deleted alias_method :deleted?, :deleted
# Resource names of people linked to this resource. # Output only. Resource names of people linked to this resource.
# Corresponds to the JSON property `linkedPeopleResourceNames` # Corresponds to the JSON property `linkedPeopleResourceNames`
# @return [Array<String>] # @return [Array<String>]
attr_accessor :linked_people_resource_names attr_accessor :linked_people_resource_names
# **DEPRECATED** (Please use # Output only. **DEPRECATED** (Please use
# `person.metadata.sources.profileMetadata.objectType` instead) # `person.metadata.sources.profileMetadata.objectType` instead)
# The type of the person object. # The type of the person object.
# Corresponds to the JSON property `objectType` # Corresponds to the JSON property `objectType`
# @return [String] # @return [String]
attr_accessor :object_type attr_accessor :object_type
# Any former resource names this person has had. Populated only for # Output only. Any former resource names this person has had. Populated only for
# [`connections.list`](/people/api/rest/v1/people.connections/list) requests # [`connections.list`](/people/api/rest/v1/people.connections/list) requests
# that include a sync token. # that include a sync token.
# The resource name may change when adding or removing fields that link a # The resource name may change when adding or removing fields that link a
@ -1647,14 +1651,14 @@ module Google
class PhoneNumber class PhoneNumber
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# The read-only canonicalized [ITU-T # Output only. The canonicalized [ITU-T
# E.164](https://law.resource.org/pub/us/cfr/ibr/004/itu-t.E.164.1.2008.pdf) # E.164](https://law.resource.org/pub/us/cfr/ibr/004/itu-t.E.164.1.2008.pdf)
# form of the phone number. # form of the phone number.
# Corresponds to the JSON property `canonicalForm` # Corresponds to the JSON property `canonicalForm`
# @return [String] # @return [String]
attr_accessor :canonical_form attr_accessor :canonical_form
# The read-only type of the phone number translated and formatted in the # Output only. The type of the phone number translated and formatted in the
# viewer's account locale or the `Accept-Language` HTTP header locale. # viewer's account locale or the `Accept-Language` HTTP header locale.
# Corresponds to the JSON property `formattedType` # Corresponds to the JSON property `formattedType`
# @return [String] # @return [String]
@ -1702,7 +1706,7 @@ module Google
end end
end end
# A person's read-only photo. A picture shown next to the person's name to # A person's photo. A picture shown next to the person's name to
# help others recognize the person. # help others recognize the person.
class Photo class Photo
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -1739,16 +1743,16 @@ module Google
end end
end end
# The read-only metadata about a profile. # The metadata about a profile.
class ProfileMetadata class ProfileMetadata
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# The profile object type. # Output only. The profile object type.
# Corresponds to the JSON property `objectType` # Corresponds to the JSON property `objectType`
# @return [String] # @return [String]
attr_accessor :object_type attr_accessor :object_type
# The user types. # Output only. The user types.
# Corresponds to the JSON property `userTypes` # Corresponds to the JSON property `userTypes`
# @return [Array<String>] # @return [Array<String>]
attr_accessor :user_types attr_accessor :user_types
@ -1768,8 +1772,8 @@ module Google
class Relation class Relation
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# The type of the relation translated and formatted in the viewer's account # Output only. The type of the relation translated and formatted in the viewer's
# locale or the locale specified in the Accept-Language HTTP header. # account locale or the locale specified in the Accept-Language HTTP header.
# Corresponds to the JSON property `formattedType` # Corresponds to the JSON property `formattedType`
# @return [String] # @return [String]
attr_accessor :formatted_type attr_accessor :formatted_type
@ -1817,13 +1821,13 @@ module Google
end end
end end
# A person's read-only relationship interest . # A person's relationship interest .
class RelationshipInterest class RelationshipInterest
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# The value of the relationship interest translated and formatted in the # Output only. The value of the relationship interest translated and formatted
# viewer's account locale or the locale specified in the Accept-Language # in the viewer's account locale or the locale specified in the
# HTTP header. # Accept-Language HTTP header.
# Corresponds to the JSON property `formattedValue` # Corresponds to the JSON property `formattedValue`
# @return [String] # @return [String]
attr_accessor :formatted_value attr_accessor :formatted_value
@ -1855,11 +1859,11 @@ module Google
end end
end end
# A person's read-only relationship status. # A person's relationship status.
class RelationshipStatus class RelationshipStatus
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# The read-only value of the relationship status translated and formatted in # Output only. The value of the relationship status translated and formatted in
# the viewer's account locale or the `Accept-Language` HTTP header locale. # the viewer's account locale or the `Accept-Language` HTTP header locale.
# Corresponds to the JSON property `formattedValue` # Corresponds to the JSON property `formattedValue`
# @return [String] # @return [String]
@ -1935,7 +1939,7 @@ module Google
class SipAddress class SipAddress
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# The read-only type of the SIP address translated and formatted in the # Output only. The type of the SIP address translated and formatted in the
# viewer's account locale or the `Accept-Language` HTTP header locale. # viewer's account locale or the `Accept-Language` HTTP header locale.
# Corresponds to the JSON property `formattedType` # Corresponds to the JSON property `formattedType`
# @return [String] # @return [String]
@ -2017,7 +2021,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :id attr_accessor :id
# The read-only metadata about a profile. # The metadata about a profile.
# Corresponds to the JSON property `profileMetadata` # Corresponds to the JSON property `profileMetadata`
# @return [Google::Apis::PeopleV1::ProfileMetadata] # @return [Google::Apis::PeopleV1::ProfileMetadata]
attr_accessor :profile_metadata attr_accessor :profile_metadata
@ -2027,7 +2031,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :type attr_accessor :type
# **Only populated in `person.metadata.sources`.** # Output only. **Only populated in `person.metadata.sources`.**
# Last update timestamp of this source. # Last update timestamp of this source.
# Corresponds to the JSON property `updateTime` # Corresponds to the JSON property `updateTime`
# @return [String] # @return [String]
@ -2086,7 +2090,7 @@ module Google
end end
end end
# A read-only brief one-line description of the person. # A brief one-line description of the person.
class Tagline class Tagline
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -2136,10 +2140,10 @@ module Google
class UpdateContactPhotoRequest class UpdateContactPhotoRequest
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# **Optional.** Not specifying any fields will skip the post mutate read. # Optional. A field mask to restrict which fields on the person are returned.
# A field mask to restrict which fields on the person are # Multiple
# returned. Multiple fields can be specified by separating them with commas. # fields can be specified by separating them with commas. Defaults to empty
# Valid values are: # if not set, which will skip the post mutate get. Valid values are:
# * addresses # * addresses
# * ageRanges # * ageRanges
# * biographies # * biographies
@ -2173,7 +2177,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :person_fields attr_accessor :person_fields
# Raw photo bytes # Required. Raw photo bytes
# Corresponds to the JSON property `photoBytes` # Corresponds to the JSON property `photoBytes`
# NOTE: Values are automatically base64 encoded/decoded in the client library. # NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String] # @return [String]
@ -2217,7 +2221,7 @@ module Google
class Url class Url
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# The read-only type of the URL translated and formatted in the viewer's # Output only. The type of the URL translated and formatted in the viewer's
# account locale or the `Accept-Language` HTTP header locale. # account locale or the `Accept-Language` HTTP header locale.
# Corresponds to the JSON property `formattedType` # Corresponds to the JSON property `formattedType`
# @return [String] # @return [String]

View File

@ -50,9 +50,11 @@ module Google
# Get a list of contact groups owned by the authenticated user by specifying # Get a list of contact groups owned by the authenticated user by specifying
# a list of contact group resource names. # a list of contact group resource names.
# @param [Fixnum] max_members # @param [Fixnum] max_members
# Specifies the maximum number of members to return for each group. # Optional. Specifies the maximum number of members to return for each group.
# Defaults
# to 0 if not set, which will return zero members.
# @param [Array<String>, String] resource_names # @param [Array<String>, String] resource_names
# The resource names of the contact groups to get. # Required. The resource names of the contact groups to get.
# @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.
# @param [String] quota_user # @param [String] quota_user
@ -114,9 +116,9 @@ module Google
# Delete an existing contact group owned by the authenticated user by # Delete an existing contact group owned by the authenticated user by
# specifying a contact group resource name. # specifying a contact group resource name.
# @param [String] resource_name # @param [String] resource_name
# The resource name of the contact group to delete. # Required. The resource name of the contact group to delete.
# @param [Boolean] delete_contacts # @param [Boolean] delete_contacts
# Set to true to also delete the contacts in the specified group. # Optional. Set to true to also delete the contacts in the specified group.
# @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.
# @param [String] quota_user # @param [String] quota_user
@ -148,9 +150,11 @@ module Google
# Get a specific contact group owned by the authenticated user by specifying # Get a specific contact group owned by the authenticated user by specifying
# a contact group resource name. # a contact group resource name.
# @param [String] resource_name # @param [String] resource_name
# The resource name of the contact group to get. # Required. The resource name of the contact group to get.
# @param [Fixnum] max_members # @param [Fixnum] max_members
# Specifies the maximum number of members to return. # Optional. Specifies the maximum number of members to return. Defaults to 0 if
# not
# set, which will return zero members.
# @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.
# @param [String] quota_user # @param [String] quota_user
@ -182,7 +186,9 @@ module Google
# List all contact groups owned by the authenticated user. Members of the # List all contact groups owned by the authenticated user. Members of the
# contact groups are not populated. # contact groups are not populated.
# @param [Fixnum] page_size # @param [Fixnum] page_size
# The maximum number of resources to return. # Optional. The maximum number of resources to return. Valid values are between
# 1 and
# 1000, inclusive. Defaults to 30 if not set or set to 0.
# @param [String] page_token # @param [String] page_token
# The next_page_token value returned from a previous call to # The next_page_token value returned from a previous call to
# [ListContactGroups](/people/api/rest/v1/contactgroups/list). # [ListContactGroups](/people/api/rest/v1/contactgroups/list).
@ -260,7 +266,7 @@ module Google
# `contactGroups/myContacts` and `contactGroups/starred`. Other system # `contactGroups/myContacts` and `contactGroups/starred`. Other system
# contact groups are deprecated and can only have contacts removed. # contact groups are deprecated and can only have contacts removed.
# @param [String] resource_name # @param [String] resource_name
# The resource name of the contact group to modify. # Required. The resource name of the contact group to modify.
# @param [Google::Apis::PeopleV1::ModifyContactGroupMembersRequest] modify_contact_group_members_request_object # @param [Google::Apis::PeopleV1::ModifyContactGroupMembersRequest] modify_contact_group_members_request_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.
@ -293,8 +299,6 @@ module Google
# Create a new contact and return the person resource for that contact. # Create a new contact and return the person resource for that contact.
# @param [Google::Apis::PeopleV1::Person] person_object # @param [Google::Apis::PeopleV1::Person] person_object
# @param [String] parent
# The resource name of the owning person resource.
# @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.
# @param [String] quota_user # @param [String] quota_user
@ -312,13 +316,12 @@ 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 create_person_contact(person_object = nil, parent: nil, fields: nil, quota_user: nil, options: nil, &block) def create_person_contact(person_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/people:createContact', options) command = make_simple_command(:post, 'v1/people:createContact', options)
command.request_representation = Google::Apis::PeopleV1::Person::Representation command.request_representation = Google::Apis::PeopleV1::Person::Representation
command.request_object = person_object command.request_object = person_object
command.response_representation = Google::Apis::PeopleV1::Person::Representation command.response_representation = Google::Apis::PeopleV1::Person::Representation
command.response_class = Google::Apis::PeopleV1::Person command.response_class = Google::Apis::PeopleV1::Person
command.query['parent'] = parent unless parent.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?
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
@ -326,7 +329,7 @@ module Google
# Delete a contact person. Any non-contact data will not be deleted. # Delete a contact person. Any non-contact data will not be deleted.
# @param [String] resource_name # @param [String] resource_name
# The resource name of the contact to delete. # Required. The resource name of the contact to delete.
# @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.
# @param [String] quota_user # @param [String] quota_user
@ -356,12 +359,12 @@ module Google
# Delete a contact's photo. # Delete a contact's photo.
# @param [String] resource_name # @param [String] resource_name
# The resource name of the contact whose photo will be deleted. # Required. The resource name of the contact whose photo will be deleted.
# @param [String] person_fields # @param [String] person_fields
# **Optional.** Not specifying any fields will skip the post mutate read. # Optional. A field mask to restrict which fields on the person are returned.
# A field mask to restrict which fields on the person are # Multiple
# returned. Multiple fields can be specified by separating them with commas. # fields can be specified by separating them with commas. Defaults to empty
# Valid values are: # if not set, which will skip the post mutate get. Valid values are:
# * addresses # * addresses
# * ageRanges # * ageRanges
# * biographies # * biographies
@ -424,7 +427,7 @@ module Google
# <br> # <br>
# The request throws a 400 error if 'personFields' is not specified. # The request throws a 400 error if 'personFields' is not specified.
# @param [String] resource_name # @param [String] resource_name
# The resource name of the person to provide information about. # Required. The resource name of the person to provide information about.
# - To get information about the authenticated user, specify `people/me`. # - To get information about the authenticated user, specify `people/me`.
# - To get information about a google account, specify # - To get information about a google account, specify
# `people/`<var>account_id</var>. # `people/`<var>account_id</var>.
@ -432,9 +435,9 @@ module Google
# identifies the contact as returned by # identifies the contact as returned by
# [`people.connections.list`](/people/api/rest/v1/people.connections/list). # [`people.connections.list`](/people/api/rest/v1/people.connections/list).
# @param [String] person_fields # @param [String] person_fields
# **Required.** A field mask to restrict which fields on the person are # Required. A field mask to restrict which fields on the person are returned.
# returned. Multiple fields can be specified by separating them with commas. # Multiple
# Valid values are: # fields can be specified by separating them with commas. Valid values are:
# * addresses # * addresses
# * ageRanges # * ageRanges
# * biographies # * biographies
@ -465,9 +468,10 @@ module Google
# * urls # * urls
# * userDefined # * userDefined
# @param [String] request_mask_include_field # @param [String] request_mask_include_field
# **Required.** Comma-separated list of person fields to be included in the # Required. Comma-separated list of person fields to be included in the response.
# response. Each path should start with `person.`: for example, # Each
# `person.names` or `person.photos`. # path should start with `person.`: for example, `person.names` or
# `person.photos`.
# @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.
# @param [String] quota_user # @param [String] quota_user
@ -503,9 +507,9 @@ module Google
# <br> # <br>
# The request throws a 400 error if 'personFields' is not specified. # The request throws a 400 error if 'personFields' is not specified.
# @param [String] person_fields # @param [String] person_fields
# **Required.** A field mask to restrict which fields on each person are # Required. A field mask to restrict which fields on each person are returned.
# returned. Multiple fields can be specified by separating them with commas. # Multiple
# Valid values are: # fields can be specified by separating them with commas. Valid values are:
# * addresses # * addresses
# * ageRanges # * ageRanges
# * biographies # * biographies
@ -536,11 +540,12 @@ module Google
# * urls # * urls
# * userDefined # * userDefined
# @param [String] request_mask_include_field # @param [String] request_mask_include_field
# **Required.** Comma-separated list of person fields to be included in the # Required. Comma-separated list of person fields to be included in the response.
# response. Each path should start with `person.`: for example, # Each
# `person.names` or `person.photos`. # path should start with `person.`: for example, `person.names` or
# `person.photos`.
# @param [Array<String>, String] resource_names # @param [Array<String>, String] resource_names
# The resource names of the people to provide information about. # Required. The resource names of the people to provide information about.
# - To get information about the authenticated user, specify `people/me`. # - To get information about the authenticated user, specify `people/me`.
# - To get information about a google account, specify # - To get information about a google account, specify
# `people/`<var>account_id</var>. # `people/`<var>account_id</var>.
@ -595,8 +600,9 @@ module Google
# `people/`<var>person_id</var>. # `people/`<var>person_id</var>.
# @param [Google::Apis::PeopleV1::Person] person_object # @param [Google::Apis::PeopleV1::Person] person_object
# @param [String] update_person_fields # @param [String] update_person_fields
# **Required.** A field mask to restrict which fields on the person are # Required. A field mask to restrict which fields on the person are updated.
# updated. Multiple fields can be specified by separating them with commas. # Multiple
# fields can be specified by separating them with commas.
# All updated fields will be replaced. Valid values are: # All updated fields will be replaced. Valid values are:
# * addresses # * addresses
# * biographies # * biographies
@ -650,7 +656,7 @@ module Google
# Update a contact's photo. # Update a contact's photo.
# @param [String] resource_name # @param [String] resource_name
# Person resource name # Required. Person resource name
# @param [Google::Apis::PeopleV1::UpdateContactPhotoRequest] update_contact_photo_request_object # @param [Google::Apis::PeopleV1::UpdateContactPhotoRequest] update_contact_photo_request_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.
@ -686,16 +692,18 @@ module Google
# <br> # <br>
# The request throws a 400 error if 'personFields' is not specified. # The request throws a 400 error if 'personFields' is not specified.
# @param [String] resource_name # @param [String] resource_name
# The resource name to return connections for. Only `people/me` is valid. # Required. The resource name to return connections for. Only `people/me` is
# valid.
# @param [Fixnum] page_size # @param [Fixnum] page_size
# The number of connections to include in the response. Valid values are # Optional. The number of connections to include in the response. Valid values
# between 1 and 2000, inclusive. Defaults to 100. # are
# between 1 and 2000, inclusive. Defaults to 100 if not set or set to 0.
# @param [String] page_token # @param [String] page_token
# The token of the page to be returned. # The token of the page to be returned.
# @param [String] person_fields # @param [String] person_fields
# **Required.** A field mask to restrict which fields on each person are # Required. A field mask to restrict which fields on each person are returned.
# returned. Multiple fields can be specified by separating them with commas. # Multiple
# Valid values are: # fields can be specified by separating them with commas. Valid values are:
# * addresses # * addresses
# * ageRanges # * ageRanges
# * biographies # * biographies
@ -726,9 +734,10 @@ module Google
# * urls # * urls
# * userDefined # * userDefined
# @param [String] request_mask_include_field # @param [String] request_mask_include_field
# **Required.** Comma-separated list of person fields to be included in the # Required. Comma-separated list of person fields to be included in the response.
# response. Each path should start with `person.`: for example, # Each
# `person.names` or `person.photos`. # path should start with `person.`: for example, `person.names` or
# `person.photos`.
# @param [Boolean] request_sync_token # @param [Boolean] request_sync_token
# Whether the response should include a sync token, which can be used to get # Whether the response should include a sync token, which can be used to get
# all changes since the last request. For subsequent sync requests use the # all changes since the last request. For subsequent sync requests use the

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/video-intelligence/docs/ # @see https://cloud.google.com/video-intelligence/docs/
module VideointelligenceV1 module VideointelligenceV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20191018' REVISION = '20191028'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -4376,8 +4376,7 @@ module Google
end end
end end
# For tracking related features, such as LOGO_RECOGNITION, FACE_DETECTION, # For tracking related features.
# CELEBRITY_RECOGNITION, PERSON_DETECTION.
# An object at time_offset with attributes, and located with # An object at time_offset with attributes, and located with
# normalized_bounding_box. # normalized_bounding_box.
class GoogleCloudVideointelligenceV1p3beta1TimestampedObject class GoogleCloudVideointelligenceV1p3beta1TimestampedObject

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/video-intelligence/docs/ # @see https://cloud.google.com/video-intelligence/docs/
module VideointelligenceV1beta2 module VideointelligenceV1beta2
VERSION = 'V1beta2' VERSION = 'V1beta2'
REVISION = '20191018' REVISION = '20191028'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -4376,8 +4376,7 @@ module Google
end end
end end
# For tracking related features, such as LOGO_RECOGNITION, FACE_DETECTION, # For tracking related features.
# CELEBRITY_RECOGNITION, PERSON_DETECTION.
# An object at time_offset with attributes, and located with # An object at time_offset with attributes, and located with
# normalized_bounding_box. # normalized_bounding_box.
class GoogleCloudVideointelligenceV1p3beta1TimestampedObject class GoogleCloudVideointelligenceV1p3beta1TimestampedObject

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/video-intelligence/docs/ # @see https://cloud.google.com/video-intelligence/docs/
module VideointelligenceV1p1beta1 module VideointelligenceV1p1beta1
VERSION = 'V1p1beta1' VERSION = 'V1p1beta1'
REVISION = '20191018' REVISION = '20191028'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -4376,8 +4376,7 @@ module Google
end end
end end
# For tracking related features, such as LOGO_RECOGNITION, FACE_DETECTION, # For tracking related features.
# CELEBRITY_RECOGNITION, PERSON_DETECTION.
# An object at time_offset with attributes, and located with # An object at time_offset with attributes, and located with
# normalized_bounding_box. # normalized_bounding_box.
class GoogleCloudVideointelligenceV1p3beta1TimestampedObject class GoogleCloudVideointelligenceV1p3beta1TimestampedObject

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/video-intelligence/docs/ # @see https://cloud.google.com/video-intelligence/docs/
module VideointelligenceV1p2beta1 module VideointelligenceV1p2beta1
VERSION = 'V1p2beta1' VERSION = 'V1p2beta1'
REVISION = '20191018' REVISION = '20191028'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -4376,8 +4376,7 @@ module Google
end end
end end
# For tracking related features, such as LOGO_RECOGNITION, FACE_DETECTION, # For tracking related features.
# CELEBRITY_RECOGNITION, PERSON_DETECTION.
# An object at time_offset with attributes, and located with # An object at time_offset with attributes, and located with
# normalized_bounding_box. # normalized_bounding_box.
class GoogleCloudVideointelligenceV1p3beta1TimestampedObject class GoogleCloudVideointelligenceV1p3beta1TimestampedObject

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/video-intelligence/docs/ # @see https://cloud.google.com/video-intelligence/docs/
module VideointelligenceV1p3beta1 module VideointelligenceV1p3beta1
VERSION = 'V1p3beta1' VERSION = 'V1p3beta1'
REVISION = '20191018' REVISION = '20191028'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -4319,8 +4319,7 @@ module Google
end end
end end
# For tracking related features, such as LOGO_RECOGNITION, FACE_DETECTION, # For tracking related features.
# CELEBRITY_RECOGNITION, PERSON_DETECTION.
# An object at time_offset with attributes, and located with # An object at time_offset with attributes, and located with
# normalized_bounding_box. # normalized_bounding_box.
class GoogleCloudVideointelligenceV1p3beta1TimestampedObject class GoogleCloudVideointelligenceV1p3beta1TimestampedObject