Autogenerated update (2020-09-29)

Update:
- androidmanagement_v1
- androidpublisher_v3
- apigee_v1
- assuredworkloads_v1beta1
- genomics_v2alpha1
- sheets_v4
- texttospeech_v1beta1
- toolresults_v1beta3
- translate_v3
- youtube_v3
This commit is contained in:
Google APIs 2020-09-29 00:38:39 +00:00
parent 9ab74e55cb
commit a4dd7b62fc
22 changed files with 812 additions and 121 deletions

View File

@ -9583,6 +9583,7 @@
"/androidpublisher:v3/ProductPurchase/purchaseToken": purchase_token "/androidpublisher:v3/ProductPurchase/purchaseToken": purchase_token
"/androidpublisher:v3/ProductPurchase/purchaseType": purchase_type "/androidpublisher:v3/ProductPurchase/purchaseType": purchase_type
"/androidpublisher:v3/ProductPurchase/quantity": quantity "/androidpublisher:v3/ProductPurchase/quantity": quantity
"/androidpublisher:v3/ProductPurchase/regionCode": region_code
"/androidpublisher:v3/ProductPurchasesAcknowledgeRequest": product_purchases_acknowledge_request "/androidpublisher:v3/ProductPurchasesAcknowledgeRequest": product_purchases_acknowledge_request
"/androidpublisher:v3/ProductPurchasesAcknowledgeRequest/developerPayload": developer_payload "/androidpublisher:v3/ProductPurchasesAcknowledgeRequest/developerPayload": developer_payload
"/androidpublisher:v3/Prorate": prorate "/androidpublisher:v3/Prorate": prorate
@ -14288,6 +14289,40 @@
"/artifactregistry:v1beta1/fields": fields "/artifactregistry:v1beta1/fields": fields
"/artifactregistry:v1beta1/key": key "/artifactregistry:v1beta1/key": key
"/artifactregistry:v1beta1/quotaUser": quota_user "/artifactregistry:v1beta1/quotaUser": quota_user
"/assuredworkloads:v1beta1/GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata": google_cloud_assuredworkloads_v1_create_workload_operation_metadata
"/assuredworkloads:v1beta1/GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata/complianceRegime": compliance_regime
"/assuredworkloads:v1beta1/GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata/createTime": create_time
"/assuredworkloads:v1beta1/GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata/displayName": display_name
"/assuredworkloads:v1beta1/GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata/parent": parent
"/assuredworkloads:v1beta1/GoogleCloudAssuredworkloadsV1Workload": google_cloud_assuredworkloads_v1_workload
"/assuredworkloads:v1beta1/GoogleCloudAssuredworkloadsV1Workload/billingAccount": billing_account
"/assuredworkloads:v1beta1/GoogleCloudAssuredworkloadsV1Workload/cjisSettings": cjis_settings
"/assuredworkloads:v1beta1/GoogleCloudAssuredworkloadsV1Workload/complianceRegime": compliance_regime
"/assuredworkloads:v1beta1/GoogleCloudAssuredworkloadsV1Workload/createTime": create_time
"/assuredworkloads:v1beta1/GoogleCloudAssuredworkloadsV1Workload/displayName": display_name
"/assuredworkloads:v1beta1/GoogleCloudAssuredworkloadsV1Workload/etag": etag
"/assuredworkloads:v1beta1/GoogleCloudAssuredworkloadsV1Workload/fedrampHighSettings": fedramp_high_settings
"/assuredworkloads:v1beta1/GoogleCloudAssuredworkloadsV1Workload/fedrampModerateSettings": fedramp_moderate_settings
"/assuredworkloads:v1beta1/GoogleCloudAssuredworkloadsV1Workload/il4Settings": il4_settings
"/assuredworkloads:v1beta1/GoogleCloudAssuredworkloadsV1Workload/labels": labels
"/assuredworkloads:v1beta1/GoogleCloudAssuredworkloadsV1Workload/labels/label": label
"/assuredworkloads:v1beta1/GoogleCloudAssuredworkloadsV1Workload/name": name
"/assuredworkloads:v1beta1/GoogleCloudAssuredworkloadsV1Workload/resources": resources
"/assuredworkloads:v1beta1/GoogleCloudAssuredworkloadsV1Workload/resources/resource": resource
"/assuredworkloads:v1beta1/GoogleCloudAssuredworkloadsV1WorkloadCJISSettings": google_cloud_assuredworkloads_v1_workload_cjis_settings
"/assuredworkloads:v1beta1/GoogleCloudAssuredworkloadsV1WorkloadCJISSettings/kmsSettings": kms_settings
"/assuredworkloads:v1beta1/GoogleCloudAssuredworkloadsV1WorkloadFedrampHighSettings": google_cloud_assuredworkloads_v1_workload_fedramp_high_settings
"/assuredworkloads:v1beta1/GoogleCloudAssuredworkloadsV1WorkloadFedrampHighSettings/kmsSettings": kms_settings
"/assuredworkloads:v1beta1/GoogleCloudAssuredworkloadsV1WorkloadFedrampModerateSettings": google_cloud_assuredworkloads_v1_workload_fedramp_moderate_settings
"/assuredworkloads:v1beta1/GoogleCloudAssuredworkloadsV1WorkloadFedrampModerateSettings/kmsSettings": kms_settings
"/assuredworkloads:v1beta1/GoogleCloudAssuredworkloadsV1WorkloadIL4Settings": google_cloud_assuredworkloads_v1_workload_il4_settings
"/assuredworkloads:v1beta1/GoogleCloudAssuredworkloadsV1WorkloadIL4Settings/kmsSettings": kms_settings
"/assuredworkloads:v1beta1/GoogleCloudAssuredworkloadsV1WorkloadKMSSettings": google_cloud_assuredworkloads_v1_workload_kms_settings
"/assuredworkloads:v1beta1/GoogleCloudAssuredworkloadsV1WorkloadKMSSettings/nextRotationTime": next_rotation_time
"/assuredworkloads:v1beta1/GoogleCloudAssuredworkloadsV1WorkloadKMSSettings/rotationPeriod": rotation_period
"/assuredworkloads:v1beta1/GoogleCloudAssuredworkloadsV1WorkloadResourceInfo": google_cloud_assuredworkloads_v1_workload_resource_info
"/assuredworkloads:v1beta1/GoogleCloudAssuredworkloadsV1WorkloadResourceInfo/resourceId": resource_id
"/assuredworkloads:v1beta1/GoogleCloudAssuredworkloadsV1WorkloadResourceInfo/resourceType": resource_type
"/assuredworkloads:v1beta1/GoogleCloudAssuredworkloadsV1beta1CreateWorkloadOperationMetadata": google_cloud_assuredworkloads_v1beta1_create_workload_operation_metadata "/assuredworkloads:v1beta1/GoogleCloudAssuredworkloadsV1beta1CreateWorkloadOperationMetadata": google_cloud_assuredworkloads_v1beta1_create_workload_operation_metadata
"/assuredworkloads:v1beta1/GoogleCloudAssuredworkloadsV1beta1CreateWorkloadOperationMetadata/complianceRegime": compliance_regime "/assuredworkloads:v1beta1/GoogleCloudAssuredworkloadsV1beta1CreateWorkloadOperationMetadata/complianceRegime": compliance_regime
"/assuredworkloads:v1beta1/GoogleCloudAssuredworkloadsV1beta1CreateWorkloadOperationMetadata/createTime": create_time "/assuredworkloads:v1beta1/GoogleCloudAssuredworkloadsV1beta1CreateWorkloadOperationMetadata/createTime": create_time
@ -102637,6 +102672,8 @@
"/genomics:v2alpha1/Event/details": details "/genomics:v2alpha1/Event/details": details
"/genomics:v2alpha1/Event/details/detail": detail "/genomics:v2alpha1/Event/details/detail": detail
"/genomics:v2alpha1/Event/timestamp": timestamp "/genomics:v2alpha1/Event/timestamp": timestamp
"/genomics:v2alpha1/ExistingDisk": existing_disk
"/genomics:v2alpha1/ExistingDisk/disk": disk
"/genomics:v2alpha1/FailedEvent": failed_event "/genomics:v2alpha1/FailedEvent": failed_event
"/genomics:v2alpha1/FailedEvent/cause": cause "/genomics:v2alpha1/FailedEvent/cause": cause
"/genomics:v2alpha1/FailedEvent/code": code "/genomics:v2alpha1/FailedEvent/code": code
@ -102699,6 +102736,10 @@
"/genomics:v2alpha1/OperationMetadata/runtimeMetadata": runtime_metadata "/genomics:v2alpha1/OperationMetadata/runtimeMetadata": runtime_metadata
"/genomics:v2alpha1/OperationMetadata/runtimeMetadata/runtime_metadatum": runtime_metadatum "/genomics:v2alpha1/OperationMetadata/runtimeMetadata/runtime_metadatum": runtime_metadatum
"/genomics:v2alpha1/OperationMetadata/startTime": start_time "/genomics:v2alpha1/OperationMetadata/startTime": start_time
"/genomics:v2alpha1/PersistentDisk": persistent_disk
"/genomics:v2alpha1/PersistentDisk/sizeGb": size_gb
"/genomics:v2alpha1/PersistentDisk/sourceImage": source_image
"/genomics:v2alpha1/PersistentDisk/type": type
"/genomics:v2alpha1/Pipeline": pipeline "/genomics:v2alpha1/Pipeline": pipeline
"/genomics:v2alpha1/Pipeline/actions": actions "/genomics:v2alpha1/Pipeline/actions": actions
"/genomics:v2alpha1/Pipeline/actions/action": action "/genomics:v2alpha1/Pipeline/actions/action": action
@ -102763,6 +102804,12 @@
"/genomics:v2alpha1/VirtualMachine/nvidiaDriverVersion": nvidia_driver_version "/genomics:v2alpha1/VirtualMachine/nvidiaDriverVersion": nvidia_driver_version
"/genomics:v2alpha1/VirtualMachine/preemptible": preemptible "/genomics:v2alpha1/VirtualMachine/preemptible": preemptible
"/genomics:v2alpha1/VirtualMachine/serviceAccount": service_account "/genomics:v2alpha1/VirtualMachine/serviceAccount": service_account
"/genomics:v2alpha1/VirtualMachine/volumes": volumes
"/genomics:v2alpha1/VirtualMachine/volumes/volume": volume
"/genomics:v2alpha1/Volume": volume
"/genomics:v2alpha1/Volume/existingDisk": existing_disk
"/genomics:v2alpha1/Volume/persistentDisk": persistent_disk
"/genomics:v2alpha1/Volume/volume": volume
"/genomics:v2alpha1/WorkerAssignedEvent": worker_assigned_event "/genomics:v2alpha1/WorkerAssignedEvent": worker_assigned_event
"/genomics:v2alpha1/WorkerAssignedEvent/instance": instance "/genomics:v2alpha1/WorkerAssignedEvent/instance": instance
"/genomics:v2alpha1/WorkerAssignedEvent/machineType": machine_type "/genomics:v2alpha1/WorkerAssignedEvent/machineType": machine_type

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/android/management # @see https://developers.google.com/android/management
module AndroidmanagementV1 module AndroidmanagementV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20200824' REVISION = '20200925'
# Manage Android devices and apps for your customers # Manage Android devices and apps for your customers
AUTH_ANDROIDMANAGEMENT = 'https://www.googleapis.com/auth/androidmanagement' AUTH_ANDROIDMANAGEMENT = 'https://www.googleapis.com/auth/androidmanagement'

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/android-publisher # @see https://developers.google.com/android-publisher
module AndroidpublisherV3 module AndroidpublisherV3
VERSION = 'V3' VERSION = 'V3'
REVISION = '20200916' REVISION = '20200927'
# View and manage your Google Play Developer account # View and manage your Google Play Developer account
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher' AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'

