Autogenerated update (2020-10-10)

Update:
- lifesciences_v2beta
- sqladmin_v1beta4
- workflows_v1beta
- youtube_partner_v1
This commit is contained in:
Google APIs 2020-10-10 00:39:11 +00:00
parent b4892f8e55
commit fcfe9573ea
10 changed files with 242 additions and 11 deletions

View File

@ -110920,6 +110920,8 @@
"/lifesciences:v2beta/Event/unexpectedExitStatus": unexpected_exit_status
"/lifesciences:v2beta/Event/workerAssigned": worker_assigned
"/lifesciences:v2beta/Event/workerReleased": worker_released
"/lifesciences:v2beta/ExistingDisk": existing_disk
"/lifesciences:v2beta/ExistingDisk/disk": disk
"/lifesciences:v2beta/FailedEvent": failed_event
"/lifesciences:v2beta/FailedEvent/cause": cause
"/lifesciences:v2beta/FailedEvent/code": code
@ -110964,6 +110966,10 @@
"/lifesciences:v2beta/Operation/name": name
"/lifesciences:v2beta/Operation/response": response
"/lifesciences:v2beta/Operation/response/response": response
"/lifesciences:v2beta/PersistentDisk": persistent_disk
"/lifesciences:v2beta/PersistentDisk/sizeGb": size_gb
"/lifesciences:v2beta/PersistentDisk/sourceImage": source_image
"/lifesciences:v2beta/PersistentDisk/type": type
"/lifesciences:v2beta/Pipeline": pipeline
"/lifesciences:v2beta/Pipeline/actions": actions
"/lifesciences:v2beta/Pipeline/actions/action": action
@ -111020,6 +111026,12 @@
"/lifesciences:v2beta/VirtualMachine/nvidiaDriverVersion": nvidia_driver_version
"/lifesciences:v2beta/VirtualMachine/preemptible": preemptible
"/lifesciences:v2beta/VirtualMachine/serviceAccount": service_account
"/lifesciences:v2beta/VirtualMachine/volumes": volumes
"/lifesciences:v2beta/VirtualMachine/volumes/volume": volume
"/lifesciences:v2beta/Volume": volume
"/lifesciences:v2beta/Volume/existingDisk": existing_disk
"/lifesciences:v2beta/Volume/persistentDisk": persistent_disk
"/lifesciences:v2beta/Volume/volume": volume
"/lifesciences:v2beta/WorkerAssignedEvent": worker_assigned_event
"/lifesciences:v2beta/WorkerAssignedEvent/instance": instance
"/lifesciences:v2beta/WorkerAssignedEvent/machineType": machine_type
@ -138718,6 +138730,7 @@
"/sqladmin:v1beta4/ApiWarning/code": code
"/sqladmin:v1beta4/ApiWarning/message": message
"/sqladmin:v1beta4/BackupConfiguration": backup_configuration
"/sqladmin:v1beta4/BackupConfiguration/backupRetentionSettings": backup_retention_settings
"/sqladmin:v1beta4/BackupConfiguration/binaryLogEnabled": binary_log_enabled
"/sqladmin:v1beta4/BackupConfiguration/enabled": enabled
"/sqladmin:v1beta4/BackupConfiguration/kind": kind
@ -138725,6 +138738,10 @@
"/sqladmin:v1beta4/BackupConfiguration/pointInTimeRecoveryEnabled": point_in_time_recovery_enabled
"/sqladmin:v1beta4/BackupConfiguration/replicationLogArchivingEnabled": replication_log_archiving_enabled
"/sqladmin:v1beta4/BackupConfiguration/startTime": start_time
"/sqladmin:v1beta4/BackupConfiguration/transactionLogRetentionDays": transaction_log_retention_days
"/sqladmin:v1beta4/BackupRetentionSettings": backup_retention_settings
"/sqladmin:v1beta4/BackupRetentionSettings/retainedBackups": retained_backups
"/sqladmin:v1beta4/BackupRetentionSettings/retentionUnit": retention_unit
"/sqladmin:v1beta4/BackupRun": backup_run
"/sqladmin:v1beta4/BackupRun/backupKind": backup_kind
"/sqladmin:v1beta4/BackupRun/description": description

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/life-sciences
module LifesciencesV2beta
VERSION = 'V2beta'
REVISION = '20200806'
REVISION = '20201001'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -538,6 +538,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
@ -839,6 +865,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
@ -1228,6 +1291,11 @@ module Google
# @return [Google::Apis::LifesciencesV2beta::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::LifesciencesV2beta::Volume>]
attr_accessor :volumes
def initialize(**args)
update!(**args)
end
@ -1247,6 +1315,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::LifesciencesV2beta::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::LifesciencesV2beta::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

@ -82,6 +82,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
@ -130,6 +136,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
@ -196,6 +208,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
@ -325,6 +343,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
@ -406,6 +431,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
@ -510,6 +544,19 @@ module Google
property :preemptible, as: 'preemptible'
property :service_account, as: 'serviceAccount', class: Google::Apis::LifesciencesV2beta::ServiceAccount, decorator: Google::Apis::LifesciencesV2beta::ServiceAccount::Representation
collection :volumes, as: 'volumes', class: Google::Apis::LifesciencesV2beta::Volume, decorator: Google::Apis::LifesciencesV2beta::Volume::Representation
end
end
class Volume
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :existing_disk, as: 'existingDisk', class: Google::Apis::LifesciencesV2beta::ExistingDisk, decorator: Google::Apis::LifesciencesV2beta::ExistingDisk::Representation
property :persistent_disk, as: 'persistentDisk', class: Google::Apis::LifesciencesV2beta::PersistentDisk, decorator: Google::Apis::LifesciencesV2beta::PersistentDisk::Representation
property :volume, as: 'volume'
end
end

