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 2019-03-22 00:36:45 +00:00
parent 93bf7cdf49
commit efaeaefab6
22 changed files with 216 additions and 39 deletions

View File

@ -18276,6 +18276,7 @@
"/cloudsearch:v1/FacetBucket/percentage": percentage "/cloudsearch:v1/FacetBucket/percentage": percentage
"/cloudsearch:v1/FacetBucket/value": value "/cloudsearch:v1/FacetBucket/value": value
"/cloudsearch:v1/FacetOptions": facet_options "/cloudsearch:v1/FacetOptions": facet_options
"/cloudsearch:v1/FacetOptions/numFacetBuckets": num_facet_buckets
"/cloudsearch:v1/FacetOptions/objectType": object_type "/cloudsearch:v1/FacetOptions/objectType": object_type
"/cloudsearch:v1/FacetOptions/operatorName": operator_name "/cloudsearch:v1/FacetOptions/operatorName": operator_name
"/cloudsearch:v1/FacetOptions/sourceName": source_name "/cloudsearch:v1/FacetOptions/sourceName": source_name
@ -78791,25 +78792,42 @@
"/healthcare:v1alpha2/BoundingPoly/label": label "/healthcare:v1alpha2/BoundingPoly/label": label
"/healthcare:v1alpha2/BoundingPoly/vertices": vertices "/healthcare:v1alpha2/BoundingPoly/vertices": vertices
"/healthcare:v1alpha2/BoundingPoly/vertices/vertex": vertex "/healthcare:v1alpha2/BoundingPoly/vertices/vertex": vertex
"/healthcare:v1alpha2/CharacterMaskConfig": character_mask_config
"/healthcare:v1alpha2/CharacterMaskConfig/maskingCharacter": masking_character
"/healthcare:v1alpha2/CloudHealthcareSource": cloud_healthcare_source "/healthcare:v1alpha2/CloudHealthcareSource": cloud_healthcare_source
"/healthcare:v1alpha2/CloudHealthcareSource/name": name "/healthcare:v1alpha2/CloudHealthcareSource/name": name
"/healthcare:v1alpha2/CreateMessageRequest": create_message_request "/healthcare:v1alpha2/CreateMessageRequest": create_message_request
"/healthcare:v1alpha2/CreateMessageRequest/message": message "/healthcare:v1alpha2/CreateMessageRequest/message": message
"/healthcare:v1alpha2/CryptoHashConfig": crypto_hash_config
"/healthcare:v1alpha2/CryptoHashConfig/cryptoKey": crypto_key
"/healthcare:v1alpha2/Dataset": dataset "/healthcare:v1alpha2/Dataset": dataset
"/healthcare:v1alpha2/Dataset/name": name "/healthcare:v1alpha2/Dataset/name": name
"/healthcare:v1alpha2/Dataset/timeZone": time_zone "/healthcare:v1alpha2/Dataset/timeZone": time_zone
"/healthcare:v1alpha2/DateShiftConfig": date_shift_config
"/healthcare:v1alpha2/DateShiftConfig/cryptoKey": crypto_key
"/healthcare:v1alpha2/DeidentifyConfig": deidentify_config "/healthcare:v1alpha2/DeidentifyConfig": deidentify_config
"/healthcare:v1alpha2/DeidentifyConfig/dicom": dicom "/healthcare:v1alpha2/DeidentifyConfig/dicom": dicom
"/healthcare:v1alpha2/DeidentifyConfig/fhir": fhir "/healthcare:v1alpha2/DeidentifyConfig/fhir": fhir
"/healthcare:v1alpha2/DeidentifyConfig/image": image "/healthcare:v1alpha2/DeidentifyConfig/image": image
"/healthcare:v1alpha2/DeidentifyConfig/text": text
"/healthcare:v1alpha2/DeidentifyDatasetRequest": deidentify_dataset_request "/healthcare:v1alpha2/DeidentifyDatasetRequest": deidentify_dataset_request
"/healthcare:v1alpha2/DeidentifyDatasetRequest/config": config "/healthcare:v1alpha2/DeidentifyDatasetRequest/config": config
"/healthcare:v1alpha2/DeidentifyDatasetRequest/destinationDataset": destination_dataset "/healthcare:v1alpha2/DeidentifyDatasetRequest/destinationDataset": destination_dataset
"/healthcare:v1alpha2/DeidentifyErrorDetails": deidentify_error_details
"/healthcare:v1alpha2/DeidentifyErrorDetails/failureResourceCount": failure_resource_count
"/healthcare:v1alpha2/DeidentifyErrorDetails/failureStoreCount": failure_store_count
"/healthcare:v1alpha2/DeidentifyErrorDetails/successResourceCount": success_resource_count
"/healthcare:v1alpha2/DeidentifyErrorDetails/successStoreCount": success_store_count
"/healthcare:v1alpha2/DeidentifySummary": deidentify_summary
"/healthcare:v1alpha2/DeidentifySummary/successResourceCount": success_resource_count
"/healthcare:v1alpha2/DeidentifySummary/successStoreCount": success_store_count
"/healthcare:v1alpha2/Detail": detail "/healthcare:v1alpha2/Detail": detail
"/healthcare:v1alpha2/Detail/findings": findings "/healthcare:v1alpha2/Detail/findings": findings
"/healthcare:v1alpha2/Detail/findings/finding": finding "/healthcare:v1alpha2/Detail/findings/finding": finding
"/healthcare:v1alpha2/DicomConfig": dicom_config "/healthcare:v1alpha2/DicomConfig": dicom_config
"/healthcare:v1alpha2/DicomConfig/filterProfile": filter_profile
"/healthcare:v1alpha2/DicomConfig/keepList": keep_list "/healthcare:v1alpha2/DicomConfig/keepList": keep_list
"/healthcare:v1alpha2/DicomConfig/removeList": remove_list
"/healthcare:v1alpha2/DicomStore": dicom_store "/healthcare:v1alpha2/DicomStore": dicom_store
"/healthcare:v1alpha2/DicomStore/labels": labels "/healthcare:v1alpha2/DicomStore/labels": labels
"/healthcare:v1alpha2/DicomStore/labels/label": label "/healthcare:v1alpha2/DicomStore/labels/label": label
@ -78834,6 +78852,8 @@
"/healthcare:v1alpha2/Expr/location": location "/healthcare:v1alpha2/Expr/location": location
"/healthcare:v1alpha2/Expr/title": title "/healthcare:v1alpha2/Expr/title": title
"/healthcare:v1alpha2/FhirConfig": fhir_config "/healthcare:v1alpha2/FhirConfig": fhir_config
"/healthcare:v1alpha2/FhirConfig/fieldMetadataList": field_metadata_list
"/healthcare:v1alpha2/FhirConfig/fieldMetadataList/field_metadata_list": field_metadata_list
"/healthcare:v1alpha2/FhirStore": fhir_store "/healthcare:v1alpha2/FhirStore": fhir_store
"/healthcare:v1alpha2/FhirStore/disableReferentialIntegrity": disable_referential_integrity "/healthcare:v1alpha2/FhirStore/disableReferentialIntegrity": disable_referential_integrity
"/healthcare:v1alpha2/FhirStore/disableResourceVersioning": disable_resource_versioning "/healthcare:v1alpha2/FhirStore/disableResourceVersioning": disable_resource_versioning
@ -78843,6 +78863,10 @@
"/healthcare:v1alpha2/FhirStore/labels/label": label "/healthcare:v1alpha2/FhirStore/labels/label": label
"/healthcare:v1alpha2/FhirStore/name": name "/healthcare:v1alpha2/FhirStore/name": name
"/healthcare:v1alpha2/FhirStore/notificationConfig": notification_config "/healthcare:v1alpha2/FhirStore/notificationConfig": notification_config
"/healthcare:v1alpha2/FieldMetadata": field_metadata
"/healthcare:v1alpha2/FieldMetadata/action": action
"/healthcare:v1alpha2/FieldMetadata/paths": paths
"/healthcare:v1alpha2/FieldMetadata/paths/path": path
"/healthcare:v1alpha2/Finding": finding "/healthcare:v1alpha2/Finding": finding
"/healthcare:v1alpha2/Finding/end": end "/healthcare:v1alpha2/Finding/end": end
"/healthcare:v1alpha2/Finding/infoType": info_type "/healthcare:v1alpha2/Finding/infoType": info_type
@ -78905,6 +78929,14 @@
"/healthcare:v1alpha2/ImportResourcesRequest/contentStructure": content_structure "/healthcare:v1alpha2/ImportResourcesRequest/contentStructure": content_structure
"/healthcare:v1alpha2/ImportResourcesRequest/gcsErrorDestination": gcs_error_destination "/healthcare:v1alpha2/ImportResourcesRequest/gcsErrorDestination": gcs_error_destination
"/healthcare:v1alpha2/ImportResourcesRequest/gcsSource": gcs_source "/healthcare:v1alpha2/ImportResourcesRequest/gcsSource": gcs_source
"/healthcare:v1alpha2/InfoTypeTransformation": info_type_transformation
"/healthcare:v1alpha2/InfoTypeTransformation/characterMaskConfig": character_mask_config
"/healthcare:v1alpha2/InfoTypeTransformation/cryptoHashConfig": crypto_hash_config
"/healthcare:v1alpha2/InfoTypeTransformation/dateShiftConfig": date_shift_config
"/healthcare:v1alpha2/InfoTypeTransformation/infoTypes": info_types
"/healthcare:v1alpha2/InfoTypeTransformation/infoTypes/info_type": info_type
"/healthcare:v1alpha2/InfoTypeTransformation/redactConfig": redact_config
"/healthcare:v1alpha2/InfoTypeTransformation/replaceWithInfoTypeConfig": replace_with_info_type_config
"/healthcare:v1alpha2/IngestMessageRequest": ingest_message_request "/healthcare:v1alpha2/IngestMessageRequest": ingest_message_request
"/healthcare:v1alpha2/IngestMessageRequest/message": message "/healthcare:v1alpha2/IngestMessageRequest/message": message
"/healthcare:v1alpha2/IngestMessageResponse": ingest_message_response "/healthcare:v1alpha2/IngestMessageResponse": ingest_message_response
@ -79001,6 +79033,8 @@
"/healthcare:v1alpha2/ProgressCounter/failure": failure "/healthcare:v1alpha2/ProgressCounter/failure": failure
"/healthcare:v1alpha2/ProgressCounter/pending": pending "/healthcare:v1alpha2/ProgressCounter/pending": pending
"/healthcare:v1alpha2/ProgressCounter/success": success "/healthcare:v1alpha2/ProgressCounter/success": success
"/healthcare:v1alpha2/RedactConfig": redact_config
"/healthcare:v1alpha2/ReplaceWithInfoTypeConfig": replace_with_info_type_config
"/healthcare:v1alpha2/ResourceAnnotation": resource_annotation "/healthcare:v1alpha2/ResourceAnnotation": resource_annotation
"/healthcare:v1alpha2/ResourceAnnotation/label": label "/healthcare:v1alpha2/ResourceAnnotation/label": label
"/healthcare:v1alpha2/SchemaConfig": schema_config "/healthcare:v1alpha2/SchemaConfig": schema_config
@ -79034,6 +79068,10 @@
"/healthcare:v1alpha2/TestIamPermissionsResponse": test_iam_permissions_response "/healthcare:v1alpha2/TestIamPermissionsResponse": test_iam_permissions_response
"/healthcare:v1alpha2/TestIamPermissionsResponse/permissions": permissions "/healthcare:v1alpha2/TestIamPermissionsResponse/permissions": permissions
"/healthcare:v1alpha2/TestIamPermissionsResponse/permissions/permission": permission "/healthcare:v1alpha2/TestIamPermissionsResponse/permissions/permission": permission
"/healthcare:v1alpha2/TextConfig": text_config
"/healthcare:v1alpha2/TextConfig/experimentalConfig": experimental_config
"/healthcare:v1alpha2/TextConfig/transformations": transformations
"/healthcare:v1alpha2/TextConfig/transformations/transformation": transformation
"/healthcare:v1alpha2/Vertex": vertex "/healthcare:v1alpha2/Vertex": vertex
"/healthcare:v1alpha2/Vertex/x": x "/healthcare:v1alpha2/Vertex/x": x
"/healthcare:v1alpha2/Vertex/y": y "/healthcare:v1alpha2/Vertex/y": y
@ -87536,6 +87574,9 @@
"/pubsub:v1/ModifyAckDeadlineRequest/ackIds/ack_id": ack_id "/pubsub:v1/ModifyAckDeadlineRequest/ackIds/ack_id": ack_id
"/pubsub:v1/ModifyPushConfigRequest": modify_push_config_request "/pubsub:v1/ModifyPushConfigRequest": modify_push_config_request
"/pubsub:v1/ModifyPushConfigRequest/pushConfig": push_config "/pubsub:v1/ModifyPushConfigRequest/pushConfig": push_config
"/pubsub:v1/OidcToken": oidc_token
"/pubsub:v1/OidcToken/audience": audience
"/pubsub:v1/OidcToken/serviceAccountEmail": service_account_email
"/pubsub:v1/Policy": policy "/pubsub:v1/Policy": policy
"/pubsub:v1/Policy/bindings": bindings "/pubsub:v1/Policy/bindings": bindings
"/pubsub:v1/Policy/bindings/binding": binding "/pubsub:v1/Policy/bindings/binding": binding
@ -87562,6 +87603,7 @@
"/pubsub:v1/PushConfig": push_config "/pubsub:v1/PushConfig": push_config
"/pubsub:v1/PushConfig/attributes": attributes "/pubsub:v1/PushConfig/attributes": attributes
"/pubsub:v1/PushConfig/attributes/attribute": attribute "/pubsub:v1/PushConfig/attributes/attribute": attribute
"/pubsub:v1/PushConfig/oidcToken": oidc_token
"/pubsub:v1/PushConfig/pushEndpoint": push_endpoint "/pubsub:v1/PushConfig/pushEndpoint": push_endpoint
"/pubsub:v1/ReceivedMessage": received_message "/pubsub:v1/ReceivedMessage": received_message
"/pubsub:v1/ReceivedMessage/ackId": ack_id "/pubsub:v1/ReceivedMessage/ackId": ack_id
@ -87814,6 +87856,9 @@
"/pubsub:v1beta2/ModifyAckDeadlineRequest/ackIds/ack_id": ack_id "/pubsub:v1beta2/ModifyAckDeadlineRequest/ackIds/ack_id": ack_id
"/pubsub:v1beta2/ModifyPushConfigRequest": modify_push_config_request "/pubsub:v1beta2/ModifyPushConfigRequest": modify_push_config_request
"/pubsub:v1beta2/ModifyPushConfigRequest/pushConfig": push_config "/pubsub:v1beta2/ModifyPushConfigRequest/pushConfig": push_config
"/pubsub:v1beta2/OidcToken": oidc_token
"/pubsub:v1beta2/OidcToken/audience": audience
"/pubsub:v1beta2/OidcToken/serviceAccountEmail": service_account_email
"/pubsub:v1beta2/Policy": policy "/pubsub:v1beta2/Policy": policy
"/pubsub:v1beta2/Policy/bindings": bindings "/pubsub:v1beta2/Policy/bindings": bindings
"/pubsub:v1beta2/Policy/bindings/binding": binding "/pubsub:v1beta2/Policy/bindings/binding": binding
@ -87840,6 +87885,7 @@
"/pubsub:v1beta2/PushConfig": push_config "/pubsub:v1beta2/PushConfig": push_config
"/pubsub:v1beta2/PushConfig/attributes": attributes "/pubsub:v1beta2/PushConfig/attributes": attributes
"/pubsub:v1beta2/PushConfig/attributes/attribute": attribute "/pubsub:v1beta2/PushConfig/attributes/attribute": attribute
"/pubsub:v1beta2/PushConfig/oidcToken": oidc_token
"/pubsub:v1beta2/PushConfig/pushEndpoint": push_endpoint "/pubsub:v1beta2/PushConfig/pushEndpoint": push_endpoint
"/pubsub:v1beta2/ReceivedMessage": received_message "/pubsub:v1beta2/ReceivedMessage": received_message
"/pubsub:v1beta2/ReceivedMessage/ackId": ack_id "/pubsub:v1beta2/ReceivedMessage/ackId": ack_id