View File

@ -1225,6 +1225,12 @@ module Google
# @return [Fixnum] # @return [Fixnum]
attr_accessor :quantity attr_accessor :quantity
# ISO 3166-1 alpha-2 billing region code of the user at the time the product was
# granted.
# Corresponds to the JSON property `regionCode`
# @return [String]
attr_accessor :region_code
def initialize(**args) def initialize(**args)
update!(**args) update!(**args)
end end
@ -1244,6 +1250,7 @@ module Google
@purchase_token = args[:purchase_token] if args.key?(:purchase_token) @purchase_token = args[:purchase_token] if args.key?(:purchase_token)
@purchase_type = args[:purchase_type] if args.key?(:purchase_type) @purchase_type = args[:purchase_type] if args.key?(:purchase_type)
@quantity = args[:quantity] if args.key?(:quantity) @quantity = args[:quantity] if args.key?(:quantity)
@region_code = args[:region_code] if args.key?(:region_code)
end end
end end

View File

@ -716,6 +716,7 @@ module Google
property :purchase_token, as: 'purchaseToken' property :purchase_token, as: 'purchaseToken'
property :purchase_type, as: 'purchaseType' property :purchase_type, as: 'purchaseType'
property :quantity, as: 'quantity' property :quantity, as: 'quantity'
property :region_code, as: 'regionCode'
end end
end end

View File

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

View File

@ -3749,8 +3749,8 @@ module Google
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Required. Primary GCP region for analytics data storage. For valid values, see # Required. Primary GCP region for analytics data storage. For valid values, see
# [Create an organization](https://docs.apigee.com/hybrid/latest/precog- # [Create an Apigee organization](https://cloud.google.com/apigee/docs/api-
# provision). # platform/get-started/create-org).
# Corresponds to the JSON property `analyticsRegion` # Corresponds to the JSON property `analyticsRegion`
# @return [String] # @return [String]
attr_accessor :analytics_region attr_accessor :analytics_region
@ -3760,7 +3760,7 @@ module Google
# @return [Array<String>] # @return [Array<String>]
attr_accessor :attributes attr_accessor :attributes
# Compute Engine network used for ServiceNetworking to be peered with Apigee # Compute Engine network used for Service Networking to be peered with Apigee
# runtime instances. See [Getting started with the Service Networking API](https: # runtime instances. See [Getting started with the Service Networking API](https:
# //cloud.google.com/service-infrastructure/docs/service-networking/getting- # //cloud.google.com/service-infrastructure/docs/service-networking/getting-
# started). Valid only when [RuntimeType] is set to CLOUD. The value can be # started). Valid only when [RuntimeType] is set to CLOUD. The value can be
@ -5264,8 +5264,8 @@ module Google
# com` You might specify multiple service accounts, for example, if you have # com` You might specify multiple service accounts, for example, if you have
# multiple environments and wish to assign a unique service account to each one. # multiple environments and wish to assign a unique service account to each one.
# The service accounts must have **Apigee Synchronizer Manager** role. See also [ # The service accounts must have **Apigee Synchronizer Manager** role. See also [
# Create service accounts](https://docs.apigee.com/hybrid/latest/sa-about#create- # Create service accounts](https://cloud.google.com/apigee/docs/hybrid/latest/sa-
# the-service-accounts). # about#create-the-service-accounts).
# Corresponds to the JSON property `identities` # Corresponds to the JSON property `identities`
# @return [Array<String>] # @return [Array<String>]
attr_accessor :identities attr_accessor :identities

View File

