Autogenerated update (2020-08-28)

Update:
- adexchangebuyer_v1_4
- appengine_v1beta
- bigquery_v2
- bigtableadmin_v1
- cloudprofiler_v2
- dialogflow_v2
- dialogflow_v2beta1
- dialogflow_v3beta1
- doubleclickbidmanager_v1
- doubleclickbidmanager_v1_1
- fitness_v1
- iamcredentials_v1
- ml_v1
- monitoring_v1
- monitoring_v3
- sheets_v4
- sql_v1beta4
- youtube_partner_v1
This commit is contained in:
Google APIs 2020-08-28 00:38:58 +00:00
parent 5874aa5aa4
commit 32fac21291
45 changed files with 9498 additions and 250 deletions

File diff suppressed because it is too large Load Diff

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/ad-exchange/buyer-rest
module AdexchangebuyerV1_4
VERSION = 'V1_4'
REVISION = '20191108'
REVISION = '20200826'
# Manage your Ad Exchange buyer account configuration
AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer'

View File

@ -506,8 +506,8 @@ module Google
# @return [Array<Fixnum>]
attr_accessor :advertiser_id
# The name of the company being advertised in the creative. The value provided
# must exist in the advertisers.txt file.
# The name of the company being advertised in the creative. A list of
# advertisers is provided in the advertisers.txt file.
# Corresponds to the JSON property `advertiserName`
# @return [String]
attr_accessor :advertiser_name
@ -2022,6 +2022,11 @@ module Google
# @return [Fixnum]
attr_accessor :last_update_time_ms
#
# Corresponds to the JSON property `makegoodRequestedReason`
# @return [String]
attr_accessor :makegood_requested_reason
# The name of the deal. (updatable)
# Corresponds to the JSON property `name`
# @return [String]
@ -2097,6 +2102,7 @@ module Google
@is_setup_complete = args[:is_setup_complete] if args.key?(:is_setup_complete)
@kind = args[:kind] if args.key?(:kind)
@last_update_time_ms = args[:last_update_time_ms] if args.key?(:last_update_time_ms)
@makegood_requested_reason = args[:makegood_requested_reason] if args.key?(:makegood_requested_reason)
@name = args[:name] if args.key?(:name)
@product_id = args[:product_id] if args.key?(:product_id)
@product_revision_number = args[:product_revision_number] if args.key?(:product_revision_number)
@ -2238,6 +2244,31 @@ module Google
end
end
#
class MobileApplication
include Google::Apis::Core::Hashable
#
# Corresponds to the JSON property `appStore`
# @return [String]
attr_accessor :app_store
#
# Corresponds to the JSON property `externalAppId`
# @return [String]
attr_accessor :external_app_id
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@app_store = args[:app_store] if args.key?(:app_store)
@external_app_id = args[:external_app_id] if args.key?(:external_app_id)
end
end
# The configuration data for an Ad Exchange performance report list.
class PerformanceReport
include Google::Apis::Core::Hashable
@ -3308,6 +3339,18 @@ module Google
# @return [String]
attr_accessor :programmatic_contact
# The list of app IDs represented in this pubisher profile. Empty if this is a
# parent profile. Deprecated in favor of publisher_app.
# Corresponds to the JSON property `publisherAppIds`
# @return [Array<Fixnum>]
attr_accessor :publisher_app_ids
# The list of apps represented in this pubisher profile. Empty if this is a
# parent profile.
# Corresponds to the JSON property `publisherApps`
# @return [Array<Google::Apis::AdexchangebuyerV1_4::MobileApplication>]
attr_accessor :publisher_apps
# The list of domains represented in this publisher profile. Empty if this is a
# parent profile.
# Corresponds to the JSON property `publisherDomains`
@ -3369,6 +3412,8 @@ module Google
@overview = args[:overview] if args.key?(:overview)
@profile_id = args[:profile_id] if args.key?(:profile_id)
@programmatic_contact = args[:programmatic_contact] if args.key?(:programmatic_contact)
@publisher_app_ids = args[:publisher_app_ids] if args.key?(:publisher_app_ids)
@publisher_apps = args[:publisher_apps] if args.key?(:publisher_apps)
@publisher_domains = args[:publisher_domains] if args.key?(:publisher_domains)
@publisher_profile_id = args[:publisher_profile_id] if args.key?(:publisher_profile_id)
@publisher_provided_forecast = args[:publisher_provided_forecast] if args.key?(:publisher_provided_forecast)

View File

@ -352,6 +352,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class MobileApplication
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class PerformanceReport
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1058,6 +1064,7 @@ module Google
property :is_setup_complete, as: 'isSetupComplete'
property :kind, as: 'kind'
property :last_update_time_ms, :numeric_string => true, as: 'lastUpdateTimeMs'
property :makegood_requested_reason, as: 'makegoodRequestedReason'
property :name, as: 'name'
property :product_id, as: 'productId'
property :product_revision_number, :numeric_string => true, as: 'productRevisionNumber'
@ -1109,6 +1116,14 @@ module Google
end
end
class MobileApplication
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :app_store, as: 'appStore'
property :external_app_id, as: 'externalAppId'
end
end
class PerformanceReport
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1351,6 +1366,9 @@ module Google
property :overview, as: 'overview'
property :profile_id, as: 'profileId'
property :programmatic_contact, as: 'programmaticContact'
collection :publisher_app_ids, as: 'publisherAppIds'
collection :publisher_apps, as: 'publisherApps', class: Google::Apis::AdexchangebuyerV1_4::MobileApplication, decorator: Google::Apis::AdexchangebuyerV1_4::MobileApplication::Representation
collection :publisher_domains, as: 'publisherDomains'
property :publisher_profile_id, as: 'publisherProfileId'
property :publisher_provided_forecast, as: 'publisherProvidedForecast', class: Google::Apis::AdexchangebuyerV1_4::PublisherProvidedForecast, decorator: Google::Apis::AdexchangebuyerV1_4::PublisherProvidedForecast::Representation

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/appengine/docs/admin-api/
module AppengineV1beta
VERSION = 'V1beta'
REVISION = '20200802'
REVISION = '20200822'
# View and manage your applications deployed on Google App Engine
AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'

View File

@ -2714,6 +2714,12 @@ module Google
# @return [Hash<String,String>]
attr_accessor :beta_settings
# Environment variables available to the build environment.Only returned in GET
# requests if view=FULL is set.
# Corresponds to the JSON property `buildEnvVariables`
# @return [Hash<String,String>]
attr_accessor :build_env_variables
# Time that this version was created.@OutputOnly
# Corresponds to the JSON property `createTime`
# @return [String]
@ -2926,6 +2932,7 @@ module Google
@automatic_scaling = args[:automatic_scaling] if args.key?(:automatic_scaling)
@basic_scaling = args[:basic_scaling] if args.key?(:basic_scaling)
@beta_settings = args[:beta_settings] if args.key?(:beta_settings)
@build_env_variables = args[:build_env_variables] if args.key?(:build_env_variables)
@create_time = args[:create_time] if args.key?(:create_time)
@created_by = args[:created_by] if args.key?(:created_by)
@default_expiration = args[:default_expiration] if args.key?(:default_expiration)

View File

@ -1147,6 +1147,7 @@ module Google
property :basic_scaling, as: 'basicScaling', class: Google::Apis::AppengineV1beta::BasicScaling, decorator: Google::Apis::AppengineV1beta::BasicScaling::Representation
hash :beta_settings, as: 'betaSettings'
hash :build_env_variables, as: 'buildEnvVariables'
property :create_time, as: 'createTime'
property :created_by, as: 'createdBy'
property :default_expiration, as: 'defaultExpiration'

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/bigquery/
module BigqueryV2
VERSION = 'V2'
REVISION = '20200805'
REVISION = '20200818'
# View and manage your data in Google BigQuery
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/bigtable/
module BigtableadminV1
VERSION = 'V1'
REVISION = '20200629'
REVISION = '20200817'
end
end
end

View File

@ -386,6 +386,56 @@ module Google
end
end
# Added to the error payload.
class FailureTrace
include Google::Apis::Core::Hashable
#
# Corresponds to the JSON property `frames`
# @return [Array<Google::Apis::BigtableadminV1::Frame>]
attr_accessor :frames
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@frames = args[:frames] if args.key?(:frames)
end
end
#
class Frame
include Google::Apis::Core::Hashable
#
# Corresponds to the JSON property `targetName`
# @return [String]
attr_accessor :target_name
#
# Corresponds to the JSON property `workflowGuid`
# @return [String]
attr_accessor :workflow_guid
#
# Corresponds to the JSON property `zoneId`
# @return [String]
attr_accessor :zone_id
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@target_name = args[:target_name] if args.key?(:target_name)
@workflow_guid = args[:workflow_guid] if args.key?(:workflow_guid)
@zone_id = args[:zone_id] if args.key?(:zone_id)
end
end
# A collection of Bigtable Tables and
# the resources that serve them.
# All tables in an instance are served from all

View File

@ -70,6 +70,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class FailureTrace
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Frame
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Instance
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -212,6 +224,23 @@ module Google
end
end
class FailureTrace
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :frames, as: 'frames', class: Google::Apis::BigtableadminV1::Frame, decorator: Google::Apis::BigtableadminV1::Frame::Representation
end
end
class Frame
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :target_name, as: 'targetName'
property :workflow_guid, as: 'workflowGuid'
property :zone_id, as: 'zoneId'
end
end
class Instance
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/profiler/
module CloudprofilerV2
VERSION = 'V2'
REVISION = '20200803'
REVISION = '20200822'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

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

