Autogenerated update (2020-05-15)

Update:
- cloudsearch_v1
- dialogflow_v2
- dialogflow_v2beta1
- firebase_v1beta1
- jobs_v3
- memcache_v1beta2
- monitoring_v3
- people_v1
- pubsub_v1
- secretmanager_v1
- secretmanager_v1beta1
This commit is contained in:
Google APIs 2020-05-15 00:38:32 +00:00
parent 2dc0cf13c7
commit 6d2a0f481f
22 changed files with 113 additions and 75 deletions

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/cloud-search/docs/guides/
module CloudsearchV1
VERSION = 'V1'
REVISION = '20200421'
REVISION = '20200505'
# Index and serve your organization's data with Cloud Search
AUTH_CLOUD_SEARCH = 'https://www.googleapis.com/auth/cloud_search'

View File

@ -974,10 +974,12 @@ module Google
# @return [Fixnum]
attr_accessor :count
# Percent of results that match the bucket value. This value is between
# (0-100]. Percentages are returned for all searches, but are an estimate.
# Because percentages are always returned, you should render percentages
# instead of counts.
# Percent of results that match the bucket value. The returned value is
# between (0-100], and is rounded down to an integer if fractional. If the
# value is not explicitly returned, it represents a percentage value that
# rounds to 0. Percentages are returned for all searches, but are an
# estimate. Because percentages are always returned, you should render
# percentages instead of counts.
# Corresponds to the JSON property `percentage`
# @return [Fixnum]
attr_accessor :percentage
@ -2550,7 +2552,7 @@ module Google
# The user friendly label to display in the search result to indicate the
# type of the item. This is OPTIONAL; if not provided, an object label isn't
# displayed on the context line of the search results. The maximum length
# is 32 characters.
# is 64 characters.
# Corresponds to the JSON property `objectDisplayLabel`
# @return [String]
attr_accessor :object_display_label
@ -3097,7 +3099,7 @@ module Google
# display name given was 'priority', then the user sees 'priority : 1' in
# the search results which provides clear context to search users. This is
# OPTIONAL; if not given, only the property values are displayed.
# The maximum length is 32 characters.
# The maximum length is 64 characters.
# Corresponds to the JSON property `displayLabel`
# @return [String]
attr_accessor :display_label

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/dialogflow/
module DialogflowV2
VERSION = 'V2'
REVISION = '20200503'
REVISION = '20200512'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/dialogflow/
module DialogflowV2beta1
VERSION = 'V2beta1'
REVISION = '20200503'
REVISION = '20200512'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

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

View File

@ -1313,18 +1313,8 @@ module Google
# @return [String]
attr_accessor :location_id
# The unique Google-assigned identifier of the Google Analytics web stream
# associated with the Firebase Web App. Firebase SDKs use this ID to interact
# with Google Analytics APIs.
# <br>
# <br>This field is only present if the App is linked to a web stream in a
# Google Analytics App + Web property. Learn more about this ID and Google
# Analytics web streams in the [Analytics
# documentation](https://support.google.com/analytics/topic/9303475).
# <br>
# <br>To generate a `measurementId` and link the Web App with a Google
# Analytics web stream, call
# [`AddGoogleAnalytics`](../../v1beta1/projects/addGoogleAnalytics).
# This field will no longer be provided here. Instead, use
# `GetAnalyticsDetails`
# Corresponds to the JSON property `measurementId`
# @return [String]
attr_accessor :measurement_id