@ -83,8 +83,8 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Creates an Apigee organization. See [Create an organization](https://docs. # Creates an Apigee organization. See [Create an Apigee organization](https://
# apigee.com/hybrid/latest/precog-provision). # cloud.google.com/apigee/docs/api-platform/get-started/create-org).
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Organization] google_cloud_apigee_v1_organization_object # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Organization] google_cloud_apigee_v1_organization_object
# @param [String] parent # @param [String] parent
# Required. Name of the GCP project in which to associate the Apigee # Required. Name of the GCP project in which to associate the Apigee
@ -119,8 +119,9 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Gets the profile for an Apigee organization. See [Organizations](https://docs. # Gets the profile for an Apigee organization. See [Understanding organizations](
# apigee.com/hybrid/latest/terminology#organizations). # https://cloud.google.com/apigee/docs/api-platform/fundamentals/organization-
# structure).
# @param [String] name # @param [String] name
# Required. Apigee organization name in the following format: `organizations/` # Required. Apigee organization name in the following format: `organizations/`
# org`` # org``
@ -188,9 +189,9 @@ module Google
# calling [setSyncAuthorization](setSyncAuthorization) to ensure that you are # calling [setSyncAuthorization](setSyncAuthorization) to ensure that you are
# updating the correct version. If you don't pass the ETag in the call to ` # updating the correct version. If you don't pass the ETag in the call to `
# setSyncAuthorization`, then the existing authorization is overwritten # setSyncAuthorization`, then the existing authorization is overwritten
# indiscriminately. For more information, see [Enable Synchronizer access](https: # indiscriminately. For more information, see [Configure the Synchronizer](https:
# //docs.apigee.com/hybrid/latest/synchronizer-access#enable-synchronizer-access) # //cloud.google.com/apigee/docs/hybrid/latest/synchronizer-access). **Note**:
# . **Note**: Available to Apigee hybrid only. # Available to Apigee hybrid only.
# @param [String] name # @param [String] name
# Required. Name of the Apigee organization. Use the following structure in your # Required. Name of the Apigee organization. Use the following structure in your
# request: `organizations/`org`` # request: `organizations/`org``
@ -225,8 +226,8 @@ module Google
end end
# Lists the Apigee organizations and associated GCP projects that you have # Lists the Apigee organizations and associated GCP projects that you have
# permission to access. See [Organizations](https://docs.apigee.com/hybrid/ # permission to access. See [Understanding organizations](https://cloud.google.
# latest/terminology#organizations). # com/apigee/docs/api-platform/fundamentals/organization-structure).
# @param [String] parent # @param [String] parent
# Required. Use the following structure in your request: `organizations` # Required. Use the following structure in your request: `organizations`
# @param [String] fields # @param [String] fields
@ -262,9 +263,9 @@ module Google
# to ensure that you are updating the correct version. To get an ETag, call [ # to ensure that you are updating the correct version. To get an ETag, call [
# getSyncAuthorization](getSyncAuthorization). If you don't pass the ETag in the # getSyncAuthorization](getSyncAuthorization). If you don't pass the ETag in the
# call to `setSyncAuthorization`, then the existing authorization is overwritten # call to `setSyncAuthorization`, then the existing authorization is overwritten
# indiscriminately. For more information, see [Enable Synchronizer access](https: # indiscriminately. For more information, see [Configure the Synchronizer](https:
# //docs.apigee.com/hybrid/latest/synchronizer-access#enable-synchronizer-access) # //cloud.google.com/apigee/docs/hybrid/latest/synchronizer-access). **Note**:
# . **Note**: Available to Apigee hybrid only. # Available to Apigee hybrid only.
# @param [String] name # @param [String] name
# Required. Name of the Apigee organization. Use the following structure in your # Required. Name of the Apigee organization. Use the following structure in your
# request: `organizations/`org`` # request: `organizations/`org``
@ -2912,8 +2913,8 @@ module Google
# Lists all attachments of an environment group. # Lists all attachments of an environment group.
# @param [String] parent # @param [String] parent
# Required. Name of the organization in the following format: `organizations/` # Required. Name of the environment group in the following format: `
# org``. # organizations/`org`/envgroups/`envgroup``.
# @param [Fixnum] page_size # @param [Fixnum] page_size
# Maximum number of environment group attachments to return. The page size # Maximum number of environment group attachments to return. The page size
# defaults to 25. # defaults to 25.
@ -3113,9 +3114,9 @@ module Google
end end
# Gets the IAM policy on an environment. For more information, see [Manage users, # Gets the IAM policy on an environment. For more information, see [Manage users,
# roles, and permissions using the API](https://docs.apigee.com/hybrid/latest/ # roles, and permissions using the API](https://cloud.google.com/apigee/docs/
# manage-users-roles). You must have the `apigee.environments.getIamPolicy` # api-platform/system-administration/manage-users-roles). You must have the `
# permission to call this API. # apigee.environments.getIamPolicy` permission to call this API.
# @param [String] resource # @param [String] resource
# REQUIRED: The resource for which the policy is being requested. See the # REQUIRED: The resource for which the policy is being requested. See the
# operation documentation for the appropriate value for this field. # operation documentation for the appropriate value for this field.
@ -3157,8 +3158,9 @@ module Google
# Sets the IAM policy on an environment, if the policy already exists it will be # Sets the IAM policy on an environment, if the policy already exists it will be
# replaced. For more information, see [Manage users, roles, and permissions # replaced. For more information, see [Manage users, roles, and permissions
# using the API](https://docs.apigee.com/hybrid/latest/manage-users-roles). You # using the API](https://cloud.google.com/apigee/docs/api-platform/system-
# must have the `apigee.environments.setIamPolicy` permission to call this API. # administration/manage-users-roles). You must have the `apigee.environments.
# setIamPolicy` permission to call this API.
# @param [String] resource # @param [String] resource
# REQUIRED: The resource for which the policy is being specified. See the # REQUIRED: The resource for which the policy is being specified. See the
# operation documentation for the appropriate value for this field. # operation documentation for the appropriate value for this field.

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com # @see https://cloud.google.com
module AssuredworkloadsV1beta1 module AssuredworkloadsV1beta1
VERSION = 'V1beta1' VERSION = 'V1beta1'
REVISION = '20200914' REVISION = '20200924'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -22,6 +22,270 @@ module Google
module Apis module Apis
module AssuredworkloadsV1beta1 module AssuredworkloadsV1beta1
# Operation metadata to give request details of CreateWorkload.
class GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata
include Google::Apis::Core::Hashable
# Optional. Compliance controls that should be applied to the resources managed
# by the workload.
# Corresponds to the JSON property `complianceRegime`
# @return [String]
attr_accessor :compliance_regime
# Optional. Time when the operation was created.
# Corresponds to the JSON property `createTime`
# @return [String]
attr_accessor :create_time
# Optional. The display name of the workload.
# Corresponds to the JSON property `displayName`
# @return [String]
attr_accessor :display_name
# Optional. The parent of the workload.
# Corresponds to the JSON property `parent`
# @return [String]
attr_accessor :parent
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@compliance_regime = args[:compliance_regime] if args.key?(:compliance_regime)
@create_time = args[:create_time] if args.key?(:create_time)
@display_name = args[:display_name] if args.key?(:display_name)
@parent = args[:parent] if args.key?(:parent)
end
end
# An Workload object for managing highly regulated workloads of cloud customers.
class GoogleCloudAssuredworkloadsV1Workload
include Google::Apis::Core::Hashable
# Required. Input only. The billing account used for the resources which are
# direct children of workload. This billing account is initially associated with
# the resources created as part of Workload creation. After the initial creation
# of these resources, the customer can change the assigned billing account. The
# resource name has the form `billingAccounts/`billing_account_id``. For example,
# `billingAccounts/012345-567890-ABCDEF`.
# Corresponds to the JSON property `billingAccount`
# @return [String]
attr_accessor :billing_account
# Settings specific to resources needed for CJIS.
# Corresponds to the JSON property `cjisSettings`
# @return [Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1WorkloadCjisSettings]
attr_accessor :cjis_settings
# Required. Immutable. Compliance Regime associated with this workload.
# Corresponds to the JSON property `complianceRegime`
# @return [String]
attr_accessor :compliance_regime
# Output only. Immutable. The Workload creation timestamp.
# Corresponds to the JSON property `createTime`
# @return [String]
attr_accessor :create_time
# Required. The user-assigned display name of the Workload. When present it must
# be between 4 to 30 characters. Allowed characters are: lowercase and uppercase
# letters, numbers, hyphen, and spaces. Example: My Workload
# Corresponds to the JSON property `displayName`
# @return [String]
attr_accessor :display_name
# Optional. ETag of the workload, it is calculated on the basis of the Workload
# contents. It will be used in Update & Delete operations.
# Corresponds to the JSON property `etag`
# @return [String]
attr_accessor :etag
# Settings specific to resources needed for FedRAMP High.
# Corresponds to the JSON property `fedrampHighSettings`
# @return [Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1WorkloadFedrampHighSettings]
attr_accessor :fedramp_high_settings
# Settings specific to resources needed for FedRAMP Moderate.
# Corresponds to the JSON property `fedrampModerateSettings`
# @return [Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1WorkloadFedrampModerateSettings]
attr_accessor :fedramp_moderate_settings
# Settings specific to resources needed for IL4.
# Corresponds to the JSON property `il4Settings`
# @return [Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1WorkloadIl4Settings]
attr_accessor :il4_settings
# Optional. Labels applied to the workload.
# Corresponds to the JSON property `labels`
# @return [Hash<String,String>]
attr_accessor :labels
# Optional. The resource name of the workload. Format: organizations/`
# organization`/locations/`location`/workloads/`workload` Read-only.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# Output only. The resources associated with this workload. These resources will
# be created when creating the workload. If any of the projects already exist,
# the workload creation will fail. Always read only.
# Corresponds to the JSON property `resources`
# @return [Array<Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1WorkloadResourceInfo>]
attr_accessor :resources
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@billing_account = args[:billing_account] if args.key?(:billing_account)
@cjis_settings = args[:cjis_settings] if args.key?(:cjis_settings)
@compliance_regime = args[:compliance_regime] if args.key?(:compliance_regime)
@create_time = args[:create_time] if args.key?(:create_time)
@display_name = args[:display_name] if args.key?(:display_name)
@etag = args[:etag] if args.key?(:etag)
@fedramp_high_settings = args[:fedramp_high_settings] if args.key?(:fedramp_high_settings)
@fedramp_moderate_settings = args[:fedramp_moderate_settings] if args.key?(:fedramp_moderate_settings)
@il4_settings = args[:il4_settings] if args.key?(:il4_settings)
@labels = args[:labels] if args.key?(:labels)
@name = args[:name] if args.key?(:name)
@resources = args[:resources] if args.key?(:resources)
end
end
# Settings specific to resources needed for CJIS.
class GoogleCloudAssuredworkloadsV1WorkloadCjisSettings
include Google::Apis::Core::Hashable
# Settings specific to the Key Management Service.
# Corresponds to the JSON property `kmsSettings`
# @return [Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1WorkloadKmsSettings]
attr_accessor :kms_settings
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@kms_settings = args[:kms_settings] if args.key?(:kms_settings)
end
end
# Settings specific to resources needed for FedRAMP High.
class GoogleCloudAssuredworkloadsV1WorkloadFedrampHighSettings
include Google::Apis::Core::Hashable
# Settings specific to the Key Management Service.
# Corresponds to the JSON property `kmsSettings`
# @return [Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1WorkloadKmsSettings]
attr_accessor :kms_settings
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@kms_settings = args[:kms_settings] if args.key?(:kms_settings)
end
end
# Settings specific to resources needed for FedRAMP Moderate.
class GoogleCloudAssuredworkloadsV1WorkloadFedrampModerateSettings
include Google::Apis::Core::Hashable
# Settings specific to the Key Management Service.
# Corresponds to the JSON property `kmsSettings`
# @return [Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1WorkloadKmsSettings]
attr_accessor :kms_settings
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@kms_settings = args[:kms_settings] if args.key?(:kms_settings)
end
end
# Settings specific to resources needed for IL4.
class GoogleCloudAssuredworkloadsV1WorkloadIl4Settings
include Google::Apis::Core::Hashable
# Settings specific to the Key Management Service.
# Corresponds to the JSON property `kmsSettings`
# @return [Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1WorkloadKmsSettings]
attr_accessor :kms_settings
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@kms_settings = args[:kms_settings] if args.key?(:kms_settings)
end
end
# Settings specific to the Key Management Service.
class GoogleCloudAssuredworkloadsV1WorkloadKmsSettings
include Google::Apis::Core::Hashable
# Required. Input only. Immutable. The time at which the Key Management Service
# will automatically create a new version of the crypto key and mark it as the
# primary.
# Corresponds to the JSON property `nextRotationTime`
# @return [String]
attr_accessor :next_rotation_time
# Required. Input only. Immutable. [next_rotation_time] will be advanced by this
# period when the Key Management Service automatically rotates a key. Must be at
# least 24 hours and at most 876,000 hours.
# Corresponds to the JSON property `rotationPeriod`
# @return [String]
attr_accessor :rotation_period
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@next_rotation_time = args[:next_rotation_time] if args.key?(:next_rotation_time)
@rotation_period = args[:rotation_period] if args.key?(:rotation_period)
end
end
# Represent the resources that are children of this Workload.
class GoogleCloudAssuredworkloadsV1WorkloadResourceInfo
include Google::Apis::Core::Hashable
# Resource identifier. For a project this represents project_number.
# Corresponds to the JSON property `resourceId`
# @return [Fixnum]
attr_accessor :resource_id
# Indicates the type of resource.
# Corresponds to the JSON property `resourceType`
# @return [String]
attr_accessor :resource_type
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@resource_id = args[:resource_id] if args.key?(:resource_id)
@resource_type = args[:resource_type] if args.key?(:resource_type)
end
end
# Operation metadata to give request details of CreateWorkload. # Operation metadata to give request details of CreateWorkload.
class GoogleCloudAssuredworkloadsV1beta1CreateWorkloadOperationMetadata class GoogleCloudAssuredworkloadsV1beta1CreateWorkloadOperationMetadata
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable

View File

@ -22,6 +22,54 @@ module Google
module Apis module Apis
module AssuredworkloadsV1beta1 module AssuredworkloadsV1beta1
class GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudAssuredworkloadsV1Workload
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudAssuredworkloadsV1WorkloadCjisSettings
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudAssuredworkloadsV1WorkloadFedrampHighSettings
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudAssuredworkloadsV1WorkloadFedrampModerateSettings
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudAssuredworkloadsV1WorkloadIl4Settings
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudAssuredworkloadsV1WorkloadKmsSettings
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudAssuredworkloadsV1WorkloadResourceInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudAssuredworkloadsV1beta1CreateWorkloadOperationMetadata class GoogleCloudAssuredworkloadsV1beta1CreateWorkloadOperationMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -100,6 +148,87 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :compliance_regime, as: 'complianceRegime'
property :create_time, as: 'createTime'
property :display_name, as: 'displayName'
property :parent, as: 'parent'
end
end
class GoogleCloudAssuredworkloadsV1Workload
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :billing_account, as: 'billingAccount'
property :cjis_settings, as: 'cjisSettings', class: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1WorkloadCjisSettings, decorator: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1WorkloadCjisSettings::Representation
property :compliance_regime, as: 'complianceRegime'
property :create_time, as: 'createTime'
property :display_name, as: 'displayName'
property :etag, as: 'etag'
property :fedramp_high_settings, as: 'fedrampHighSettings', class: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1WorkloadFedrampHighSettings, decorator: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1WorkloadFedrampHighSettings::Representation
property :fedramp_moderate_settings, as: 'fedrampModerateSettings', class: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1WorkloadFedrampModerateSettings, decorator: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1WorkloadFedrampModerateSettings::Representation
property :il4_settings, as: 'il4Settings', class: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1WorkloadIl4Settings, decorator: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1WorkloadIl4Settings::Representation
hash :labels, as: 'labels'
property :name, as: 'name'
collection :resources, as: 'resources', class: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1WorkloadResourceInfo, decorator: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1WorkloadResourceInfo::Representation
end
end
class GoogleCloudAssuredworkloadsV1WorkloadCjisSettings
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :kms_settings, as: 'kmsSettings', class: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1WorkloadKmsSettings, decorator: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1WorkloadKmsSettings::Representation
end
end
class GoogleCloudAssuredworkloadsV1WorkloadFedrampHighSettings
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :kms_settings, as: 'kmsSettings', class: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1WorkloadKmsSettings, decorator: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1WorkloadKmsSettings::Representation
end
end
class GoogleCloudAssuredworkloadsV1WorkloadFedrampModerateSettings
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :kms_settings, as: 'kmsSettings', class: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1WorkloadKmsSettings, decorator: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1WorkloadKmsSettings::Representation
end
end
class GoogleCloudAssuredworkloadsV1WorkloadIl4Settings
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :kms_settings, as: 'kmsSettings', class: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1WorkloadKmsSettings, decorator: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1WorkloadKmsSettings::Representation
end
end
class GoogleCloudAssuredworkloadsV1WorkloadKmsSettings
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :next_rotation_time, as: 'nextRotationTime'
property :rotation_period, as: 'rotationPeriod'
end
end
class GoogleCloudAssuredworkloadsV1WorkloadResourceInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :resource_id, :numeric_string => true, as: 'resourceId'
property :resource_type, as: 'resourceType'
end
end
class GoogleCloudAssuredworkloadsV1beta1CreateWorkloadOperationMetadata class GoogleCloudAssuredworkloadsV1beta1CreateWorkloadOperationMetadata
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/genomics # @see https://cloud.google.com/genomics
module GenomicsV2alpha1 module GenomicsV2alpha1
VERSION = 'V2alpha1' VERSION = 'V2alpha1'
REVISION = '20200825' REVISION = '20200927'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -565,6 +565,32 @@ module Google
end end
end end
# Configuration for an existing disk to be attached to the VM.
class ExistingDisk
include Google::Apis::Core::Hashable
# If `disk` contains slashes, the Cloud Life Sciences API assumes that it is a
# complete URL for the disk. If `disk` does not contain slashes, the Cloud Life
# Sciences API assumes that the disk is a zonal disk and a URL will be generated
# of the form `zones//disks/`, where `` is the zone in which the instance is
# allocated. The disk must be ext4 formatted. If all `Mount` references to this
# disk have the `read_only` flag set to true, the disk will be attached in `read-
# only` mode and can be shared with other instances. Otherwise, the disk will be
# available for writing but cannot be shared.
# Corresponds to the JSON property `disk`
# @return [String]
attr_accessor :disk
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@disk = args[:disk] if args.key?(:disk)
end
end
# An event generated when the execution of a pipeline has failed. Note that # An event generated when the execution of a pipeline has failed. Note that
# other events can continue to occur after this event. # other events can continue to occur after this event.
class FailedEvent class FailedEvent
@ -900,6 +926,43 @@ module Google
end end
end end
# Configuration for a persistent disk to be attached to the VM. See https://
# cloud.google.com/compute/docs/disks/performance for more information about
# disk type, size, and performance considerations.
class PersistentDisk
include Google::Apis::Core::Hashable
# The size, in GB, of the disk to attach. If the size is not specified, a
# default is chosen to ensure reasonable I/O performance. If the disk type is
# specified as `local-ssd`, multiple local drives are automatically combined to
# provide the requested size. Note, however, that each physical SSD is 375GB in
# size, and no more than 8 drives can be attached to a single instance.
# Corresponds to the JSON property `sizeGb`
# @return [Fixnum]
attr_accessor :size_gb
# An image to put on the disk before attaching it to the VM.
# Corresponds to the JSON property `sourceImage`
# @return [String]
attr_accessor :source_image
# The Compute Engine disk type. If unspecified, `pd-standard` is used.
# Corresponds to the JSON property `type`
# @return [String]
attr_accessor :type
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@size_gb = args[:size_gb] if args.key?(:size_gb)
@source_image = args[:source_image] if args.key?(:source_image)
@type = args[:type] if args.key?(:type)
end
end
# Specifies a series of actions to execute, expressed as Docker containers. # Specifies a series of actions to execute, expressed as Docker containers.
class Pipeline class Pipeline
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -1342,6 +1405,11 @@ module Google
# @return [Google::Apis::GenomicsV2alpha1::ServiceAccount] # @return [Google::Apis::GenomicsV2alpha1::ServiceAccount]
attr_accessor :service_account attr_accessor :service_account
# The list of disks and other storage to create or attach to the VM.
# Corresponds to the JSON property `volumes`
# @return [Array<Google::Apis::GenomicsV2alpha1::Volume>]
attr_accessor :volumes
def initialize(**args) def initialize(**args)
update!(**args) update!(**args)
end end
@ -1361,6 +1429,42 @@ module Google
@nvidia_driver_version = args[:nvidia_driver_version] if args.key?(:nvidia_driver_version) @nvidia_driver_version = args[:nvidia_driver_version] if args.key?(:nvidia_driver_version)
@preemptible = args[:preemptible] if args.key?(:preemptible) @preemptible = args[:preemptible] if args.key?(:preemptible)
@service_account = args[:service_account] if args.key?(:service_account) @service_account = args[:service_account] if args.key?(:service_account)
@volumes = args[:volumes] if args.key?(:volumes)
end
end
# Carries information about storage that can be attached to a VM.
class Volume
include Google::Apis::Core::Hashable
# Configuration for an existing disk to be attached to the VM.
# Corresponds to the JSON property `existingDisk`
# @return [Google::Apis::GenomicsV2alpha1::ExistingDisk]
attr_accessor :existing_disk
# Configuration for a persistent disk to be attached to the VM. See https://
# cloud.google.com/compute/docs/disks/performance for more information about
# disk type, size, and performance considerations.
# Corresponds to the JSON property `persistentDisk`
# @return [Google::Apis::GenomicsV2alpha1::PersistentDisk]
attr_accessor :persistent_disk
# A user-supplied name for the volume. Used when mounting the volume into `
# Actions`. The name must contain only upper and lowercase alphanumeric
# characters and hyphens and cannot start with a hyphen.
# Corresponds to the JSON property `volume`
# @return [String]
attr_accessor :volume
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@existing_disk = args[:existing_disk] if args.key?(:existing_disk)
@persistent_disk = args[:persistent_disk] if args.key?(:persistent_disk)
@volume = args[:volume] if args.key?(:volume)
end end
end end

View File

@ -106,6 +106,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class ExistingDisk
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class FailedEvent class FailedEvent
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -154,6 +160,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class PersistentDisk
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Pipeline class Pipeline
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -232,6 +244,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class Volume
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class WorkerAssignedEvent class WorkerAssignedEvent
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -384,6 +402,13 @@ module Google
end end
end end
class ExistingDisk
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :disk, as: 'disk'
end
end
class FailedEvent class FailedEvent
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -470,6 +495,15 @@ module Google
end end
end end
class PersistentDisk
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :size_gb, as: 'sizeGb'
property :source_image, as: 'sourceImage'
property :type, as: 'type'
end
end
class Pipeline class Pipeline
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -591,6 +625,19 @@ module Google
property :preemptible, as: 'preemptible' property :preemptible, as: 'preemptible'
property :service_account, as: 'serviceAccount', class: Google::Apis::GenomicsV2alpha1::ServiceAccount, decorator: Google::Apis::GenomicsV2alpha1::ServiceAccount::Representation property :service_account, as: 'serviceAccount', class: Google::Apis::GenomicsV2alpha1::ServiceAccount, decorator: Google::Apis::GenomicsV2alpha1::ServiceAccount::Representation
collection :volumes, as: 'volumes', class: Google::Apis::GenomicsV2alpha1::Volume, decorator: Google::Apis::GenomicsV2alpha1::Volume::Representation
end
end
class Volume
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :existing_disk, as: 'existingDisk', class: Google::Apis::GenomicsV2alpha1::ExistingDisk, decorator: Google::Apis::GenomicsV2alpha1::ExistingDisk::Representation
property :persistent_disk, as: 'persistentDisk', class: Google::Apis::GenomicsV2alpha1::PersistentDisk, decorator: Google::Apis::GenomicsV2alpha1::PersistentDisk::Representation
property :volume, as: 'volume'
end end
end end

View File

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

View File

@ -125,9 +125,9 @@ module Google
end end
# Adds a data source. After the data source is added successfully, an associated # Adds a data source. After the data source is added successfully, an associated
# DataSource sheet is created and an execution is triggered to refresh the sheet # DATA_SOURCE sheet is created and an execution is triggered to refresh the
# to read data from the data source. The request requires an additional bigquery. # sheet to read data from the data source. The request requires an additional `
# readonly OAuth scope. # bigquery.readonly` OAuth scope.
class AddDataSourceRequest class AddDataSourceRequest
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -150,7 +150,15 @@ module Google
class AddDataSourceResponse class AddDataSourceResponse
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# The data execution status. # The data execution status. A data execution is created to sync a data source
# object with the latest data from a DataSource. It is usually scheduled to run
# at background, you can check its state to tell if an execution completes There
# are several scenarios where a data execution is triggered to run: * Adding a
# data source creates an associated data source sheet as well as a data
# execution to sync the data from the data source to the sheet. * Updating a
# data source creates a data execution to refresh the associated data source
# sheet similarly. * You can send refresh request to explicitly refresh one or
# multiple data source objects.
# Corresponds to the JSON property `dataExecutionStatus` # Corresponds to the JSON property `dataExecutionStatus`
# @return [Google::Apis::SheetsV4::DataExecutionStatus] # @return [Google::Apis::SheetsV4::DataExecutionStatus]
attr_accessor :data_execution_status attr_accessor :data_execution_status
@ -563,7 +571,7 @@ module Google
class AutoResizeDimensionsRequest class AutoResizeDimensionsRequest
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# A range along a single dimension on a DataSource sheet. # A range along a single dimension on a DATA_SOURCE sheet.
# Corresponds to the JSON property `dataSourceSheetDimensions` # Corresponds to the JSON property `dataSourceSheetDimensions`
# @return [Google::Apis::SheetsV4::DataSourceSheetDimensionRange] # @return [Google::Apis::SheetsV4::DataSourceSheetDimensionRange]
attr_accessor :data_source_sheet_dimensions attr_accessor :data_source_sheet_dimensions
@ -1320,7 +1328,8 @@ module Google
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# The criteria for showing/hiding values per column. The map's key is the column # The criteria for showing/hiding values per column. The map's key is the column
# index, and the value is the criteria for that column. # index, and the value is the criteria for that column. This field is deprecated
# in favor of filter_specs.
# Corresponds to the JSON property `criteria` # Corresponds to the JSON property `criteria`
# @return [Hash<String,Google::Apis::SheetsV4::FilterCriteria>] # @return [Hash<String,Google::Apis::SheetsV4::FilterCriteria>]
attr_accessor :criteria attr_accessor :criteria
@ -1840,7 +1849,7 @@ module Google
end end
end end
# The specification of a BigQuery data source. # The specification of a BigQuery data source that's connected to a sheet.
class BigQueryDataSourceSpec class BigQueryDataSourceSpec
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -1855,7 +1864,8 @@ module Google
# @return [Google::Apis::SheetsV4::BigQueryQuerySpec] # @return [Google::Apis::SheetsV4::BigQueryQuerySpec]
attr_accessor :query_spec attr_accessor :query_spec
# Specifies a BigQuery table definition. Only native tables is allowed. # Specifies a BigQuery table definition. Only [native tables](https://cloud.
# google.com/bigquery/docs/tables-intro) is allowed.
# Corresponds to the JSON property `tableSpec` # Corresponds to the JSON property `tableSpec`
# @return [Google::Apis::SheetsV4::BigQueryTableSpec] # @return [Google::Apis::SheetsV4::BigQueryTableSpec]
attr_accessor :table_spec attr_accessor :table_spec
@ -1891,7 +1901,8 @@ module Google
end end
end end
# Specifies a BigQuery table definition. Only native tables is allowed. # Specifies a BigQuery table definition. Only [native tables](https://cloud.
# google.com/bigquery/docs/tables-intro) is allowed.
class BigQueryTableSpec class BigQueryTableSpec
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -2346,8 +2357,9 @@ module Google
# @return [Google::Apis::SheetsV4::DataSourceFormula] # @return [Google::Apis::SheetsV4::DataSourceFormula]
attr_accessor :data_source_formula attr_accessor :data_source_formula
# A data source table, allowing to import a static table of data from the # A data source table, which allows the user to import a static table of data
# DataSource into Sheets. This is also known as "Extract" in the Sheets editor. # from the DataSource into Sheets. This is also known as "Extract" in the Sheets
# editor.
# Corresponds to the JSON property `dataSourceTable` # Corresponds to the JSON property `dataSourceTable`
# @return [Google::Apis::SheetsV4::DataSourceTable] # @return [Google::Apis::SheetsV4::DataSourceTable]
attr_accessor :data_source_table attr_accessor :data_source_table
@ -2631,7 +2643,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :aggregate_type attr_accessor :aggregate_type
# An unique identifier that references to a data source column. # An unique identifier that references a data source column.
# Corresponds to the JSON property `columnReference` # Corresponds to the JSON property `columnReference`
# @return [Google::Apis::SheetsV4::DataSourceColumnReference] # @return [Google::Apis::SheetsV4::DataSourceColumnReference]
attr_accessor :column_reference attr_accessor :column_reference
@ -3461,7 +3473,15 @@ module Google
end end
end end
# The data execution status. # The data execution status. A data execution is created to sync a data source
# object with the latest data from a DataSource. It is usually scheduled to run
# at background, you can check its state to tell if an execution completes There
# are several scenarios where a data execution is triggered to run: * Adding a
# data source creates an associated data source sheet as well as a data
# execution to sync the data from the data source to the sheet. * Updating a
# data source creates a data execution to refresh the associated data source
# sheet similarly. * You can send refresh request to explicitly refresh one or
# multiple data source objects.
class DataExecutionStatus class DataExecutionStatus
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -3592,20 +3612,22 @@ module Google
# @return [Array<Google::Apis::SheetsV4::DataSourceColumn>] # @return [Array<Google::Apis::SheetsV4::DataSourceColumn>]
attr_accessor :calculated_columns attr_accessor :calculated_columns
# The spreadsheet-scoped unique ID that identifies the data source. # The spreadsheet-scoped unique ID that identifies the data source. Example:
# 1080547365.
# Corresponds to the JSON property `dataSourceId` # Corresponds to the JSON property `dataSourceId`
# @return [String] # @return [String]
attr_accessor :data_source_id attr_accessor :data_source_id
# The ID of the Sheet connected with the data source. The field cannot be # The ID of the Sheet connected with the data source. The field cannot be
# changed once set. When creating a data source, an associated SheetType. # changed once set. When creating a data source, an associated DATA_SOURCE sheet
# DATA_SOURCE sheet is also created, if the field is not specified, the ID of # is also created, if the field is not specified, the ID of the created sheet
# the created sheet will be randomly generated. # will be randomly generated.
# Corresponds to the JSON property `sheetId` # Corresponds to the JSON property `sheetId`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :sheet_id attr_accessor :sheet_id
# The specification of a data source. # This specifies the details of the data source. For example, for BigQuery, this
# specifies information about the BigQuery source.
# Corresponds to the JSON property `spec` # Corresponds to the JSON property `spec`
# @return [Google::Apis::SheetsV4::DataSourceSpec] # @return [Google::Apis::SheetsV4::DataSourceSpec]
attr_accessor :spec attr_accessor :spec
@ -3627,7 +3649,15 @@ module Google
class DataSourceChartProperties class DataSourceChartProperties
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# The data execution status. # The data execution status. A data execution is created to sync a data source
# object with the latest data from a DataSource. It is usually scheduled to run
# at background, you can check its state to tell if an execution completes There
# are several scenarios where a data execution is triggered to run: * Adding a
# data source creates an associated data source sheet as well as a data
# execution to sync the data from the data source to the sheet. * Updating a
# data source creates a data execution to refresh the associated data source
# sheet similarly. * You can send refresh request to explicitly refresh one or
# multiple data source objects.
# Corresponds to the JSON property `dataExecutionStatus` # Corresponds to the JSON property `dataExecutionStatus`
# @return [Google::Apis::SheetsV4::DataExecutionStatus] # @return [Google::Apis::SheetsV4::DataExecutionStatus]
attr_accessor :data_execution_status attr_accessor :data_execution_status
@ -3648,7 +3678,7 @@ module Google
end end
end end
# A data source column. # A column in a data source.
class DataSourceColumn class DataSourceColumn
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -3657,7 +3687,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :formula attr_accessor :formula
# An unique identifier that references to a data source column. # An unique identifier that references a data source column.
# Corresponds to the JSON property `reference` # Corresponds to the JSON property `reference`
# @return [Google::Apis::SheetsV4::DataSourceColumnReference] # @return [Google::Apis::SheetsV4::DataSourceColumnReference]
attr_accessor :reference attr_accessor :reference
@ -3673,7 +3703,7 @@ module Google
end end
end end
# An unique identifier that references to a data source column. # An unique identifier that references a data source column.
class DataSourceColumnReference class DataSourceColumnReference
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -3696,7 +3726,15 @@ module Google
class DataSourceFormula class DataSourceFormula
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# The data execution status. # The data execution status. A data execution is created to sync a data source
# object with the latest data from a DataSource. It is usually scheduled to run
# at background, you can check its state to tell if an execution completes There
# are several scenarios where a data execution is triggered to run: * Adding a
# data source creates an associated data source sheet as well as a data
# execution to sync the data from the data source to the sheet. * Updating a
# data source creates a data execution to refresh the associated data source
# sheet similarly. * You can send refresh request to explicitly refresh one or
# multiple data source objects.
# Corresponds to the JSON property `dataExecutionStatus` # Corresponds to the JSON property `dataExecutionStatus`
# @return [Google::Apis::SheetsV4::DataExecutionStatus] # @return [Google::Apis::SheetsV4::DataExecutionStatus]
attr_accessor :data_execution_status attr_accessor :data_execution_status
@ -3721,7 +3759,7 @@ module Google
class DataSourceObjectReference class DataSourceObjectReference
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# References to a DataSourceChart. # References to a data source chart.
# Corresponds to the JSON property `chartId` # Corresponds to the JSON property `chartId`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :chart_id attr_accessor :chart_id
@ -3741,7 +3779,7 @@ module Google
# @return [Google::Apis::SheetsV4::GridCoordinate] # @return [Google::Apis::SheetsV4::GridCoordinate]
attr_accessor :data_source_table_anchor_cell attr_accessor :data_source_table_anchor_cell
# References to a SheetType.DATA_SOURCE sheet. # References to a DATA_SOURCE sheet.
# Corresponds to the JSON property `sheetId` # Corresponds to the JSON property `sheetId`
# @return [String] # @return [String]
attr_accessor :sheet_id attr_accessor :sheet_id
@ -3779,13 +3817,14 @@ module Google
end end
end end
# A parameter in a data source's query. The parameter allows user to pass in # A parameter in a data source's query. The parameter allows the user to pass in
# values from the spreadsheet into a query. # values from the spreadsheet into a query.
class DataSourceParameter class DataSourceParameter
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Named parameter. Must be a legitimate identifier for the DataSource that # Named parameter. Must be a legitimate identifier for the DataSource that
# supports it. For example, BigQuery identifier # supports it. For example, [BigQuery identifier](https://cloud.google.com/
# bigquery/docs/reference/standard-sql/lexical#identifiers).
# Corresponds to the JSON property `name` # Corresponds to the JSON property `name`
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name
@ -3824,7 +3863,7 @@ module Google
end end
end end
# Schedule refreshes in a time interval everyday. # A schedule for data to refresh every day in a given time interval.
class DataSourceRefreshDailySchedule class DataSourceRefreshDailySchedule
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -3845,8 +3884,8 @@ module Google
end end
end end
# Schedule refreshes in a time interval on specified days in a month and repeats # A monthly schedule for data to refresh on specific days in the month in a
# monthly. # given time interval.
class DataSourceRefreshMonthlySchedule class DataSourceRefreshMonthlySchedule
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -3874,15 +3913,15 @@ module Google
end end
end end
# The data source refresh schedule. All data sources in the spreadsheet are # Schedule for refreshing the data source. Data sources in the spreadsheet are
# scheduled to refresh in a future time interval. The time interval size # refreshed within a time interval. You can specify the start time by clicking
# defaults to the one defined in the Sheets editor. For example, if a daily # the Scheduled Refresh button in the Sheets editor, but the interval is fixed
# schedule at start time of 8am is scheduled, and the time interval is 4 hours, # at 4 hours. For example, if you specify a start time of 8am , the refresh will
# the scheduled refresh will happen between 8am and 12pm every day. # take place between 8am and 12pm every day.
class DataSourceRefreshSchedule class DataSourceRefreshSchedule
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Schedule refreshes in a time interval everyday. # A schedule for data to refresh every day in a given time interval.
# Corresponds to the JSON property `dailySchedule` # Corresponds to the JSON property `dailySchedule`
# @return [Google::Apis::SheetsV4::DataSourceRefreshDailySchedule] # @return [Google::Apis::SheetsV4::DataSourceRefreshDailySchedule]
attr_accessor :daily_schedule attr_accessor :daily_schedule
@ -3893,8 +3932,8 @@ module Google
attr_accessor :enabled attr_accessor :enabled
alias_method :enabled?, :enabled alias_method :enabled?, :enabled
# Schedule refreshes in a time interval on specified days in a month and repeats # A monthly schedule for data to refresh on specific days in the month in a
# monthly. # given time interval.
# Corresponds to the JSON property `monthlySchedule` # Corresponds to the JSON property `monthlySchedule`
# @return [Google::Apis::SheetsV4::DataSourceRefreshMonthlySchedule] # @return [Google::Apis::SheetsV4::DataSourceRefreshMonthlySchedule]
attr_accessor :monthly_schedule attr_accessor :monthly_schedule
@ -3907,13 +3946,13 @@ module Google
# @return [Google::Apis::SheetsV4::Interval] # @return [Google::Apis::SheetsV4::Interval]
attr_accessor :next_run attr_accessor :next_run
# The scope of the refresh. # The scope of the refresh. Must be ALL_DATA_SOURCES.
# Corresponds to the JSON property `refreshScope` # Corresponds to the JSON property `refreshScope`
# @return [String] # @return [String]
attr_accessor :refresh_scope attr_accessor :refresh_scope
# Schedule refreshes in a time interval on specified days in a week and repeats # A weekly schedule for data to refresh on specific days in a given time
# weekly. # interval.
# Corresponds to the JSON property `weeklySchedule` # Corresponds to the JSON property `weeklySchedule`
# @return [Google::Apis::SheetsV4::DataSourceRefreshWeeklySchedule] # @return [Google::Apis::SheetsV4::DataSourceRefreshWeeklySchedule]
attr_accessor :weekly_schedule attr_accessor :weekly_schedule
@ -3933,8 +3972,8 @@ module Google
end end
end end
# Schedule refreshes in a time interval on specified days in a week and repeats # A weekly schedule for data to refresh on specific days in a given time
# weekly. # interval.
class DataSourceRefreshWeeklySchedule class DataSourceRefreshWeeklySchedule
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -3961,7 +4000,7 @@ module Google
end end
end end
# A range along a single dimension on a DataSource sheet. # A range along a single dimension on a DATA_SOURCE sheet.
class DataSourceSheetDimensionRange class DataSourceSheetDimensionRange
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -3986,7 +4025,7 @@ module Google
end end
end end
# Additional properties of a SheetType.DATA_SOURCE sheet. # Additional properties of a DATA_SOURCE sheet.
class DataSourceSheetProperties class DataSourceSheetProperties
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -3995,12 +4034,20 @@ module Google
# @return [Array<Google::Apis::SheetsV4::DataSourceColumn>] # @return [Array<Google::Apis::SheetsV4::DataSourceColumn>]
attr_accessor :columns attr_accessor :columns
# The data execution status. # The data execution status. A data execution is created to sync a data source
# object with the latest data from a DataSource. It is usually scheduled to run
# at background, you can check its state to tell if an execution completes There
# are several scenarios where a data execution is triggered to run: * Adding a
# data source creates an associated data source sheet as well as a data
# execution to sync the data from the data source to the sheet. * Updating a
# data source creates a data execution to refresh the associated data source
# sheet similarly. * You can send refresh request to explicitly refresh one or
# multiple data source objects.
# Corresponds to the JSON property `dataExecutionStatus` # Corresponds to the JSON property `dataExecutionStatus`
# @return [Google::Apis::SheetsV4::DataExecutionStatus] # @return [Google::Apis::SheetsV4::DataExecutionStatus]
attr_accessor :data_execution_status attr_accessor :data_execution_status
# ID of the DataSource the sheet connected with. # ID of the DataSource the sheet is connected to.
# Corresponds to the JSON property `dataSourceId` # Corresponds to the JSON property `dataSourceId`
# @return [String] # @return [String]
attr_accessor :data_source_id attr_accessor :data_source_id
@ -4017,16 +4064,17 @@ module Google
end end
end end
# The specification of a data source. # This specifies the details of the data source. For example, for BigQuery, this
# specifies information about the BigQuery source.
class DataSourceSpec class DataSourceSpec
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# The specification of a BigQuery data source. # The specification of a BigQuery data source that's connected to a sheet.
# Corresponds to the JSON property `bigQuery` # Corresponds to the JSON property `bigQuery`
# @return [Google::Apis::SheetsV4::BigQueryDataSourceSpec] # @return [Google::Apis::SheetsV4::BigQueryDataSourceSpec]
attr_accessor :big_query attr_accessor :big_query
# The parameters of the data source. # The parameters of the data source, used when querying the data source.
# Corresponds to the JSON property `parameters` # Corresponds to the JSON property `parameters`
# @return [Array<Google::Apis::SheetsV4::DataSourceParameter>] # @return [Array<Google::Apis::SheetsV4::DataSourceParameter>]
attr_accessor :parameters attr_accessor :parameters
@ -4042,8 +4090,9 @@ module Google
end end
end end
# A data source table, allowing to import a static table of data from the # A data source table, which allows the user to import a static table of data
# DataSource into Sheets. This is also known as "Extract" in the Sheets editor. # from the DataSource into Sheets. This is also known as "Extract" in the Sheets
# editor.
class DataSourceTable class DataSourceTable
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -4058,7 +4107,15 @@ module Google
# @return [Array<Google::Apis::SheetsV4::DataSourceColumnReference>] # @return [Array<Google::Apis::SheetsV4::DataSourceColumnReference>]
attr_accessor :columns attr_accessor :columns
# The data execution status. # The data execution status. A data execution is created to sync a data source
# object with the latest data from a DataSource. It is usually scheduled to run
# at background, you can check its state to tell if an execution completes There
# are several scenarios where a data execution is triggered to run: * Adding a
# data source creates an associated data source sheet as well as a data
# execution to sync the data from the data source to the sheet. * Updating a
# data source creates a data execution to refresh the associated data source
# sheet similarly. * You can send refresh request to explicitly refresh one or
# multiple data source objects.
# Corresponds to the JSON property `dataExecutionStatus` # Corresponds to the JSON property `dataExecutionStatus`
# @return [Google::Apis::SheetsV4::DataExecutionStatus] # @return [Google::Apis::SheetsV4::DataExecutionStatus]
attr_accessor :data_execution_status attr_accessor :data_execution_status
@ -4539,7 +4596,8 @@ module Google
class DeleteSheetRequest class DeleteSheetRequest
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# The ID of the sheet to delete. # The ID of the sheet to delete. If the sheet is of SheetType.DATA_SOURCE type,
# the associated DataSource is also deleted.
# Corresponds to the JSON property `sheetId` # Corresponds to the JSON property `sheetId`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :sheet_id attr_accessor :sheet_id
@ -4776,7 +4834,7 @@ module Google
class DimensionProperties class DimensionProperties
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# An unique identifier that references to a data source column. # An unique identifier that references a data source column.
# Corresponds to the JSON property `dataSourceColumnReference` # Corresponds to the JSON property `dataSourceColumnReference`
# @return [Google::Apis::SheetsV4::DataSourceColumnReference] # @return [Google::Apis::SheetsV4::DataSourceColumnReference]
attr_accessor :data_source_column_reference attr_accessor :data_source_column_reference
@ -4915,7 +4973,10 @@ module Google
# @return [String] # @return [String]
attr_accessor :new_sheet_name attr_accessor :new_sheet_name
# The sheet to duplicate. # The sheet to duplicate. If the source sheet is of DATA_SOURCE type, its
# backing DataSource is also duplicated and associated with the new copy of the
# sheet. No data execution is triggered, the grid data of this sheet is also
# copied over but only available after the batch request completes.
# Corresponds to the JSON property `sourceSheetId` # Corresponds to the JSON property `sourceSheetId`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :source_sheet_id attr_accessor :source_sheet_id
@ -5269,7 +5330,7 @@ module Google
# @return [Fixnum] # @return [Fixnum]
attr_accessor :column_index attr_accessor :column_index
# An unique identifier that references to a data source column. # An unique identifier that references a data source column.
# Corresponds to the JSON property `dataSourceColumnReference` # Corresponds to the JSON property `dataSourceColumnReference`
# @return [Google::Apis::SheetsV4::DataSourceColumnReference] # @return [Google::Apis::SheetsV4::DataSourceColumnReference]
attr_accessor :data_source_column_reference attr_accessor :data_source_column_reference
@ -5296,7 +5357,8 @@ module Google
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# The criteria for showing/hiding values per column. The map's key is the column # The criteria for showing/hiding values per column. The map's key is the column
# index, and the value is the criteria for that column. # index, and the value is the criteria for that column. This field is deprecated
# in favor of filter_specs.
# Corresponds to the JSON property `criteria` # Corresponds to the JSON property `criteria`
# @return [Hash<String,Google::Apis::SheetsV4::FilterCriteria>] # @return [Hash<String,Google::Apis::SheetsV4::FilterCriteria>]
attr_accessor :criteria attr_accessor :criteria
@ -6816,7 +6878,7 @@ module Google
# @return [Fixnum] # @return [Fixnum]
attr_accessor :column_offset_index attr_accessor :column_offset_index
# An unique identifier that references to a data source column. # An unique identifier that references a data source column.
# Corresponds to the JSON property `dataSourceColumnReference` # Corresponds to the JSON property `dataSourceColumnReference`
# @return [Google::Apis::SheetsV4::DataSourceColumnReference] # @return [Google::Apis::SheetsV4::DataSourceColumnReference]
attr_accessor :data_source_column_reference attr_accessor :data_source_column_reference
@ -6842,7 +6904,7 @@ module Google
class PivotGroup class PivotGroup
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# An unique identifier that references to a data source column. # An unique identifier that references a data source column.
# Corresponds to the JSON property `dataSourceColumnReference` # Corresponds to the JSON property `dataSourceColumnReference`
# @return [Google::Apis::SheetsV4::DataSourceColumnReference] # @return [Google::Apis::SheetsV4::DataSourceColumnReference]
attr_accessor :data_source_column_reference attr_accessor :data_source_column_reference
@ -7108,12 +7170,20 @@ module Google
# column offset of the source range that you want to filter, and the value is # column offset of the source range that you want to filter, and the value is
# the criteria for that column. For example, if the source was `C10:E15`, a key # the criteria for that column. For example, if the source was `C10:E15`, a key
# of `0` will have the filter for column `C`, whereas the key `1` is for column ` # of `0` will have the filter for column `C`, whereas the key `1` is for column `
# D`. # D`. This field is deprecated in favor of filter_specs.
# Corresponds to the JSON property `criteria` # Corresponds to the JSON property `criteria`
# @return [Hash<String,Google::Apis::SheetsV4::PivotFilterCriteria>] # @return [Hash<String,Google::Apis::SheetsV4::PivotFilterCriteria>]
attr_accessor :criteria attr_accessor :criteria
# The data execution status. # The data execution status. A data execution is created to sync a data source
# object with the latest data from a DataSource. It is usually scheduled to run
# at background, you can check its state to tell if an execution completes There
# are several scenarios where a data execution is triggered to run: * Adding a
# data source creates an associated data source sheet as well as a data
# execution to sync the data from the data source to the sheet. * Updating a
# data source creates a data execution to refresh the associated data source
# sheet similarly. * You can send refresh request to explicitly refresh one or
# multiple data source objects.
# Corresponds to the JSON property `dataExecutionStatus` # Corresponds to the JSON property `dataExecutionStatus`
# @return [Google::Apis::SheetsV4::DataExecutionStatus] # @return [Google::Apis::SheetsV4::DataExecutionStatus]
attr_accessor :data_execution_status attr_accessor :data_execution_status
@ -7194,7 +7264,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :calculated_display_type attr_accessor :calculated_display_type
# An unique identifier that references to a data source column. # An unique identifier that references a data source column.
# Corresponds to the JSON property `dataSourceColumnReference` # Corresponds to the JSON property `dataSourceColumnReference`
# @return [Google::Apis::SheetsV4::DataSourceColumnReference] # @return [Google::Apis::SheetsV4::DataSourceColumnReference]
attr_accessor :data_source_column_reference attr_accessor :data_source_column_reference
@ -7358,7 +7428,15 @@ module Google
class RefreshDataSourceObjectExecutionStatus class RefreshDataSourceObjectExecutionStatus
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# The data execution status. # The data execution status. A data execution is created to sync a data source
# object with the latest data from a DataSource. It is usually scheduled to run
# at background, you can check its state to tell if an execution completes There
# are several scenarios where a data execution is triggered to run: * Adding a
# data source creates an associated data source sheet as well as a data
# execution to sync the data from the data source to the sheet. * Updating a
# data source creates a data execution to refresh the associated data source
# sheet similarly. * You can send refresh request to explicitly refresh one or
# multiple data source objects.
# Corresponds to the JSON property `dataExecutionStatus` # Corresponds to the JSON property `dataExecutionStatus`
# @return [Google::Apis::SheetsV4::DataExecutionStatus] # @return [Google::Apis::SheetsV4::DataExecutionStatus]
attr_accessor :data_execution_status attr_accessor :data_execution_status
@ -7380,8 +7458,8 @@ module Google
end end
# Refreshes one or multiple data source objects in the spreadsheet by the # Refreshes one or multiple data source objects in the spreadsheet by the
# specified references. The request requires an additional bigquery.readonly # specified references. The request requires an additional `bigquery.readonly`
# OAuth scope. If there're multiple refresh requests referencing the same data # OAuth scope. If there are multiple refresh requests referencing the same data
# source objects in one batch, only the last refresh request is processed, and # source objects in one batch, only the last refresh request is processed, and
# all those requests will have the same response accordingly. # all those requests will have the same response accordingly.
class RefreshDataSourceRequest class RefreshDataSourceRequest
@ -7519,9 +7597,9 @@ module Google
attr_accessor :add_conditional_format_rule attr_accessor :add_conditional_format_rule
# Adds a data source. After the data source is added successfully, an associated # Adds a data source. After the data source is added successfully, an associated
# DataSource sheet is created and an execution is triggered to refresh the sheet # DATA_SOURCE sheet is created and an execution is triggered to refresh the
# to read data from the data source. The request requires an additional bigquery. # sheet to read data from the data source. The request requires an additional `
# readonly OAuth scope. # bigquery.readonly` OAuth scope.
# Corresponds to the JSON property `addDataSource` # Corresponds to the JSON property `addDataSource`
# @return [Google::Apis::SheetsV4::AddDataSourceRequest] # @return [Google::Apis::SheetsV4::AddDataSourceRequest]
attr_accessor :add_data_source attr_accessor :add_data_source
@ -7736,8 +7814,8 @@ module Google
attr_accessor :randomize_range attr_accessor :randomize_range
# Refreshes one or multiple data source objects in the spreadsheet by the # Refreshes one or multiple data source objects in the spreadsheet by the
# specified references. The request requires an additional bigquery.readonly # specified references. The request requires an additional `bigquery.readonly`
# OAuth scope. If there're multiple refresh requests referencing the same data # OAuth scope. If there are multiple refresh requests referencing the same data
# source objects in one batch, only the last refresh request is processed, and # source objects in one batch, only the last refresh request is processed, and
# all those requests will have the same response accordingly. # all those requests will have the same response accordingly.
# Corresponds to the JSON property `refreshDataSource` # Corresponds to the JSON property `refreshDataSource`
@ -7826,9 +7904,9 @@ module Google
attr_accessor :update_conditional_format_rule attr_accessor :update_conditional_format_rule
# Updates a data source. After the data source is updated successfully, an # Updates a data source. After the data source is updated successfully, an
# execution is triggered to refresh the associated DataSource sheet to read data # execution is triggered to refresh the associated DATA_SOURCE sheet to read
# from the updated data source. The request requires an additional bigquery. # data from the updated data source. The request requires an additional `
# readonly OAuth scope. # bigquery.readonly` OAuth scope.
# Corresponds to the JSON property `updateDataSource` # Corresponds to the JSON property `updateDataSource`
# @return [Google::Apis::SheetsV4::UpdateDataSourceRequest] # @return [Google::Apis::SheetsV4::UpdateDataSourceRequest]
attr_accessor :update_data_source attr_accessor :update_data_source
@ -8141,7 +8219,9 @@ module Google
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# The aggregation type for key and baseline chart data in scorecard chart. This # The aggregation type for key and baseline chart data in scorecard chart. This
# field is optional. # field is not supported for data source charts. Use the ChartData.aggregateType
# field of the key_value_data or baseline_value_data instead for data source
# charts. This field is optional.
# Corresponds to the JSON property `aggregateType` # Corresponds to the JSON property `aggregateType`
# @return [String] # @return [String]
attr_accessor :aggregate_type attr_accessor :aggregate_type
@ -8332,7 +8412,9 @@ module Google
# example, if this is representing `Sheet1`, and the spreadsheet was requested # example, if this is representing `Sheet1`, and the spreadsheet was requested
# with ranges `Sheet1!A1:C10` and `Sheet1!D15:E20`, then the first GridData will # with ranges `Sheet1!A1:C10` and `Sheet1!D15:E20`, then the first GridData will
# have a startRow/startColumn of `0`, while the second one will have `startRow # have a startRow/startColumn of `0`, while the second one will have `startRow
# 14` (zero-based row 15), and `startColumn 3` (zero-based column D). # 14` (zero-based row 15), and `startColumn 3` (zero-based column D). For a
# DATA_SOURCE sheet, you can not request a specific range, the GridData contains
# all the values.
# Corresponds to the JSON property `data` # Corresponds to the JSON property `data`
# @return [Array<Google::Apis::SheetsV4::GridData>] # @return [Array<Google::Apis::SheetsV4::GridData>]
attr_accessor :data attr_accessor :data
@ -8399,7 +8481,7 @@ module Google
class SheetProperties class SheetProperties
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Additional properties of a SheetType.DATA_SOURCE sheet. # Additional properties of a DATA_SOURCE sheet.
# Corresponds to the JSON property `dataSourceSheetProperties` # Corresponds to the JSON property `dataSourceSheetProperties`
# @return [Google::Apis::SheetsV4::DataSourceSheetProperties] # @return [Google::Apis::SheetsV4::DataSourceSheetProperties]
attr_accessor :data_source_sheet_properties attr_accessor :data_source_sheet_properties
@ -8775,7 +8857,7 @@ module Google
# @return [Google::Apis::SheetsV4::ColorStyle] # @return [Google::Apis::SheetsV4::ColorStyle]
attr_accessor :background_color_style attr_accessor :background_color_style
# An unique identifier that references to a data source column. # An unique identifier that references a data source column.
# Corresponds to the JSON property `dataSourceColumnReference` # Corresponds to the JSON property `dataSourceColumnReference`
# @return [Google::Apis::SheetsV4::DataSourceColumnReference] # @return [Google::Apis::SheetsV4::DataSourceColumnReference]
attr_accessor :data_source_column_reference attr_accessor :data_source_column_reference
@ -10075,9 +10157,9 @@ module Google
end end
# Updates a data source. After the data source is updated successfully, an # Updates a data source. After the data source is updated successfully, an
# execution is triggered to refresh the associated DataSource sheet to read data # execution is triggered to refresh the associated DATA_SOURCE sheet to read
# from the updated data source. The request requires an additional bigquery. # data from the updated data source. The request requires an additional `
# readonly OAuth scope. # bigquery.readonly` OAuth scope.
class UpdateDataSourceRequest class UpdateDataSourceRequest
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -10087,7 +10169,7 @@ module Google
attr_accessor :data_source attr_accessor :data_source
# The fields that should be updated. At least one field must be specified. The # The fields that should be updated. At least one field must be specified. The
# root 'dataSource' is implied and should not be specified. A single `"*"` can # root `dataSource` is implied and should not be specified. A single `"*"` can
# be used as short-hand for listing every field. # be used as short-hand for listing every field.
# Corresponds to the JSON property `fields` # Corresponds to the JSON property `fields`
# @return [String] # @return [String]
@ -10108,7 +10190,15 @@ module Google
class UpdateDataSourceResponse class UpdateDataSourceResponse
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# The data execution status. # The data execution status. A data execution is created to sync a data source
# object with the latest data from a DataSource. It is usually scheduled to run
# at background, you can check its state to tell if an execution completes There
# are several scenarios where a data execution is triggered to run: * Adding a
# data source creates an associated data source sheet as well as a data
# execution to sync the data from the data source to the sheet. * Updating a
# data source creates a data execution to refresh the associated data source
# sheet similarly. * You can send refresh request to explicitly refresh one or
# multiple data source objects.
# Corresponds to the JSON property `dataExecutionStatus` # Corresponds to the JSON property `dataExecutionStatus`
# @return [Google::Apis::SheetsV4::DataExecutionStatus] # @return [Google::Apis::SheetsV4::DataExecutionStatus]
attr_accessor :data_execution_status attr_accessor :data_execution_status
@ -10225,7 +10315,7 @@ module Google
class UpdateDimensionPropertiesRequest class UpdateDimensionPropertiesRequest
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# A range along a single dimension on a DataSource sheet. # A range along a single dimension on a DATA_SOURCE sheet.
# Corresponds to the JSON property `dataSourceSheetRange` # Corresponds to the JSON property `dataSourceSheetRange`
# @return [Google::Apis::SheetsV4::DataSourceSheetDimensionRange] # @return [Google::Apis::SheetsV4::DataSourceSheetDimensionRange]
attr_accessor :data_source_sheet_range attr_accessor :data_source_sheet_range

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/text-to-speech/ # @see https://cloud.google.com/text-to-speech/
module TexttospeechV1beta1 module TexttospeechV1beta1
VERSION = 'V1beta1' VERSION = 'V1beta1'
REVISION = '20200902' REVISION = '20200921'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -25,7 +25,7 @@ module Google
# @see https://firebase.google.com/docs/test-lab/ # @see https://firebase.google.com/docs/test-lab/
module ToolresultsV1beta3 module ToolresultsV1beta3
VERSION = 'V1beta3' VERSION = 'V1beta3'
REVISION = '20200824' REVISION = '20200928'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/translate/docs/quickstarts # @see https://cloud.google.com/translate/docs/quickstarts
module TranslateV3 module TranslateV3
VERSION = 'V3' VERSION = 'V3'
REVISION = '20200807' REVISION = '20200925'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -157,8 +157,8 @@ module Google
class DetectLanguageResponse class DetectLanguageResponse
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# A list of detected languages sorted by detection confidence in descending # The most probable language detected by the Translation API. For each request,
# order. The most probable language first. # the Translation API will always return only one result.
# Corresponds to the JSON property `languages` # Corresponds to the JSON property `languages`
# @return [Array<Google::Apis::TranslateV3::DetectedLanguage>] # @return [Array<Google::Apis::TranslateV3::DetectedLanguage>]
attr_accessor :languages attr_accessor :languages

View File

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

View File

@ -1511,7 +1511,7 @@ module Google
# The *part* parameter specifies a comma-separated list of one or more # The *part* parameter specifies a comma-separated list of one or more
# liveBroadcast resource properties that the API response will include. The part # liveBroadcast resource properties that the API response will include. The part
# names that you can include in the parameter value are id, snippet, # names that you can include in the parameter value are id, snippet,
# contentDetails, and status. # contentDetails, status and statistics.
# @param [String] broadcast_status # @param [String] broadcast_status
# Return broadcasts with a certain status, e.g. active broadcasts. # Return broadcasts with a certain status, e.g. active broadcasts.
# @param [String] broadcast_type # @param [String] broadcast_type