View File

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

View File

@ -89,6 +89,12 @@ module Google
class BackupConfiguration
include Google::Apis::Core::Hashable
# We currently only support backup retention by specifying the number of backups
# we will retain.
# Corresponds to the JSON property `backupRetentionSettings`
# @return [Google::Apis::SqladminV1beta4::BackupRetentionSettings]
attr_accessor :backup_retention_settings
# (MySQL only) Whether binary log is enabled. If backup configuration is
# disabled, binarylog must be disabled as well.
# Corresponds to the JSON property `binaryLogEnabled`
@ -130,12 +136,19 @@ module Google
# @return [String]
attr_accessor :start_time
# The number of days of transaction logs we retain for point in time restore,
# from 1-7.
# Corresponds to the JSON property `transactionLogRetentionDays`
# @return [Fixnum]
attr_accessor :transaction_log_retention_days
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@backup_retention_settings = args[:backup_retention_settings] if args.key?(:backup_retention_settings)
@binary_log_enabled = args[:binary_log_enabled] if args.key?(:binary_log_enabled)
@enabled = args[:enabled] if args.key?(:enabled)
@kind = args[:kind] if args.key?(:kind)
@ -143,6 +156,35 @@ module Google
@point_in_time_recovery_enabled = args[:point_in_time_recovery_enabled] if args.key?(:point_in_time_recovery_enabled)
@replication_log_archiving_enabled = args[:replication_log_archiving_enabled] if args.key?(:replication_log_archiving_enabled)
@start_time = args[:start_time] if args.key?(:start_time)
@transaction_log_retention_days = args[:transaction_log_retention_days] if args.key?(:transaction_log_retention_days)
end
end
# We currently only support backup retention by specifying the number of backups
# we will retain.
class BackupRetentionSettings
include Google::Apis::Core::Hashable
# Depending on the value of retention_unit, this is used to determine if a
# backup needs to be deleted. If retention_unit is 'COUNT', we will retain this
# many backups.
# Corresponds to the JSON property `retainedBackups`
# @return [Fixnum]
attr_accessor :retained_backups
# The unit that 'retained_backups' represents.
# Corresponds to the JSON property `retentionUnit`
# @return [String]
attr_accessor :retention_unit
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@retained_backups = args[:retained_backups] if args.key?(:retained_backups)
@retention_unit = args[:retention_unit] if args.key?(:retention_unit)
end
end
@ -626,11 +668,13 @@ module Google
attr_accessor :settings
# The current serving state of the Cloud SQL instance. This can be one of the
# following. *RUNNABLE*: The instance is running, or is ready to run when
# accessed. *SUSPENDED*: The instance is not available, for example due to
# problems with billing. *PENDING_CREATE*: The instance is being created. *
# MAINTENANCE*: The instance is down for maintenance. *FAILED*: The instance
# creation failed. *UNKNOWN_STATE*: The state of the instance is unknown.
# following. *SQL_INSTANCE_STATE_UNSPECIFIED*: The state of the instance is
# unknown. *RUNNABLE*: The instance has been stopped by owner. It is not
# currently running, but it's ready to be restarted. *SUSPENDED*: The instance
# is not available, for example due to problems with billing. for example due to
# problems with billing. *PENDING_DELETE*: The instance is being deleted. *
# PENDING_CREATE*: The instance is being created. *MAINTENANCE*: The instance is
# down for maintenance. *FAILED*: The instance creation failed.
# Corresponds to the JSON property `state`
# @return [String]
attr_accessor :state

View File

@ -40,6 +40,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class BackupRetentionSettings
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class BackupRun
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -475,6 +481,8 @@ module Google
class BackupConfiguration
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :backup_retention_settings, as: 'backupRetentionSettings', class: Google::Apis::SqladminV1beta4::BackupRetentionSettings, decorator: Google::Apis::SqladminV1beta4::BackupRetentionSettings::Representation
property :binary_log_enabled, as: 'binaryLogEnabled'
property :enabled, as: 'enabled'
property :kind, as: 'kind'
@ -482,6 +490,15 @@ module Google
property :point_in_time_recovery_enabled, as: 'pointInTimeRecoveryEnabled'
property :replication_log_archiving_enabled, as: 'replicationLogArchivingEnabled'
property :start_time, as: 'startTime'
property :transaction_log_retention_days, as: 'transactionLogRetentionDays'
end
end
class BackupRetentionSettings
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :retained_backups, as: 'retainedBackups'
property :retention_unit, as: 'retentionUnit'
end
end

View File

@ -20,12 +20,13 @@ module Google
module Apis
# Workflows API
#
#
# Orchestrate Workflows consisting of Google Cloud APIs, SaaS APIs or private
# API endpoints.
#
# @see https://cloud.google.com/workflows
module WorkflowsV1beta
VERSION = 'V1beta'
REVISION = '20200828'
REVISION = '20201008'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -22,7 +22,8 @@ module Google
module WorkflowsV1beta
# Workflows API
#
#
# Orchestrate Workflows consisting of Google Cloud APIs, SaaS APIs or private
# API endpoints.
#
# @example
# require 'google/apis/workflows_v1beta'

View File

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