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/purchaseType": purchase_type
"/androidpublisher:v3/ProductPurchase/quantity": quantity
"/androidpublisher:v3/ProductPurchase/regionCode": region_code
"/androidpublisher:v3/ProductPurchasesAcknowledgeRequest": product_purchases_acknowledge_request
"/androidpublisher:v3/ProductPurchasesAcknowledgeRequest/developerPayload": developer_payload
"/androidpublisher:v3/Prorate": prorate
@ -14288,6 +14289,40 @@
"/artifactregistry:v1beta1/fields": fields
"/artifactregistry:v1beta1/key": key
"/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/complianceRegime": compliance_regime
"/assuredworkloads:v1beta1/GoogleCloudAssuredworkloadsV1beta1CreateWorkloadOperationMetadata/createTime": create_time
@ -102637,6 +102672,8 @@
"/genomics:v2alpha1/Event/details": details
"/genomics:v2alpha1/Event/details/detail": detail
"/genomics:v2alpha1/Event/timestamp": timestamp
"/genomics:v2alpha1/ExistingDisk": existing_disk
"/genomics:v2alpha1/ExistingDisk/disk": disk
"/genomics:v2alpha1/FailedEvent": failed_event
"/genomics:v2alpha1/FailedEvent/cause": cause
"/genomics:v2alpha1/FailedEvent/code": code
@ -102699,6 +102736,10 @@
"/genomics:v2alpha1/OperationMetadata/runtimeMetadata": runtime_metadata
"/genomics:v2alpha1/OperationMetadata/runtimeMetadata/runtime_metadatum": runtime_metadatum
"/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/actions": actions
"/genomics:v2alpha1/Pipeline/actions/action": action
@ -102763,6 +102804,12 @@
"/genomics:v2alpha1/VirtualMachine/nvidiaDriverVersion": nvidia_driver_version
"/genomics:v2alpha1/VirtualMachine/preemptible": preemptible
"/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/instance": instance
"/genomics:v2alpha1/WorkerAssignedEvent/machineType": machine_type

View File

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

View File

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

View File

@ -1225,6 +1225,12 @@ module Google
# @return [Fixnum]
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)
update!(**args)
end
@ -1244,6 +1250,7 @@ module Google
@purchase_token = args[:purchase_token] if args.key?(:purchase_token)
@purchase_type = args[:purchase_type] if args.key?(:purchase_type)
@quantity = args[:quantity] if args.key?(:quantity)
@region_code = args[:region_code] if args.key?(:region_code)
end
end

View File

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

View File

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

View File

@ -3749,8 +3749,8 @@ module Google
include Google::Apis::Core::Hashable
# Required. Primary GCP region for analytics data storage. For valid values, see
# [Create an organization](https://docs.apigee.com/hybrid/latest/precog-
# provision).
# [Create an Apigee organization](https://cloud.google.com/apigee/docs/api-
# platform/get-started/create-org).
# Corresponds to the JSON property `analyticsRegion`
# @return [String]
attr_accessor :analytics_region
@ -5264,8 +5264,8 @@ module Google
# 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.
# The service accounts must have **Apigee Synchronizer Manager** role. See also [
# Create service accounts](https://docs.apigee.com/hybrid/latest/sa-about#create-
# the-service-accounts).
# Create service accounts](https://cloud.google.com/apigee/docs/hybrid/latest/sa-
# about#create-the-service-accounts).
# Corresponds to the JSON property `identities`
# @return [Array<String>]
attr_accessor :identities

View File

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

View File

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

View File

@ -22,6 +22,270 @@ module Google
module Apis
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.
class GoogleCloudAssuredworkloadsV1beta1CreateWorkloadOperationMetadata
include Google::Apis::Core::Hashable

View File

@ -22,6 +22,54 @@ module Google
module Apis
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 Representation < Google::Apis::Core::JsonRepresentation; end
@ -100,6 +148,87 @@ module Google
include Google::Apis::Core::JsonObjectSupport
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
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

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

View File