View File

@ -26,7 +26,7 @@ module Google
# @see https://sites.google.com/corp/google.com/cloudprivatecatalog # @see https://sites.google.com/corp/google.com/cloudprivatecatalog
module CloudprivatecatalogproducerV1beta1 module CloudprivatecatalogproducerV1beta1
VERSION = 'V1beta1' VERSION = 'V1beta1'
REVISION = '20190309' REVISION = '20190316'
# 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

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/scheduler/ # @see https://cloud.google.com/scheduler/
module CloudschedulerV1beta1 module CloudschedulerV1beta1
VERSION = 'V1beta1' VERSION = 'V1beta1'
REVISION = '20190302' REVISION = '20190315'
# 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

@ -419,14 +419,14 @@ module Google
# @return [String] # @return [String]
attr_accessor :state attr_accessor :state
# The `Status` type defines a logical error model that is suitable for different # The `Status` type defines a logical error model that is suitable for
# programming environments, including REST APIs and RPC APIs. It is used by # different programming environments, including REST APIs and RPC APIs. It is
# [gRPC](https://github.com/grpc). The error model is designed to be: # used by [gRPC](https://github.com/grpc). The error model is designed to be:
# - Simple to use and understand for most users # - Simple to use and understand for most users
# - Flexible enough to meet unexpected needs # - Flexible enough to meet unexpected needs
# # Overview # # Overview
# The `Status` message contains three pieces of data: error code, error message, # The `Status` message contains three pieces of data: error code, error
# and error details. The error code should be an enum value of # 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 # google.rpc.Code, but it may accept additional error codes if needed. The
# error message should be a developer-facing English message that helps # error message should be a developer-facing English message that helps
# developers *understand* and *resolve* the error. If a localized user-facing # developers *understand* and *resolve* the error. If a localized user-facing
@ -819,14 +819,14 @@ module Google
end end
end end
# The `Status` type defines a logical error model that is suitable for different # The `Status` type defines a logical error model that is suitable for
# programming environments, including REST APIs and RPC APIs. It is used by # different programming environments, including REST APIs and RPC APIs. It is
# [gRPC](https://github.com/grpc). The error model is designed to be: # used by [gRPC](https://github.com/grpc). The error model is designed to be:
# - Simple to use and understand for most users # - Simple to use and understand for most users
# - Flexible enough to meet unexpected needs # - Flexible enough to meet unexpected needs
# # Overview # # Overview
# The `Status` message contains three pieces of data: error code, error message, # The `Status` message contains three pieces of data: error code, error
# and error details. The error code should be an enum value of # 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 # google.rpc.Code, but it may accept additional error codes if needed. The
# error message should be a developer-facing English message that helps # error message should be a developer-facing English message that helps
# developers *understand* and *resolve* the error. If a localized user-facing # developers *understand* and *resolve* the error. If a localized user-facing

