Autogenerated update (2020-10-09)

Update:
- dns_v1
- dns_v1beta2
- fitness_v1
- monitoring_v3
- realtimebidding_v1
- remotebuildexecution_v1
- remotebuildexecution_v2
- run_v1
- smartdevicemanagement_v1
- sts_v1
- sts_v1beta
- youtube_v3
This commit is contained in:
Google APIs 2020-10-09 00:38:36 +00:00
parent 7dc410a074
commit b4892f8e55
30 changed files with 304 additions and 198 deletions

View File

@ -114744,6 +114744,7 @@
"/monitoring:v3/CollectdValueError/index": index "/monitoring:v3/CollectdValueError/index": index
"/monitoring:v3/Condition": condition "/monitoring:v3/Condition": condition
"/monitoring:v3/Condition/conditionAbsent": condition_absent "/monitoring:v3/Condition/conditionAbsent": condition_absent
"/monitoring:v3/Condition/conditionMonitoringQueryLanguage": condition_monitoring_query_language
"/monitoring:v3/Condition/conditionThreshold": condition_threshold "/monitoring:v3/Condition/conditionThreshold": condition_threshold
"/monitoring:v3/Condition/displayName": display_name "/monitoring:v3/Condition/displayName": display_name
"/monitoring:v3/Condition/name": name "/monitoring:v3/Condition/name": name
@ -114983,6 +114984,10 @@
"/monitoring:v3/MonitoredResourceMetadata/systemLabels/system_label": system_label "/monitoring:v3/MonitoredResourceMetadata/systemLabels/system_label": system_label
"/monitoring:v3/MonitoredResourceMetadata/userLabels": user_labels "/monitoring:v3/MonitoredResourceMetadata/userLabels": user_labels
"/monitoring:v3/MonitoredResourceMetadata/userLabels/user_label": user_label "/monitoring:v3/MonitoredResourceMetadata/userLabels/user_label": user_label
"/monitoring:v3/MonitoringQueryLanguageCondition": monitoring_query_language_condition
"/monitoring:v3/MonitoringQueryLanguageCondition/duration": duration
"/monitoring:v3/MonitoringQueryLanguageCondition/query": query
"/monitoring:v3/MonitoringQueryLanguageCondition/trigger": trigger
"/monitoring:v3/MutationRecord": mutation_record "/monitoring:v3/MutationRecord": mutation_record
"/monitoring:v3/MutationRecord/mutateTime": mutate_time "/monitoring:v3/MutationRecord/mutateTime": mutate_time
"/monitoring:v3/MutationRecord/mutatedBy": mutated_by "/monitoring:v3/MutationRecord/mutatedBy": mutated_by
@ -121572,7 +121577,9 @@
"/realtimebidding:v1/Creative/video": video "/realtimebidding:v1/Creative/video": video
"/realtimebidding:v1/CreativeServingDecision": creative_serving_decision "/realtimebidding:v1/CreativeServingDecision": creative_serving_decision
"/realtimebidding:v1/CreativeServingDecision/adTechnologyProviders": ad_technology_providers "/realtimebidding:v1/CreativeServingDecision/adTechnologyProviders": ad_technology_providers
"/realtimebidding:v1/CreativeServingDecision/chinaPolicyCompliance": china_policy_compliance
"/realtimebidding:v1/CreativeServingDecision/chinaServingStatus": china_serving_status "/realtimebidding:v1/CreativeServingDecision/chinaServingStatus": china_serving_status
"/realtimebidding:v1/CreativeServingDecision/dealsPolicyCompliance": deals_policy_compliance
"/realtimebidding:v1/CreativeServingDecision/dealsServingStatus": deals_serving_status "/realtimebidding:v1/CreativeServingDecision/dealsServingStatus": deals_serving_status
"/realtimebidding:v1/CreativeServingDecision/detectedAdvertisers": detected_advertisers "/realtimebidding:v1/CreativeServingDecision/detectedAdvertisers": detected_advertisers
"/realtimebidding:v1/CreativeServingDecision/detectedAdvertisers/detected_advertiser": detected_advertiser "/realtimebidding:v1/CreativeServingDecision/detectedAdvertisers/detected_advertiser": detected_advertiser
@ -121591,7 +121598,10 @@
"/realtimebidding:v1/CreativeServingDecision/detectedVendorIds": detected_vendor_ids "/realtimebidding:v1/CreativeServingDecision/detectedVendorIds": detected_vendor_ids
"/realtimebidding:v1/CreativeServingDecision/detectedVendorIds/detected_vendor_id": detected_vendor_id "/realtimebidding:v1/CreativeServingDecision/detectedVendorIds/detected_vendor_id": detected_vendor_id
"/realtimebidding:v1/CreativeServingDecision/lastStatusUpdate": last_status_update "/realtimebidding:v1/CreativeServingDecision/lastStatusUpdate": last_status_update
"/realtimebidding:v1/CreativeServingDecision/networkPolicyCompliance": network_policy_compliance
"/realtimebidding:v1/CreativeServingDecision/openAuctionServingStatus": open_auction_serving_status "/realtimebidding:v1/CreativeServingDecision/openAuctionServingStatus": open_auction_serving_status
"/realtimebidding:v1/CreativeServingDecision/platformPolicyCompliance": platform_policy_compliance
"/realtimebidding:v1/CreativeServingDecision/russiaPolicyCompliance": russia_policy_compliance
"/realtimebidding:v1/CreativeServingDecision/russiaServingStatus": russia_serving_status "/realtimebidding:v1/CreativeServingDecision/russiaServingStatus": russia_serving_status
"/realtimebidding:v1/Date": date "/realtimebidding:v1/Date": date
"/realtimebidding:v1/Date/day": day "/realtimebidding:v1/Date/day": day
@ -121665,6 +121675,10 @@
"/realtimebidding:v1/NativeContent/starRating": star_rating "/realtimebidding:v1/NativeContent/starRating": star_rating
"/realtimebidding:v1/NativeContent/videoUrl": video_url "/realtimebidding:v1/NativeContent/videoUrl": video_url
"/realtimebidding:v1/OpenUserListRequest": open_user_list_request "/realtimebidding:v1/OpenUserListRequest": open_user_list_request
"/realtimebidding:v1/PolicyCompliance": policy_compliance
"/realtimebidding:v1/PolicyCompliance/status": status
"/realtimebidding:v1/PolicyCompliance/topics": topics
"/realtimebidding:v1/PolicyCompliance/topics/topic": topic
"/realtimebidding:v1/PolicyTopicEntry": policy_topic_entry "/realtimebidding:v1/PolicyTopicEntry": policy_topic_entry
"/realtimebidding:v1/PolicyTopicEntry/evidences": evidences "/realtimebidding:v1/PolicyTopicEntry/evidences": evidences
"/realtimebidding:v1/PolicyTopicEntry/evidences/evidence": evidence "/realtimebidding:v1/PolicyTopicEntry/evidences/evidence": evidence
@ -122846,6 +122860,7 @@
"/remotebuildexecution:v1/GoogleDevtoolsRemotebuildbotCommandDurations/uploadStartTime": upload_start_time "/remotebuildexecution:v1/GoogleDevtoolsRemotebuildbotCommandDurations/uploadStartTime": upload_start_time
"/remotebuildexecution:v1/GoogleDevtoolsRemotebuildbotCommandEvents": google_devtools_remotebuildbot_command_events "/remotebuildexecution:v1/GoogleDevtoolsRemotebuildbotCommandEvents": google_devtools_remotebuildbot_command_events
"/remotebuildexecution:v1/GoogleDevtoolsRemotebuildbotCommandEvents/dockerCacheHit": docker_cache_hit "/remotebuildexecution:v1/GoogleDevtoolsRemotebuildbotCommandEvents/dockerCacheHit": docker_cache_hit
"/remotebuildexecution:v1/GoogleDevtoolsRemotebuildbotCommandEvents/dockerImageName": docker_image_name
"/remotebuildexecution:v1/GoogleDevtoolsRemotebuildbotCommandEvents/inputCacheMiss": input_cache_miss "/remotebuildexecution:v1/GoogleDevtoolsRemotebuildbotCommandEvents/inputCacheMiss": input_cache_miss
"/remotebuildexecution:v1/GoogleDevtoolsRemotebuildbotCommandEvents/numErrors": num_errors "/remotebuildexecution:v1/GoogleDevtoolsRemotebuildbotCommandEvents/numErrors": num_errors
"/remotebuildexecution:v1/GoogleDevtoolsRemotebuildbotCommandEvents/numWarnings": num_warnings "/remotebuildexecution:v1/GoogleDevtoolsRemotebuildbotCommandEvents/numWarnings": num_warnings
@ -123764,6 +123779,7 @@
"/remotebuildexecution:v2/GoogleDevtoolsRemotebuildbotCommandDurations/uploadStartTime": upload_start_time "/remotebuildexecution:v2/GoogleDevtoolsRemotebuildbotCommandDurations/uploadStartTime": upload_start_time
"/remotebuildexecution:v2/GoogleDevtoolsRemotebuildbotCommandEvents": google_devtools_remotebuildbot_command_events "/remotebuildexecution:v2/GoogleDevtoolsRemotebuildbotCommandEvents": google_devtools_remotebuildbot_command_events
"/remotebuildexecution:v2/GoogleDevtoolsRemotebuildbotCommandEvents/dockerCacheHit": docker_cache_hit "/remotebuildexecution:v2/GoogleDevtoolsRemotebuildbotCommandEvents/dockerCacheHit": docker_cache_hit
"/remotebuildexecution:v2/GoogleDevtoolsRemotebuildbotCommandEvents/dockerImageName": docker_image_name
"/remotebuildexecution:v2/GoogleDevtoolsRemotebuildbotCommandEvents/inputCacheMiss": input_cache_miss "/remotebuildexecution:v2/GoogleDevtoolsRemotebuildbotCommandEvents/inputCacheMiss": input_cache_miss
"/remotebuildexecution:v2/GoogleDevtoolsRemotebuildbotCommandEvents/numErrors": num_errors "/remotebuildexecution:v2/GoogleDevtoolsRemotebuildbotCommandEvents/numErrors": num_errors
"/remotebuildexecution:v2/GoogleDevtoolsRemotebuildbotCommandEvents/numWarnings": num_warnings "/remotebuildexecution:v2/GoogleDevtoolsRemotebuildbotCommandEvents/numWarnings": num_warnings