@ -565,6 +565,32 @@ module Google
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
# other events can continue to occur after this event.
class FailedEvent
@ -900,6 +926,43 @@ module Google
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.
class Pipeline
include Google::Apis::Core::Hashable
@ -1342,6 +1405,11 @@ module Google
# @return [Google::Apis::GenomicsV2alpha1::ServiceAccount]
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)
update!(**args)
end
@ -1361,6 +1429,42 @@ module Google
@nvidia_driver_version = args[:nvidia_driver_version] if args.key?(:nvidia_driver_version)
@preemptible = args[:preemptible] if args.key?(:preemptible)
@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

View File

@ -106,6 +106,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class ExistingDisk
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class FailedEvent
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -154,6 +160,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class PersistentDisk
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Pipeline
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -232,6 +244,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class Volume
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class WorkerAssignedEvent
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -384,6 +402,13 @@ module Google
end
end
class ExistingDisk
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :disk, as: 'disk'
end
end
class FailedEvent
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -470,6 +495,15 @@ module Google
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
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -591,6 +625,19 @@ module Google
property :preemptible, as: 'preemptible'
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

View File

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

View File

@ -125,9 +125,9 @@ module Google
end
# 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
# to read data from the data source. The request requires an additional bigquery.
# readonly OAuth scope.
# DATA_SOURCE sheet is created and an execution is triggered to refresh the
# sheet to read data from the data source. The request requires an additional `
# bigquery.readonly` OAuth scope.
class AddDataSourceRequest
include Google::Apis::Core::Hashable
@ -150,7 +150,15 @@ module Google
class AddDataSourceResponse
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`
# @return [Google::Apis::SheetsV4::DataExecutionStatus]
attr_accessor :data_execution_status
@ -563,7 +571,7 @@ module Google
class AutoResizeDimensionsRequest
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`
# @return [Google::Apis::SheetsV4::DataSourceSheetDimensionRange]
attr_accessor :data_source_sheet_dimensions
@ -1320,7 +1328,8 @@ module Google
include Google::Apis::Core::Hashable
# 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`
# @return [Hash<String,Google::Apis::SheetsV4::FilterCriteria>]
attr_accessor :criteria
@ -1840,7 +1849,7 @@ module Google
end
end
# The specification of a BigQuery data source.
# The specification of a BigQuery data source that's connected to a sheet.
class BigQueryDataSourceSpec
include Google::Apis::Core::Hashable
@ -1855,7 +1864,8 @@ module Google
# @return [Google::Apis::SheetsV4::BigQueryQuerySpec]
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`
# @return [Google::Apis::SheetsV4::BigQueryTableSpec]
attr_accessor :table_spec
@ -1891,7 +1901,8 @@ module Google
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
include Google::Apis::Core::Hashable
@ -2346,8 +2357,9 @@ module Google
# @return [Google::Apis::SheetsV4::DataSourceFormula]
attr_accessor :data_source_formula
# A data source table, allowing to import a static table of data from the
# DataSource into Sheets. This is also known as "Extract" in the Sheets editor.
# A data source table, which allows the user to import a static table of data
# from the DataSource into Sheets. This is also known as "Extract" in the Sheets
# editor.
# Corresponds to the JSON property `dataSourceTable`
# @return [Google::Apis::SheetsV4::DataSourceTable]
attr_accessor :data_source_table
@ -2631,7 +2643,7 @@ module Google
# @return [String]
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`
# @return [Google::Apis::SheetsV4::DataSourceColumnReference]
attr_accessor :column_reference
@ -3461,7 +3473,15 @@ module Google
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
include Google::Apis::Core::Hashable
@ -3592,20 +3612,22 @@ module Google
# @return [Array<Google::Apis::SheetsV4::DataSourceColumn>]
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`
# @return [String]
attr_accessor :data_source_id
# 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.
# DATA_SOURCE sheet is also created, if the field is not specified, the ID of
# the created sheet will be randomly generated.
# changed once set. When creating a data source, an associated DATA_SOURCE sheet
# is also created, if the field is not specified, the ID of the created sheet
# will be randomly generated.
# Corresponds to the JSON property `sheetId`
# @return [Fixnum]
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`
# @return [Google::Apis::SheetsV4::DataSourceSpec]
attr_accessor :spec
@ -3627,7 +3649,15 @@ module Google
class DataSourceChartProperties
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`
# @return [Google::Apis::SheetsV4::DataExecutionStatus]
attr_accessor :data_execution_status
@ -3648,7 +3678,7 @@ module Google
end
end
# A data source column.
# A column in a data source.
class DataSourceColumn
include Google::Apis::Core::Hashable
@ -3657,7 +3687,7 @@ module Google
# @return [String]
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`
# @return [Google::Apis::SheetsV4::DataSourceColumnReference]
attr_accessor :reference
@ -3673,7 +3703,7 @@ module Google
end
end
# An unique identifier that references to a data source column.
# An unique identifier that references a data source column.
class DataSourceColumnReference
include Google::Apis::Core::Hashable
@ -3696,7 +3726,15 @@ module Google
class DataSourceFormula
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`
# @return [Google::Apis::SheetsV4::DataExecutionStatus]
attr_accessor :data_execution_status
@ -3721,7 +3759,7 @@ module Google
class DataSourceObjectReference
include Google::Apis::Core::Hashable
# References to a DataSourceChart.
# References to a data source chart.
# Corresponds to the JSON property `chartId`
# @return [Fixnum]
attr_accessor :chart_id
@ -3741,7 +3779,7 @@ module Google
# @return [Google::Apis::SheetsV4::GridCoordinate]
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`
# @return [String]
attr_accessor :sheet_id
@ -3779,13 +3817,14 @@ module Google
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.
class DataSourceParameter
include Google::Apis::Core::Hashable
# 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`
# @return [String]
attr_accessor :name
@ -3824,7 +3863,7 @@ module Google
end
end
# Schedule refreshes in a time interval everyday.
# A schedule for data to refresh every day in a given time interval.
class DataSourceRefreshDailySchedule
include Google::Apis::Core::Hashable
@ -3845,8 +3884,8 @@ module Google
end
end
# Schedule refreshes in a time interval on specified days in a month and repeats
# monthly.
# A monthly schedule for data to refresh on specific days in the month in a
# given time interval.
class DataSourceRefreshMonthlySchedule
include Google::Apis::Core::Hashable
@ -3874,15 +3913,15 @@ module Google
end
end
# The data source refresh schedule. All data sources in the spreadsheet are
# scheduled to refresh in a future time interval. The time interval size
# defaults to the one defined in the Sheets editor. For example, if a daily
# schedule at start time of 8am is scheduled, and the time interval is 4 hours,
# the scheduled refresh will happen between 8am and 12pm every day.
# Schedule for refreshing the data source. Data sources in the spreadsheet are
# refreshed within a time interval. You can specify the start time by clicking
# the Scheduled Refresh button in the Sheets editor, but the interval is fixed
# at 4 hours. For example, if you specify a start time of 8am , the refresh will
# take place between 8am and 12pm every day.
class DataSourceRefreshSchedule
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`
# @return [Google::Apis::SheetsV4::DataSourceRefreshDailySchedule]
attr_accessor :daily_schedule
@ -3893,8 +3932,8 @@ module Google
attr_accessor :enabled
alias_method :enabled?, :enabled
# Schedule refreshes in a time interval on specified days in a month and repeats
# monthly.
# A monthly schedule for data to refresh on specific days in the month in a
# given time interval.
# Corresponds to the JSON property `monthlySchedule`
# @return [Google::Apis::SheetsV4::DataSourceRefreshMonthlySchedule]
attr_accessor :monthly_schedule
@ -3907,13 +3946,13 @@ module Google
# @return [Google::Apis::SheetsV4::Interval]
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`
# @return [String]
attr_accessor :refresh_scope
# Schedule refreshes in a time interval on specified days in a week and repeats
# weekly.
# A weekly schedule for data to refresh on specific days in a given time
# interval.
# Corresponds to the JSON property `weeklySchedule`
# @return [Google::Apis::SheetsV4::DataSourceRefreshWeeklySchedule]
attr_accessor :weekly_schedule
@ -3933,8 +3972,8 @@ module Google
end
end
# Schedule refreshes in a time interval on specified days in a week and repeats
# weekly.
# A weekly schedule for data to refresh on specific days in a given time
# interval.
class DataSourceRefreshWeeklySchedule
include Google::Apis::Core::Hashable
@ -3961,7 +4000,7 @@ module Google
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
include Google::Apis::Core::Hashable
@ -3986,7 +4025,7 @@ module Google
end
end
# Additional properties of a SheetType.DATA_SOURCE sheet.
# Additional properties of a DATA_SOURCE sheet.
class DataSourceSheetProperties
include Google::Apis::Core::Hashable
@ -3995,12 +4034,20 @@ module Google
# @return [Array<Google::Apis::SheetsV4::DataSourceColumn>]
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`
# @return [Google::Apis::SheetsV4::DataExecutionStatus]
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`
# @return [String]
attr_accessor :data_source_id
@ -4017,16 +4064,17 @@ module Google
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
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`
# @return [Google::Apis::SheetsV4::BigQueryDataSourceSpec]
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`
# @return [Array<Google::Apis::SheetsV4::DataSourceParameter>]
attr_accessor :parameters
@ -4042,8 +4090,9 @@ module Google
end
end
# A data source table, allowing to import a static table of data from the
# DataSource into Sheets. This is also known as "Extract" in the Sheets editor.
# A data source table, which allows the user to import a static table of data
# from the DataSource into Sheets. This is also known as "Extract" in the Sheets
# editor.
class DataSourceTable
include Google::Apis::Core::Hashable
@ -4058,7 +4107,15 @@ module Google
# @return [Array<Google::Apis::SheetsV4::DataSourceColumnReference>]
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`
# @return [Google::Apis::SheetsV4::DataExecutionStatus]
attr_accessor :data_execution_status
@ -4539,7 +4596,8 @@ module Google
class DeleteSheetRequest
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`
# @return [Fixnum]
attr_accessor :sheet_id
@ -4776,7 +4834,7 @@ module Google
class DimensionProperties
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`
# @return [Google::Apis::SheetsV4::DataSourceColumnReference]
attr_accessor :data_source_column_reference
@ -4915,7 +4973,10 @@ module Google
# @return [String]
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`
# @return [Fixnum]
attr_accessor :source_sheet_id
@ -5269,7 +5330,7 @@ module Google
# @return [Fixnum]
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`
# @return [Google::Apis::SheetsV4::DataSourceColumnReference]
attr_accessor :data_source_column_reference
@ -5296,7 +5357,8 @@ module Google
include Google::Apis::Core::Hashable
# 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`
# @return [Hash<String,Google::Apis::SheetsV4::FilterCriteria>]
attr_accessor :criteria
@ -6816,7 +6878,7 @@ module Google
# @return [Fixnum]
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`
# @return [Google::Apis::SheetsV4::DataSourceColumnReference]
attr_accessor :data_source_column_reference
@ -6842,7 +6904,7 @@ module Google
class PivotGroup
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`
# @return [Google::Apis::SheetsV4::DataSourceColumnReference]
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
# 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 `
# D`.
# D`. This field is deprecated in favor of filter_specs.
# Corresponds to the JSON property `criteria`
# @return [Hash<String,Google::Apis::SheetsV4::PivotFilterCriteria>]
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`
# @return [Google::Apis::SheetsV4::DataExecutionStatus]
attr_accessor :data_execution_status
@ -7194,7 +7264,7 @@ module Google
# @return [String]
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`
# @return [Google::Apis::SheetsV4::DataSourceColumnReference]
attr_accessor :data_source_column_reference
@ -7358,7 +7428,15 @@ module Google
class RefreshDataSourceObjectExecutionStatus
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`
# @return [Google::Apis::SheetsV4::DataExecutionStatus]
attr_accessor :data_execution_status
@ -7380,8 +7458,8 @@ module Google
end
# Refreshes one or multiple data source objects in the spreadsheet by the
# specified references. The request requires an additional bigquery.readonly
# OAuth scope. If there're multiple refresh requests referencing the same data
# specified references. The request requires an additional `bigquery.readonly`
# 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
# all those requests will have the same response accordingly.
class RefreshDataSourceRequest
@ -7519,9 +7597,9 @@ module Google
attr_accessor :add_conditional_format_rule
# 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
# to read data from the data source. The request requires an additional bigquery.
# readonly OAuth scope.
# DATA_SOURCE sheet is created and an execution is triggered to refresh the
# sheet to read data from the data source. The request requires an additional `
# bigquery.readonly` OAuth scope.
# Corresponds to the JSON property `addDataSource`
# @return [Google::Apis::SheetsV4::AddDataSourceRequest]
attr_accessor :add_data_source
@ -7736,8 +7814,8 @@ module Google
attr_accessor :randomize_range
# Refreshes one or multiple data source objects in the spreadsheet by the
# specified references. The request requires an additional bigquery.readonly
# OAuth scope. If there're multiple refresh requests referencing the same data
# specified references. The request requires an additional `bigquery.readonly`
# 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
# all those requests will have the same response accordingly.
# Corresponds to the JSON property `refreshDataSource`
@ -7826,9 +7904,9 @@ module Google
attr_accessor :update_conditional_format_rule
# Updates a data source. After the data source is updated successfully, an
# execution is triggered to refresh the associated DataSource sheet to read data
# from the updated data source. The request requires an additional bigquery.
# readonly OAuth scope.
# execution is triggered to refresh the associated DATA_SOURCE sheet to read
# data from the updated data source. The request requires an additional `
# bigquery.readonly` OAuth scope.
# Corresponds to the JSON property `updateDataSource`
# @return [Google::Apis::SheetsV4::UpdateDataSourceRequest]
attr_accessor :update_data_source
@ -8141,7 +8219,9 @@ module Google
include Google::Apis::Core::Hashable
# 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`
# @return [String]
attr_accessor :aggregate_type
@ -8332,7 +8412,9 @@ module Google
# 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
# 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`
# @return [Array<Google::Apis::SheetsV4::GridData>]
attr_accessor :data
@ -8399,7 +8481,7 @@ module Google
class SheetProperties
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`
# @return [Google::Apis::SheetsV4::DataSourceSheetProperties]
attr_accessor :data_source_sheet_properties
@ -8775,7 +8857,7 @@ module Google
# @return [Google::Apis::SheetsV4::ColorStyle]
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`
# @return [Google::Apis::SheetsV4::DataSourceColumnReference]
attr_accessor :data_source_column_reference
@ -10075,9 +10157,9 @@ module Google
end
# Updates a data source. After the data source is updated successfully, an
# execution is triggered to refresh the associated DataSource sheet to read data
# from the updated data source. The request requires an additional bigquery.
# readonly OAuth scope.
# execution is triggered to refresh the associated DATA_SOURCE sheet to read
# data from the updated data source. The request requires an additional `
# bigquery.readonly` OAuth scope.
class UpdateDataSourceRequest
include Google::Apis::Core::Hashable
@ -10087,7 +10169,7 @@ module Google
attr_accessor :data_source
# 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.
# Corresponds to the JSON property `fields`
# @return [String]
@ -10108,7 +10190,15 @@ module Google
class UpdateDataSourceResponse
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`
# @return [Google::Apis::SheetsV4::DataExecutionStatus]
attr_accessor :data_execution_status
@ -10225,7 +10315,7 @@ module Google
class UpdateDimensionPropertiesRequest
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`
# @return [Google::Apis::SheetsV4::DataSourceSheetDimensionRange]
attr_accessor :data_source_sheet_range

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/text-to-speech/
module TexttospeechV1beta1
VERSION = 'V1beta1'
REVISION = '20200902'
REVISION = '20200921'
# View and manage your data across Google Cloud Platform services
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/
module ToolresultsV1beta3
VERSION = 'V1beta3'
REVISION = '20200824'
REVISION = '20200928'
# View and manage your data across Google Cloud Platform services
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
module TranslateV3
VERSION = 'V3'
REVISION = '20200807'
REVISION = '20200925'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

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

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/youtube/
module YoutubeV3
VERSION = 'V3'
REVISION = '20200921'
REVISION = '20200927'
# Manage your YouTube account
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
# liveBroadcast resource properties that the API response will include. The part
# names that you can include in the parameter value are id, snippet,
# contentDetails, and status.
# contentDetails, status and statistics.
# @param [String] broadcast_status
# Return broadcasts with a certain status, e.g. active broadcasts.
# @param [String] broadcast_type