View File

@ -69,6 +69,25 @@ module Google
end
end
# The response message for Agents.ImportAgent.
class GoogleCloudDialogflowCxV3beta1ImportAgentResponse
include Google::Apis::Core::Hashable
# The unique identifier of the new agent. Format: `projects//locations//agents/`.
# Corresponds to the JSON property `agent`
# @return [String]
attr_accessor :agent
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@agent = args[:agent] if args.key?(:agent)
end
end
# Represents page information communicated to and from the webhook.
class GoogleCloudDialogflowCxV3beta1PageInfo
include Google::Apis::Core::Hashable
@ -6836,6 +6855,25 @@ module Google
end
end
# The response message for Agents.ImportAgent.
class GoogleCloudDialogflowV3alpha1ImportAgentResponse
include Google::Apis::Core::Hashable
# The unique identifier of the new agent. Format: `projects//locations//agents/`.
# Corresponds to the JSON property `agent`
# @return [String]
attr_accessor :agent
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@agent = args[:agent] if args.key?(:agent)
end
end
# The response message for Operations.ListOperations.
class GoogleLongrunningListOperationsResponse
include Google::Apis::Core::Hashable

View File

@ -34,6 +34,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowCxV3beta1ImportAgentResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowCxV3beta1PageInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1090,6 +1096,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV3alpha1ImportAgentResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleLongrunningListOperationsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1135,6 +1147,13 @@ module Google
end
end
class GoogleCloudDialogflowCxV3beta1ImportAgentResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :agent, as: 'agent'
end
end
class GoogleCloudDialogflowCxV3beta1PageInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -2965,6 +2984,13 @@ module Google
end
end
class GoogleCloudDialogflowV3alpha1ImportAgentResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :agent, as: 'agent'
end
end
class GoogleLongrunningListOperationsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

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

View File

@ -69,6 +69,25 @@ module Google
end
end
# The response message for Agents.ImportAgent.
class GoogleCloudDialogflowCxV3beta1ImportAgentResponse
include Google::Apis::Core::Hashable
# The unique identifier of the new agent. Format: `projects//locations//agents/`.
# Corresponds to the JSON property `agent`
# @return [String]
attr_accessor :agent
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@agent = args[:agent] if args.key?(:agent)
end
end
# Represents page information communicated to and from the webhook.
class GoogleCloudDialogflowCxV3beta1PageInfo
include Google::Apis::Core::Hashable
@ -7160,6 +7179,25 @@ module Google
end
end
# The response message for Agents.ImportAgent.
class GoogleCloudDialogflowV3alpha1ImportAgentResponse
include Google::Apis::Core::Hashable
# The unique identifier of the new agent. Format: `projects//locations//agents/`.
# Corresponds to the JSON property `agent`
# @return [String]
attr_accessor :agent
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@agent = args[:agent] if args.key?(:agent)
end
end
# The response message for Operations.ListOperations.
class GoogleLongrunningListOperationsResponse
include Google::Apis::Core::Hashable

View File

@ -34,6 +34,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowCxV3beta1ImportAgentResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowCxV3beta1PageInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1138,6 +1144,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV3alpha1ImportAgentResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleLongrunningListOperationsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1183,6 +1195,13 @@ module Google
end
end
class GoogleCloudDialogflowCxV3beta1ImportAgentResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :agent, as: 'agent'
end
end
class GoogleCloudDialogflowCxV3beta1PageInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -3094,6 +3113,13 @@ module Google
end
end
class GoogleCloudDialogflowV3alpha1ImportAgentResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :agent, as: 'agent'
end
end
class GoogleLongrunningListOperationsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

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

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/bid-manager/
module DoubleclickbidmanagerV1
VERSION = 'V1'
REVISION = '20200811'
REVISION = '20200819'
# View and manage your reports in DoubleClick Bid Manager
AUTH_DOUBLECLICKBIDMANAGER = 'https://www.googleapis.com/auth/doubleclickbidmanager'

View File

@ -44,8 +44,8 @@ module Google
attr_accessor :quota_user
def initialize
super('https://www.googleapis.com/', 'doubleclickbidmanager/v1/')
@batch_path = 'batch/doubleclickbidmanager'
super('https://doubleclickbidmanager.googleapis.com/', 'doubleclickbidmanager/v1/')
@batch_path = 'batch'
end
# Retrieves line items in CSV format. YouTube & partners line items are not

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/bid-manager/
module DoubleclickbidmanagerV1_1
VERSION = 'V1_1'
REVISION = '20200817'
REVISION = '20200819'
# View and manage your reports in DoubleClick Bid Manager
AUTH_DOUBLECLICKBIDMANAGER = 'https://www.googleapis.com/auth/doubleclickbidmanager'

View File

@ -44,8 +44,8 @@ module Google
attr_accessor :quota_user
def initialize
super('https://www.googleapis.com/', 'doubleclickbidmanager/v1.1/')
@batch_path = 'batch/doubleclickbidmanager'
super('https://doubleclickbidmanager.googleapis.com/', 'doubleclickbidmanager/v1.1/')
@batch_path = 'batch'
end
# Retrieves line items in CSV format. YouTube & partners line items are not

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/fit/rest/v1/get-started
module FitnessV1
VERSION = 'V1'
REVISION = '20200820'
REVISION = '20200825'
# Use Google Fit to see and store your physical activity data
AUTH_FITNESS_ACTIVITY_READ = 'https://www.googleapis.com/auth/fitness.activity.read'

View File

@ -20,12 +20,14 @@ module Google
module Apis
# IAM Service Account Credentials API
#
# Creates short-lived credentials for impersonating IAM service accounts.
# Creates short-lived credentials for impersonating IAM service accounts. *Note:
# * This API is tied to the IAM API (iam.googleapis.com). Enabling or disabling
# this API will also enable or disable the IAM API.
#
# @see https://cloud.google.com/iam/docs/creating-short-lived-service-account-credentials
module IamcredentialsV1
VERSION = 'V1'
REVISION = '20200807'
REVISION = '20200821'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -38,9 +38,13 @@ module Google
# @return [Array<String>]
attr_accessor :delegates
# The desired lifetime duration of the access token in seconds. Must be set to a
# value less than or equal to 3600 (1 hour). If a value is not specified, the
# token's lifetime will be set to a default value of one hour.
# The desired lifetime duration of the access token in seconds. By default, the
# maximum allowed value is 1 hour. To set a lifetime of up to 12 hours, you can
# add the service account as an allowed value in an Organization Policy that
# enforces the `constraints/iam.allowServiceAccountCredentialLifetimeExtension`
# constraint. See detailed instructions at https://cloud.google.com/iam/help/
# credentials/lifetime If a value is not specified, the token's lifetime will be
# set to a default value of 1 hour.
# Corresponds to the JSON property `lifetime`
# @return [String]
attr_accessor :lifetime

View File

@ -22,7 +22,9 @@ module Google
module IamcredentialsV1
# IAM Service Account Credentials API
#
# Creates short-lived credentials for impersonating IAM service accounts.
# Creates short-lived credentials for impersonating IAM service accounts. *Note:
# * This API is tied to the IAM API (iam.googleapis.com). Enabling or disabling
# this API will also enable or disable the IAM API.
#
# @example
# require 'google/apis/iamcredentials_v1'

View File

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

View File