View File

@ -25,7 +25,7 @@ module Google
# @see http://developers.google.com/cloud-dns # @see http://developers.google.com/cloud-dns
module DnsV1 module DnsV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20200806' REVISION = '20200927'
# 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

@ -52,7 +52,7 @@ module Google
# Identifies the project addressed by this request. # Identifies the project addressed by this request.
# @param [String] managed_zone # @param [String] managed_zone
# Identifies the managed zone addressed by this request. Can be the managed zone # Identifies the managed zone addressed by this request. Can be the managed zone
# name or id. # name or ID.
# @param [Google::Apis::DnsV1::Change] change_object # @param [Google::Apis::DnsV1::Change] change_object
# @param [String] client_operation_id # @param [String] client_operation_id
# For mutating operation requests only. An optional identifier specified by the # For mutating operation requests only. An optional identifier specified by the
@ -93,7 +93,7 @@ module Google
# Identifies the project addressed by this request. # Identifies the project addressed by this request.
# @param [String] managed_zone # @param [String] managed_zone
# Identifies the managed zone addressed by this request. Can be the managed zone # Identifies the managed zone addressed by this request. Can be the managed zone
# name or id. # name or ID.
# @param [String] change_id # @param [String] change_id
# The identifier of the requested change, from a previous # The identifier of the requested change, from a previous
# ResourceRecordSetsChangeResponse. # ResourceRecordSetsChangeResponse.
@ -135,7 +135,7 @@ module Google
# Identifies the project addressed by this request. # Identifies the project addressed by this request.
# @param [String] managed_zone # @param [String] managed_zone
# Identifies the managed zone addressed by this request. Can be the managed zone # Identifies the managed zone addressed by this request. Can be the managed zone
# name or id. # name or ID.
# @param [Fixnum] max_results # @param [Fixnum] max_results
# Optional. Maximum number of results to be returned. If unspecified, the server # Optional. Maximum number of results to be returned. If unspecified, the server
# will decide how many results to return. # will decide how many results to return.
@ -183,7 +183,7 @@ module Google
# Identifies the project addressed by this request. # Identifies the project addressed by this request.
# @param [String] managed_zone # @param [String] managed_zone
# Identifies the managed zone addressed by this request. Can be the managed zone # Identifies the managed zone addressed by this request. Can be the managed zone
# name or id. # name or ID.
# @param [String] dns_key_id # @param [String] dns_key_id
# The identifier of the requested DnsKey. # The identifier of the requested DnsKey.
# @param [String] client_operation_id # @param [String] client_operation_id
@ -229,7 +229,7 @@ module Google
# Identifies the project addressed by this request. # Identifies the project addressed by this request.
# @param [String] managed_zone # @param [String] managed_zone
# Identifies the managed zone addressed by this request. Can be the managed zone # Identifies the managed zone addressed by this request. Can be the managed zone
# name or id. # name or ID.
# @param [String] digest_type # @param [String] digest_type
# An optional comma-separated list of digest types to compute and display for # An optional comma-separated list of digest types to compute and display for
# key signing keys. If omitted, the recommended digest type will be computed and # key signing keys. If omitted, the recommended digest type will be computed and
@ -397,7 +397,7 @@ module Google
# Identifies the project addressed by this request. # Identifies the project addressed by this request.
# @param [String] managed_zone # @param [String] managed_zone
# Identifies the managed zone addressed by this request. Can be the managed zone # Identifies the managed zone addressed by this request. Can be the managed zone
# name or id. # name or ID.
# @param [String] client_operation_id # @param [String] client_operation_id
# For mutating operation requests only. An optional identifier specified by the # For mutating operation requests only. An optional identifier specified by the
# client. Must be unique for operation resources in the Operations collection. # client. Must be unique for operation resources in the Operations collection.
@ -433,7 +433,7 @@ module Google
# Identifies the project addressed by this request. # Identifies the project addressed by this request.
# @param [String] managed_zone # @param [String] managed_zone
# Identifies the managed zone addressed by this request. Can be the managed zone # Identifies the managed zone addressed by this request. Can be the managed zone
# name or id. # name or ID.
# @param [String] client_operation_id # @param [String] client_operation_id
# For mutating operation requests only. An optional identifier specified by the # For mutating operation requests only. An optional identifier specified by the
# client. Must be unique for operation resources in the Operations collection. # client. Must be unique for operation resources in the Operations collection.
@ -512,7 +512,7 @@ module Google
# Identifies the project addressed by this request. # Identifies the project addressed by this request.
# @param [String] managed_zone # @param [String] managed_zone
# Identifies the managed zone addressed by this request. Can be the managed zone # Identifies the managed zone addressed by this request. Can be the managed zone
# name or id. # name or ID.
# @param [Google::Apis::DnsV1::ManagedZone] managed_zone_object # @param [Google::Apis::DnsV1::ManagedZone] managed_zone_object
# @param [String] client_operation_id # @param [String] client_operation_id
# For mutating operation requests only. An optional identifier specified by the # For mutating operation requests only. An optional identifier specified by the
@ -553,7 +553,7 @@ module Google
# Identifies the project addressed by this request. # Identifies the project addressed by this request.
# @param [String] managed_zone # @param [String] managed_zone
# Identifies the managed zone addressed by this request. Can be the managed zone # Identifies the managed zone addressed by this request. Can be the managed zone
# name or id. # name or ID.
# @param [Google::Apis::DnsV1::ManagedZone] managed_zone_object # @param [Google::Apis::DnsV1::ManagedZone] managed_zone_object
# @param [String] client_operation_id # @param [String] client_operation_id
# For mutating operation requests only. An optional identifier specified by the # For mutating operation requests only. An optional identifier specified by the
@ -856,7 +856,7 @@ module Google
# Identifies the project addressed by this request. # Identifies the project addressed by this request.
# @param [String] managed_zone # @param [String] managed_zone
# Identifies the managed zone addressed by this request. Can be the managed zone # Identifies the managed zone addressed by this request. Can be the managed zone
# name or id. # name or ID.
# @param [Fixnum] max_results # @param [Fixnum] max_results
# Optional. Maximum number of results to be returned. If unspecified, the server # Optional. Maximum number of results to be returned. If unspecified, the server
# will decide how many results to return. # will decide how many results to return.

View File

@ -25,7 +25,7 @@ module Google
# @see http://developers.google.com/cloud-dns # @see http://developers.google.com/cloud-dns
module DnsV1beta2 module DnsV1beta2
VERSION = 'V1beta2' VERSION = 'V1beta2'
REVISION = '20200806' REVISION = '20200927'
# 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

