Autogenerated update (2019-03-22)

Update:
- cloudprivatecatalogproducer_v1beta1
- cloudscheduler_v1beta1
- cloudsearch_v1
- iam_v1
- jobs_v2
- logging_v2
- monitoring_v3
- pubsub_v1
- pubsub_v1beta2
- servicecontrol_v1
This commit is contained in:
Google APIs committed 2019-03-22 00:36:45 +00:00
1 parent 93bf7cdf49
commit efaeaefab6
22 files changed
+216 -39

No files matched your search

@@ -26,7 +26,7 @@ module Google
# @see https://sites.google.com/corp/google.com/cloudprivatecatalog
module CloudprivatecatalogproducerV1beta1
VERSION = 'V1beta1'
REVISION = '20190309'
REVISION = '20190316'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/scheduler/
module CloudschedulerV1beta1
VERSION = 'V1beta1'
REVISION = '20190302'
REVISION = '20190315'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -419,14 +419,14 @@ module Google
# @return [String]
attr_accessor :state
# The `Status` type defines a logical error model that is suitable for different
# programming environments, including REST APIs and RPC APIs. It is used by
# [gRPC](https://github.com/grpc). The error model is designed to be:
# The `Status` type defines a logical error model that is suitable for
# different programming environments, including REST APIs and RPC APIs. It is
# used by [gRPC](https://github.com/grpc). The error model is designed to be:
# - Simple to use and understand for most users
# - Flexible enough to meet unexpected needs
# # Overview
# The `Status` message contains three pieces of data: error code, error message,
# and error details. The error code should be an enum value of
# The `Status` message contains three pieces of data: error code, error
# message, and error details. The error code should be an enum value of
# google.rpc.Code, but it may accept additional error codes if needed. The
# error message should be a developer-facing English message that helps
# developers *understand* and *resolve* the error. If a localized user-facing
@@ -819,14 +819,14 @@ module Google
end
end
# The `Status` type defines a logical error model that is suitable for different
# programming environments, including REST APIs and RPC APIs. It is used by
# [gRPC](https://github.com/grpc). The error model is designed to be:
# The `Status` type defines a logical error model that is suitable for
# different programming environments, including REST APIs and RPC APIs. It is
# used by [gRPC](https://github.com/grpc). The error model is designed to be:
# - Simple to use and understand for most users
# - Flexible enough to meet unexpected needs
# # Overview
# The `Status` message contains three pieces of data: error code, error message,
# and error details. The error code should be an enum value of
# The `Status` message contains three pieces of data: error code, error
# message, and error details. The error code should be an enum value of
# google.rpc.Code, but it may accept additional error codes if needed. The
# error message should be a developer-facing English message that helps
# developers *understand* and *resolve* the error. If a localized user-facing
+1 -1
View File
@@ -26,7 +26,7 @@ module Google
# @see https://gsuite.google.com/products/cloud-search/
module CloudsearchV1
VERSION = 'V1'
REVISION = '20190314'
REVISION = '20190321'
# Index and serve your organization's data with Cloud Search
AUTH_CLOUD_SEARCH = 'https://www.googleapis.com/auth/cloud_search'
@@ -866,14 +866,16 @@ module Google
class FacetBucket
include Google::Apis::Core::Hashable
# Number of results that match the bucket value.
# Number of results that match the bucket value. Counts are only returned
# for searches when count accuracy is ensured. Can be empty.
# Corresponds to the JSON property `count`
# @return [Fixnum]
attr_accessor :count
# Percent of results that match the bucket value. This value is between
# (0-100].
# This may not be accurate and is a best effort estimate.
# (0-100]. 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
@@ -900,6 +902,13 @@ module Google
class FacetOptions
include Google::Apis::Core::Hashable
# Maximum number of facet buckets that should be returned for this facet.
# Defaults to 10.
# Maximum value is 100.
# Corresponds to the JSON property `numFacetBuckets`
# @return [Fixnum]
attr_accessor :num_facet_buckets
# If object_type is set, only those objects of that type will be used to
# compute facets. If empty, then all objects will be used to compute facets.
# Corresponds to the JSON property `objectType`
@@ -924,6 +933,7 @@ module Google
# Update properties of this object
def update!(**args)
@num_facet_buckets = args[:num_facet_buckets] if args.key?(:num_facet_buckets)
@object_type = args[:object_type] if args.key?(:object_type)
@operator_name = args[:operator_name] if args.key?(:operator_name)
@source_name = args[:source_name] if args.key?(:source_name)
@@ -934,7 +944,7 @@ module Google
class FacetResult
include Google::Apis::Core::Hashable
# FacetBuckets for values in response containing atleast a single result.
# FacetBuckets for values in response containing at least a single result.
# Corresponds to the JSON property `buckets`
# @return [Array<Google::Apis::CloudsearchV1::FacetBucket>]
attr_accessor :buckets
@@ -3666,7 +3676,8 @@ module Google
include Google::Apis::Core::Hashable
# Whether to use freshness as a ranking signal. By default, freshness is used
# as a ranking signal.
# as a ranking signal. Note that this setting is not available in the Admin
# UI.
# Corresponds to the JSON property `disableFreshness`
# @return [Boolean]
attr_accessor :disable_freshness
@@ -4021,7 +4032,8 @@ module Google
# @return [String]
attr_accessor :title
# The URL of the result.
# The URL of the search result. The URL contains a Google redirect to the
# actual item.
# Corresponds to the JSON property `url`
# @return [String]
attr_accessor :url
@@ -1134,6 +1134,7 @@ module Google
class FacetOptions
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :num_facet_buckets, as: 'numFacetBuckets'
property :object_type, as: 'objectType'
property :operator_name, as: 'operatorName'
property :source_name, as: 'sourceName'
@@ -717,8 +717,8 @@ module Google
# inline within
# update.
# @param [String] name
# Name of the Data Source to start a resumable upload.
# Format: datasources/`source_id`
# Name of the Item to start a resumable upload.
# Format: datasources/`source_id`/items/`item_id`.
# @param [Google::Apis::CloudsearchV1::StartUploadItemRequest] start_upload_item_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
+1 -1
View File
@@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/iam/
module IamV1
VERSION = 'V1'
REVISION = '20190308'
REVISION = '20190318'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
+1 -1
View File
@@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/talent-solution/job-search/docs/
module JobsV2
VERSION = 'V2'
REVISION = '20190110'
REVISION = '20190319'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
+7 -9
View File
@@ -1707,10 +1707,9 @@ module Google
# expired job can't be deleted or listed by the DeleteJob and
# ListJobs APIs, but it can be retrieved with the GetJob API or
# updated with the UpdateJob API. An expired job can be updated and
# opened again by using a future expiration timestamp. Updating an expired job
# fails if there is another
# existing open job with same requisition_id, company_name and
# language_code.
# opened again by using a future expiration timestamp. Updating an expired
# job fails if there is another existing open job with same
# requisition_id, company_name and language_code.
# The expired jobs are retained in our system for 90 days. However, the
# overall expired job count cannot exceed 3 times the maximum of open jobs
# count over the past week, otherwise jobs with earlier expire time are
@@ -1723,11 +1722,10 @@ module Google
# A valid date range is between 1970-01-01T00:00:00.0Z and
# 2100-12-31T23:59:59.999Z. Invalid dates are ignored and treated as expire
# time not provided.
# If this value is not provided at the time of job creation or is invalid, the
# job posting
# expires after 30 days from the job's creation time. For example, if the
# job was created on 2017/01/01 13:00AM UTC with an unspecified expiration
# date, the job expires after 2017/01/31 13:00AM UTC.
# If this value is not provided at the time of job creation or is invalid,
# the job posting expires after 30 days from the job's creation time. For
# example, if the job was created on 2017/01/01 13:00AM UTC with an
# unspecified expiration date, the job expires after 2017/01/31 13:00AM UTC.
# If this value is not provided but expiry_date is, expiry_date is
# used.
# If this value is not provided on job update, it depends on the field masks
+1 -1
View File
@@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/logging/docs/
module LoggingV2
VERSION = 'V2'
REVISION = '20190311'
REVISION = '20190316'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
+1 -1
View File
@@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/monitoring/api/
module MonitoringV3
VERSION = 'V3'
REVISION = '20190312'
REVISION = '20190318'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -2146,7 +2146,7 @@ module Google
# An optional human-readable description of this notification channel. This
# description may provide additional details, beyond the display name, for the
# channel. This may not exceeed 1024 Unicode characters.
# channel. This may not exceed 1024 Unicode characters.
# Corresponds to the JSON property `description`
# @return [String]
attr_accessor :description
+1 -1
View File
@@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/pubsub/docs
module PubsubV1
VERSION = 'V1'
REVISION = '20190304'
REVISION = '20190314'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -399,6 +399,42 @@ module Google
end
end
# Contains information needed for generating an
# [OpenID Connect
# token](https://developers.google.com/identity/protocols/OpenIDConnect).
class OidcToken
include Google::Apis::Core::Hashable
# Audience to be used when generating OIDC token. The audience claim
# identifies the recipients that the JWT is intended for. The audience
# value is a single case-sensitive string. Having multiple values (array)
# for the audience field is not supported. More info about the OIDC JWT
# token audience here: https://tools.ietf.org/html/rfc7519#section-4.1.3
# Note: if not specified, the Push endpoint URL will be used.
# Corresponds to the JSON property `audience`
# @return [String]
attr_accessor :audience
# [Service account
# email](https://cloud.google.com/iam/docs/service-accounts)
# to be used for generating the OIDC token. The caller (for
# CreateSubscription, UpdateSubscription, and ModifyPushConfig RPCs) must
# have the iam.serviceAccounts.actAs permission for the service account.
# Corresponds to the JSON property `serviceAccountEmail`
# @return [String]
attr_accessor :service_account_email
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@audience = args[:audience] if args.key?(:audience)
@service_account_email = args[:service_account_email] if args.key?(:service_account_email)
end
end
# Defines an Identity and Access Management (IAM) policy. It is used to
# specify access control policies for Cloud Platform resources.
# A `Policy` consists of a list of `bindings`. A `binding` binds a list of
@@ -643,6 +679,13 @@ module Google
# @return [Hash<String,String>]
attr_accessor :attributes
# Contains information needed for generating an
# [OpenID Connect
# token](https://developers.google.com/identity/protocols/OpenIDConnect).
# Corresponds to the JSON property `oidcToken`
# @return [Google::Apis::PubsubV1::OidcToken]
attr_accessor :oidc_token
# A URL locating the endpoint to which messages should be pushed.
# For example, a Webhook endpoint might use "https://example.com/push".
# Corresponds to the JSON property `pushEndpoint`
@@ -656,6 +699,7 @@ module Google
# Update properties of this object
def update!(**args)
@attributes = args[:attributes] if args.key?(:attributes)
@oidc_token = args[:oidc_token] if args.key?(:oidc_token)
@push_endpoint = args[:push_endpoint] if args.key?(:push_endpoint)
end
end
@@ -100,6 +100,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class OidcToken
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Policy
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -321,6 +327,14 @@ module Google
end
end
class OidcToken
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :audience, as: 'audience'
property :service_account_email, as: 'serviceAccountEmail'
end
end
class Policy
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -376,6 +390,8 @@ module Google
# @private
class Representation < Google::Apis::Core::JsonRepresentation
hash :attributes, as: 'attributes'
property :oidc_token, as: 'oidcToken', class: Google::Apis::PubsubV1::OidcToken, decorator: Google::Apis::PubsubV1::OidcToken::Representation
property :push_endpoint, as: 'pushEndpoint'
end
end
+1 -1
View File
@@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/pubsub/docs
module PubsubV1beta2
VERSION = 'V1beta2'
REVISION = '20190227'
REVISION = '20190314'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -291,6 +291,42 @@ module Google
end
end
# Contains information needed for generating an
# [OpenID Connect
# token](https://developers.google.com/identity/protocols/OpenIDConnect).
class OidcToken
include Google::Apis::Core::Hashable
# Audience to be used when generating OIDC token. The audience claim
# identifies the recipients that the JWT is intended for. The audience
# value is a single case-sensitive string. Having multiple values (array)
# for the audience field is not supported. More info about the OIDC JWT
# token audience here: https://tools.ietf.org/html/rfc7519#section-4.1.3
# Note: if not specified, the Push endpoint URL will be used.
# Corresponds to the JSON property `audience`
# @return [String]
attr_accessor :audience
# [Service account
# email](https://cloud.google.com/iam/docs/service-accounts)
# to be used for generating the OIDC token. The caller (for
# CreateSubscription, UpdateSubscription, and ModifyPushConfig RPCs) must
# have the iam.serviceAccounts.actAs permission for the service account.
# Corresponds to the JSON property `serviceAccountEmail`
# @return [String]
attr_accessor :service_account_email
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@audience = args[:audience] if args.key?(:audience)
@service_account_email = args[:service_account_email] if args.key?(:service_account_email)
end
end
# Defines an Identity and Access Management (IAM) policy. It is used to
# specify access control policies for Cloud Platform resources.
# A `Policy` consists of a list of `bindings`. A `binding` binds a list of
@@ -531,6 +567,13 @@ module Google
# @return [Hash<String,String>]
attr_accessor :attributes
# Contains information needed for generating an
# [OpenID Connect
# token](https://developers.google.com/identity/protocols/OpenIDConnect).
# Corresponds to the JSON property `oidcToken`
# @return [Google::Apis::PubsubV1beta2::OidcToken]
attr_accessor :oidc_token
# A URL locating the endpoint to which messages should be pushed.
# For example, a Webhook endpoint might use "https://example.com/push".
# Corresponds to the JSON property `pushEndpoint`
@@ -544,6 +587,7 @@ module Google
# Update properties of this object
def update!(**args)
@attributes = args[:attributes] if args.key?(:attributes)
@oidc_token = args[:oidc_token] if args.key?(:oidc_token)
@push_endpoint = args[:push_endpoint] if args.key?(:push_endpoint)
end
end
@@ -76,6 +76,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class OidcToken
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Policy
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -230,6 +236,14 @@ module Google
end
end
class OidcToken
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :audience, as: 'audience'
property :service_account_email, as: 'serviceAccountEmail'
end
end
class Policy
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -285,6 +299,8 @@ module Google
# @private
class Representation < Google::Apis::Core::JsonRepresentation
hash :attributes, as: 'attributes'
property :oidc_token, as: 'oidcToken', class: Google::Apis::PubsubV1beta2::OidcToken, decorator: Google::Apis::PubsubV1beta2::OidcToken::Representation
property :push_endpoint, as: 'pushEndpoint'
end
end
+1 -1
View File
@@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/service-control/
module ServicecontrolV1
VERSION = 'V1'
REVISION = '20190309'
REVISION = '20190318'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -1338,7 +1338,7 @@ module Google
# - This can be in one of the following formats:
# - project:PROJECT_ID,
# - project`_`number:PROJECT_NUMBER,
# - projects/RPOJECT_ID or PROJECT_NUMBER,
# - projects/PROJECT_ID or PROJECT_NUMBER,
# - folders/FOLDER_NUMBER,
# - organizations/ORGANIZATION_NUMBER,
# - api`_`key:API_KEY.