@ -790,6 +790,91 @@ module Google
end
end
# ContainerPort represents a network port in a single container.
class GoogleCloudMlV1ContainerPort
include Google::Apis::Core::Hashable
# Number of port to expose on the pod's IP address. This must be a valid port
# number, 0 < x < 65536.
# Corresponds to the JSON property `containerPort`
# @return [Fixnum]
attr_accessor :container_port
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@container_port = args[:container_port] if args.key?(:container_port)
end
end
# Specify a custom container to deploy. Our ContainerSpec is a subset of the
# Kubernetes Container specification. https://kubernetes.io/docs/reference/
# generated/kubernetes-api/v1.10/#container-v1-core
class GoogleCloudMlV1ContainerSpec
include Google::Apis::Core::Hashable
# Immutable. Arguments to the entrypoint. The docker image's CMD is used if this
# is not provided. Variable references $(VAR_NAME) are expanded using the
# container's environment. If a variable cannot be resolved, the reference in
# the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with
# a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded,
# regardless of whether the variable exists or not. More info: https://
# kubernetes.io/docs/tasks/inject-data-application/define-command-argument-
# container/#running-a-command-in-a-shell
# Corresponds to the JSON property `args`
# @return [Array<String>]
attr_accessor :args
# Immutable. Entrypoint array. Not executed within a shell. The docker image's
# ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME)
# are expanded using the container's environment. If a variable cannot be
# resolved, the reference in the input string will be unchanged. The $(VAR_NAME)
# syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references
# will never be expanded, regardless of whether the variable exists or not. More
# info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-
# argument-container/#running-a-command-in-a-shell
# Corresponds to the JSON property `command`
# @return [Array<String>]
attr_accessor :command
# Immutable. List of environment variables to set in the container.
# Corresponds to the JSON property `env`
# @return [Array<Google::Apis::MlV1::GoogleCloudMlV1EnvVar>]
attr_accessor :env
# Docker image name. More info: https://kubernetes.io/docs/concepts/containers/
# images
# Corresponds to the JSON property `image`
# @return [String]
attr_accessor :image
# Immutable. List of ports to expose from the container. Exposing a port here
# gives the system additional information about the network connections a
# container uses, but is primarily informational. Not specifying a port here
# DOES NOT prevent that port from being exposed. Any port which is listening on
# the default "0.0.0.0" address inside a container will be accessible from the
# network.
# Corresponds to the JSON property `ports`
# @return [Array<Google::Apis::MlV1::GoogleCloudMlV1ContainerPort>]
attr_accessor :ports
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@args = args[:args] if args.key?(:args)
@command = args[:command] if args.key?(:command)
@env = args[:env] if args.key?(:env)
@image = args[:image] if args.key?(:image)
@ports = args[:ports] if args.key?(:ports)
end
end
# Represents a custom encryption key configuration that can be applied to a
# resource.
class GoogleCloudMlV1EncryptionConfig
@ -813,28 +898,24 @@ module Google
end
end
# EndpointMap is used to provide paths for predict/explain/healthcheck to
# customers. It's an output only field in the version proto which can be only
# set on the server side. Public endpoints follow the format specified on the
# user facing doc, and private endpoints are customized for each privately
# deploymed model/version.
class GoogleCloudMlV1EndpointMap
# EnvVar represents an environment variable present in a Container.
class GoogleCloudMlV1EnvVar
include Google::Apis::Core::Hashable
# Optional. Http(s) path to send explain requests.
# Corresponds to the JSON property `explain`
# Name of the environment variable. Must be a C_IDENTIFIER.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :explain
attr_accessor :name
# Http(s) path to send health check requests.
# Corresponds to the JSON property `health`
# Variable references $(VAR_NAME) are expanded using the previous defined
# environment variables in the container and any service environment variables.
# If a variable cannot be resolved, the reference in the input string will be
# unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(
# VAR_NAME). Escaped references will never be expanded, regardless of whether
# the variable exists or not. Defaults to "".
# Corresponds to the JSON property `value`
# @return [String]
attr_accessor :health
# Http(s) path to send prediction requests.
# Corresponds to the JSON property `predict`
# @return [String]
attr_accessor :predict
attr_accessor :value
def initialize(**args)
update!(**args)
@ -842,9 +923,8 @@ module Google
# Update properties of this object
def update!(**args)
@explain = args[:explain] if args.key?(:explain)
@health = args[:health] if args.key?(:health)
@predict = args[:predict] if args.key?(:predict)
@name = args[:name] if args.key?(:name)
@value = args[:value] if args.key?(:value)
end
end
@ -883,8 +963,8 @@ module Google
end
# Message holding configuration options for explaining model predictions. There
# are two feature attribution methods supported for TensorFlow models:
# integrated gradients and sampled Shapley. [Learn more about feature
# are three feature attribution methods supported for TensorFlow models:
# integrated gradients, sampled Shapley, and XRAI. [Learn more about feature
# attributions.](/ai-platform/prediction/docs/ai-explanations/overview)
class GoogleCloudMlV1ExplanationConfig
include Google::Apis::Core::Hashable
@ -1977,6 +2057,33 @@ module Google
end
end
# RouteMap is used to override HTTP paths sent to a Custom Container. If
# specified, the HTTP server implemented in the ContainerSpec must support the
# route. If unspecified, standard HTTP paths will be used.
class GoogleCloudMlV1RouteMap
include Google::Apis::Core::Hashable
# HTTP path to send health check requests.
# Corresponds to the JSON property `health`
# @return [String]
attr_accessor :health
# HTTP path to send prediction requests.
# Corresponds to the JSON property `predict`
# @return [String]
attr_accessor :predict
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@health = args[:health] if args.key?(:health)
@predict = args[:predict] if args.key?(:predict)
end
end
# An attribution method that approximates Shapley values for features that
# contribute to the label being predicted. A sampling strategy is used to
# approximate the value rather than considering all subsets of features.
@ -2006,18 +2113,39 @@ module Google
# Optional. The maximum job running time, expressed in seconds. The field can
# contain up to nine fractional digits, terminated by `s`. If not specified,
# this field defaults to `604800s` (seven days). If the training job is still
# running after this duration, AI Platform Training cancels it. For example, if
# running after this duration, AI Platform Training cancels it. The duration is
# measured from when the job enters the `RUNNING` state; therefore it does not
# overlap with the duration limited by Scheduling.max_wait_time. For example, if
# you want to ensure your job runs for no more than 2 hours, set this field to `
# 7200s` (2 hours * 60 minutes / hour * 60 seconds / minute). If you submit your
# training job using the `gcloud` tool, you can [provide this field in a `config.
# training job using the `gcloud` tool, you can [specify this field in a `config.
# yaml` file](/ai-platform/training/docs/training-jobs#
# formatting_your_configuration_parameters). For example: ```yaml trainingInput:
# ... scheduling: maxRunningTime: 7200s ... ```
# scheduling: maxRunningTime: 7200s ```
# Corresponds to the JSON property `maxRunningTime`
# @return [String]
attr_accessor :max_running_time
#
# Optional. The maximum job wait time, expressed in seconds. The field can
# contain up to nine fractional digits, terminated by `s`. If not specified,
# there is no limit to the wait time. The minimum for this field is `1800s` (30
# minutes). If the training job has not entered the `RUNNING` state after this
# duration, AI Platform Training cancels it. After the job begins running, it
# can no longer be cancelled due to the maximum wait time. Therefore the
# duration limited by this field does not overlap with the duration limited by
# Scheduling.max_running_time. For example, if the job temporarily stops running
# and retries due to a [VM restart](/ai-platform/training/docs/overview#restarts)
# , this cannot lead to a maximum wait time cancellation. However, independently
# of this constraint, AI Platform Training might stop a job if there are too
# many retries due to exhausted resources in a region. The following example
# describes how you might use this field: To cancel your job if it doesn't start
# running within 1 hour, set this field to `3600s` (1 hour * 60 minutes / hour *
# 60 seconds / minute). If the job is still in the `QUEUED` or `PREPARING` state
# after an hour of waiting, AI Platform Training cancels the job. If you submit
# your training job using the `gcloud` tool, you can [specify this field in a `
# config.yaml` file](/ai-platform/training/docs/training-jobs#
# formatting_your_configuration_parameters). For example: ```yaml trainingInput:
# scheduling: maxWaitTime: 3600s ```
# Corresponds to the JSON property `maxWaitTime`
# @return [String]
attr_accessor :max_wait_time
@ -2657,6 +2785,13 @@ module Google
# @return [Google::Apis::MlV1::GoogleCloudMlV1AutoScaling]
attr_accessor :auto_scaling
# Specify a custom container to deploy. Our ContainerSpec is a subset of the
# Kubernetes Container specification. https://kubernetes.io/docs/reference/
# generated/kubernetes-api/v1.10/#container-v1-core
# Corresponds to the JSON property `container`
# @return [Google::Apis::MlV1::GoogleCloudMlV1ContainerSpec]
attr_accessor :container
# Output only. The time the version was created.
# Corresponds to the JSON property `createTime`
# @return [String]
@ -2678,15 +2813,6 @@ module Google
# @return [String]
attr_accessor :description
# EndpointMap is used to provide paths for predict/explain/healthcheck to
# customers. It's an output only field in the version proto which can be only
# set on the server side. Public endpoints follow the format specified on the
# user facing doc, and private endpoints are customized for each privately
# deploymed model/version.
# Corresponds to the JSON property `endpoints`
# @return [Google::Apis::MlV1::GoogleCloudMlV1EndpointMap]
attr_accessor :endpoints
# Output only. The details of a failure or a cancellation.
# Corresponds to the JSON property `errorMessage`
# @return [String]
@ -2705,8 +2831,8 @@ module Google
attr_accessor :etag
# Message holding configuration options for explaining model predictions. There
# are two feature attribution methods supported for TensorFlow models:
# integrated gradients and sampled Shapley. [Learn more about feature
# are three feature attribution methods supported for TensorFlow models:
# integrated gradients, sampled Shapley, and XRAI. [Learn more about feature
# attributions.](/ai-platform/prediction/docs/ai-explanations/overview)
# Corresponds to the JSON property `explanationConfig`
# @return [Google::Apis::MlV1::GoogleCloudMlV1ExplanationConfig]
@ -2838,6 +2964,13 @@ module Google
# @return [Google::Apis::MlV1::GoogleCloudMlV1RequestLoggingConfig]
attr_accessor :request_logging_config
# RouteMap is used to override HTTP paths sent to a Custom Container. If
# specified, the HTTP server implemented in the ContainerSpec must support the
# route. If unspecified, standard HTTP paths will be used.
# Corresponds to the JSON property `routes`
# @return [Google::Apis::MlV1::GoogleCloudMlV1RouteMap]
attr_accessor :routes
# Required. The AI Platform runtime version to use for this deployment. For more
# information, see the [runtime version list](/ml-engine/docs/runtime-version-
# list) and [how to manage runtime versions](/ml-engine/docs/versioning).
@ -2863,10 +2996,10 @@ module Google
def update!(**args)
@accelerator_config = args[:accelerator_config] if args.key?(:accelerator_config)
@auto_scaling = args[:auto_scaling] if args.key?(:auto_scaling)
@container = args[:container] if args.key?(:container)
@create_time = args[:create_time] if args.key?(:create_time)
@deployment_uri = args[:deployment_uri] if args.key?(:deployment_uri)
@description = args[:description] if args.key?(:description)
@endpoints = args[:endpoints] if args.key?(:endpoints)
@error_message = args[:error_message] if args.key?(:error_message)
@etag = args[:etag] if args.key?(:etag)
@explanation_config = args[:explanation_config] if args.key?(:explanation_config)
@ -2881,6 +3014,7 @@ module Google
@prediction_class = args[:prediction_class] if args.key?(:prediction_class)
@python_version = args[:python_version] if args.key?(:python_version)
@request_logging_config = args[:request_logging_config] if args.key?(:request_logging_config)
@routes = args[:routes] if args.key?(:routes)
@runtime_version = args[:runtime_version] if args.key?(:runtime_version)
@service_account = args[:service_account] if args.key?(:service_account)
@state = args[:state] if args.key?(:state)