View File

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

View File

@ -866,14 +866,16 @@ module Google
class FacetBucket class FacetBucket
include Google::Apis::Core::Hashable 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` # Corresponds to the JSON property `count`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :count attr_accessor :count
# Percent of results that match the bucket value. This value is between # Percent of results that match the bucket value. This value is between
# (0-100]. # (0-100]. Percentages are returned for all searches, but are an estimate.
# This may not be accurate and is a best effort estimate. # Because percentages are always returned, you should render percentages
# instead of counts.
# Corresponds to the JSON property `percentage` # Corresponds to the JSON property `percentage`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :percentage attr_accessor :percentage
@ -900,6 +902,13 @@ module Google
class FacetOptions class FacetOptions
include Google::Apis::Core::Hashable 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 # 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. # compute facets. If empty, then all objects will be used to compute facets.
# Corresponds to the JSON property `objectType` # Corresponds to the JSON property `objectType`
@ -924,6 +933,7 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) 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) @object_type = args[:object_type] if args.key?(:object_type)
@operator_name = args[:operator_name] if args.key?(:operator_name) @operator_name = args[:operator_name] if args.key?(:operator_name)
@source_name = args[:source_name] if args.key?(:source_name) @source_name = args[:source_name] if args.key?(:source_name)
@ -3666,7 +3676,8 @@ module Google
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Whether to use freshness as a ranking signal. By default, freshness is used # 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` # Corresponds to the JSON property `disableFreshness`
# @return [Boolean] # @return [Boolean]
attr_accessor :disable_freshness attr_accessor :disable_freshness
@ -4021,7 +4032,8 @@ module Google
# @return [String] # @return [String]
attr_accessor :title 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` # Corresponds to the JSON property `url`
# @return [String] # @return [String]
attr_accessor :url attr_accessor :url

View File

@ -1134,6 +1134,7 @@ module Google
class FacetOptions class FacetOptions
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :num_facet_buckets, as: 'numFacetBuckets'
property :object_type, as: 'objectType' property :object_type, as: 'objectType'
property :operator_name, as: 'operatorName' property :operator_name, as: 'operatorName'
property :source_name, as: 'sourceName' property :source_name, as: 'sourceName'

View File

@ -717,8 +717,8 @@ module Google
# inline within # inline within
# update. # update.
# @param [String] name # @param [String] name
# Name of the Data Source to start a resumable upload. # Name of the Item to start a resumable upload.
# Format: datasources/`source_id` # Format: datasources/`source_id`/items/`item_id`.
# @param [Google::Apis::CloudsearchV1::StartUploadItemRequest] start_upload_item_request_object # @param [Google::Apis::CloudsearchV1::StartUploadItemRequest] start_upload_item_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.

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/iam/ # @see https://cloud.google.com/iam/
module IamV1 module IamV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20190308' REVISION = '20190318'
# 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 = '20190110' REVISION = '20190319'
# 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

@ -1707,10 +1707,9 @@ module Google
# expired job can't be deleted or listed by the DeleteJob and # expired job can't be deleted or listed by the DeleteJob and
# ListJobs APIs, but it can be retrieved with the GetJob API or # ListJobs APIs, but it can be retrieved with the GetJob API or
# updated with the UpdateJob API. An expired job can be updated and # updated with the UpdateJob API. An expired job can be updated and
# opened again by using a future expiration timestamp. Updating an expired job # opened again by using a future expiration timestamp. Updating an expired
# fails if there is another # job fails if there is another existing open job with same
# existing open job with same requisition_id, company_name and # requisition_id, company_name and language_code.
# language_code.
# The expired jobs are retained in our system for 90 days. However, the # 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 # 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 # 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 # 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 # 2100-12-31T23:59:59.999Z. Invalid dates are ignored and treated as expire
# time not provided. # time not provided.
# If this value is not provided at the time of job creation or is invalid, the # If this value is not provided at the time of job creation or is invalid,
# job posting # the job posting expires after 30 days from the job's creation time. For
# expires after 30 days from the job's creation time. For example, if the # example, if the job was created on 2017/01/01 13:00AM UTC with an
# job was created on 2017/01/01 13:00AM UTC with an unspecified expiration # unspecified expiration date, the job expires after 2017/01/31 13:00AM UTC.
# date, the job expires after 2017/01/31 13:00AM UTC.
# If this value is not provided but expiry_date is, expiry_date is # If this value is not provided but expiry_date is, expiry_date is
# used. # used.
# If this value is not provided on job update, it depends on the field masks # If this value is not provided on job update, it depends on the field masks

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/logging/docs/ # @see https://cloud.google.com/logging/docs/
module LoggingV2 module LoggingV2
VERSION = 'V2' VERSION = 'V2'
REVISION = '20190311' REVISION = '20190316'
# 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

@ -27,7 +27,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 = '20190312' REVISION = '20190318'
# 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

@ -2146,7 +2146,7 @@ module Google
# An optional human-readable description of this notification channel. This # An optional human-readable description of this notification channel. This
# description may provide additional details, beyond the display name, for the # 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` # Corresponds to the JSON property `description`
# @return [String] # @return [String]
attr_accessor :description attr_accessor :description

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/pubsub/docs # @see https://cloud.google.com/pubsub/docs
module PubsubV1 module PubsubV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20190304' REVISION = '20190314'
# 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

@ -399,6 +399,42 @@ module Google
end end
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 # Defines an Identity and Access Management (IAM) policy. It is used to
# specify access control policies for Cloud Platform resources. # specify access control policies for Cloud Platform resources.
# A `Policy` consists of a list of `bindings`. A `binding` binds a list of # A `Policy` consists of a list of `bindings`. A `binding` binds a list of
@ -643,6 +679,13 @@ module Google
# @return [Hash<String,String>] # @return [Hash<String,String>]
attr_accessor :attributes 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. # A URL locating the endpoint to which messages should be pushed.
# For example, a Webhook endpoint might use "https://example.com/push". # For example, a Webhook endpoint might use "https://example.com/push".
# Corresponds to the JSON property `pushEndpoint` # Corresponds to the JSON property `pushEndpoint`
@ -656,6 +699,7 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@attributes = args[:attributes] if args.key?(:attributes) @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) @push_endpoint = args[:push_endpoint] if args.key?(:push_endpoint)
end end
end end

View File

@ -100,6 +100,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class OidcToken
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Policy class Policy
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -321,6 +327,14 @@ module Google
end end
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 class Policy
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -376,6 +390,8 @@ module Google
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
hash :attributes, as: 'attributes' 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' property :push_endpoint, as: 'pushEndpoint'
end end
end end

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/pubsub/docs # @see https://cloud.google.com/pubsub/docs
module PubsubV1beta2 module PubsubV1beta2
VERSION = 'V1beta2' VERSION = 'V1beta2'
REVISION = '20190227' REVISION = '20190314'
# 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

@ -291,6 +291,42 @@ module Google
end end
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 # Defines an Identity and Access Management (IAM) policy. It is used to
# specify access control policies for Cloud Platform resources. # specify access control policies for Cloud Platform resources.
# A `Policy` consists of a list of `bindings`. A `binding` binds a list of # A `Policy` consists of a list of `bindings`. A `binding` binds a list of
@ -531,6 +567,13 @@ module Google
# @return [Hash<String,String>] # @return [Hash<String,String>]
attr_accessor :attributes 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. # A URL locating the endpoint to which messages should be pushed.
# For example, a Webhook endpoint might use "https://example.com/push". # For example, a Webhook endpoint might use "https://example.com/push".
# Corresponds to the JSON property `pushEndpoint` # Corresponds to the JSON property `pushEndpoint`
@ -544,6 +587,7 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@attributes = args[:attributes] if args.key?(:attributes) @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) @push_endpoint = args[:push_endpoint] if args.key?(:push_endpoint)
end end
end end

View File

@ -76,6 +76,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class OidcToken
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Policy class Policy
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -230,6 +236,14 @@ module Google
end end
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 class Policy
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -285,6 +299,8 @@ module Google
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
hash :attributes, as: 'attributes' 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' property :push_endpoint, as: 'pushEndpoint'
end end
end end

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/service-control/ # @see https://cloud.google.com/service-control/
module ServicecontrolV1 module ServicecontrolV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20190309' REVISION = '20190318'
# 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

@ -1338,7 +1338,7 @@ module Google
# - This can be in one of the following formats: # - This can be in one of the following formats:
# - project:PROJECT_ID, # - project:PROJECT_ID,
# - project`_`number:PROJECT_NUMBER, # - project`_`number:PROJECT_NUMBER,
# - projects/RPOJECT_ID or PROJECT_NUMBER, # - projects/PROJECT_ID or PROJECT_NUMBER,
# - folders/FOLDER_NUMBER, # - folders/FOLDER_NUMBER,
# - organizations/ORGANIZATION_NUMBER, # - organizations/ORGANIZATION_NUMBER,
# - api`_`key:API_KEY. # - api`_`key:API_KEY.