@ -52,7 +52,7 @@ module Google
# Identifies the project addressed by this request. # Identifies the project addressed by this request.
# @param [String] managed_zone # @param [String] managed_zone
# Identifies the managed zone addressed by this request. Can be the managed zone # Identifies the managed zone addressed by this request. Can be the managed zone
# name or id. # name or ID.
# @param [Google::Apis::DnsV1beta2::Change] change_object # @param [Google::Apis::DnsV1beta2::Change] change_object
# @param [String] client_operation_id # @param [String] client_operation_id
# For mutating operation requests only. An optional identifier specified by the # For mutating operation requests only. An optional identifier specified by the
@ -93,7 +93,7 @@ module Google
# Identifies the project addressed by this request. # Identifies the project addressed by this request.
# @param [String] managed_zone # @param [String] managed_zone
# Identifies the managed zone addressed by this request. Can be the managed zone # Identifies the managed zone addressed by this request. Can be the managed zone
# name or id. # name or ID.
# @param [String] change_id # @param [String] change_id
# The identifier of the requested change, from a previous # The identifier of the requested change, from a previous
# ResourceRecordSetsChangeResponse. # ResourceRecordSetsChangeResponse.
@ -135,7 +135,7 @@ module Google
# Identifies the project addressed by this request. # Identifies the project addressed by this request.
# @param [String] managed_zone # @param [String] managed_zone
# Identifies the managed zone addressed by this request. Can be the managed zone # Identifies the managed zone addressed by this request. Can be the managed zone
# name or id. # name or ID.
# @param [Fixnum] max_results # @param [Fixnum] max_results
# Optional. Maximum number of results to be returned. If unspecified, the server # Optional. Maximum number of results to be returned. If unspecified, the server
# will decide how many results to return. # will decide how many results to return.
@ -183,7 +183,7 @@ module Google
# Identifies the project addressed by this request. # Identifies the project addressed by this request.
# @param [String] managed_zone # @param [String] managed_zone
# Identifies the managed zone addressed by this request. Can be the managed zone # Identifies the managed zone addressed by this request. Can be the managed zone
# name or id. # name or ID.
# @param [String] dns_key_id # @param [String] dns_key_id
# The identifier of the requested DnsKey. # The identifier of the requested DnsKey.
# @param [String] client_operation_id # @param [String] client_operation_id
@ -229,7 +229,7 @@ module Google
# Identifies the project addressed by this request. # Identifies the project addressed by this request.
# @param [String] managed_zone # @param [String] managed_zone
# Identifies the managed zone addressed by this request. Can be the managed zone # Identifies the managed zone addressed by this request. Can be the managed zone
# name or id. # name or ID.
# @param [String] digest_type # @param [String] digest_type
# An optional comma-separated list of digest types to compute and display for # An optional comma-separated list of digest types to compute and display for
# key signing keys. If omitted, the recommended digest type will be computed and # key signing keys. If omitted, the recommended digest type will be computed and
@ -397,7 +397,7 @@ module Google
# Identifies the project addressed by this request. # Identifies the project addressed by this request.
# @param [String] managed_zone # @param [String] managed_zone
# Identifies the managed zone addressed by this request. Can be the managed zone # Identifies the managed zone addressed by this request. Can be the managed zone
# name or id. # name or ID.
# @param [String] client_operation_id # @param [String] client_operation_id
# For mutating operation requests only. An optional identifier specified by the # For mutating operation requests only. An optional identifier specified by the
# client. Must be unique for operation resources in the Operations collection. # client. Must be unique for operation resources in the Operations collection.
@ -433,7 +433,7 @@ module Google
# Identifies the project addressed by this request. # Identifies the project addressed by this request.
# @param [String] managed_zone # @param [String] managed_zone
# Identifies the managed zone addressed by this request. Can be the managed zone # Identifies the managed zone addressed by this request. Can be the managed zone
# name or id. # name or ID.
# @param [String] client_operation_id # @param [String] client_operation_id
# For mutating operation requests only. An optional identifier specified by the # For mutating operation requests only. An optional identifier specified by the
# client. Must be unique for operation resources in the Operations collection. # client. Must be unique for operation resources in the Operations collection.
@ -512,7 +512,7 @@ module Google
# Identifies the project addressed by this request. # Identifies the project addressed by this request.
# @param [String] managed_zone # @param [String] managed_zone
# Identifies the managed zone addressed by this request. Can be the managed zone # Identifies the managed zone addressed by this request. Can be the managed zone
# name or id. # name or ID.
# @param [Google::Apis::DnsV1beta2::ManagedZone] managed_zone_object # @param [Google::Apis::DnsV1beta2::ManagedZone] managed_zone_object
# @param [String] client_operation_id # @param [String] client_operation_id
# For mutating operation requests only. An optional identifier specified by the # For mutating operation requests only. An optional identifier specified by the
@ -553,7 +553,7 @@ module Google
# Identifies the project addressed by this request. # Identifies the project addressed by this request.
# @param [String] managed_zone # @param [String] managed_zone
# Identifies the managed zone addressed by this request. Can be the managed zone # Identifies the managed zone addressed by this request. Can be the managed zone
# name or id. # name or ID.
# @param [Google::Apis::DnsV1beta2::ManagedZone] managed_zone_object # @param [Google::Apis::DnsV1beta2::ManagedZone] managed_zone_object
# @param [String] client_operation_id # @param [String] client_operation_id
# For mutating operation requests only. An optional identifier specified by the # For mutating operation requests only. An optional identifier specified by the
@ -856,7 +856,7 @@ module Google
# Identifies the project addressed by this request. # Identifies the project addressed by this request.
# @param [String] managed_zone # @param [String] managed_zone
# Identifies the managed zone addressed by this request. Can be the managed zone # Identifies the managed zone addressed by this request. Can be the managed zone
# name or id. # name or ID.
# @param [Fixnum] max_results # @param [Fixnum] max_results
# Optional. Maximum number of results to be returned. If unspecified, the server # Optional. Maximum number of results to be returned. If unspecified, the server
# will decide how many results to return. # will decide how many results to return.

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/fit/rest/v1/get-started # @see https://developers.google.com/fit/rest/v1/get-started
module FitnessV1 module FitnessV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20200907' REVISION = '20201006'
# Use Google Fit to see and store your physical activity data # Use Google Fit to see and store your physical activity data
AUTH_FITNESS_ACTIVITY_READ = 'https://www.googleapis.com/auth/fitness.activity.read' AUTH_FITNESS_ACTIVITY_READ = 'https://www.googleapis.com/auth/fitness.activity.read'
@ -57,6 +57,12 @@ module Google
# See and add to info about your body temperature in Google Fit. I consent to Google sharing my body temperature information with this app. # See and add to info about your body temperature in Google Fit. I consent to Google sharing my body temperature information with this app.
AUTH_FITNESS_BODY_TEMPERATURE_WRITE = 'https://www.googleapis.com/auth/fitness.body_temperature.write' AUTH_FITNESS_BODY_TEMPERATURE_WRITE = 'https://www.googleapis.com/auth/fitness.body_temperature.write'
# See your heart rate data in Google Fit. I consent to Google sharing my heart rate information with this app.
AUTH_FITNESS_HEART_RATE_READ = 'https://www.googleapis.com/auth/fitness.heart_rate.read'
# See and add to your heart rate data in Google Fit. I consent to Google sharing my heart rate information with this app.
AUTH_FITNESS_HEART_RATE_WRITE = 'https://www.googleapis.com/auth/fitness.heart_rate.write'
# See your Google Fit speed and distance data # See your Google Fit speed and distance data
AUTH_FITNESS_LOCATION_READ = 'https://www.googleapis.com/auth/fitness.location.read' AUTH_FITNESS_LOCATION_READ = 'https://www.googleapis.com/auth/fitness.location.read'
@ -80,6 +86,12 @@ module Google
# See and add info about your reproductive health in Google Fit. I consent to Google sharing my reproductive health information with this app. # See and add info about your reproductive health in Google Fit. I consent to Google sharing my reproductive health information with this app.
AUTH_FITNESS_REPRODUCTIVE_HEALTH_WRITE = 'https://www.googleapis.com/auth/fitness.reproductive_health.write' AUTH_FITNESS_REPRODUCTIVE_HEALTH_WRITE = 'https://www.googleapis.com/auth/fitness.reproductive_health.write'
# See your sleep data in Google Fit. I consent to Google sharing my sleep information with this app.
AUTH_FITNESS_SLEEP_READ = 'https://www.googleapis.com/auth/fitness.sleep.read'
# See and add to your sleep data in Google Fit. I consent to Google sharing my sleep information with this app.
AUTH_FITNESS_SLEEP_WRITE = 'https://www.googleapis.com/auth/fitness.sleep.write'
end end
end end
end end