View File

@ -184,13 +184,25 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudMlV1ContainerPort
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudMlV1ContainerSpec
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudMlV1EncryptionConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudMlV1EndpointMap
class GoogleCloudMlV1EnvVar
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
@ -340,6 +352,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudMlV1RouteMap
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudMlV1SampledShapleyAttribution
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -727,6 +745,26 @@ module Google
end
end
class GoogleCloudMlV1ContainerPort
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :container_port, as: 'containerPort'
end
end
class GoogleCloudMlV1ContainerSpec
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :args, as: 'args'
collection :command, as: 'command'
collection :env, as: 'env', class: Google::Apis::MlV1::GoogleCloudMlV1EnvVar, decorator: Google::Apis::MlV1::GoogleCloudMlV1EnvVar::Representation
property :image, as: 'image'
collection :ports, as: 'ports', class: Google::Apis::MlV1::GoogleCloudMlV1ContainerPort, decorator: Google::Apis::MlV1::GoogleCloudMlV1ContainerPort::Representation
end
end
class GoogleCloudMlV1EncryptionConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -734,12 +772,11 @@ module Google
end
end
class GoogleCloudMlV1EndpointMap
class GoogleCloudMlV1EnvVar
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :explain, as: 'explain'
property :health, as: 'health'
property :predict, as: 'predict'
property :name, as: 'name'
property :value, as: 'value'
end
end
@ -1014,6 +1051,14 @@ module Google
end
end
class GoogleCloudMlV1RouteMap
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :health, as: 'health'
property :predict, as: 'predict'
end
end
class GoogleCloudMlV1SampledShapleyAttribution
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1174,11 +1219,11 @@ module Google
property :auto_scaling, as: 'autoScaling', class: Google::Apis::MlV1::GoogleCloudMlV1AutoScaling, decorator: Google::Apis::MlV1::GoogleCloudMlV1AutoScaling::Representation
property :container, as: 'container', class: Google::Apis::MlV1::GoogleCloudMlV1ContainerSpec, decorator: Google::Apis::MlV1::GoogleCloudMlV1ContainerSpec::Representation
property :create_time, as: 'createTime'
property :deployment_uri, as: 'deploymentUri'
property :description, as: 'description'
property :endpoints, as: 'endpoints', class: Google::Apis::MlV1::GoogleCloudMlV1EndpointMap, decorator: Google::Apis::MlV1::GoogleCloudMlV1EndpointMap::Representation
property :error_message, as: 'errorMessage'
property :etag, :base64 => true, as: 'etag'
property :explanation_config, as: 'explanationConfig', class: Google::Apis::MlV1::GoogleCloudMlV1ExplanationConfig, decorator: Google::Apis::MlV1::GoogleCloudMlV1ExplanationConfig::Representation
@ -1196,6 +1241,8 @@ module Google
property :python_version, as: 'pythonVersion'
property :request_logging_config, as: 'requestLoggingConfig', class: Google::Apis::MlV1::GoogleCloudMlV1RequestLoggingConfig, decorator: Google::Apis::MlV1::GoogleCloudMlV1RequestLoggingConfig::Representation
property :routes, as: 'routes', class: Google::Apis::MlV1::GoogleCloudMlV1RouteMap, decorator: Google::Apis::MlV1::GoogleCloudMlV1RouteMap::Representation
property :runtime_version, as: 'runtimeVersion'
property :service_account, as: 'serviceAccount'
property :state, as: 'state'

View File

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

View File

@ -240,6 +240,13 @@ module Google
# @return [Google::Apis::MonitoringV1::GridLayout]
attr_accessor :grid_layout
# A mosaic layout divides the available space into a grid of squares, and
# overlays the grid with tiles. Unlike GridLayout, tiles may span multiple grid
# squares and can be placed at arbitrary locations in the grid.
# Corresponds to the JSON property `mosaicLayout`
# @return [Google::Apis::MonitoringV1::MosaicLayout]
attr_accessor :mosaic_layout
# Immutable. The resource name of the dashboard.
# Corresponds to the JSON property `name`
# @return [String]
@ -261,6 +268,7 @@ module Google
@display_name = args[:display_name] if args.key?(:display_name)
@etag = args[:etag] if args.key?(:etag)
@grid_layout = args[:grid_layout] if args.key?(:grid_layout)
@mosaic_layout = args[:mosaic_layout] if args.key?(:mosaic_layout)
@name = args[:name] if args.key?(:name)
@row_layout = args[:row_layout] if args.key?(:row_layout)
end
@ -516,6 +524,33 @@ module Google
end
end
# A mosaic layout divides the available space into a grid of squares, and
# overlays the grid with tiles. Unlike GridLayout, tiles may span multiple grid
# squares and can be placed at arbitrary locations in the grid.
class MosaicLayout
include Google::Apis::Core::Hashable
# The number of columns in the mosaic grid.
# Corresponds to the JSON property `columns`
# @return [Fixnum]
attr_accessor :columns
# The tiles to display.
# Corresponds to the JSON property `tiles`
# @return [Array<Google::Apis::MonitoringV1::Tile>]
attr_accessor :tiles
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@columns = args[:columns] if args.key?(:columns)
@tiles = args[:tiles] if args.key?(:tiles)
end
end
# A protocol buffer option, which can be attached to a message, field,
# enumeration, etc.
class Option
@ -907,6 +942,53 @@ module Google
end
end
# A single tile in the mosaic. The placement and size of the tile are
# configurable.
class Tile
include Google::Apis::Core::Hashable
# The height of the tile, measured in grid squares.
# Corresponds to the JSON property `height`
# @return [Fixnum]
attr_accessor :height
# Widget contains a single dashboard component and configuration of how to
# present the component in the dashboard.
# Corresponds to the JSON property `widget`
# @return [Google::Apis::MonitoringV1::Widget]
attr_accessor :widget
# The width of the tile, measured in grid squares.
# Corresponds to the JSON property `width`
# @return [Fixnum]
attr_accessor :width
# The zero-indexed position of the tile in grid squares relative to the left
# edge of the grid.
# Corresponds to the JSON property `xPos`
# @return [Fixnum]
attr_accessor :x_pos
# The zero-indexed position of the tile in grid squares relative to the top edge
# of the grid.
# Corresponds to the JSON property `yPos`
# @return [Fixnum]
attr_accessor :y_pos
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@height = args[:height] if args.key?(:height)
@widget = args[:widget] if args.key?(:widget)
@width = args[:width] if args.key?(:width)
@x_pos = args[:x_pos] if args.key?(:x_pos)
@y_pos = args[:y_pos] if args.key?(:y_pos)
end
end
# A filter that defines a subset of time series data that is displayed in a
# widget. Time series data is fetched using the ListTimeSeries (https://cloud.
# google.com/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list) method.

View File

@ -100,6 +100,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class MosaicLayout
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Option
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -172,6 +178,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class Tile
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TimeSeriesFilter
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -259,6 +271,8 @@ module Google
property :etag, as: 'etag'
property :grid_layout, as: 'gridLayout', class: Google::Apis::MonitoringV1::GridLayout, decorator: Google::Apis::MonitoringV1::GridLayout::Representation
property :mosaic_layout, as: 'mosaicLayout', class: Google::Apis::MonitoringV1::MosaicLayout, decorator: Google::Apis::MonitoringV1::MosaicLayout::Representation
property :name, as: 'name'
property :row_layout, as: 'rowLayout', class: Google::Apis::MonitoringV1::RowLayout, decorator: Google::Apis::MonitoringV1::RowLayout::Representation
@ -332,6 +346,15 @@ module Google
end
end
class MosaicLayout
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :columns, as: 'columns'
collection :tiles, as: 'tiles', class: Google::Apis::MonitoringV1::Tile, decorator: Google::Apis::MonitoringV1::Tile::Representation
end
end
class Option
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -437,6 +460,18 @@ module Google
end
end
class Tile
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :height, as: 'height'
property :widget, as: 'widget', class: Google::Apis::MonitoringV1::Widget, decorator: Google::Apis::MonitoringV1::Widget::Representation
property :width, as: 'width'
property :x_pos, as: 'xPos'
property :y_pos, as: 'yPos'
end
end
class TimeSeriesFilter
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

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

View File