View File

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

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/memorystore/
module MemcacheV1beta2
VERSION = 'V1beta2'
REVISION = '20200414'
REVISION = '20200512'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1255,10 +1255,13 @@ module Google
# Google groups, and domains (such as G Suite). A `role` is a named list of
# permissions; each `role` can be an IAM predefined role or a user-created
# custom role.
# Optionally, a `binding` can specify a `condition`, which is a logical
# expression that allows access to a resource only if the expression evaluates
# to `true`. A condition can add constraints based on attributes of the
# request, the resource, or both.
# For some types of Google Cloud resources, a `binding` can also specify a
# `condition`, which is a logical expression that allows access to a resource
# only if the expression evaluates to `true`. A condition can add constraints
# based on attributes of the request, the resource, or both. To learn which
# resources support conditions in their IAM policies, see the
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
# policies).
# **JSON example:**
# `
# "bindings": [
@ -1273,7 +1276,9 @@ module Google
# `,
# `
# "role": "roles/resourcemanager.organizationViewer",
# "members": ["user:eve@example.com"],
# "members": [
# "user:eve@example.com"
# ],
# "condition": `
# "title": "expirable access",
# "description": "Does not grant access after Sep 2020",
@ -1351,6 +1356,9 @@ module Google
# the conditions in the version `3` policy are lost.
# If a policy does not include any conditions, operations on that policy may
# specify any valid version or leave the field unset.
# To learn which resources support conditions in their IAM policies, see the
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
# policies).
# Corresponds to the JSON property `version`
# @return [Fixnum]
attr_accessor :version
@ -1379,10 +1387,13 @@ module Google
# Google groups, and domains (such as G Suite). A `role` is a named list of
# permissions; each `role` can be an IAM predefined role or a user-created
# custom role.
# Optionally, a `binding` can specify a `condition`, which is a logical
# expression that allows access to a resource only if the expression evaluates
# to `true`. A condition can add constraints based on attributes of the
# request, the resource, or both.
# For some types of Google Cloud resources, a `binding` can also specify a
# `condition`, which is a logical expression that allows access to a resource
# only if the expression evaluates to `true`. A condition can add constraints
# based on attributes of the request, the resource, or both. To learn which
# resources support conditions in their IAM policies, see the
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
# policies).
# **JSON example:**
# `
# "bindings": [
@ -1397,7 +1408,9 @@ module Google
# `,
# `
# "role": "roles/resourcemanager.organizationViewer",
# "members": ["user:eve@example.com"],
# "members": [
# "user:eve@example.com"
# ],
# "condition": `
# "title": "expirable access",
# "description": "Does not grant access after Sep 2020",
@ -1435,8 +1448,7 @@ module Google
# OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
# the fields in the mask will be modified. If no mask is provided, the
# following default mask is used:
# paths: "bindings, etag"
# This field is only used by Cloud IAM.
# `paths: "bindings, etag"`
# Corresponds to the JSON property `updateMask`
# @return [String]
attr_accessor :update_mask

View File

@ -274,6 +274,9 @@ module Google
# Requests for policies with any conditional bindings must specify version 3.
# Policies without any conditional bindings may specify any valid value or
# leave the field unset.
# To learn which resources support conditions in their IAM policies, see the
# [IAM
# documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -398,7 +401,7 @@ module Google
# Sets the access control policy on the specified resource. Replaces any
# existing policy.
# Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED
# Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
# @param [String] resource
# REQUIRED: The resource for which the policy is being specified.
# See the operation documentation for the appropriate value for this field.
@ -434,7 +437,7 @@ module Google
# Returns permissions that a caller has on the specified resource.
# If the resource does not exist, this will return an empty set of
# permissions, not a NOT_FOUND error.
# permissions, not a `NOT_FOUND` error.
# Note: This operation is designed to be used for building permission-aware
# UIs and command-line tools, not for authorization checking. This operation
# may "fail open" without warning.

View File

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

View File

@ -1341,7 +1341,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Queries time series using the time series query language. This method does not
# Queries time series using Monitoring Query Language. This method does not
# require a Workspace.
# @param [String] name
# Required. The project on which to execute the request. The format is:

View File

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

View File

@ -679,7 +679,7 @@ module Google
# @param [Fixnum] page_size
# Optional. The number of connections to include in the response. Valid values
# are
# between 1 and 2000, inclusive. Defaults to 100 if not set or set to 0.
# between 1 and 1000, inclusive. Defaults to 100 if not set or set to 0.
# @param [String] page_token
# Optional. A page token, received from a previous `ListConnections` call.
# Provide this to retrieve the subsequent page.

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/pubsub/docs
module PubsubV1
VERSION = 'V1'
REVISION = '20200427'
REVISION = '20200505'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -883,19 +883,18 @@ module Google
# @return [String]
attr_accessor :ack_id
# Delivery attempt counter is 1 + (the sum of number of NACKs and number of
# ack_deadline exceeds) for this message.
# The approximate number of times that Cloud Pub/Sub has attempted to deliver
# the associated message to a subscriber.
# More precisely, this is 1 + (number of NACKs) +
# (number of ack_deadline exceeds) for this message.
# A NACK is any call to ModifyAckDeadline with a 0 deadline. An ack_deadline
# exceeds event is whenever a message is not acknowledged within
# ack_deadline. Note that ack_deadline is initially
# Subscription.ackDeadlineSeconds, but may get extended automatically by
# the client library.
# The first delivery of a given message will have this value as 1. The value
# is calculated at best effort and is approximate.
# Upon the first delivery of a given message, `delivery_attempt` will have a
# value of 1. The value is calculated at best effort and is approximate.
# If a DeadLetterPolicy is not set on the subscription, this will be 0.
# <b>EXPERIMENTAL:</b> This feature is part of a closed alpha release. This
# API might be changed in backward-incompatible ways and is not recommended
# for production use. It is not subject to any SLA or deprecation policy.
# Corresponds to the JSON property `deliveryAttempt`
# @return [Fixnum]
attr_accessor :delivery_attempt

View File

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

View File

@ -33,7 +33,7 @@ module Google
attr_accessor :name
# A secret payload resource in the Secret Manager API. This contains the
# sensitive secret data that is associated with a SecretVersion.
# sensitive secret payload that is associated with a SecretVersion.
# Corresponds to the JSON property `payload`
# @return [Google::Apis::SecretmanagerV1::SecretPayload]
attr_accessor :payload
@ -54,7 +54,7 @@ module Google
include Google::Apis::Core::Hashable
# A secret payload resource in the Secret Manager API. This contains the
# sensitive secret data that is associated with a SecretVersion.
# sensitive secret payload that is associated with a SecretVersion.
# Corresponds to the JSON property `payload`
# @return [Google::Apis::SecretmanagerV1::SecretPayload]
attr_accessor :payload
@ -548,10 +548,13 @@ module Google
# Google groups, and domains (such as G Suite). A `role` is a named list of
# permissions; each `role` can be an IAM predefined role or a user-created
# custom role.
# Optionally, a `binding` can specify a `condition`, which is a logical
# expression that allows access to a resource only if the expression evaluates
# to `true`. A condition can add constraints based on attributes of the
# request, the resource, or both.
# For some types of Google Cloud resources, a `binding` can also specify a
# `condition`, which is a logical expression that allows access to a resource
# only if the expression evaluates to `true`. A condition can add constraints
# based on attributes of the request, the resource, or both. To learn which
# resources support conditions in their IAM policies, see the
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
# policies).
# **JSON example:**
# `
# "bindings": [
@ -566,7 +569,9 @@ module Google
# `,
# `
# "role": "roles/resourcemanager.organizationViewer",
# "members": ["user:eve@example.com"],
# "members": [
# "user:eve@example.com"
# ],
# "condition": `
# "title": "expirable access",
# "description": "Does not grant access after Sep 2020",
@ -644,6 +649,9 @@ module Google
# the conditions in the version `3` policy are lost.
# If a policy does not include any conditions, operations on that policy may
# specify any valid version or leave the field unset.
# To learn which resources support conditions in their IAM policies, see the
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
# policies).
# Corresponds to the JSON property `version`
# @return [Fixnum]
attr_accessor :version
@ -757,7 +765,7 @@ module Google
end
# A secret payload resource in the Secret Manager API. This contains the
# sensitive secret data that is associated with a SecretVersion.
# sensitive secret payload that is associated with a SecretVersion.
class SecretPayload
include Google::Apis::Core::Hashable
@ -830,10 +838,13 @@ module Google
# Google groups, and domains (such as G Suite). A `role` is a named list of
# permissions; each `role` can be an IAM predefined role or a user-created
# custom role.
# Optionally, a `binding` can specify a `condition`, which is a logical
# expression that allows access to a resource only if the expression evaluates
# to `true`. A condition can add constraints based on attributes of the
# request, the resource, or both.
# For some types of Google Cloud resources, a `binding` can also specify a
# `condition`, which is a logical expression that allows access to a resource
# only if the expression evaluates to `true`. A condition can add constraints
# based on attributes of the request, the resource, or both. To learn which
# resources support conditions in their IAM policies, see the
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
# policies).
# **JSON example:**
# `
# "bindings": [
@ -848,7 +859,9 @@ module Google
# `,
# `
# "role": "roles/resourcemanager.organizationViewer",
# "members": ["user:eve@example.com"],
# "members": [
# "user:eve@example.com"
# ],
# "condition": `
# "title": "expirable access",
# "description": "Does not grant access after Sep 2020",

View File

@ -266,6 +266,9 @@ module Google
# Requests for policies with any conditional bindings must specify version 3.
# Policies without any conditional bindings may specify any valid value or
# leave the field unset.
# To learn which resources support conditions in their IAM policies, see the
# [IAM
# documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user

View File

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

View File

@ -548,10 +548,13 @@ module Google
# Google groups, and domains (such as G Suite). A `role` is a named list of
# permissions; each `role` can be an IAM predefined role or a user-created
# custom role.
# Optionally, a `binding` can specify a `condition`, which is a logical
# expression that allows access to a resource only if the expression evaluates
# to `true`. A condition can add constraints based on attributes of the
# request, the resource, or both.
# For some types of Google Cloud resources, a `binding` can also specify a
# `condition`, which is a logical expression that allows access to a resource
# only if the expression evaluates to `true`. A condition can add constraints
# based on attributes of the request, the resource, or both. To learn which
# resources support conditions in their IAM policies, see the
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
# policies).
# **JSON example:**
# `
# "bindings": [
@ -566,7 +569,9 @@ module Google
# `,
# `
# "role": "roles/resourcemanager.organizationViewer",
# "members": ["user:eve@example.com"],
# "members": [
# "user:eve@example.com"
# ],
# "condition": `
# "title": "expirable access",
# "description": "Does not grant access after Sep 2020",
@ -644,6 +649,9 @@ module Google
# the conditions in the version `3` policy are lost.
# If a policy does not include any conditions, operations on that policy may
# specify any valid version or leave the field unset.
# To learn which resources support conditions in their IAM policies, see the
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
# policies).
# Corresponds to the JSON property `version`
# @return [Fixnum]
attr_accessor :version
@ -830,10 +838,13 @@ module Google
# Google groups, and domains (such as G Suite). A `role` is a named list of
# permissions; each `role` can be an IAM predefined role or a user-created
# custom role.
# Optionally, a `binding` can specify a `condition`, which is a logical
# expression that allows access to a resource only if the expression evaluates
# to `true`. A condition can add constraints based on attributes of the
# request, the resource, or both.
# For some types of Google Cloud resources, a `binding` can also specify a
# `condition`, which is a logical expression that allows access to a resource
# only if the expression evaluates to `true`. A condition can add constraints
# based on attributes of the request, the resource, or both. To learn which
# resources support conditions in their IAM policies, see the
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
# policies).
# **JSON example:**
# `
# "bindings": [
@ -848,7 +859,9 @@ module Google
# `,
# `
# "role": "roles/resourcemanager.organizationViewer",
# "members": ["user:eve@example.com"],
# "members": [
# "user:eve@example.com"
# ],
# "condition": `
# "title": "expirable access",
# "description": "Does not grant access after Sep 2020",

View File

@ -266,6 +266,9 @@ module Google
# Requests for policies with any conditional bindings must specify version 3.
# Policies without any conditional bindings may specify any valid value or
# leave the field unset.
# To learn which resources support conditions in their IAM policies, see the
# [IAM
# documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user