View File

@ -29,7 +29,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 = '20200927' REVISION = '20201005'
# 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

@ -645,6 +645,12 @@ module Google
# @return [Google::Apis::MonitoringV3::MetricAbsence] # @return [Google::Apis::MonitoringV3::MetricAbsence]
attr_accessor :condition_absent attr_accessor :condition_absent
# A condition type that allows alert policies to be defined using Monitoring
# Query Language.
# Corresponds to the JSON property `conditionMonitoringQueryLanguage`
# @return [Google::Apis::MonitoringV3::MonitoringQueryLanguageCondition]
attr_accessor :condition_monitoring_query_language
# A condition type that compares a collection of time series against a threshold. # A condition type that compares a collection of time series against a threshold.
# Corresponds to the JSON property `conditionThreshold` # Corresponds to the JSON property `conditionThreshold`
# @return [Google::Apis::MonitoringV3::MetricThreshold] # @return [Google::Apis::MonitoringV3::MetricThreshold]
@ -682,6 +688,7 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@condition_absent = args[:condition_absent] if args.key?(:condition_absent) @condition_absent = args[:condition_absent] if args.key?(:condition_absent)
@condition_monitoring_query_language = args[:condition_monitoring_query_language] if args.key?(:condition_monitoring_query_language)
@condition_threshold = args[:condition_threshold] if args.key?(:condition_threshold) @condition_threshold = args[:condition_threshold] if args.key?(:condition_threshold)
@display_name = args[:display_name] if args.key?(:display_name) @display_name = args[:display_name] if args.key?(:display_name)
@name = args[:name] if args.key?(:name) @name = args[:name] if args.key?(:name)
@ -2640,6 +2647,47 @@ module Google
end end
end end
# A condition type that allows alert policies to be defined using Monitoring
# Query Language.
class MonitoringQueryLanguageCondition
include Google::Apis::Core::Hashable
# The amount of time that a time series must violate the threshold to be
# considered failing. Currently, only values that are a multiple of a minute--e.
# g., 0, 60, 120, or 300 seconds--are supported. If an invalid value is given,
# an error will be returned. When choosing a duration, it is useful to keep in
# mind the frequency of the underlying time series data (which may also be
# affected by any alignments specified in the aggregations field); a good
# duration is long enough so that a single outlier does not generate spurious
# alerts, but short enough that unhealthy states are detected and alerted on
# quickly.
# Corresponds to the JSON property `duration`
# @return [String]
attr_accessor :duration
# Monitoring Query Language query that outputs a boolean stream.
# Corresponds to the JSON property `query`
# @return [String]
attr_accessor :query
# Specifies how many time series must fail a predicate to trigger a condition.
# If not specified, then a `count: 1` trigger is used.
# Corresponds to the JSON property `trigger`
# @return [Google::Apis::MonitoringV3::Trigger]
attr_accessor :trigger
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@duration = args[:duration] if args.key?(:duration)
@query = args[:query] if args.key?(:query)
@trigger = args[:trigger] if args.key?(:trigger)
end
end
# Describes a change made to a configuration. # Describes a change made to a configuration.
class MutationRecord class MutationRecord
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable

View File

@ -394,6 +394,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class MonitoringQueryLanguageCondition
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class MutationRecord class MutationRecord
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -744,6 +750,8 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :condition_absent, as: 'conditionAbsent', class: Google::Apis::MonitoringV3::MetricAbsence, decorator: Google::Apis::MonitoringV3::MetricAbsence::Representation property :condition_absent, as: 'conditionAbsent', class: Google::Apis::MonitoringV3::MetricAbsence, decorator: Google::Apis::MonitoringV3::MetricAbsence::Representation
property :condition_monitoring_query_language, as: 'conditionMonitoringQueryLanguage', class: Google::Apis::MonitoringV3::MonitoringQueryLanguageCondition, decorator: Google::Apis::MonitoringV3::MonitoringQueryLanguageCondition::Representation
property :condition_threshold, as: 'conditionThreshold', class: Google::Apis::MonitoringV3::MetricThreshold, decorator: Google::Apis::MonitoringV3::MetricThreshold::Representation property :condition_threshold, as: 'conditionThreshold', class: Google::Apis::MonitoringV3::MetricThreshold, decorator: Google::Apis::MonitoringV3::MetricThreshold::Representation
property :display_name, as: 'displayName' property :display_name, as: 'displayName'
@ -1225,6 +1233,16 @@ module Google
end end
end end
class MonitoringQueryLanguageCondition
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :duration, as: 'duration'
property :query, as: 'query'
property :trigger, as: 'trigger', class: Google::Apis::MonitoringV3::Trigger, decorator: Google::Apis::MonitoringV3::Trigger::Representation
end
end
class MutationRecord class MutationRecord
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -28,7 +28,7 @@ module Google
# @see https://developers.google.com/authorized-buyers/apis/realtimebidding/reference/rest/ # @see https://developers.google.com/authorized-buyers/apis/realtimebidding/reference/rest/
module RealtimebiddingV1 module RealtimebiddingV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20201006' REVISION = '20201008'
# See, create, edit, and delete your Authorized Buyers and Open Bidding account entities # See, create, edit, and delete your Authorized Buyers and Open Bidding account entities
AUTH_REALTIME_BIDDING = 'https://www.googleapis.com/auth/realtime-bidding' AUTH_REALTIME_BIDDING = 'https://www.googleapis.com/auth/realtime-bidding'

View File

@ -236,15 +236,15 @@ module Google
class CreativeServingDecision class CreativeServingDecision
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Serving status of the creative for a transaction type or a region. # Policy compliance of the creative for a transaction type or a region.
# Corresponds to the JSON property `chinaServingStatus` # Corresponds to the JSON property `chinaPolicyCompliance`
# @return [Google::Apis::RealtimebiddingV1::ServingStatus] # @return [Google::Apis::RealtimebiddingV1::PolicyCompliance]
attr_accessor :china_serving_status attr_accessor :china_policy_compliance
# Serving status of the creative for a transaction type or a region. # Policy compliance of the creative for a transaction type or a region.
# Corresponds to the JSON property `dealsServingStatus` # Corresponds to the JSON property `dealsPolicyCompliance`
# @return [Google::Apis::RealtimebiddingV1::ServingStatus] # @return [Google::Apis::RealtimebiddingV1::PolicyCompliance]
attr_accessor :deals_serving_status attr_accessor :deals_policy_compliance
# Detected advertisers and brands. # Detected advertisers and brands.
# Corresponds to the JSON property `detectedAdvertisers` # Corresponds to the JSON property `detectedAdvertisers`
@ -313,15 +313,20 @@ module Google
# @return [String] # @return [String]
attr_accessor :last_status_update attr_accessor :last_status_update
# Serving status of the creative for a transaction type or a region. # Policy compliance of the creative for a transaction type or a region.
# Corresponds to the JSON property `openAuctionServingStatus` # Corresponds to the JSON property `networkPolicyCompliance`
# @return [Google::Apis::RealtimebiddingV1::ServingStatus] # @return [Google::Apis::RealtimebiddingV1::PolicyCompliance]
attr_accessor :open_auction_serving_status attr_accessor :network_policy_compliance
# Serving status of the creative for a transaction type or a region. # Policy compliance of the creative for a transaction type or a region.
# Corresponds to the JSON property `russiaServingStatus` # Corresponds to the JSON property `platformPolicyCompliance`
# @return [Google::Apis::RealtimebiddingV1::ServingStatus] # @return [Google::Apis::RealtimebiddingV1::PolicyCompliance]
attr_accessor :russia_serving_status attr_accessor :platform_policy_compliance
# Policy compliance of the creative for a transaction type or a region.
# Corresponds to the JSON property `russiaPolicyCompliance`
# @return [Google::Apis::RealtimebiddingV1::PolicyCompliance]
attr_accessor :russia_policy_compliance
def initialize(**args) def initialize(**args)
update!(**args) update!(**args)
@ -329,8 +334,8 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@china_serving_status = args[:china_serving_status] if args.key?(:china_serving_status) @china_policy_compliance = args[:china_policy_compliance] if args.key?(:china_policy_compliance)
@deals_serving_status = args[:deals_serving_status] if args.key?(:deals_serving_status) @deals_policy_compliance = args[:deals_policy_compliance] if args.key?(:deals_policy_compliance)
@detected_advertisers = args[:detected_advertisers] if args.key?(:detected_advertisers) @detected_advertisers = args[:detected_advertisers] if args.key?(:detected_advertisers)
@detected_attributes = args[:detected_attributes] if args.key?(:detected_attributes) @detected_attributes = args[:detected_attributes] if args.key?(:detected_attributes)
@detected_click_through_urls = args[:detected_click_through_urls] if args.key?(:detected_click_through_urls) @detected_click_through_urls = args[:detected_click_through_urls] if args.key?(:detected_click_through_urls)
@ -340,8 +345,9 @@ module Google
@detected_sensitive_categories = args[:detected_sensitive_categories] if args.key?(:detected_sensitive_categories) @detected_sensitive_categories = args[:detected_sensitive_categories] if args.key?(:detected_sensitive_categories)
@detected_vendor_ids = args[:detected_vendor_ids] if args.key?(:detected_vendor_ids) @detected_vendor_ids = args[:detected_vendor_ids] if args.key?(:detected_vendor_ids)
@last_status_update = args[:last_status_update] if args.key?(:last_status_update) @last_status_update = args[:last_status_update] if args.key?(:last_status_update)
@open_auction_serving_status = args[:open_auction_serving_status] if args.key?(:open_auction_serving_status) @network_policy_compliance = args[:network_policy_compliance] if args.key?(:network_policy_compliance)
@russia_serving_status = args[:russia_serving_status] if args.key?(:russia_serving_status) @platform_policy_compliance = args[:platform_policy_compliance] if args.key?(:platform_policy_compliance)
@russia_policy_compliance = args[:russia_policy_compliance] if args.key?(:russia_policy_compliance)
end end
end end
@ -896,6 +902,35 @@ module Google
end end
end end
# Policy compliance of the creative for a transaction type or a region.
class PolicyCompliance
include Google::Apis::Core::Hashable
# Serving status for the given transaction type (e.g., open auction, deals) or
# region (e.g., China, Russia). Can be used to filter the response of the
# creatives.list method.
# Corresponds to the JSON property `status`
# @return [String]
attr_accessor :status
# Topics related to the policy compliance for this transaction type (e.g., open
# auction, deals) or region (e.g., China, Russia). Topics may be present only if
# status is DISAPPROVED.
# Corresponds to the JSON property `topics`
# @return [Array<Google::Apis::RealtimebiddingV1::PolicyTopicEntry>]
attr_accessor :topics
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@status = args[:status] if args.key?(:status)
@topics = args[:topics] if args.key?(:topics)
end
end
# Each policy topic entry will represent a violation of a policy topic for a # Each policy topic entry will represent a violation of a policy topic for a
# creative, with the policy topic information and optional evidence for the # creative, with the policy topic information and optional evidence for the
# policy violation. # policy violation.
@ -989,35 +1024,6 @@ module Google
end end
end end
# Serving status of the creative for a transaction type or a region.
class ServingStatus
include Google::Apis::Core::Hashable
# Serving status for the given transaction type (e.g., open auction, deals) or
# region (e.g., China, Russia). Can be used to filter the response of the
# creatives.list method.
# Corresponds to the JSON property `status`
# @return [String]
attr_accessor :status
# Policy topics related to the serving decision for this transaction type (e.g.,
# open auction, deals) or region (e.g., China, Russia). Topics may be present
# only if status is DISAPPROVED.
# Corresponds to the JSON property `topics`
# @return [Array<Google::Apis::RealtimebiddingV1::PolicyTopicEntry>]
attr_accessor :topics
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@status = args[:status] if args.key?(:status)
@topics = args[:topics] if args.key?(:topics)
end
end
# The URL-level breakdown for the download size. # The URL-level breakdown for the download size.
class UrlDownloadSize class UrlDownloadSize
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable

View File

@ -148,6 +148,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class PolicyCompliance
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class PolicyTopicEntry class PolicyTopicEntry
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -160,12 +166,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class ServingStatus
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class UrlDownloadSize class UrlDownloadSize
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -257,9 +257,9 @@ module Google
class CreativeServingDecision class CreativeServingDecision
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :china_serving_status, as: 'chinaServingStatus', class: Google::Apis::RealtimebiddingV1::ServingStatus, decorator: Google::Apis::RealtimebiddingV1::ServingStatus::Representation property :china_policy_compliance, as: 'chinaPolicyCompliance', class: Google::Apis::RealtimebiddingV1::PolicyCompliance, decorator: Google::Apis::RealtimebiddingV1::PolicyCompliance::Representation
property :deals_serving_status, as: 'dealsServingStatus', class: Google::Apis::RealtimebiddingV1::ServingStatus, decorator: Google::Apis::RealtimebiddingV1::ServingStatus::Representation property :deals_policy_compliance, as: 'dealsPolicyCompliance', class: Google::Apis::RealtimebiddingV1::PolicyCompliance, decorator: Google::Apis::RealtimebiddingV1::PolicyCompliance::Representation
collection :detected_advertisers, as: 'detectedAdvertisers', class: Google::Apis::RealtimebiddingV1::AdvertiserAndBrand, decorator: Google::Apis::RealtimebiddingV1::AdvertiserAndBrand::Representation collection :detected_advertisers, as: 'detectedAdvertisers', class: Google::Apis::RealtimebiddingV1::AdvertiserAndBrand, decorator: Google::Apis::RealtimebiddingV1::AdvertiserAndBrand::Representation
@ -271,9 +271,11 @@ module Google
collection :detected_sensitive_categories, as: 'detectedSensitiveCategories' collection :detected_sensitive_categories, as: 'detectedSensitiveCategories'
collection :detected_vendor_ids, as: 'detectedVendorIds' collection :detected_vendor_ids, as: 'detectedVendorIds'
property :last_status_update, as: 'lastStatusUpdate' property :last_status_update, as: 'lastStatusUpdate'
property :open_auction_serving_status, as: 'openAuctionServingStatus', class: Google::Apis::RealtimebiddingV1::ServingStatus, decorator: Google::Apis::RealtimebiddingV1::ServingStatus::Representation property :network_policy_compliance, as: 'networkPolicyCompliance', class: Google::Apis::RealtimebiddingV1::PolicyCompliance, decorator: Google::Apis::RealtimebiddingV1::PolicyCompliance::Representation
property :russia_serving_status, as: 'russiaServingStatus', class: Google::Apis::RealtimebiddingV1::ServingStatus, decorator: Google::Apis::RealtimebiddingV1::ServingStatus::Representation property :platform_policy_compliance, as: 'platformPolicyCompliance', class: Google::Apis::RealtimebiddingV1::PolicyCompliance, decorator: Google::Apis::RealtimebiddingV1::PolicyCompliance::Representation
property :russia_policy_compliance, as: 'russiaPolicyCompliance', class: Google::Apis::RealtimebiddingV1::PolicyCompliance, decorator: Google::Apis::RealtimebiddingV1::PolicyCompliance::Representation
end end
end end
@ -436,6 +438,15 @@ module Google
end end
end end
class PolicyCompliance
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :status, as: 'status'
collection :topics, as: 'topics', class: Google::Apis::RealtimebiddingV1::PolicyTopicEntry, decorator: Google::Apis::RealtimebiddingV1::PolicyTopicEntry::Representation
end
end
class PolicyTopicEntry class PolicyTopicEntry
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -466,15 +477,6 @@ module Google
end end
end end
class ServingStatus
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :status, as: 'status'
collection :topics, as: 'topics', class: Google::Apis::RealtimebiddingV1::PolicyTopicEntry, decorator: Google::Apis::RealtimebiddingV1::PolicyTopicEntry::Representation
end
end
class UrlDownloadSize class UrlDownloadSize
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/remote-build-execution/docs/ # @see https://cloud.google.com/remote-build-execution/docs/
module RemotebuildexecutionV1 module RemotebuildexecutionV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20200901' REVISION = '20201006'
# 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

@ -1483,6 +1483,11 @@ module Google
attr_accessor :docker_cache_hit attr_accessor :docker_cache_hit
alias_method :docker_cache_hit?, :docker_cache_hit alias_method :docker_cache_hit?, :docker_cache_hit
# Docker Image name.
# Corresponds to the JSON property `dockerImageName`
# @return [String]
attr_accessor :docker_image_name
# The input cache miss ratio. # The input cache miss ratio.
# Corresponds to the JSON property `inputCacheMiss` # Corresponds to the JSON property `inputCacheMiss`
# @return [Float] # @return [Float]
@ -1505,6 +1510,7 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@docker_cache_hit = args[:docker_cache_hit] if args.key?(:docker_cache_hit) @docker_cache_hit = args[:docker_cache_hit] if args.key?(:docker_cache_hit)
@docker_image_name = args[:docker_image_name] if args.key?(:docker_image_name)
@input_cache_miss = args[:input_cache_miss] if args.key?(:input_cache_miss) @input_cache_miss = args[:input_cache_miss] if args.key?(:input_cache_miss)
@num_errors = args[:num_errors] if args.key?(:num_errors) @num_errors = args[:num_errors] if args.key?(:num_errors)
@num_warnings = args[:num_warnings] if args.key?(:num_warnings) @num_warnings = args[:num_warnings] if args.key?(:num_warnings)

View File

@ -701,6 +701,7 @@ module Google
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :docker_cache_hit, as: 'dockerCacheHit' property :docker_cache_hit, as: 'dockerCacheHit'
property :docker_image_name, as: 'dockerImageName'
property :input_cache_miss, as: 'inputCacheMiss' property :input_cache_miss, as: 'inputCacheMiss'
property :num_errors, :numeric_string => true, as: 'numErrors' property :num_errors, :numeric_string => true, as: 'numErrors'
property :num_warnings, :numeric_string => true, as: 'numWarnings' property :num_warnings, :numeric_string => true, as: 'numWarnings'

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/remote-build-execution/docs/ # @see https://cloud.google.com/remote-build-execution/docs/
module RemotebuildexecutionV2 module RemotebuildexecutionV2
VERSION = 'V2' VERSION = 'V2'
REVISION = '20200901' REVISION = '20201006'
# 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

@ -2137,6 +2137,11 @@ module Google
attr_accessor :docker_cache_hit attr_accessor :docker_cache_hit
alias_method :docker_cache_hit?, :docker_cache_hit alias_method :docker_cache_hit?, :docker_cache_hit
# Docker Image name.
# Corresponds to the JSON property `dockerImageName`
# @return [String]
attr_accessor :docker_image_name
# The input cache miss ratio. # The input cache miss ratio.
# Corresponds to the JSON property `inputCacheMiss` # Corresponds to the JSON property `inputCacheMiss`
# @return [Float] # @return [Float]
@ -2159,6 +2164,7 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@docker_cache_hit = args[:docker_cache_hit] if args.key?(:docker_cache_hit) @docker_cache_hit = args[:docker_cache_hit] if args.key?(:docker_cache_hit)
@docker_image_name = args[:docker_image_name] if args.key?(:docker_image_name)
@input_cache_miss = args[:input_cache_miss] if args.key?(:input_cache_miss) @input_cache_miss = args[:input_cache_miss] if args.key?(:input_cache_miss)
@num_errors = args[:num_errors] if args.key?(:num_errors) @num_errors = args[:num_errors] if args.key?(:num_errors)
@num_warnings = args[:num_warnings] if args.key?(:num_warnings) @num_warnings = args[:num_warnings] if args.key?(:num_warnings)

View File

@ -989,6 +989,7 @@ module Google
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :docker_cache_hit, as: 'dockerCacheHit' property :docker_cache_hit, as: 'dockerCacheHit'
property :docker_image_name, as: 'dockerImageName'
property :input_cache_miss, as: 'inputCacheMiss' property :input_cache_miss, as: 'inputCacheMiss'
property :num_errors, :numeric_string => true, as: 'numErrors' property :num_errors, :numeric_string => true, as: 'numErrors'
property :num_warnings, :numeric_string => true, as: 'numWarnings' property :num_warnings, :numeric_string => true, as: 'numWarnings'

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/run/ # @see https://cloud.google.com/run/
module RunV1 module RunV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20200918' REVISION = '20201002'
# 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

@ -1111,7 +1111,7 @@ module Google
attr_accessor :key attr_accessor :key
# (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: # (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos:
# supported Mode bits to use on this file, must be a value between 0 and 0777. # supported Mode bits to use on this file, must be a value between 0000 and 0777.
# If not specified, the volume defaultMode will be used. This might be in # If not specified, the volume defaultMode will be used. This might be in
# conflict with other options that affect the file mode, like fsGroup, and the # conflict with other options that affect the file mode, like fsGroup, and the
# result can be other mode bits set. # result can be other mode bits set.
@ -2414,9 +2414,12 @@ module Google
# (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: # (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos:
# supported Mode bits to use on created files by default. Must be a value # supported Mode bits to use on created files by default. Must be a value
# between 0 and 0777. Defaults to 0644. Directories within the path are not # between 0000 and 0777. Defaults to 0644. Directories within the path are not
# affected by this setting. This might be in conflict with other options that # affected by this setting. This might be in conflict with other options that
# affect the file mode, like fsGroup, and the result can be other mode bits set. # affect the file mode, like fsGroup, and the result can be other mode bits set.
# NOTE: This is an integer representation of the mode bits. So, the integer
# value should look exactly as the chmod numeric notation, i.e. Unix chmod "777"
# (a=rwx) should have the integer value 777.
# Corresponds to the JSON property `defaultMode` # Corresponds to the JSON property `defaultMode`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :default_mode attr_accessor :default_mode

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/nest/device-access # @see https://developers.google.com/nest/device-access
module SmartdevicemanagementV1 module SmartdevicemanagementV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20200910' REVISION = '20201003'
# See and/or control the devices that you selected # See and/or control the devices that you selected
AUTH_SDM_SERVICE = 'https://www.googleapis.com/auth/sdm.service' AUTH_SDM_SERVICE = 'https://www.googleapis.com/auth/sdm.service'

View File

@ -27,13 +27,6 @@ module Google
class GoogleHomeEnterpriseSdmV1Device class GoogleHomeEnterpriseSdmV1Device
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Output only. The name of the structure/room where the device is assigned to.
# For example: "enterprises/XYZ/structures/ABC" or "enterprises/XYZ/structures/
# ABC/rooms/123"
# Corresponds to the JSON property `assignee`
# @return [String]
attr_accessor :assignee
# Required. The resource name of the device. For example: "enterprises/XYZ/ # Required. The resource name of the device. For example: "enterprises/XYZ/
# devices/123". # devices/123".
# Corresponds to the JSON property `name` # Corresponds to the JSON property `name`
@ -64,7 +57,6 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@assignee = args[:assignee] if args.key?(:assignee)
@name = args[:name] if args.key?(:name) @name = args[:name] if args.key?(:name)
@parent_relations = args[:parent_relations] if args.key?(:parent_relations) @parent_relations = args[:parent_relations] if args.key?(:parent_relations)
@traits = args[:traits] if args.key?(:traits) @traits = args[:traits] if args.key?(:traits)
@ -146,7 +138,8 @@ module Google
class GoogleHomeEnterpriseSdmV1ListRoomsResponse class GoogleHomeEnterpriseSdmV1ListRoomsResponse
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# The pagination token to retrieve the next page of results. # The pagination token to retrieve the next page of results. If this field is
# omitted, there are no subsequent pages.
# Corresponds to the JSON property `nextPageToken` # Corresponds to the JSON property `nextPageToken`
# @return [String] # @return [String]
attr_accessor :next_page_token attr_accessor :next_page_token
@ -171,7 +164,8 @@ module Google
class GoogleHomeEnterpriseSdmV1ListStructuresResponse class GoogleHomeEnterpriseSdmV1ListStructuresResponse
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# The pagination token to retrieve the next page of results. # The pagination token to retrieve the next page of results. If this field is
# omitted, there are no subsequent pages.
# Corresponds to the JSON property `nextPageToken` # Corresponds to the JSON property `nextPageToken`
# @return [String] # @return [String]
attr_accessor :next_page_token attr_accessor :next_page_token

View File

@ -85,7 +85,6 @@ module Google
class GoogleHomeEnterpriseSdmV1Device class GoogleHomeEnterpriseSdmV1Device
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :assignee, as: 'assignee'
property :name, as: 'name' property :name, as: 'name'
collection :parent_relations, as: 'parentRelations', class: Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1ParentRelation, decorator: Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1ParentRelation::Representation collection :parent_relations, as: 'parentRelations', class: Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1ParentRelation, decorator: Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1ParentRelation::Representation

View File

@ -124,8 +124,6 @@ module Google
# If unspecified, server will pick an appropriate default. # If unspecified, server will pick an appropriate default.
# @param [String] page_token # @param [String] page_token
# Optional token of the page to retrieve. # Optional token of the page to retrieve.
# @param [String] view
# Additional details that need to be provided for the device.
# @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
@ -143,7 +141,7 @@ 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 list_enterprise_devices(parent, filter: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block) def list_enterprise_devices(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+parent}/devices', options) command = make_simple_command(:get, 'v1/{+parent}/devices', options)
command.response_representation = Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1ListDevicesResponse::Representation command.response_representation = Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1ListDevicesResponse::Representation
command.response_class = Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1ListDevicesResponse command.response_class = Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1ListDevicesResponse
@ -151,7 +149,6 @@ module Google
command.query['filter'] = filter unless filter.nil? command.query['filter'] = filter unless filter.nil?
command.query['pageSize'] = page_size unless page_size.nil? command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil? command.query['pageToken'] = page_token unless page_token.nil?
command.query['view'] = view unless view.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)

View File

@ -26,7 +26,7 @@ module Google
# @see http://cloud.google.com/iam/docs/workload-identity-federation # @see http://cloud.google.com/iam/docs/workload-identity-federation
module StsV1 module StsV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20200908' REVISION = '20201004'
end end
end end
end end

View File

@ -27,7 +27,7 @@ module Google
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Required. The grant type. Must be `urn:ietf:params:oauth:grant-type:token- # Required. The grant type. Must be `urn:ietf:params:oauth:grant-type:token-
# exchange`, which indicates a token exchange is requested. # exchange`, which indicates a token exchange.
# Corresponds to the JSON property `grantType` # Corresponds to the JSON property `grantType`
# @return [String] # @return [String]
attr_accessor :grant_type attr_accessor :grant_type
@ -45,10 +45,10 @@ module Google
# @return [String] # @return [String]
attr_accessor :requested_token_type attr_accessor :requested_token_type
# Required. Input subject token. You can use a Google-issued OAuth 2.0 access # Required. The input token. You can use a Google-issued OAuth 2.0 access token
# token with this field to obtain an access token with new security attributes # with this field to obtain an access token with new security attributes applied,
# applied, such as an AccessBoundary. Applying additional security attributes on # such as a Credential Access Boundary. If an access token already contains
# access tokens that already contain security attributes is not allowed. # security attributes, you cannot apply additional security attributes.
# Corresponds to the JSON property `subjectToken` # Corresponds to the JSON property `subjectToken`
# @return [String] # @return [String]
attr_accessor :subject_token attr_accessor :subject_token
@ -84,10 +84,11 @@ module Google
# @return [String] # @return [String]
attr_accessor :access_token attr_accessor :access_token
# The expiration time of `access_token` in seconds, measured from the time of # The amount of time, in seconds, between the time when the `access_token` was
# issuance. This field is absent when the `subject_token` in the request is a # issued and the time when the `access_token` will expire. This field is absent
# Google-issued, short-lived access token. In this case, the expiration time of # when the `subject_token` in the request is a Google-issued, short-lived access
# the `access_token` is the same as the `subject_token`. # token. In this case, the `access_token` has the same expiration time as the `
# subject_token`.
# Corresponds to the JSON property `expires_in` # Corresponds to the JSON property `expires_in`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :expires_in attr_accessor :expires_in

View File

@ -26,7 +26,7 @@ module Google
# @see http://cloud.google.com/iam/docs/workload-identity-federation # @see http://cloud.google.com/iam/docs/workload-identity-federation
module StsV1beta module StsV1beta
VERSION = 'V1beta' VERSION = 'V1beta'
REVISION = '20200919' REVISION = '20201004'
end end
end end
end end

View File

@ -26,16 +26,15 @@ module Google
class GoogleIdentityStsV1betaExchangeTokenRequest class GoogleIdentityStsV1betaExchangeTokenRequest
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# The full resource name of the identity provider; for example: `https://iam. # The full resource name of the identity provider. For example, `//iam.
# googleapis.com/projects/`PROJECT_ID`/workloadIdentityPools/`POOL_ID`/providers/ # googleapis.com/projects//workloadIdentityPools//providers/`. Required when
# `PROVIDER_ID``. Required when exchanging an external credential for a Google # exchanging an external credential for a Google access token.
# access token.
# Corresponds to the JSON property `audience` # Corresponds to the JSON property `audience`
# @return [String] # @return [String]
attr_accessor :audience attr_accessor :audience
# Required. The grant type. Must be `urn:ietf:params:oauth:grant-type:token- # Required. The grant type. Must be `urn:ietf:params:oauth:grant-type:token-
# exchange`, which indicates a token exchange is requested. # exchange`, which indicates a token exchange.
# Corresponds to the JSON property `grantType` # Corresponds to the JSON property `grantType`
# @return [String] # @return [String]
attr_accessor :grant_type attr_accessor :grant_type
@ -47,8 +46,8 @@ module Google
# @return [String] # @return [String]
attr_accessor :options attr_accessor :options
# Required. An identifier for the type of requested security token. Must be `urn: # Required. The type of security token. Must be `urn:ietf:params:oauth:token-
# ietf:params:oauth:token-type:access_token`. # type:access_token`, which indicates an OAuth 2.0 access token.
# Corresponds to the JSON property `requestedTokenType` # Corresponds to the JSON property `requestedTokenType`
# @return [String] # @return [String]
attr_accessor :requested_token_type attr_accessor :requested_token_type
@ -60,71 +59,68 @@ module Google
# @return [String] # @return [String]
attr_accessor :scope attr_accessor :scope
# Required. The input token. This is a either an external credential issued by a # Required. The input token. This token is a either an external credential
# WorkloadIdentityPoolProvider, or a short-lived access token issued by Google. # issued by a workload identity pool provider, or a short-lived access token
# If the token is an OIDC JWT, it must use the JWT format defined in [RFC 7523]( # issued by Google. If the token is an OIDC JWT, it must use the JWT format
# https://tools.ietf.org/html/rfc7523), and `subject_token_type` must be `urn: # defined in [RFC 7523](https://tools.ietf.org/html/rfc7523), and the `
# ietf:params:oauth:token-type:jwt`. The following headers are required: - **` # subject_token_type` must be `urn:ietf:params:oauth:token-type:jwt`. The
# kid`**: The identifier of the signing key securing the JWT. - **`alg`**: The # following headers are required: - `kid`: The identifier of the signing key
# cryptographic algorithm securing the JWT. Must be `RS256`. The following # securing the JWT. - `alg`: The cryptographic algorithm securing the JWT. Must
# payload fields are required. For more information, see [RFC 7523, Section 3]( # be `RS256`. The following payload fields are required. For more information,
# https://tools.ietf.org/html/rfc7523#section-3). - **`iss`**: The issuer of the # see [RFC 7523, Section 3](https://tools.ietf.org/html/rfc7523#section-3): - `
# token. The issuer must provide a discovery document at `/.well-known/openid- # iss`: The issuer of the token. The issuer must provide a discovery document at
# configuration`, formatted according to section 4.2 of the [OIDC 1.0 Discovery # `/.well-known/openid-configuration`, formatted according to section 4.2 of the
# specification](https://openid.net/specs/openid-connect-discovery-1_0.html# # [OIDC 1.0 Discovery specification](https://openid.net/specs/openid-connect-
# ProviderConfigurationResponse). - **`iat`**: The issue time, in seconds, since # discovery-1_0.html#ProviderConfigurationResponse). - `iat`: The issue time, in
# epoch. Must be in the past. - **`exp`**: The expiration time, in seconds, # seconds, since the Unix epoch. Must be in the past. - `exp`: The expiration
# since epoch. Must be fewer than 48 hours after `iat`. Shorter expiration times # time, in seconds, since the Unix epoch. Must be less than 48 hours after `iat`.
# are more. secure. If possible, we recommend setting an expiration time fewer # Shorter expiration times are more secure. If possible, we recommend setting
# than 6 hours. - **`sub`**: The identity asserted in the JWT. - **`aud`**: # an expiration time less than 6 hours. - `sub`: The identity asserted in the
# Configured by the mapper policy. The default value is the service account's # JWT. - `aud`: Configured by the mapper policy. The default value is the
# unique ID. Example header: ``` ` "alg": "RS256", "kid": "us-east-11" ` ``` # service account's unique ID. Example header: ``` ` "alg": "RS256", "kid": "us-
# Example payload: ``` ` "iss": "https://accounts.google.com", "iat": 1517963104, # east-11" ` ``` Example payload: ``` ` "iss": "https://accounts.google.com", "
# "exp": 1517966704, "aud": "113475438248934895348", "sub": " # iat": 1517963104, "exp": 1517966704, "aud": "113475438248934895348", "sub": "
# 113475438248934895348", "my_claims": ` "additional_claim": "value" ` ` ``` If ` # 113475438248934895348", "my_claims": ` "additional_claim": "value" ` ` ``` If `
# subject_token` is an AWS token, it must be a serialized, [signed](https://docs. # subject_token` is an AWS token, it must be a serialized, [signed](https://docs.
# aws.amazon.com/general/latest/gr/signing_aws_api_requests.html) request to the # aws.amazon.com/general/latest/gr/signing_aws_api_requests.html) request to the
# AWS [`GetCallerIdentity()`](https://docs.aws.amazon.com/STS/latest/ # AWS [`GetCallerIdentity()`](https://docs.aws.amazon.com/STS/latest/
# APIReference/API_GetCallerIdentity) method. Format the request as URL-encoded # APIReference/API_GetCallerIdentity) method. Format the request as URL-encoded
# JSON, and set the `subject_token_type` parameter to `urn:ietf:params:aws:token- # JSON, and set the `subject_token_type` parameter to `urn:ietf:params:aws:token-
# type:aws4_request`. The following parameters are required: - **`url`**: The # type:aws4_request`. The following parameters are required: - `url`: The URL of
# URL of the AWS STS endpoint for `GetCallerIdentity()`, such as `https://sts. # the AWS STS endpoint for `GetCallerIdentity()`, such as `https://sts.amazonaws.
# amazonaws.com?Action=GetCallerIdentity&Version=2011-06-15`. Regional endpoints # com?Action=GetCallerIdentity&Version=2011-06-15`. Regional endpoints are also
# are also supported. - **`method`:** The HTTP request method: `POST`. - **` # supported. - `method`: The HTTP request method: `POST`. - `headers`: The HTTP
# headers`**: The HTTP request headers, which must include: - **`Authorization`** # request headers, which must include: - `Authorization`: The request signature.
# : The request signature. - **`x-amz-date`**`: The time you will send the # - `x-amz-date`: The time you will send the request, formatted as an [ISO8601
# request, formatted as an [ISO8601 Basic](https://docs.aws.amazon.com/general/ # Basic](https://docs.aws.amazon.com/general/latest/gr/sigv4_elements.html#
# latest/gr/sigv4_elements.html#sigv4_elements_date) string. This is typically # sigv4_elements_date) string. This is typically set to the current time and
# set to the current time, and used to prevent replay attacks. - **`host`**: The # used to prevent replay attacks. - `host`: The hostname of the `url` field; for
# hostname of the `url` field; for example, `sts.amazonaws.com`. - **`x-goog- # example, `sts.amazonaws.com`. - `x-goog-cloud-target-resource`: The full,
# cloud-target-resource`**: The full, canonical resource name of the # canonical resource name of the workload identity pool provider, with or
# WorkloadIdentityPoolProvider, with or without the HTTPS prefix. For example: `` # without an `https:` prefix. To help ensure data integrity, we recommend
# ` //iam.googleapis.com/projects//locations//workloadIdentityPools//providers/ # including this header in the `SignedHeaders` field of the signed request. For
# https://iam.googleapis.com/projects//locations//workloadIdentityPools// # example: //iam.googleapis.com/projects//locations//workloadIdentityPools//
# providers/ ``` Signing this header as part of the signature is recommended to # providers/ https://iam.googleapis.com/projects//locations//
# ensure data integrity. If you are using temporary security credentials # workloadIdentityPools//providers/ If you are using temporary security
# provided by AWS, you must also include the header `x-amz-security-token`, with # credentials provided by AWS, you must also include the header `x-amz-security-
# the value `[SESSION_TOKEN]`. The following is an example of a signed, # token`, with the value ``. The following example shows a signed, serialized
# serialized request: ``` ` "headers":[ `"key": "x-amz-date", "value": " # request: ``` ` "headers":[ `"key": "x-amz-date", "value": "20200815T015049Z"`,
# 20200815T015049Z"`, `"key": "Authorization", "value": "AWS4-HMAC-SHA256+ # `"key": "Authorization", "value": "AWS4-HMAC-SHA256+Credential=$credential,+
# Credential=$credential,+SignedHeaders=host;x-amz-date;x-goog-cloud-target- # SignedHeaders=host;x-amz-date;x-goog-cloud-target-resource,+Signature=$
# resource,+Signature=$signature"`, `"key": "x-goog-cloud-target-resource", " # signature"`, `"key": "x-goog-cloud-target-resource", "value": "//iam.
# value": "//iam.googleapis.com/projects//locations//workloadIdentityPools// # googleapis.com/projects//locations//workloadIdentityPools//providers/"`, `"key"
# providers/"`, `"key": "host", "value": "sts.amazonaws.com"` . ], "method":" # : "host", "value": "sts.amazonaws.com"` . ], "method":"POST", "url":"https://
# POST", "url":"https://sts.amazonaws.com?Action=GetCallerIdentity&Version=2011- # sts.amazonaws.com?Action=GetCallerIdentity&Version=2011-06-15" ` ``` You can
# 06-15" ` ``` You can also use a Google-issued OAuth 2.0 access token with this # also use a Google-issued OAuth 2.0 access token with this field to obtain an
# field to obtain an access token with new security attributes applied, such as # access token with new security attributes applied, such as a Credential Access
# an AccessBoundary. In this case, set `subject_token_type` to `urn:ietf:params: # Boundary. In this case, set `subject_token_type` to `urn:ietf:params:oauth:
# oauth:token-type:access_token`. Applying additional security attributes on # token-type:access_token`. If an access token already contains security
# access tokens that already contain security attributes is not allowed. # attributes, you cannot apply additional security attributes.
# Corresponds to the JSON property `subjectToken` # Corresponds to the JSON property `subjectToken`
# @return [String] # @return [String]
attr_accessor :subject_token attr_accessor :subject_token
# Required. An identifier that indicates the type of the security token in the ` # Required. `urn:ietf:params:oauth:token-type:access_token`.
# subject_token` parameter. Supported values are `urn:ietf:params:oauth:token-
# type:jwt`, `urn:ietf:params:aws:token-type:aws4_request` and `urn:ietf:params:
# oauth:token-type:access_token`.
# Corresponds to the JSON property `subjectTokenType` # Corresponds to the JSON property `subjectTokenType`
# @return [String] # @return [String]
attr_accessor :subject_token_type attr_accessor :subject_token_type
@ -150,18 +146,18 @@ module Google
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# An OAuth 2.0 security token, issued by Google, in response to the token # An OAuth 2.0 security token, issued by Google, in response to the token
# exchange request. Tokens can vary in size (mainly depending on the size of # exchange request. Tokens can vary in size, depending in part on the size of
# mapped claims), currently up to the 12288 bytes (12 KB) size limit. Google # mapped claims, up to a maximum of 12288 bytes (12 KB). Google reserves the
# reserves the right to change token size, including increasing these limits. # right to change the token size and the maximum length at any time.
# Your application must support variable token sizes accordingly.
# Corresponds to the JSON property `access_token` # Corresponds to the JSON property `access_token`
# @return [String] # @return [String]
attr_accessor :access_token attr_accessor :access_token
# The expiration time of `access_token`, in seconds, from the time of issuance. # The amount of time, in seconds, between the time when the `access_token` was
# This field is absent when the `subject_token` in the request is a Google- # issued and the time when the `access_token` will expire. This field is absent
# issued, short-lived access token. In this case, the expiration time of the ` # when the `subject_token` in the request is a Google-issued, short-lived access
# access_token` is the same as the `subject_token`. # token. In this case, the `access_token` has the same expiration time as the `
# subject_token`.
# Corresponds to the JSON property `expires_in` # Corresponds to the JSON property `expires_in`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :expires_in attr_accessor :expires_in

View File

@ -49,8 +49,8 @@ module Google
end end
# Exchanges a credential for a Google OAuth 2.0 access token. The token asserts # Exchanges a credential for a Google OAuth 2.0 access token. The token asserts
# an external identity within a WorkloadIdentityPool, or applies an Access # an external identity within a workload identity pool, or it applies a
# Boundary on a Google access token. # Credential Access Boundary to a Google access token.
# @param [Google::Apis::StsV1beta::GoogleIdentityStsV1betaExchangeTokenRequest] google_identity_sts_v1beta_exchange_token_request_object # @param [Google::Apis::StsV1beta::GoogleIdentityStsV1betaExchangeTokenRequest] google_identity_sts_v1beta_exchange_token_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

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/youtube/ # @see https://developers.google.com/youtube/
module YoutubeV3 module YoutubeV3
VERSION = 'V3' VERSION = 'V3'
REVISION = '20200930' REVISION = '20201007'
# Manage your YouTube account # Manage your YouTube account
AUTH_YOUTUBE = 'https://www.googleapis.com/auth/youtube' AUTH_YOUTUBE = 'https://www.googleapis.com/auth/youtube'