@ -925,7 +925,7 @@ module Google
# The sum of squared deviations from the mean of the values in the population.
# For values x_i this is: Sum[i=1..n]((x_i - mean)^2) Knuth, "The Art of
# Computer Programming", Vol. 2, page 323, 3rd edition describes Welford's
# Computer Programming", Vol. 2, page 232, 3rd edition describes Welford's
# method for accumulating this sum in one pass.If count is zero then this field
# must be zero.
# Corresponds to the JSON property `sumOfSquaredDeviation`
@ -2985,61 +2985,6 @@ module Google
end
end
# The position of a byte within the text.
class Position
include Google::Apis::Core::Hashable
# The column within the line, starting with 1, where the byte is positioned.
# This is a byte index even though the text is UTF-8.
# Corresponds to the JSON property `column`
# @return [Fixnum]
attr_accessor :column
# The line, starting with 1, where the byte is positioned.
# Corresponds to the JSON property `line`
# @return [Fixnum]
attr_accessor :line
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@column = args[:column] if args.key?(:column)
@line = args[:line] if args.key?(:line)
end
end
# An error associated with a query in the time series query language format.
class QueryError
include Google::Apis::Core::Hashable
# A locator for text. Indicates a particular part of the text of a request or of
# an object referenced in the request.For example, suppose the request field
# text contains:text: "The quick brown fox jumps over the lazy dog."Then the
# locator:source: "text" start_position ` line: 1 column: 17 ` end_position `
# line: 1 column: 19 `refers to the part of the text: "fox".
# Corresponds to the JSON property `locator`
# @return [Google::Apis::MonitoringV3::TextLocator]
attr_accessor :locator
# The error message.
# Corresponds to the JSON property `message`
# @return [String]
attr_accessor :message
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@locator = args[:locator] if args.key?(:locator)
@message = args[:message] if args.key?(:message)
end
end
# The QueryTimeSeries request.
class QueryTimeSeriesRequest
include Google::Apis::Core::Hashable
@ -3101,11 +3046,6 @@ module Google
# @return [Google::Apis::MonitoringV3::TimeSeriesDescriptor]
attr_accessor :time_series_descriptor
# Warnings about query, includes unit errors.
# Corresponds to the JSON property `warnings`
# @return [Array<Google::Apis::MonitoringV3::QueryError>]
attr_accessor :warnings
def initialize(**args)
update!(**args)
end
@ -3116,7 +3056,6 @@ module Google
@partial_errors = args[:partial_errors] if args.key?(:partial_errors)
@time_series_data = args[:time_series_data] if args.key?(:time_series_data)
@time_series_descriptor = args[:time_series_descriptor] if args.key?(:time_series_descriptor)
@warnings = args[:warnings] if args.key?(:warnings)
end
end
@ -3531,66 +3470,6 @@ module Google
end
end
# A locator for text. Indicates a particular part of the text of a request or of
# an object referenced in the request.For example, suppose the request field
# text contains:text: "The quick brown fox jumps over the lazy dog."Then the
# locator:source: "text" start_position ` line: 1 column: 17 ` end_position `
# line: 1 column: 19 `refers to the part of the text: "fox".
class TextLocator
include Google::Apis::Core::Hashable
# The position of a byte within the text.
# Corresponds to the JSON property `endPosition`
# @return [Google::Apis::MonitoringV3::Position]
attr_accessor :end_position
# A locator for text. Indicates a particular part of the text of a request or of
# an object referenced in the request.For example, suppose the request field
# text contains:text: "The quick brown fox jumps over the lazy dog."Then the
# locator:source: "text" start_position ` line: 1 column: 17 ` end_position `
# line: 1 column: 19 `refers to the part of the text: "fox".
# Corresponds to the JSON property `nestedLocator`
# @return [Google::Apis::MonitoringV3::TextLocator]
attr_accessor :nested_locator
# When nested_locator is set, this field gives the reason for the nesting.
# Usually, the reason is a macro invocation. In that case, the macro name (
# including the leading '@') signals the location of the macro call in the text
# and a macro argument name (including the leading '$') signals the location of
# the macro argument inside the macro body that got substituted away.
# Corresponds to the JSON property `nestingReason`
# @return [String]
attr_accessor :nesting_reason
# The source of the text. The source may be a field in the request, in which
# case its format is the format of the google.rpc.BadRequest.FieldViolation.
# field field in https://cloud.google.com/apis/design/errors#error_details. It
# may also be be a source other than the request field (e.g. a macro definition
# referenced in the text of the query), in which case this is the name of the
# source (e.g. the macro name).
# Corresponds to the JSON property `source`
# @return [String]
attr_accessor :source
# The position of a byte within the text.
# Corresponds to the JSON property `startPosition`
# @return [Google::Apis::MonitoringV3::Position]
attr_accessor :start_position
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@end_position = args[:end_position] if args.key?(:end_position)
@nested_locator = args[:nested_locator] if args.key?(:nested_locator)
@nesting_reason = args[:nesting_reason] if args.key?(:nesting_reason)
@source = args[:source] if args.key?(:source)
@start_position = args[:start_position] if args.key?(:start_position)
end
end
# A closed time interval. It extends from the start time to the end time, and
# includes both: [startTime, endTime]. Valid time intervals depend on the
# MetricKind of the metric value. In no case can the end time be earlier than

View File

@ -436,18 +436,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class Position
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class QueryError
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class QueryTimeSeriesRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -532,12 +520,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class TextLocator
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TimeInterval
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1317,23 +1299,6 @@ module Google
end
end
class Position
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :column, as: 'column'
property :line, as: 'line'
end
end
class QueryError
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :locator, as: 'locator', class: Google::Apis::MonitoringV3::TextLocator, decorator: Google::Apis::MonitoringV3::TextLocator::Representation
property :message, as: 'message'
end
end
class QueryTimeSeriesRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1353,8 +1318,6 @@ module Google
property :time_series_descriptor, as: 'timeSeriesDescriptor', class: Google::Apis::MonitoringV3::TimeSeriesDescriptor, decorator: Google::Apis::MonitoringV3::TimeSeriesDescriptor::Representation
collection :warnings, as: 'warnings', class: Google::Apis::MonitoringV3::QueryError, decorator: Google::Apis::MonitoringV3::QueryError::Representation
end
end
@ -1472,20 +1435,6 @@ module Google
end
end
class TextLocator
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :end_position, as: 'endPosition', class: Google::Apis::MonitoringV3::Position, decorator: Google::Apis::MonitoringV3::Position::Representation
property :nested_locator, as: 'nestedLocator', class: Google::Apis::MonitoringV3::TextLocator, decorator: Google::Apis::MonitoringV3::TextLocator::Representation
property :nesting_reason, as: 'nestingReason'
property :source, as: 'source'
property :start_position, as: 'startPosition', class: Google::Apis::MonitoringV3::Position, decorator: Google::Apis::MonitoringV3::Position::Representation
end
end
class TimeInterval
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/sheets/
module SheetsV4
VERSION = 'V4'
REVISION = '20200813'
REVISION = '20200825'
# See, edit, create, and delete all of your Google Drive files
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'

File diff suppressed because it is too large Load Diff

View File

@ -52,6 +52,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class AddDataSourceRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AddDataSourceResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AddDimensionGroupRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -280,6 +292,24 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class BigQueryDataSourceSpec
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class BigQueryQuerySpec
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class BigQueryTableSpec
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class BooleanCondition
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -364,6 +394,24 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class ChartDateTimeRule
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ChartGroupRule
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ChartHistogramRule
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ChartSourceRange
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -448,6 +496,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class DataExecutionStatus
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class DataFilter
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -460,6 +514,102 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class DataSource
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class DataSourceChartProperties
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class DataSourceColumn
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class DataSourceColumnReference
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class DataSourceFormula
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class DataSourceObjectReference
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class DataSourceObjectReferences
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class DataSourceParameter
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class DataSourceRefreshDailySchedule
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class DataSourceRefreshMonthlySchedule
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class DataSourceRefreshSchedule
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class DataSourceRefreshWeeklySchedule
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class DataSourceSheetDimensionRange
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class DataSourceSheetProperties
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class DataSourceSpec
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class DataSourceTable
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class DataValidationRule
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -490,6 +640,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class DeleteDataSourceRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class DeleteDeveloperMetadataRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -664,6 +820,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class FilterSpec
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class FilterView
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -754,6 +916,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class Interval
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class IterativeCalculationSettings
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -856,12 +1024,24 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class PivotFilterSpec
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class PivotGroup
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class PivotGroupLimit
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class PivotGroupRule
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -904,6 +1084,24 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class RefreshDataSourceObjectExecutionStatus
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class RefreshDataSourceRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class RefreshDataSourceResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class RepeatCellRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1054,6 +1252,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class TimeOfDay
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TreemapChartColorScale
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1120,6 +1324,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class UpdateDataSourceRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class UpdateDataSourceResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class UpdateDeveloperMetadataRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1281,6 +1497,24 @@ module Google
end
end
class AddDataSourceRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :data_source, as: 'dataSource', class: Google::Apis::SheetsV4::DataSource, decorator: Google::Apis::SheetsV4::DataSource::Representation
end
end
class AddDataSourceResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :data_execution_status, as: 'dataExecutionStatus', class: Google::Apis::SheetsV4::DataExecutionStatus, decorator: Google::Apis::SheetsV4::DataExecutionStatus::Representation
property :data_source, as: 'dataSource', class: Google::Apis::SheetsV4::DataSource, decorator: Google::Apis::SheetsV4::DataSource::Representation
end
end
class AddDimensionGroupRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1420,6 +1654,8 @@ module Google
class AutoResizeDimensionsRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :data_source_sheet_dimensions, as: 'dataSourceSheetDimensions', class: Google::Apis::SheetsV4::DataSourceSheetDimensionRange, decorator: Google::Apis::SheetsV4::DataSourceSheetDimensionRange::Representation
property :dimensions, as: 'dimensions', class: Google::Apis::SheetsV4::DimensionRange, decorator: Google::Apis::SheetsV4::DimensionRange::Representation
end
@ -1544,6 +1780,8 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
hash :criteria, as: 'criteria', class: Google::Apis::SheetsV4::FilterCriteria, decorator: Google::Apis::SheetsV4::FilterCriteria::Representation
collection :filter_specs, as: 'filterSpecs', class: Google::Apis::SheetsV4::FilterSpec, decorator: Google::Apis::SheetsV4::FilterSpec::Representation
property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation
collection :sort_specs, as: 'sortSpecs', class: Google::Apis::SheetsV4::SortSpec, decorator: Google::Apis::SheetsV4::SortSpec::Representation
@ -1683,6 +1921,33 @@ module Google
end
end
class BigQueryDataSourceSpec
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :project_id, as: 'projectId'
property :query_spec, as: 'querySpec', class: Google::Apis::SheetsV4::BigQueryQuerySpec, decorator: Google::Apis::SheetsV4::BigQueryQuerySpec::Representation
property :table_spec, as: 'tableSpec', class: Google::Apis::SheetsV4::BigQueryTableSpec, decorator: Google::Apis::SheetsV4::BigQueryTableSpec::Representation
end
end
class BigQueryQuerySpec
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :raw_query, as: 'rawQuery'
end
end
class BigQueryTableSpec
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :dataset_id, as: 'datasetId'
property :table_id, as: 'tableId'
property :table_project_id, as: 'tableProjectId'
end
end
class BooleanCondition
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1798,6 +2063,10 @@ module Google
class CellData
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :data_source_formula, as: 'dataSourceFormula', class: Google::Apis::SheetsV4::DataSourceFormula, decorator: Google::Apis::SheetsV4::DataSourceFormula::Representation
property :data_source_table, as: 'dataSourceTable', class: Google::Apis::SheetsV4::DataSourceTable, decorator: Google::Apis::SheetsV4::DataSourceTable::Representation
property :data_validation, as: 'dataValidation', class: Google::Apis::SheetsV4::DataValidationRule, decorator: Google::Apis::SheetsV4::DataValidationRule::Representation
property :effective_format, as: 'effectiveFormat', class: Google::Apis::SheetsV4::CellFormat, decorator: Google::Apis::SheetsV4::CellFormat::Representation
@ -1863,11 +2132,42 @@ module Google
class ChartData
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :aggregate_type, as: 'aggregateType'
property :column_reference, as: 'columnReference', class: Google::Apis::SheetsV4::DataSourceColumnReference, decorator: Google::Apis::SheetsV4::DataSourceColumnReference::Representation
property :group_rule, as: 'groupRule', class: Google::Apis::SheetsV4::ChartGroupRule, decorator: Google::Apis::SheetsV4::ChartGroupRule::Representation
property :source_range, as: 'sourceRange', class: Google::Apis::SheetsV4::ChartSourceRange, decorator: Google::Apis::SheetsV4::ChartSourceRange::Representation
end
end
class ChartDateTimeRule
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :type, as: 'type'
end
end
class ChartGroupRule
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :date_time_rule, as: 'dateTimeRule', class: Google::Apis::SheetsV4::ChartDateTimeRule, decorator: Google::Apis::SheetsV4::ChartDateTimeRule::Representation
property :histogram_rule, as: 'histogramRule', class: Google::Apis::SheetsV4::ChartHistogramRule, decorator: Google::Apis::SheetsV4::ChartHistogramRule::Representation
end
end
class ChartHistogramRule
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :interval_size, as: 'intervalSize'
property :max_value, as: 'maxValue'
property :min_value, as: 'minValue'
end
end
class ChartSourceRange
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1890,6 +2190,10 @@ module Google
property :candlestick_chart, as: 'candlestickChart', class: Google::Apis::SheetsV4::CandlestickChartSpec, decorator: Google::Apis::SheetsV4::CandlestickChartSpec::Representation
property :data_source_chart_properties, as: 'dataSourceChartProperties', class: Google::Apis::SheetsV4::DataSourceChartProperties, decorator: Google::Apis::SheetsV4::DataSourceChartProperties::Representation
collection :filter_specs, as: 'filterSpecs', class: Google::Apis::SheetsV4::FilterSpec, decorator: Google::Apis::SheetsV4::FilterSpec::Representation
property :font_name, as: 'fontName'
property :hidden_dimension_strategy, as: 'hiddenDimensionStrategy'
property :histogram_chart, as: 'histogramChart', class: Google::Apis::SheetsV4::HistogramChartSpec, decorator: Google::Apis::SheetsV4::HistogramChartSpec::Representation
@ -1901,6 +2205,8 @@ module Google
property :scorecard_chart, as: 'scorecardChart', class: Google::Apis::SheetsV4::ScorecardChartSpec, decorator: Google::Apis::SheetsV4::ScorecardChartSpec::Representation
collection :sort_specs, as: 'sortSpecs', class: Google::Apis::SheetsV4::SortSpec, decorator: Google::Apis::SheetsV4::SortSpec::Representation
property :subtitle, as: 'subtitle'
property :subtitle_text_format, as: 'subtitleTextFormat', class: Google::Apis::SheetsV4::TextFormat, decorator: Google::Apis::SheetsV4::TextFormat::Representation
@ -2024,6 +2330,16 @@ module Google
end
end
class DataExecutionStatus
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :error_code, as: 'errorCode'
property :error_message, as: 'errorMessage'
property :last_refresh_time, as: 'lastRefreshTime'
property :state, as: 'state'
end
end
class DataFilter
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -2049,6 +2365,173 @@ module Google
end
end
class DataSource
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :calculated_columns, as: 'calculatedColumns', class: Google::Apis::SheetsV4::DataSourceColumn, decorator: Google::Apis::SheetsV4::DataSourceColumn::Representation
property :data_source_id, as: 'dataSourceId'
property :sheet_id, as: 'sheetId'
property :spec, as: 'spec', class: Google::Apis::SheetsV4::DataSourceSpec, decorator: Google::Apis::SheetsV4::DataSourceSpec::Representation
end
end
class DataSourceChartProperties
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :data_execution_status, as: 'dataExecutionStatus', class: Google::Apis::SheetsV4::DataExecutionStatus, decorator: Google::Apis::SheetsV4::DataExecutionStatus::Representation
property :data_source_id, as: 'dataSourceId'
end
end
class DataSourceColumn
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :formula, as: 'formula'
property :reference, as: 'reference', class: Google::Apis::SheetsV4::DataSourceColumnReference, decorator: Google::Apis::SheetsV4::DataSourceColumnReference::Representation
end
end
class DataSourceColumnReference
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :name, as: 'name'
end
end
class DataSourceFormula
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :data_execution_status, as: 'dataExecutionStatus', class: Google::Apis::SheetsV4::DataExecutionStatus, decorator: Google::Apis::SheetsV4::DataExecutionStatus::Representation
property :data_source_id, as: 'dataSourceId'
end
end
class DataSourceObjectReference
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :chart_id, as: 'chartId'
property :data_source_formula_cell, as: 'dataSourceFormulaCell', class: Google::Apis::SheetsV4::GridCoordinate, decorator: Google::Apis::SheetsV4::GridCoordinate::Representation
property :data_source_pivot_table_anchor_cell, as: 'dataSourcePivotTableAnchorCell', class: Google::Apis::SheetsV4::GridCoordinate, decorator: Google::Apis::SheetsV4::GridCoordinate::Representation
property :data_source_table_anchor_cell, as: 'dataSourceTableAnchorCell', class: Google::Apis::SheetsV4::GridCoordinate, decorator: Google::Apis::SheetsV4::GridCoordinate::Representation
property :sheet_id, as: 'sheetId'
end
end
class DataSourceObjectReferences
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :references, as: 'references', class: Google::Apis::SheetsV4::DataSourceObjectReference, decorator: Google::Apis::SheetsV4::DataSourceObjectReference::Representation
end
end
class DataSourceParameter
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :name, as: 'name'
property :named_range_id, as: 'namedRangeId'
property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation
end
end
class DataSourceRefreshDailySchedule
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :start_time, as: 'startTime', class: Google::Apis::SheetsV4::TimeOfDay, decorator: Google::Apis::SheetsV4::TimeOfDay::Representation
end
end
class DataSourceRefreshMonthlySchedule
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :days_of_month, as: 'daysOfMonth'
property :start_time, as: 'startTime', class: Google::Apis::SheetsV4::TimeOfDay, decorator: Google::Apis::SheetsV4::TimeOfDay::Representation
end
end
class DataSourceRefreshSchedule
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :daily_schedule, as: 'dailySchedule', class: Google::Apis::SheetsV4::DataSourceRefreshDailySchedule, decorator: Google::Apis::SheetsV4::DataSourceRefreshDailySchedule::Representation
property :enabled, as: 'enabled'
property :monthly_schedule, as: 'monthlySchedule', class: Google::Apis::SheetsV4::DataSourceRefreshMonthlySchedule, decorator: Google::Apis::SheetsV4::DataSourceRefreshMonthlySchedule::Representation
property :next_run, as: 'nextRun', class: Google::Apis::SheetsV4::Interval, decorator: Google::Apis::SheetsV4::Interval::Representation
property :refresh_scope, as: 'refreshScope'
property :weekly_schedule, as: 'weeklySchedule', class: Google::Apis::SheetsV4::DataSourceRefreshWeeklySchedule, decorator: Google::Apis::SheetsV4::DataSourceRefreshWeeklySchedule::Representation
end
end
class DataSourceRefreshWeeklySchedule
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :days_of_week, as: 'daysOfWeek'
property :start_time, as: 'startTime', class: Google::Apis::SheetsV4::TimeOfDay, decorator: Google::Apis::SheetsV4::TimeOfDay::Representation
end
end
class DataSourceSheetDimensionRange
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :column_references, as: 'columnReferences', class: Google::Apis::SheetsV4::DataSourceColumnReference, decorator: Google::Apis::SheetsV4::DataSourceColumnReference::Representation
property :sheet_id, as: 'sheetId'
end
end
class DataSourceSheetProperties
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :columns, as: 'columns', class: Google::Apis::SheetsV4::DataSourceColumn, decorator: Google::Apis::SheetsV4::DataSourceColumn::Representation
property :data_execution_status, as: 'dataExecutionStatus', class: Google::Apis::SheetsV4::DataExecutionStatus, decorator: Google::Apis::SheetsV4::DataExecutionStatus::Representation
property :data_source_id, as: 'dataSourceId'
end
end
class DataSourceSpec
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :big_query, as: 'bigQuery', class: Google::Apis::SheetsV4::BigQueryDataSourceSpec, decorator: Google::Apis::SheetsV4::BigQueryDataSourceSpec::Representation
collection :parameters, as: 'parameters', class: Google::Apis::SheetsV4::DataSourceParameter, decorator: Google::Apis::SheetsV4::DataSourceParameter::Representation
end
end
class DataSourceTable
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :column_selection_type, as: 'columnSelectionType'
collection :columns, as: 'columns', class: Google::Apis::SheetsV4::DataSourceColumnReference, decorator: Google::Apis::SheetsV4::DataSourceColumnReference::Representation
property :data_execution_status, as: 'dataExecutionStatus', class: Google::Apis::SheetsV4::DataExecutionStatus, decorator: Google::Apis::SheetsV4::DataExecutionStatus::Representation
property :data_source_id, as: 'dataSourceId'
collection :filter_specs, as: 'filterSpecs', class: Google::Apis::SheetsV4::FilterSpec, decorator: Google::Apis::SheetsV4::FilterSpec::Representation
property :row_limit, as: 'rowLimit'
collection :sort_specs, as: 'sortSpecs', class: Google::Apis::SheetsV4::SortSpec, decorator: Google::Apis::SheetsV4::SortSpec::Representation
end
end
class DataValidationRule
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -2090,6 +2573,13 @@ module Google
end
end
class DeleteDataSourceRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :data_source_id, as: 'dataSourceId'
end
end
class DeleteDeveloperMetadataRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -2241,6 +2731,8 @@ module Google
class DimensionProperties
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :data_source_column_reference, as: 'dataSourceColumnReference', class: Google::Apis::SheetsV4::DataSourceColumnReference, decorator: Google::Apis::SheetsV4::DataSourceColumnReference::Representation
collection :developer_metadata, as: 'developerMetadata', class: Google::Apis::SheetsV4::DeveloperMetadata, decorator: Google::Apis::SheetsV4::DeveloperMetadata::Representation
property :hidden_by_filter, as: 'hiddenByFilter'
@ -2359,11 +2851,24 @@ module Google
end
end
class FilterSpec
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :column_index, as: 'columnIndex'
property :data_source_column_reference, as: 'dataSourceColumnReference', class: Google::Apis::SheetsV4::DataSourceColumnReference, decorator: Google::Apis::SheetsV4::DataSourceColumnReference::Representation
property :filter_criteria, as: 'filterCriteria', class: Google::Apis::SheetsV4::FilterCriteria, decorator: Google::Apis::SheetsV4::FilterCriteria::Representation
end
end
class FilterView
# @private
class Representation < Google::Apis::Core::JsonRepresentation
hash :criteria, as: 'criteria', class: Google::Apis::SheetsV4::FilterCriteria, decorator: Google::Apis::SheetsV4::FilterCriteria::Representation
collection :filter_specs, as: 'filterSpecs', class: Google::Apis::SheetsV4::FilterSpec, decorator: Google::Apis::SheetsV4::FilterSpec::Representation
property :filter_view_id, as: 'filterViewId'
property :named_range_id, as: 'namedRangeId'
property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation
@ -2532,6 +3037,14 @@ module Google
end
end
class Interval
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :end_time, as: 'endTime'
property :start_time, as: 'startTime'
end
end
class IterativeCalculationSettings
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -2707,9 +3220,24 @@ module Google
end
end
class PivotFilterSpec
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :column_offset_index, as: 'columnOffsetIndex'
property :data_source_column_reference, as: 'dataSourceColumnReference', class: Google::Apis::SheetsV4::DataSourceColumnReference, decorator: Google::Apis::SheetsV4::DataSourceColumnReference::Representation
property :filter_criteria, as: 'filterCriteria', class: Google::Apis::SheetsV4::PivotFilterCriteria, decorator: Google::Apis::SheetsV4::PivotFilterCriteria::Representation
end
end
class PivotGroup
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :data_source_column_reference, as: 'dataSourceColumnReference', class: Google::Apis::SheetsV4::DataSourceColumnReference, decorator: Google::Apis::SheetsV4::DataSourceColumnReference::Representation
property :group_limit, as: 'groupLimit', class: Google::Apis::SheetsV4::PivotGroupLimit, decorator: Google::Apis::SheetsV4::PivotGroupLimit::Representation
property :group_rule, as: 'groupRule', class: Google::Apis::SheetsV4::PivotGroupRule, decorator: Google::Apis::SheetsV4::PivotGroupRule::Representation
property :label, as: 'label'
@ -2724,6 +3252,14 @@ module Google
end
end
class PivotGroupLimit
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :apply_order, as: 'applyOrder'
property :count_limit, as: 'countLimit'
end
end
class PivotGroupRule
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -2761,6 +3297,11 @@ module Google
hash :criteria, as: 'criteria', class: Google::Apis::SheetsV4::PivotFilterCriteria, decorator: Google::Apis::SheetsV4::PivotFilterCriteria::Representation
property :data_execution_status, as: 'dataExecutionStatus', class: Google::Apis::SheetsV4::DataExecutionStatus, decorator: Google::Apis::SheetsV4::DataExecutionStatus::Representation
property :data_source_id, as: 'dataSourceId'
collection :filter_specs, as: 'filterSpecs', class: Google::Apis::SheetsV4::PivotFilterSpec, decorator: Google::Apis::SheetsV4::PivotFilterSpec::Representation
collection :rows, as: 'rows', class: Google::Apis::SheetsV4::PivotGroup, decorator: Google::Apis::SheetsV4::PivotGroup::Representation
property :source, as: 'source', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation
@ -2775,6 +3316,8 @@ module Google
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :calculated_display_type, as: 'calculatedDisplayType'
property :data_source_column_reference, as: 'dataSourceColumnReference', class: Google::Apis::SheetsV4::DataSourceColumnReference, decorator: Google::Apis::SheetsV4::DataSourceColumnReference::Representation
property :formula, as: 'formula'
property :name, as: 'name'
property :source_column_offset, as: 'sourceColumnOffset'
@ -2807,6 +3350,35 @@ module Google
end
end
class RefreshDataSourceObjectExecutionStatus
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :data_execution_status, as: 'dataExecutionStatus', class: Google::Apis::SheetsV4::DataExecutionStatus, decorator: Google::Apis::SheetsV4::DataExecutionStatus::Representation
property :reference, as: 'reference', class: Google::Apis::SheetsV4::DataSourceObjectReference, decorator: Google::Apis::SheetsV4::DataSourceObjectReference::Representation
end
end
class RefreshDataSourceRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :data_source_id, as: 'dataSourceId'
property :force, as: 'force'
property :is_all, as: 'isAll'
property :references, as: 'references', class: Google::Apis::SheetsV4::DataSourceObjectReferences, decorator: Google::Apis::SheetsV4::DataSourceObjectReferences::Representation
end
end
class RefreshDataSourceResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :statuses, as: 'statuses', class: Google::Apis::SheetsV4::RefreshDataSourceObjectExecutionStatus, decorator: Google::Apis::SheetsV4::RefreshDataSourceObjectExecutionStatus::Representation
end
end
class RepeatCellRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -2827,6 +3399,8 @@ module Google
property :add_conditional_format_rule, as: 'addConditionalFormatRule', class: Google::Apis::SheetsV4::AddConditionalFormatRuleRequest, decorator: Google::Apis::SheetsV4::AddConditionalFormatRuleRequest::Representation
property :add_data_source, as: 'addDataSource', class: Google::Apis::SheetsV4::AddDataSourceRequest, decorator: Google::Apis::SheetsV4::AddDataSourceRequest::Representation
property :add_dimension_group, as: 'addDimensionGroup', class: Google::Apis::SheetsV4::AddDimensionGroupRequest, decorator: Google::Apis::SheetsV4::AddDimensionGroupRequest::Representation
property :add_filter_view, as: 'addFilterView', class: Google::Apis::SheetsV4::AddFilterViewRequest, decorator: Google::Apis::SheetsV4::AddFilterViewRequest::Representation
@ -2859,6 +3433,8 @@ module Google
property :delete_conditional_format_rule, as: 'deleteConditionalFormatRule', class: Google::Apis::SheetsV4::DeleteConditionalFormatRuleRequest, decorator: Google::Apis::SheetsV4::DeleteConditionalFormatRuleRequest::Representation
property :delete_data_source, as: 'deleteDataSource', class: Google::Apis::SheetsV4::DeleteDataSourceRequest, decorator: Google::Apis::SheetsV4::DeleteDataSourceRequest::Representation
property :delete_developer_metadata, as: 'deleteDeveloperMetadata', class: Google::Apis::SheetsV4::DeleteDeveloperMetadataRequest, decorator: Google::Apis::SheetsV4::DeleteDeveloperMetadataRequest::Representation
property :delete_dimension, as: 'deleteDimension', class: Google::Apis::SheetsV4::DeleteDimensionRequest, decorator: Google::Apis::SheetsV4::DeleteDimensionRequest::Representation
@ -2897,6 +3473,8 @@ module Google
property :randomize_range, as: 'randomizeRange', class: Google::Apis::SheetsV4::RandomizeRangeRequest, decorator: Google::Apis::SheetsV4::RandomizeRangeRequest::Representation
property :refresh_data_source, as: 'refreshDataSource', class: Google::Apis::SheetsV4::RefreshDataSourceRequest, decorator: Google::Apis::SheetsV4::RefreshDataSourceRequest::Representation
property :repeat_cell, as: 'repeatCell', class: Google::Apis::SheetsV4::RepeatCellRequest, decorator: Google::Apis::SheetsV4::RepeatCellRequest::Representation
property :set_basic_filter, as: 'setBasicFilter', class: Google::Apis::SheetsV4::SetBasicFilterRequest, decorator: Google::Apis::SheetsV4::SetBasicFilterRequest::Representation
@ -2921,6 +3499,8 @@ module Google
property :update_conditional_format_rule, as: 'updateConditionalFormatRule', class: Google::Apis::SheetsV4::UpdateConditionalFormatRuleRequest, decorator: Google::Apis::SheetsV4::UpdateConditionalFormatRuleRequest::Representation
property :update_data_source, as: 'updateDataSource', class: Google::Apis::SheetsV4::UpdateDataSourceRequest, decorator: Google::Apis::SheetsV4::UpdateDataSourceRequest::Representation
property :update_developer_metadata, as: 'updateDeveloperMetadata', class: Google::Apis::SheetsV4::UpdateDeveloperMetadataRequest, decorator: Google::Apis::SheetsV4::UpdateDeveloperMetadataRequest::Representation
property :update_dimension_group, as: 'updateDimensionGroup', class: Google::Apis::SheetsV4::UpdateDimensionGroupRequest, decorator: Google::Apis::SheetsV4::UpdateDimensionGroupRequest::Representation
@ -2951,6 +3531,8 @@ module Google
property :add_chart, as: 'addChart', class: Google::Apis::SheetsV4::AddChartResponse, decorator: Google::Apis::SheetsV4::AddChartResponse::Representation
property :add_data_source, as: 'addDataSource', class: Google::Apis::SheetsV4::AddDataSourceResponse, decorator: Google::Apis::SheetsV4::AddDataSourceResponse::Representation
property :add_dimension_group, as: 'addDimensionGroup', class: Google::Apis::SheetsV4::AddDimensionGroupResponse, decorator: Google::Apis::SheetsV4::AddDimensionGroupResponse::Representation
property :add_filter_view, as: 'addFilterView', class: Google::Apis::SheetsV4::AddFilterViewResponse, decorator: Google::Apis::SheetsV4::AddFilterViewResponse::Representation
@ -2979,10 +3561,14 @@ module Google
property :find_replace, as: 'findReplace', class: Google::Apis::SheetsV4::FindReplaceResponse, decorator: Google::Apis::SheetsV4::FindReplaceResponse::Representation
property :refresh_data_source, as: 'refreshDataSource', class: Google::Apis::SheetsV4::RefreshDataSourceResponse, decorator: Google::Apis::SheetsV4::RefreshDataSourceResponse::Representation
property :trim_whitespace, as: 'trimWhitespace', class: Google::Apis::SheetsV4::TrimWhitespaceResponse, decorator: Google::Apis::SheetsV4::TrimWhitespaceResponse::Representation
property :update_conditional_format_rule, as: 'updateConditionalFormatRule', class: Google::Apis::SheetsV4::UpdateConditionalFormatRuleResponse, decorator: Google::Apis::SheetsV4::UpdateConditionalFormatRuleResponse::Representation
property :update_data_source, as: 'updateDataSource', class: Google::Apis::SheetsV4::UpdateDataSourceResponse, decorator: Google::Apis::SheetsV4::UpdateDataSourceResponse::Representation
property :update_developer_metadata, as: 'updateDeveloperMetadata', class: Google::Apis::SheetsV4::UpdateDeveloperMetadataResponse, decorator: Google::Apis::SheetsV4::UpdateDeveloperMetadataResponse::Representation
property :update_embedded_object_position, as: 'updateEmbeddedObjectPosition', class: Google::Apis::SheetsV4::UpdateEmbeddedObjectPositionResponse, decorator: Google::Apis::SheetsV4::UpdateEmbeddedObjectPositionResponse::Representation
@ -3086,6 +3672,8 @@ module Google
class SheetProperties
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :data_source_sheet_properties, as: 'dataSourceSheetProperties', class: Google::Apis::SheetsV4::DataSourceSheetProperties, decorator: Google::Apis::SheetsV4::DataSourceSheetProperties::Representation
property :grid_properties, as: 'gridProperties', class: Google::Apis::SheetsV4::GridProperties, decorator: Google::Apis::SheetsV4::GridProperties::Representation
property :hidden, as: 'hidden'
@ -3149,6 +3737,8 @@ module Google
property :background_color_style, as: 'backgroundColorStyle', class: Google::Apis::SheetsV4::ColorStyle, decorator: Google::Apis::SheetsV4::ColorStyle::Representation
property :data_source_column_reference, as: 'dataSourceColumnReference', class: Google::Apis::SheetsV4::DataSourceColumnReference, decorator: Google::Apis::SheetsV4::DataSourceColumnReference::Representation
property :dimension_index, as: 'dimensionIndex'
property :foreground_color, as: 'foregroundColor', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation
@ -3171,6 +3761,10 @@ module Google
class Spreadsheet
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :data_source_schedules, as: 'dataSourceSchedules', class: Google::Apis::SheetsV4::DataSourceRefreshSchedule, decorator: Google::Apis::SheetsV4::DataSourceRefreshSchedule::Representation
collection :data_sources, as: 'dataSources', class: Google::Apis::SheetsV4::DataSource, decorator: Google::Apis::SheetsV4::DataSource::Representation
collection :developer_metadata, as: 'developerMetadata', class: Google::Apis::SheetsV4::DeveloperMetadata, decorator: Google::Apis::SheetsV4::DeveloperMetadata::Representation
collection :named_ranges, as: 'namedRanges', class: Google::Apis::SheetsV4::NamedRange, decorator: Google::Apis::SheetsV4::NamedRange::Representation
@ -3268,6 +3862,16 @@ module Google
end
end
class TimeOfDay
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :hours, as: 'hours'
property :minutes, as: 'minutes'
property :nanos, as: 'nanos'
property :seconds, as: 'seconds'
end
end
class TreemapChartColorScale
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -3414,6 +4018,25 @@ module Google
end
end
class UpdateDataSourceRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :data_source, as: 'dataSource', class: Google::Apis::SheetsV4::DataSource, decorator: Google::Apis::SheetsV4::DataSource::Representation
property :fields, as: 'fields'
end
end
class UpdateDataSourceResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :data_execution_status, as: 'dataExecutionStatus', class: Google::Apis::SheetsV4::DataExecutionStatus, decorator: Google::Apis::SheetsV4::DataExecutionStatus::Representation
property :data_source, as: 'dataSource', class: Google::Apis::SheetsV4::DataSource, decorator: Google::Apis::SheetsV4::DataSource::Representation
end
end
class UpdateDeveloperMetadataRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -3445,6 +4068,8 @@ module Google
class UpdateDimensionPropertiesRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :data_source_sheet_range, as: 'dataSourceSheetRange', class: Google::Apis::SheetsV4::DataSourceSheetDimensionRange, decorator: Google::Apis::SheetsV4::DataSourceSheetDimensionRange::Representation
property :fields, as: 'fields'
property :properties, as: 'properties', class: Google::Apis::SheetsV4::DimensionProperties, decorator: Google::Apis::SheetsV4::DimensionProperties::Representation

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/cloud-sql/
module SqlV1beta4
VERSION = 'V1beta4'
REVISION = '20200805'
REVISION = '20200820'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -464,7 +464,7 @@ module Google
end
end
# A Cloud SQL instance resource. Next field: 34
# A Cloud SQL instance resource. Next field: 35
class DatabaseInstance
include Google::Apis::Core::Hashable

View File

@ -26,7 +26,7 @@ module Google
# @see https://devsite.googleplex.com/youtube/partner/docs/v1/
module YoutubePartnerV1
VERSION = 'V1'
REVISION = '20200825'
REVISION = '20200827'
# View and manage your assets and associated content on YouTube
AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner'