Autogenerated update (2018-05-16)
Update: - admin_reports_v1 - appengine_v1 - appengine_v1beta - cloudiot_v1 - composer_v1beta1 - sqladmin_v1beta4 - youtube_analytics_v2
This commit is contained in:
parent
34c8b8d99c
commit
b2ec73b99e
|
@ -71314,8 +71314,15 @@
|
||||||
"/sqladmin:v1beta4/InstancesListResponse/items/item": item
|
"/sqladmin:v1beta4/InstancesListResponse/items/item": item
|
||||||
"/sqladmin:v1beta4/InstancesListResponse/kind": kind
|
"/sqladmin:v1beta4/InstancesListResponse/kind": kind
|
||||||
"/sqladmin:v1beta4/InstancesListResponse/nextPageToken": next_page_token
|
"/sqladmin:v1beta4/InstancesListResponse/nextPageToken": next_page_token
|
||||||
|
"/sqladmin:v1beta4/InstancesListServerCasResponse": instances_list_server_cas_response
|
||||||
|
"/sqladmin:v1beta4/InstancesListServerCasResponse/activeVersion": active_version
|
||||||
|
"/sqladmin:v1beta4/InstancesListServerCasResponse/certs": certs
|
||||||
|
"/sqladmin:v1beta4/InstancesListServerCasResponse/certs/cert": cert
|
||||||
|
"/sqladmin:v1beta4/InstancesListServerCasResponse/kind": kind
|
||||||
"/sqladmin:v1beta4/InstancesRestoreBackupRequest": restore_instances_backup_request
|
"/sqladmin:v1beta4/InstancesRestoreBackupRequest": restore_instances_backup_request
|
||||||
"/sqladmin:v1beta4/InstancesRestoreBackupRequest/restoreBackupContext": restore_backup_context
|
"/sqladmin:v1beta4/InstancesRestoreBackupRequest/restoreBackupContext": restore_backup_context
|
||||||
|
"/sqladmin:v1beta4/InstancesRotateServerCaRequest": instances_rotate_server_ca_request
|
||||||
|
"/sqladmin:v1beta4/InstancesRotateServerCaRequest/rotateServerCaContext": rotate_server_ca_context
|
||||||
"/sqladmin:v1beta4/InstancesTruncateLogRequest": instances_truncate_log_request
|
"/sqladmin:v1beta4/InstancesTruncateLogRequest": instances_truncate_log_request
|
||||||
"/sqladmin:v1beta4/InstancesTruncateLogRequest/truncateLogContext": truncate_log_context
|
"/sqladmin:v1beta4/InstancesTruncateLogRequest/truncateLogContext": truncate_log_context
|
||||||
"/sqladmin:v1beta4/IpConfiguration": ip_configuration
|
"/sqladmin:v1beta4/IpConfiguration": ip_configuration
|
||||||
|
@ -71388,6 +71395,9 @@
|
||||||
"/sqladmin:v1beta4/RestoreBackupContext/backupRunId": backup_run_id
|
"/sqladmin:v1beta4/RestoreBackupContext/backupRunId": backup_run_id
|
||||||
"/sqladmin:v1beta4/RestoreBackupContext/instanceId": instance_id
|
"/sqladmin:v1beta4/RestoreBackupContext/instanceId": instance_id
|
||||||
"/sqladmin:v1beta4/RestoreBackupContext/kind": kind
|
"/sqladmin:v1beta4/RestoreBackupContext/kind": kind
|
||||||
|
"/sqladmin:v1beta4/RotateServerCaContext": rotate_server_ca_context
|
||||||
|
"/sqladmin:v1beta4/RotateServerCaContext/kind": kind
|
||||||
|
"/sqladmin:v1beta4/RotateServerCaContext/nextVersion": next_version
|
||||||
"/sqladmin:v1beta4/Settings": settings
|
"/sqladmin:v1beta4/Settings": settings
|
||||||
"/sqladmin:v1beta4/Settings/activationPolicy": activation_policy
|
"/sqladmin:v1beta4/Settings/activationPolicy": activation_policy
|
||||||
"/sqladmin:v1beta4/Settings/authorizedGaeApplications": authorized_gae_applications
|
"/sqladmin:v1beta4/Settings/authorizedGaeApplications": authorized_gae_applications
|
||||||
|
@ -71508,6 +71518,9 @@
|
||||||
"/sqladmin:v1beta4/sql.databases.update/project": project
|
"/sqladmin:v1beta4/sql.databases.update/project": project
|
||||||
"/sqladmin:v1beta4/sql.flags.list": list_flags
|
"/sqladmin:v1beta4/sql.flags.list": list_flags
|
||||||
"/sqladmin:v1beta4/sql.flags.list/databaseVersion": database_version
|
"/sqladmin:v1beta4/sql.flags.list/databaseVersion": database_version
|
||||||
|
"/sqladmin:v1beta4/sql.instances.addServerCa": add_instance_server_ca
|
||||||
|
"/sqladmin:v1beta4/sql.instances.addServerCa/instance": instance
|
||||||
|
"/sqladmin:v1beta4/sql.instances.addServerCa/project": project
|
||||||
"/sqladmin:v1beta4/sql.instances.clone": clone_instance
|
"/sqladmin:v1beta4/sql.instances.clone": clone_instance
|
||||||
"/sqladmin:v1beta4/sql.instances.clone/instance": instance
|
"/sqladmin:v1beta4/sql.instances.clone/instance": instance
|
||||||
"/sqladmin:v1beta4/sql.instances.clone/project": project
|
"/sqladmin:v1beta4/sql.instances.clone/project": project
|
||||||
|
@ -71536,6 +71549,9 @@
|
||||||
"/sqladmin:v1beta4/sql.instances.list/maxResults": max_results
|
"/sqladmin:v1beta4/sql.instances.list/maxResults": max_results
|
||||||
"/sqladmin:v1beta4/sql.instances.list/pageToken": page_token
|
"/sqladmin:v1beta4/sql.instances.list/pageToken": page_token
|
||||||
"/sqladmin:v1beta4/sql.instances.list/project": project
|
"/sqladmin:v1beta4/sql.instances.list/project": project
|
||||||
|
"/sqladmin:v1beta4/sql.instances.listServerCas": list_instance_server_cas
|
||||||
|
"/sqladmin:v1beta4/sql.instances.listServerCas/instance": instance
|
||||||
|
"/sqladmin:v1beta4/sql.instances.listServerCas/project": project
|
||||||
"/sqladmin:v1beta4/sql.instances.patch": patch_instance
|
"/sqladmin:v1beta4/sql.instances.patch": patch_instance
|
||||||
"/sqladmin:v1beta4/sql.instances.patch/instance": instance
|
"/sqladmin:v1beta4/sql.instances.patch/instance": instance
|
||||||
"/sqladmin:v1beta4/sql.instances.patch/project": project
|
"/sqladmin:v1beta4/sql.instances.patch/project": project
|
||||||
|
@ -71551,6 +71567,9 @@
|
||||||
"/sqladmin:v1beta4/sql.instances.restoreBackup": restore_instance_backup
|
"/sqladmin:v1beta4/sql.instances.restoreBackup": restore_instance_backup
|
||||||
"/sqladmin:v1beta4/sql.instances.restoreBackup/instance": instance
|
"/sqladmin:v1beta4/sql.instances.restoreBackup/instance": instance
|
||||||
"/sqladmin:v1beta4/sql.instances.restoreBackup/project": project
|
"/sqladmin:v1beta4/sql.instances.restoreBackup/project": project
|
||||||
|
"/sqladmin:v1beta4/sql.instances.rotateServerCa": rotate_instance_server_ca
|
||||||
|
"/sqladmin:v1beta4/sql.instances.rotateServerCa/instance": instance
|
||||||
|
"/sqladmin:v1beta4/sql.instances.rotateServerCa/project": project
|
||||||
"/sqladmin:v1beta4/sql.instances.startReplica": start_instance_replica
|
"/sqladmin:v1beta4/sql.instances.startReplica": start_instance_replica
|
||||||
"/sqladmin:v1beta4/sql.instances.startReplica/instance": instance
|
"/sqladmin:v1beta4/sql.instances.startReplica/instance": instance
|
||||||
"/sqladmin:v1beta4/sql.instances.startReplica/project": project
|
"/sqladmin:v1beta4/sql.instances.startReplica/project": project
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://developers.google.com/admin-sdk/reports/
|
# @see https://developers.google.com/admin-sdk/reports/
|
||||||
module AdminReportsV1
|
module AdminReportsV1
|
||||||
VERSION = 'ReportsV1'
|
VERSION = 'ReportsV1'
|
||||||
REVISION = '20180430'
|
REVISION = '20180514'
|
||||||
|
|
||||||
# View audit reports for your G Suite domain
|
# View audit reports for your G Suite domain
|
||||||
AUTH_ADMIN_REPORTS_AUDIT_READONLY = 'https://www.googleapis.com/auth/admin.reports.audit.readonly'
|
AUTH_ADMIN_REPORTS_AUDIT_READONLY = 'https://www.googleapis.com/auth/admin.reports.audit.readonly'
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://cloud.google.com/appengine/docs/admin-api/
|
# @see https://cloud.google.com/appengine/docs/admin-api/
|
||||||
module AppengineV1
|
module AppengineV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20180320'
|
REVISION = '20180511'
|
||||||
|
|
||||||
# View and manage your applications deployed on Google App Engine
|
# View and manage your applications deployed on Google App Engine
|
||||||
AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'
|
AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'
|
||||||
|
|
|
@ -805,14 +805,21 @@ module Google
|
||||||
# Cloud Endpoints (https://cloud.google.com/endpoints) configuration. The
|
# Cloud Endpoints (https://cloud.google.com/endpoints) configuration. The
|
||||||
# Endpoints API Service provides tooling for serving Open API and gRPC endpoints
|
# Endpoints API Service provides tooling for serving Open API and gRPC endpoints
|
||||||
# via an NGINX proxy. Only valid for App Engine Flexible environment deployments.
|
# via an NGINX proxy. Only valid for App Engine Flexible environment deployments.
|
||||||
# The fields here refer to the name and configuration id of a "service" resource
|
# The fields here refer to the name and configuration ID of a "service" resource
|
||||||
# in the Service Management API (https://cloud.google.com/service-management/
|
# in the Service Management API (https://cloud.google.com/service-management/
|
||||||
# overview).
|
# overview).
|
||||||
class EndpointsApiService
|
class EndpointsApiService
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Endpoints service configuration id as specified by the Service Management API.
|
# Endpoints service configuration ID as specified by the Service Management API.
|
||||||
# For example "2016-09-19r1"
|
# For example "2016-09-19r1".By default, the rollout strategy for Endpoints is
|
||||||
|
# RolloutStrategy.FIXED. This means that Endpoints starts up with a particular
|
||||||
|
# configuration ID. When a new configuration is rolled out, Endpoints must be
|
||||||
|
# given the new configuration ID. The config_id field is used to give the
|
||||||
|
# configuration ID and is required in this case.Endpoints also has a rollout
|
||||||
|
# strategy called RolloutStrategy.MANAGED. When using this, Endpoints fetches
|
||||||
|
# the latest configuration and does not need the configuration ID. In this case,
|
||||||
|
# config_id must be omitted.
|
||||||
# Corresponds to the JSON property `configId`
|
# Corresponds to the JSON property `configId`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :config_id
|
attr_accessor :config_id
|
||||||
|
@ -2694,7 +2701,7 @@ module Google
|
||||||
# Cloud Endpoints (https://cloud.google.com/endpoints) configuration. The
|
# Cloud Endpoints (https://cloud.google.com/endpoints) configuration. The
|
||||||
# Endpoints API Service provides tooling for serving Open API and gRPC endpoints
|
# Endpoints API Service provides tooling for serving Open API and gRPC endpoints
|
||||||
# via an NGINX proxy. Only valid for App Engine Flexible environment deployments.
|
# via an NGINX proxy. Only valid for App Engine Flexible environment deployments.
|
||||||
# The fields here refer to the name and configuration id of a "service" resource
|
# The fields here refer to the name and configuration ID of a "service" resource
|
||||||
# in the Service Management API (https://cloud.google.com/service-management/
|
# in the Service Management API (https://cloud.google.com/service-management/
|
||||||
# overview).
|
# overview).
|
||||||
# Corresponds to the JSON property `endpointsApiService`
|
# Corresponds to the JSON property `endpointsApiService`
|
||||||
|
|
|
@ -1291,38 +1291,47 @@ module Google
|
||||||
|
|
||||||
# Updates the specified Version resource. You can specify the following fields
|
# Updates the specified Version resource. You can specify the following fields
|
||||||
# depending on the App Engine environment and type of scaling that the version
|
# depending on the App Engine environment and type of scaling that the version
|
||||||
# resource uses:
|
# resource uses:Standard environment
|
||||||
# serving_status (https://cloud.google.com/appengine/docs/admin-api/reference/
|
|
||||||
# rest/v1/apps.services.versions#Version.FIELDS.serving_status): For Version
|
|
||||||
# resources that use basic scaling, manual scaling, or run in the App Engine
|
|
||||||
# flexible environment.
|
|
||||||
# instance_class (https://cloud.google.com/appengine/docs/admin-api/reference/
|
# instance_class (https://cloud.google.com/appengine/docs/admin-api/reference/
|
||||||
# rest/v1/apps.services.versions#Version.FIELDS.instance_class): For Version
|
# rest/v1/apps.services.versions#Version.FIELDS.instance_class)automatic scaling
|
||||||
# resources that run in the App Engine standard environment.
|
# in the standard environment:
|
||||||
# automatic_scaling.min_idle_instances (https://cloud.google.com/appengine/docs/
|
# automatic_scaling.min_idle_instances (https://cloud.google.com/appengine/docs/
|
||||||
# admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.
|
# admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.
|
||||||
# automatic_scaling): For Version resources that use automatic scaling and run
|
# automatic_scaling)
|
||||||
# in the App Engine standard environment.
|
|
||||||
# automatic_scaling.max_idle_instances (https://cloud.google.com/appengine/docs/
|
# automatic_scaling.max_idle_instances (https://cloud.google.com/appengine/docs/
|
||||||
# admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.
|
# admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.
|
||||||
# automatic_scaling): For Version resources that use automatic scaling and run
|
# automatic_scaling)
|
||||||
# in the App Engine standard environment.
|
# automaticScaling.standard_scheduler_settings.max_instances (https://cloud.
|
||||||
|
# google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#
|
||||||
|
# StandardSchedulerSettings)
|
||||||
|
# automaticScaling.standard_scheduler_settings.min_instances (https://cloud.
|
||||||
|
# google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#
|
||||||
|
# StandardSchedulerSettings)
|
||||||
|
# automaticScaling.standard_scheduler_settings.target_cpu_utilization (https://
|
||||||
|
# cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.
|
||||||
|
# versions#StandardSchedulerSettings)
|
||||||
|
# automaticScaling.standard_scheduler_settings.target_throughput_utilization (
|
||||||
|
# https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.
|
||||||
|
# services.versions#StandardSchedulerSettings)basic scaling or manual scaling in
|
||||||
|
# the standard environment:
|
||||||
|
# serving_status (https://cloud.google.com/appengine/docs/admin-api/reference/
|
||||||
|
# rest/v1/apps.services.versions#Version.FIELDS.serving_status)Flexible
|
||||||
|
# environment
|
||||||
|
# serving_status (https://cloud.google.com/appengine/docs/admin-api/reference/
|
||||||
|
# rest/v1/apps.services.versions#Version.FIELDS.serving_status)automatic scaling
|
||||||
|
# in the flexible environment:
|
||||||
# automatic_scaling.min_total_instances (https://cloud.google.com/appengine/docs/
|
# automatic_scaling.min_total_instances (https://cloud.google.com/appengine/docs/
|
||||||
# admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.
|
# admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.
|
||||||
# automatic_scaling): For Version resources that use automatic scaling and run
|
# automatic_scaling)
|
||||||
# in the App Engine flexible environment.
|
|
||||||
# automatic_scaling.max_total_instances (https://cloud.google.com/appengine/docs/
|
# automatic_scaling.max_total_instances (https://cloud.google.com/appengine/docs/
|
||||||
# admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.
|
# admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.
|
||||||
# automatic_scaling): For Version resources that use automatic scaling and run
|
# automatic_scaling)
|
||||||
# in the App Engine flexible environment.
|
|
||||||
# automatic_scaling.cool_down_period_sec (https://cloud.google.com/appengine/
|
# automatic_scaling.cool_down_period_sec (https://cloud.google.com/appengine/
|
||||||
# docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.
|
# docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.
|
||||||
# automatic_scaling): For Version resources that use automatic scaling and run
|
# automatic_scaling)
|
||||||
# in the App Engine flexible environment.
|
|
||||||
# automatic_scaling.cpu_utilization.target_utilization (https://cloud.google.com/
|
# automatic_scaling.cpu_utilization.target_utilization (https://cloud.google.com/
|
||||||
# appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.
|
# appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.
|
||||||
# FIELDS.automatic_scaling): For Version resources that use automatic scaling
|
# FIELDS.automatic_scaling)
|
||||||
# and run in the App Engine flexible environment.
|
|
||||||
# @param [String] apps_id
|
# @param [String] apps_id
|
||||||
# Part of `name`. Name of the resource to update. Example: apps/myapp/services/
|
# Part of `name`. Name of the resource to update. Example: apps/myapp/services/
|
||||||
# default/versions/1.
|
# default/versions/1.
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://cloud.google.com/appengine/docs/admin-api/
|
# @see https://cloud.google.com/appengine/docs/admin-api/
|
||||||
module AppengineV1beta
|
module AppengineV1beta
|
||||||
VERSION = 'V1beta'
|
VERSION = 'V1beta'
|
||||||
REVISION = '20180320'
|
REVISION = '20180511'
|
||||||
|
|
||||||
# View and manage your applications deployed on Google App Engine
|
# View and manage your applications deployed on Google App Engine
|
||||||
AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'
|
AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'
|
||||||
|
|
|
@ -890,17 +890,21 @@ module Google
|
||||||
# Cloud Endpoints (https://cloud.google.com/endpoints) configuration. The
|
# Cloud Endpoints (https://cloud.google.com/endpoints) configuration. The
|
||||||
# Endpoints API Service provides tooling for serving Open API and gRPC endpoints
|
# Endpoints API Service provides tooling for serving Open API and gRPC endpoints
|
||||||
# via an NGINX proxy. Only valid for App Engine Flexible environment deployments.
|
# via an NGINX proxy. Only valid for App Engine Flexible environment deployments.
|
||||||
# The fields here refer to the name and configuration id of a "service" resource
|
# The fields here refer to the name and configuration ID of a "service" resource
|
||||||
# in the Service Management API (https://cloud.google.com/service-management/
|
# in the Service Management API (https://cloud.google.com/service-management/
|
||||||
# overview).
|
# overview).
|
||||||
class EndpointsApiService
|
class EndpointsApiService
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Endpoints service configuration id as specified by the Service Management API.
|
# Endpoints service configuration ID as specified by the Service Management API.
|
||||||
# For example "2016-09-19r1"By default, the Endpoints service configuration id
|
# For example "2016-09-19r1".By default, the rollout strategy for Endpoints is
|
||||||
# is fixed and config_id must be specified. To keep the Endpoints service
|
# RolloutStrategy.FIXED. This means that Endpoints starts up with a particular
|
||||||
# configuration id updated with each rollout, specify RolloutStrategy.MANAGED
|
# configuration ID. When a new configuration is rolled out, Endpoints must be
|
||||||
# and omit config_id.
|
# given the new configuration ID. The config_id field is used to give the
|
||||||
|
# configuration ID and is required in this case.Endpoints also has a rollout
|
||||||
|
# strategy called RolloutStrategy.MANAGED. When using this, Endpoints fetches
|
||||||
|
# the latest configuration and does not need to be told the configuration ID. In
|
||||||
|
# this case, config_id must be omitted.
|
||||||
# Corresponds to the JSON property `configId`
|
# Corresponds to the JSON property `configId`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :config_id
|
attr_accessor :config_id
|
||||||
|
@ -2856,7 +2860,7 @@ module Google
|
||||||
# Cloud Endpoints (https://cloud.google.com/endpoints) configuration. The
|
# Cloud Endpoints (https://cloud.google.com/endpoints) configuration. The
|
||||||
# Endpoints API Service provides tooling for serving Open API and gRPC endpoints
|
# Endpoints API Service provides tooling for serving Open API and gRPC endpoints
|
||||||
# via an NGINX proxy. Only valid for App Engine Flexible environment deployments.
|
# via an NGINX proxy. Only valid for App Engine Flexible environment deployments.
|
||||||
# The fields here refer to the name and configuration id of a "service" resource
|
# The fields here refer to the name and configuration ID of a "service" resource
|
||||||
# in the Service Management API (https://cloud.google.com/service-management/
|
# in the Service Management API (https://cloud.google.com/service-management/
|
||||||
# overview).
|
# overview).
|
||||||
# Corresponds to the JSON property `endpointsApiService`
|
# Corresponds to the JSON property `endpointsApiService`
|
||||||
|
|
|
@ -1291,38 +1291,47 @@ module Google
|
||||||
|
|
||||||
# Updates the specified Version resource. You can specify the following fields
|
# Updates the specified Version resource. You can specify the following fields
|
||||||
# depending on the App Engine environment and type of scaling that the version
|
# depending on the App Engine environment and type of scaling that the version
|
||||||
# resource uses:
|
# resource uses:Standard environment
|
||||||
# serving_status (https://cloud.google.com/appengine/docs/admin-api/reference/
|
|
||||||
# rest/v1beta/apps.services.versions#Version.FIELDS.serving_status): For
|
|
||||||
# Version resources that use basic scaling, manual scaling, or run in the App
|
|
||||||
# Engine flexible environment.
|
|
||||||
# instance_class (https://cloud.google.com/appengine/docs/admin-api/reference/
|
# instance_class (https://cloud.google.com/appengine/docs/admin-api/reference/
|
||||||
# rest/v1beta/apps.services.versions#Version.FIELDS.instance_class): For
|
# rest/v1beta/apps.services.versions#Version.FIELDS.instance_class)automatic
|
||||||
# Version resources that run in the App Engine standard environment.
|
# scaling in the standard environment:
|
||||||
# automatic_scaling.min_idle_instances (https://cloud.google.com/appengine/docs/
|
# automatic_scaling.min_idle_instances (https://cloud.google.com/appengine/docs/
|
||||||
# admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.
|
# admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.
|
||||||
# automatic_scaling): For Version resources that use automatic scaling and run
|
# automatic_scaling)
|
||||||
# in the App Engine standard environment.
|
|
||||||
# automatic_scaling.max_idle_instances (https://cloud.google.com/appengine/docs/
|
# automatic_scaling.max_idle_instances (https://cloud.google.com/appengine/docs/
|
||||||
# admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.
|
# admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.
|
||||||
# automatic_scaling): For Version resources that use automatic scaling and run
|
# automatic_scaling)
|
||||||
# in the App Engine standard environment.
|
# automaticScaling.standard_scheduler_settings.max_instances (https://cloud.
|
||||||
|
# google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.
|
||||||
|
# versions#StandardSchedulerSettings)
|
||||||
|
# automaticScaling.standard_scheduler_settings.min_instances (https://cloud.
|
||||||
|
# google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.
|
||||||
|
# versions#StandardSchedulerSettings)
|
||||||
|
# automaticScaling.standard_scheduler_settings.target_cpu_utilization (https://
|
||||||
|
# cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.
|
||||||
|
# versions#StandardSchedulerSettings)
|
||||||
|
# automaticScaling.standard_scheduler_settings.target_throughput_utilization (
|
||||||
|
# https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.
|
||||||
|
# services.versions#StandardSchedulerSettings)basic scaling or manual scaling in
|
||||||
|
# the standard environment:
|
||||||
|
# serving_status (https://cloud.google.com/appengine/docs/admin-api/reference/
|
||||||
|
# rest/v1beta/apps.services.versions#Version.FIELDS.serving_status)Flexible
|
||||||
|
# environment
|
||||||
|
# serving_status (https://cloud.google.com/appengine/docs/admin-api/reference/
|
||||||
|
# rest/v1beta/apps.services.versions#Version.FIELDS.serving_status)automatic
|
||||||
|
# scaling in the flexible environment:
|
||||||
# automatic_scaling.min_total_instances (https://cloud.google.com/appengine/docs/
|
# automatic_scaling.min_total_instances (https://cloud.google.com/appengine/docs/
|
||||||
# admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.
|
# admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.
|
||||||
# automatic_scaling): For Version resources that use automatic scaling and run
|
# automatic_scaling)
|
||||||
# in the App Engine flexible environment.
|
|
||||||
# automatic_scaling.max_total_instances (https://cloud.google.com/appengine/docs/
|
# automatic_scaling.max_total_instances (https://cloud.google.com/appengine/docs/
|
||||||
# admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.
|
# admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.
|
||||||
# automatic_scaling): For Version resources that use automatic scaling and run
|
# automatic_scaling)
|
||||||
# in the App Engine flexible environment.
|
|
||||||
# automatic_scaling.cool_down_period_sec (https://cloud.google.com/appengine/
|
# automatic_scaling.cool_down_period_sec (https://cloud.google.com/appengine/
|
||||||
# docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.
|
# docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.
|
||||||
# automatic_scaling): For Version resources that use automatic scaling and run
|
# automatic_scaling)
|
||||||
# in the App Engine flexible environment.
|
|
||||||
# automatic_scaling.cpu_utilization.target_utilization (https://cloud.google.com/
|
# automatic_scaling.cpu_utilization.target_utilization (https://cloud.google.com/
|
||||||
# appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.
|
# appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.
|
||||||
# FIELDS.automatic_scaling): For Version resources that use automatic scaling
|
# FIELDS.automatic_scaling)
|
||||||
# and run in the App Engine flexible environment.
|
|
||||||
# @param [String] apps_id
|
# @param [String] apps_id
|
||||||
# Part of `name`. Name of the resource to update. Example: apps/myapp/services/
|
# Part of `name`. Name of the resource to update. Example: apps/myapp/services/
|
||||||
# default/versions/1.
|
# default/versions/1.
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://cloud.google.com/iot
|
# @see https://cloud.google.com/iot
|
||||||
module CloudiotV1
|
module CloudiotV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20180501'
|
REVISION = '20180508'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -63,10 +63,6 @@ module Google
|
||||||
# The fields of the `Device` resource to be returned in the response. The
|
# The fields of the `Device` resource to be returned in the response. The
|
||||||
# fields `id`, and `num_id` are always returned by default, along with any
|
# fields `id`, and `num_id` are always returned by default, along with any
|
||||||
# other fields specified.
|
# other fields specified.
|
||||||
# @param [String] gateway_type
|
|
||||||
# If `GATEWAY` is specified, only gateways are returned. If `NON_GATEWAY`
|
|
||||||
# specified, only non-gateway devices are returned. If
|
|
||||||
# `GATEWAY_TYPE_UNSPECIFIED` specified, all devices are returned.
|
|
||||||
# @param [Fixnum] page_size
|
# @param [Fixnum] page_size
|
||||||
# The maximum number of devices to return in the response. If this value
|
# The maximum number of devices to return in the response. If this value
|
||||||
# is zero, the service will select a default size. A call may return fewer
|
# is zero, the service will select a default size. A call may return fewer
|
||||||
|
@ -93,7 +89,7 @@ module Google
|
||||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||||
def list_project_location_group_devices(parent, device_ids: nil, device_num_ids: nil, field_mask: nil, gateway_type: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
def list_project_location_group_devices(parent, device_ids: nil, device_num_ids: nil, field_mask: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
command = make_simple_command(:get, 'v1/{+parent}/devices', options)
|
command = make_simple_command(:get, 'v1/{+parent}/devices', options)
|
||||||
command.response_representation = Google::Apis::CloudiotV1::ListDevicesResponse::Representation
|
command.response_representation = Google::Apis::CloudiotV1::ListDevicesResponse::Representation
|
||||||
command.response_class = Google::Apis::CloudiotV1::ListDevicesResponse
|
command.response_class = Google::Apis::CloudiotV1::ListDevicesResponse
|
||||||
|
@ -101,7 +97,6 @@ module Google
|
||||||
command.query['deviceIds'] = device_ids unless device_ids.nil?
|
command.query['deviceIds'] = device_ids unless device_ids.nil?
|
||||||
command.query['deviceNumIds'] = device_num_ids unless device_num_ids.nil?
|
command.query['deviceNumIds'] = device_num_ids unless device_num_ids.nil?
|
||||||
command.query['fieldMask'] = field_mask unless field_mask.nil?
|
command.query['fieldMask'] = field_mask unless field_mask.nil?
|
||||||
command.query['gatewayType'] = gateway_type unless gateway_type.nil?
|
|
||||||
command.query['pageSize'] = page_size unless page_size.nil?
|
command.query['pageSize'] = page_size unless page_size.nil?
|
||||||
command.query['pageToken'] = page_token unless page_token.nil?
|
command.query['pageToken'] = page_token unless page_token.nil?
|
||||||
command.query['fields'] = fields unless fields.nil?
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
@ -513,10 +508,6 @@ module Google
|
||||||
# The fields of the `Device` resource to be returned in the response. The
|
# The fields of the `Device` resource to be returned in the response. The
|
||||||
# fields `id`, and `num_id` are always returned by default, along with any
|
# fields `id`, and `num_id` are always returned by default, along with any
|
||||||
# other fields specified.
|
# other fields specified.
|
||||||
# @param [String] gateway_type
|
|
||||||
# If `GATEWAY` is specified, only gateways are returned. If `NON_GATEWAY`
|
|
||||||
# specified, only non-gateway devices are returned. If
|
|
||||||
# `GATEWAY_TYPE_UNSPECIFIED` specified, all devices are returned.
|
|
||||||
# @param [Fixnum] page_size
|
# @param [Fixnum] page_size
|
||||||
# The maximum number of devices to return in the response. If this value
|
# The maximum number of devices to return in the response. If this value
|
||||||
# is zero, the service will select a default size. A call may return fewer
|
# is zero, the service will select a default size. A call may return fewer
|
||||||
|
@ -543,7 +534,7 @@ module Google
|
||||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||||
def list_project_location_registry_devices(parent, device_ids: nil, device_num_ids: nil, field_mask: nil, gateway_type: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
def list_project_location_registry_devices(parent, device_ids: nil, device_num_ids: nil, field_mask: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
command = make_simple_command(:get, 'v1/{+parent}/devices', options)
|
command = make_simple_command(:get, 'v1/{+parent}/devices', options)
|
||||||
command.response_representation = Google::Apis::CloudiotV1::ListDevicesResponse::Representation
|
command.response_representation = Google::Apis::CloudiotV1::ListDevicesResponse::Representation
|
||||||
command.response_class = Google::Apis::CloudiotV1::ListDevicesResponse
|
command.response_class = Google::Apis::CloudiotV1::ListDevicesResponse
|
||||||
|
@ -551,7 +542,6 @@ module Google
|
||||||
command.query['deviceIds'] = device_ids unless device_ids.nil?
|
command.query['deviceIds'] = device_ids unless device_ids.nil?
|
||||||
command.query['deviceNumIds'] = device_num_ids unless device_num_ids.nil?
|
command.query['deviceNumIds'] = device_num_ids unless device_num_ids.nil?
|
||||||
command.query['fieldMask'] = field_mask unless field_mask.nil?
|
command.query['fieldMask'] = field_mask unless field_mask.nil?
|
||||||
command.query['gatewayType'] = gateway_type unless gateway_type.nil?
|
|
||||||
command.query['pageSize'] = page_size unless page_size.nil?
|
command.query['pageSize'] = page_size unless page_size.nil?
|
||||||
command.query['pageToken'] = page_token unless page_token.nil?
|
command.query['pageToken'] = page_token unless page_token.nil?
|
||||||
command.query['fields'] = fields unless fields.nil?
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://cloud.google.com/composer/
|
# @see https://cloud.google.com/composer/
|
||||||
module ComposerV1beta1
|
module ComposerV1beta1
|
||||||
VERSION = 'V1beta1'
|
VERSION = 'V1beta1'
|
||||||
REVISION = '20180430'
|
REVISION = '20180510'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -68,7 +68,7 @@ module Google
|
||||||
attr_accessor :labels
|
attr_accessor :labels
|
||||||
|
|
||||||
# The resource name of the environment, in the form:
|
# The resource name of the environment, in the form:
|
||||||
# `projects/`projectId`/locations/`locationId`/environments/`environmentId``
|
# "projects/`projectId`/locations/`locationId`/environments/`environmentId`"
|
||||||
# Corresponds to the JSON property `name`
|
# Corresponds to the JSON property `name`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :name
|
attr_accessor :name
|
||||||
|
@ -133,19 +133,19 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :gke_cluster
|
attr_accessor :gke_cluster
|
||||||
|
|
||||||
# The configuration information for the Container Engine nodes running
|
# The configuration information for the Kubernetes Engine nodes running
|
||||||
# the Apache Airflow software.
|
# the Apache Airflow software.
|
||||||
# Corresponds to the JSON property `nodeConfig`
|
# Corresponds to the JSON property `nodeConfig`
|
||||||
# @return [Google::Apis::ComposerV1beta1::NodeConfig]
|
# @return [Google::Apis::ComposerV1beta1::NodeConfig]
|
||||||
attr_accessor :node_config
|
attr_accessor :node_config
|
||||||
|
|
||||||
# The number of nodes in the Container Engine cluster that will be
|
# The number of nodes in the Kubernetes Engine cluster that will be
|
||||||
# used to run this environment.
|
# used to run this environment.
|
||||||
# Corresponds to the JSON property `nodeCount`
|
# Corresponds to the JSON property `nodeCount`
|
||||||
# @return [Fixnum]
|
# @return [Fixnum]
|
||||||
attr_accessor :node_count
|
attr_accessor :node_count
|
||||||
|
|
||||||
# Specifies the selection and config of software inside the environment.
|
# Specifies the selection and configuration of software inside the environment.
|
||||||
# Corresponds to the JSON property `softwareConfig`
|
# Corresponds to the JSON property `softwareConfig`
|
||||||
# @return [Google::Apis::ComposerV1beta1::SoftwareConfig]
|
# @return [Google::Apis::ComposerV1beta1::SoftwareConfig]
|
||||||
attr_accessor :software_config
|
attr_accessor :software_config
|
||||||
|
@ -215,12 +215,12 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# The configuration information for the Container Engine nodes running
|
# The configuration information for the Kubernetes Engine nodes running
|
||||||
# the Apache Airflow software.
|
# the Apache Airflow software.
|
||||||
class NodeConfig
|
class NodeConfig
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Optional. The disk size in GB used for node VMs. Minimum is 10GB.
|
# Optional. The disk size in GB used for node VMs. Minimum size is 10GB.
|
||||||
# If unspecified, defaults to 100GB. Cannot be updated.
|
# If unspecified, defaults to 100GB. Cannot be updated.
|
||||||
# Corresponds to the JSON property `diskSizeGb`
|
# Corresponds to the JSON property `diskSizeGb`
|
||||||
# @return [Fixnum]
|
# @return [Fixnum]
|
||||||
|
@ -228,55 +228,54 @@ module Google
|
||||||
|
|
||||||
# Optional. The Compute Engine [zone](/compute/docs/regions-zones) in which
|
# Optional. The Compute Engine [zone](/compute/docs/regions-zones) in which
|
||||||
# to deploy the VMs used to run the Apache Airflow software, specified as a
|
# to deploy the VMs used to run the Apache Airflow software, specified as a
|
||||||
# relative resource name](https://cloud.google.com/apis/design/resource_names#
|
# [relative resource name](/apis/design/resource_names#relative_resource_name).
|
||||||
# relative_resource_name).
|
# For example: "projects/`projectId`/zones/`zoneId`".
|
||||||
# For example: `projects/`projectId`/zones/`zoneId``.
|
|
||||||
# This `location` must belong to the enclosing environment's project and
|
# This `location` must belong to the enclosing environment's project and
|
||||||
# location. If both this field and `nodeConfig.machineType` are specified,
|
# location. If both this field and `nodeConfig.machineType` are specified,
|
||||||
# `nodeConfig.machineType` must belong to this `location`; if both are
|
# `nodeConfig.machineType` must belong to this `location`; if both are
|
||||||
# unspecified, the service will pick a zone in the Compute Engine region
|
# unspecified, the service will pick a zone in the Compute Engine region
|
||||||
# corresponding to the Cloud Composer location and propagate that choice to
|
# corresponding to the Cloud Composer location, and propagate that choice to
|
||||||
# both fields. If exactly one of this field and `nodeConfig.machineType` is
|
# both fields. If only one field (`location` or `nodeConfig.machineType`) is
|
||||||
# specified, the location information from the specified field will be
|
# specified, the location information from the specified field will be
|
||||||
# propagated to the unspecified field.
|
# propagated to the unspecified field.
|
||||||
# Corresponds to the JSON property `location`
|
# Corresponds to the JSON property `location`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :location
|
attr_accessor :location
|
||||||
|
|
||||||
# Optional. The Google Compute Engine [machine type](
|
# Optional. The Compute Engine
|
||||||
# /compute/docs/machine-types) used for cluster instances, specified as a
|
# [machine type](/compute/docs/machine-types) used for cluster instances,
|
||||||
# [relative resource name](
|
# specified as a
|
||||||
# https://cloud.google.com/apis/design/resource_names#relative_resource_name).
|
# [relative resource name](/apis/design/resource_names#relative_resource_name).
|
||||||
# For example:
|
# For example:
|
||||||
# `projects/`projectId`/zones/`zoneId`/machineTypes/`machineTypeId``.
|
# "projects/`projectId`/zones/`zoneId`/machineTypes/`machineTypeId`".
|
||||||
# The `machineType` must belong to the enclosing environment's project and
|
# The `machineType` must belong to the enclosing environment's project and
|
||||||
# location. If both this field and `nodeConfig.location` are specified,
|
# location. If both this field and `nodeConfig.location` are specified,
|
||||||
# this `machineType` must belong to the `nodeConfig.location`; if both are
|
# this `machineType` must belong to the `nodeConfig.location`; if both are
|
||||||
# unspecified, the service will pick a zone in the Compute Engine region
|
# unspecified, the service will pick a zone in the Compute Engine region
|
||||||
# corresponding to the Cloud Composer location and propagate that choice to
|
# corresponding to the Cloud Composer location, and propagate that choice to
|
||||||
# both fields. If exactly one of this field and `nodeConfig.location` is
|
# both fields. If exactly one of this field and `nodeConfig.location` is
|
||||||
# specified, the location information from the specified field will be
|
# specified, the location information from the specified field will be
|
||||||
# propagated to the unspecified field.
|
# propagated to the unspecified field.
|
||||||
# Furthermore, if this field is unspecified, the `machineTypeId` defaults
|
# If this field is unspecified, the `machineTypeId` defaults
|
||||||
# to `n1-standard-1`.
|
# to "n1-standard-1".
|
||||||
# Corresponds to the JSON property `machineType`
|
# Corresponds to the JSON property `machineType`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :machine_type
|
attr_accessor :machine_type
|
||||||
|
|
||||||
# Optional. The Compute Engine network to be used for machine
|
# Optional. The Compute Engine network to be used for machine
|
||||||
# communications, specified as a [relative resource name](
|
# communications, specified as a
|
||||||
# https://cloud.google.com/apis/design/resource_names#relative_resource_name).
|
# [relative resource name](/apis/design/resource_names#relative_resource_name).
|
||||||
# For example: `projects/`projectId`/global/networks/`networkId``.
|
# For example: "projects/`projectId`/global/networks/`networkId`".
|
||||||
# [Shared VPC](/vpc/docs/shared-vpc) is not currently supported. The
|
# [Shared VPC](/vpc/docs/shared-vpc) is not currently supported. The
|
||||||
# network must belong to the environment's project. If unspecified, the
|
# network must belong to the environment's project. If unspecified, the
|
||||||
# "default" network ID in the environment's project is used. If a "Custom
|
# "default" network ID in the environment's project is used. If a
|
||||||
# Subnet Network" (see [Using Subnetworks](/compute/docs/subnetworks) for
|
# [Custom Subnet Network]((/vpc/docs/vpc#vpc_networks_and_subnets)
|
||||||
# more information) is provided, `nodeConfig.subnetwork` must also be provided.
|
# is provided, `nodeConfig.subnetwork` must also be provided.
|
||||||
# Corresponds to the JSON property `network`
|
# Corresponds to the JSON property `network`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :network
|
attr_accessor :network
|
||||||
|
|
||||||
# Optional. The set of Google API scopes to be made available on all of the
|
# Optional. The set of Google API scopes to be made available on all
|
||||||
# node VMs. If `oauth_scopes` is empty, defaults to
|
# node VMs. If `oauth_scopes` is empty, defaults to
|
||||||
# ["https://www.googleapis.com/auth/cloud-platform"]. Cannot be updated.
|
# ["https://www.googleapis.com/auth/cloud-platform"]. Cannot be updated.
|
||||||
# Corresponds to the JSON property `oauthScopes`
|
# Corresponds to the JSON property `oauthScopes`
|
||||||
|
@ -291,10 +290,10 @@ module Google
|
||||||
attr_accessor :service_account
|
attr_accessor :service_account
|
||||||
|
|
||||||
# Optional. The Compute Engine subnetwork to be used for machine
|
# Optional. The Compute Engine subnetwork to be used for machine
|
||||||
# communications, specified as a [relative resource name](
|
# communications, specified as a
|
||||||
# https://cloud.google.com/apis/design/resource_names#relative_resource_name).
|
# [relative resource name](/apis/design/resource_names#relative_resource_name).
|
||||||
# For example:
|
# For example:
|
||||||
# `projects/`projectId`/regions/`regionId`/subnetworks/`subnetworkId``
|
# "projects/`projectId`/regions/`regionId`/subnetworks/`subnetworkId`"
|
||||||
# If a subnetwork is provided, `nodeConfig.network` must also be provided,
|
# If a subnetwork is provided, `nodeConfig.network` must also be provided,
|
||||||
# and the subnetwork must belong to the enclosing environment's project and
|
# and the subnetwork must belong to the enclosing environment's project and
|
||||||
# location.
|
# location.
|
||||||
|
@ -481,26 +480,24 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Specifies the selection and config of software inside the environment.
|
# Specifies the selection and configuration of software inside the environment.
|
||||||
class SoftwareConfig
|
class SoftwareConfig
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Optional. Apache Airflow configuration properties to override.
|
# Optional. Apache Airflow configuration properties to override.
|
||||||
# Property keys contain the section and property name, separated by a hyphen,
|
# Property keys contain the section and property names, separated by a hyphen,
|
||||||
# for example `core-dags_are_paused_at_creation`. Sections must not
|
# for example "core-dags_are_paused_at_creation". Section names must not
|
||||||
# contain hyphens ("-"), opening square brackets ("["), or closing square
|
# contain hyphens ("-"), opening square brackets ("["), or closing square
|
||||||
# brackets ("]"). The name must be non-empty and must not contain an equals
|
# brackets ("]"). The property name must not be empty and must not contain
|
||||||
# sign ("=") or semicolon (";"). The section as well as the name must not
|
# an equals sign ("=") or semicolon (";"). Section and property names must
|
||||||
# contain a period ("."). Apache Airflow configuration property names must be
|
# not contain a period ("."). Apache Airflow configuration property names
|
||||||
# written in
|
# must be written in [snake_case](https://en.wikipedia.org/wiki/Snake_case).
|
||||||
# [snake_case](https://www.google.com/url?sa=D&q=https%3A%2F%2Fen.wikipedia.org%
|
# Property values can contain any character, and can be written in any
|
||||||
# 2Fwiki%2FSnake_case).
|
# lower/upper case format.
|
||||||
# Property values can contain any character and be written in any lower/upper
|
|
||||||
# case format.
|
|
||||||
# Certain Apache Airflow configuration property values are
|
# Certain Apache Airflow configuration property values are
|
||||||
# [blacklisted](/composer/docs/how-to/managing/setting-airflow-configurations#
|
# [blacklisted](/composer/docs/how-to/managing/setting-airflow-configurations#
|
||||||
# airflow_configuration_blacklists) and
|
# airflow_configuration_blacklists),
|
||||||
# cannot be overridden.
|
# and cannot be overridden.
|
||||||
# Corresponds to the JSON property `airflowConfigOverrides`
|
# Corresponds to the JSON property `airflowConfigOverrides`
|
||||||
# @return [Hash<String,String>]
|
# @return [Hash<String,String>]
|
||||||
attr_accessor :airflow_config_overrides
|
attr_accessor :airflow_config_overrides
|
||||||
|
@ -508,10 +505,10 @@ module Google
|
||||||
# Optional. Additional environment variables to provide to the Apache Airflow
|
# Optional. Additional environment variables to provide to the Apache Airflow
|
||||||
# scheduler, worker, and webserver processes.
|
# scheduler, worker, and webserver processes.
|
||||||
# Environment variable names must match the regular expression
|
# Environment variable names must match the regular expression
|
||||||
# `a-zA-Z_*`. Furthermore, they cannot specify Apache Airflow
|
# `a-zA-Z_*`. They cannot specify Apache Airflow
|
||||||
# software configuration overrides (i.e., match the regular expression
|
# software configuration overrides (they cannot match the regular expression
|
||||||
# `AIRFLOW__[A-Z0-9_]+__[A-Z0-9_]+`); nor can they take any of the following
|
# `AIRFLOW__[A-Z0-9_]+__[A-Z0-9_]+`), and they cannot match any of the
|
||||||
# reserved values:
|
# following reserved names:
|
||||||
# * `AIRFLOW_HOME`
|
# * `AIRFLOW_HOME`
|
||||||
# * `C_FORCE_ROOT`
|
# * `C_FORCE_ROOT`
|
||||||
# * `CONTAINER_NAME`
|
# * `CONTAINER_NAME`
|
||||||
|
@ -534,10 +531,10 @@ module Google
|
||||||
# This encapsulates both the version of Cloud Composer functionality and the
|
# This encapsulates both the version of Cloud Composer functionality and the
|
||||||
# version of Apache Airflow. It must match the regular expression
|
# version of Apache Airflow. It must match the regular expression
|
||||||
# `composer-[0-9]+\.[0-9]+(\.[0-9]+)?-airflow-[0-9]+\.[0-9]+(\.[0-9]+.*)?`.
|
# `composer-[0-9]+\.[0-9]+(\.[0-9]+)?-airflow-[0-9]+\.[0-9]+(\.[0-9]+.*)?`.
|
||||||
# The Cloud Composer portion of the version is a [semantic
|
# The Cloud Composer portion of the version is a
|
||||||
# version](https://semver.org). The portion of the image version following
|
# [semantic version](https://semver.org). The portion of the image version
|
||||||
# <em>airflow-</em> is an official Apache Airflow repository [release
|
# following <em>airflow-</em> is an official Apache Airflow repository
|
||||||
# name](https://github.com/apache/incubator-airflow/releases).
|
# [release name](https://github.com/apache/incubator-airflow/releases).
|
||||||
# See also [Release Notes](/composer/docs/release-notes).
|
# See also [Release Notes](/composer/docs/release-notes).
|
||||||
# Corresponds to the JSON property `imageVersion`
|
# Corresponds to the JSON property `imageVersion`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
|
@ -545,9 +542,9 @@ module Google
|
||||||
|
|
||||||
# Optional. Custom Python Package Index (PyPI) packages to be installed in
|
# Optional. Custom Python Package Index (PyPI) packages to be installed in
|
||||||
# the environment.
|
# the environment.
|
||||||
# Keys refer to the lowercase package name such as `numpy`
|
# Keys refer to the lowercase package name such as "numpy"
|
||||||
# and values are the lowercase extras and version specifier such as
|
# and values are the lowercase extras and version specifier such as
|
||||||
# `==1.12.0`, `[devel,gcp_api]`, or `[devel]>=1.8.2, <1.9.2`. To specify a
|
# "==1.12.0", "[devel,gcp_api]", or "[devel]>=1.8.2, <1.9.2". To specify a
|
||||||
# package without pinning it to a version specifier, use the empty string as
|
# package without pinning it to a version specifier, use the empty string as
|
||||||
# the value.
|
# the value.
|
||||||
# Corresponds to the JSON property `pypiPackages`
|
# Corresponds to the JSON property `pypiPackages`
|
||||||
|
|
|
@ -49,7 +49,7 @@ module Google
|
||||||
|
|
||||||
# Create a new environment.
|
# Create a new environment.
|
||||||
# @param [String] parent
|
# @param [String] parent
|
||||||
# The parent must be of the form `projects/`projectId`/locations/`locationId``.
|
# The parent must be of the form "projects/`projectId`/locations/`locationId`".
|
||||||
# @param [Google::Apis::ComposerV1beta1::Environment] environment_object
|
# @param [Google::Apis::ComposerV1beta1::Environment] environment_object
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
@ -83,7 +83,7 @@ module Google
|
||||||
# Delete an environment.
|
# Delete an environment.
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# The environment to delete, in the form:
|
# The environment to delete, in the form:
|
||||||
# `projects/`projectId`/locations/`locationId`/environments/`environmentId``
|
# "projects/`projectId`/locations/`locationId`/environments/`environmentId`"
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
# @param [String] quota_user
|
# @param [String] quota_user
|
||||||
|
@ -114,7 +114,7 @@ module Google
|
||||||
# Get an existing environment.
|
# Get an existing environment.
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# The resource name of the environment to get, in the form:
|
# The resource name of the environment to get, in the form:
|
||||||
# `projects/`projectId`/locations/`locationId`/environments/`environmentId``
|
# "projects/`projectId`/locations/`locationId`/environments/`environmentId`"
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
# @param [String] quota_user
|
# @param [String] quota_user
|
||||||
|
@ -145,7 +145,7 @@ module Google
|
||||||
# List environments.
|
# List environments.
|
||||||
# @param [String] parent
|
# @param [String] parent
|
||||||
# List environments in the given project and location, in the form:
|
# List environments in the given project and location, in the form:
|
||||||
# `projects/`projectId`/locations/`locationId``
|
# "projects/`projectId`/locations/`locationId`"
|
||||||
# @param [Fixnum] page_size
|
# @param [Fixnum] page_size
|
||||||
# The maximum number of environments to return.
|
# The maximum number of environments to return.
|
||||||
# @param [String] page_token
|
# @param [String] page_token
|
||||||
|
@ -182,7 +182,7 @@ module Google
|
||||||
# Update an environment.
|
# Update an environment.
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# The relative resource name of the environment to update, in the form:
|
# The relative resource name of the environment to update, in the form:
|
||||||
# `projects/`projectId`/locations/`locationId`/environments/`environmentId``
|
# "projects/`projectId`/locations/`locationId`/environments/`environmentId`"
|
||||||
# @param [Google::Apis::ComposerV1beta1::Environment] environment_object
|
# @param [Google::Apis::ComposerV1beta1::Environment] environment_object
|
||||||
# @param [String] update_mask
|
# @param [String] update_mask
|
||||||
# Required. A comma-separated list of paths, relative to `Environment`, of
|
# Required. A comma-separated list of paths, relative to `Environment`, of
|
||||||
|
|
|
@ -82,7 +82,11 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Request for the `CreateSnapshot` method.
|
# Request for the `CreateSnapshot` method.<br><br>
|
||||||
|
# <b>ALPHA:</b> This feature is part of an alpha release. This API might be
|
||||||
|
# changed in
|
||||||
|
# backward-incompatible ways and is not recommended for production use.
|
||||||
|
# It is not subject to any SLA or deprecation policy.
|
||||||
class CreateSnapshotRequest
|
class CreateSnapshotRequest
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
@ -128,7 +132,11 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Response for the `ListSnapshots` method.
|
# Response for the `ListSnapshots` method.<br><br>
|
||||||
|
# Lists the names of the snapshots on this topic.<br><br>
|
||||||
|
# <b>ALPHA:</b> This feature is part of an alpha release. This API might be
|
||||||
|
# changed in backward-incompatible ways and is not recommended for production
|
||||||
|
# use. It is not subject to any SLA or deprecation policy.
|
||||||
class ListSnapshotsResponse
|
class ListSnapshotsResponse
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
@ -181,8 +189,11 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Response for the `ListTopicSnapshots` method.
|
# Response for the `ListTopicSnapshots` method.<br><br>
|
||||||
# [ALPHA] This method is a part of a closed Alpha API.
|
# Lists the names of the snapshots on this topic.<br><br>
|
||||||
|
# <b>ALPHA:</b> This feature is part of an alpha release. This API might be
|
||||||
|
# changed in backward-incompatible ways and is not recommended for production
|
||||||
|
# use. It is not subject to any SLA or deprecation policy.
|
||||||
class ListTopicSnapshotsResponse
|
class ListTopicSnapshotsResponse
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
@ -594,7 +605,11 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Request for the `Seek` method.
|
# Request for the `Seek` method.<br><br>
|
||||||
|
# Lists the names of the snapshots on this topic.<br><br>
|
||||||
|
# <b>ALPHA:</b> This feature is part of an alpha release. This API might be
|
||||||
|
# changed in backward-incompatible ways and is not recommended for production
|
||||||
|
# use. It is not subject to any SLA or deprecation policy.
|
||||||
class SeekRequest
|
class SeekRequest
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
@ -699,7 +714,11 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# A snapshot resource.
|
# A snapshot resource.<br><br>
|
||||||
|
# Lists the names of the snapshots on this topic.<br><br>
|
||||||
|
# <b>ALPHA:</b> This feature is part of an alpha release. This API might be
|
||||||
|
# changed in backward-incompatible ways and is not recommended for production
|
||||||
|
# use. It is not subject to any SLA or deprecation policy.
|
||||||
class Snapshot
|
class Snapshot
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
@ -769,8 +788,11 @@ module Google
|
||||||
# If `retain_acked_messages` is true, then this also configures the retention
|
# If `retain_acked_messages` is true, then this also configures the retention
|
||||||
# of acknowledged messages, and thus configures how far back in time a `Seek`
|
# of acknowledged messages, and thus configures how far back in time a `Seek`
|
||||||
# can be done. Defaults to 7 days. Cannot be more than 7 days or less than 10
|
# can be done. Defaults to 7 days. Cannot be more than 7 days or less than 10
|
||||||
# minutes.
|
# minutes.<br><br>
|
||||||
# [ALPHA] This field is a part of a closed Alpha API.
|
# Lists the names of the snapshots on this topic.<br><br>
|
||||||
|
# <b>ALPHA:</b> This feature is part of an alpha release. This API might be
|
||||||
|
# changed in backward-incompatible ways and is not recommended for production
|
||||||
|
# use. It is not subject to any SLA or deprecation policy.
|
||||||
# Corresponds to the JSON property `messageRetentionDuration`
|
# Corresponds to the JSON property `messageRetentionDuration`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :message_retention_duration
|
attr_accessor :message_retention_duration
|
||||||
|
@ -793,8 +815,11 @@ module Google
|
||||||
# Indicates whether to retain acknowledged messages. If true, then
|
# Indicates whether to retain acknowledged messages. If true, then
|
||||||
# messages are not expunged from the subscription's backlog, even if they are
|
# messages are not expunged from the subscription's backlog, even if they are
|
||||||
# acknowledged, until they fall out of the `message_retention_duration`
|
# acknowledged, until they fall out of the `message_retention_duration`
|
||||||
# window.
|
# window.<br><br>
|
||||||
# [ALPHA] This field is a part of a closed Alpha API.
|
# Lists the names of the snapshots on this topic.<br><br>
|
||||||
|
# <b>ALPHA:</b> This feature is part of an alpha release. This API might be
|
||||||
|
# changed in backward-incompatible ways and is not recommended for production
|
||||||
|
# use. It is not subject to any SLA or deprecation policy.
|
||||||
# Corresponds to the JSON property `retainAckedMessages`
|
# Corresponds to the JSON property `retainAckedMessages`
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
attr_accessor :retain_acked_messages
|
attr_accessor :retain_acked_messages
|
||||||
|
@ -889,11 +914,19 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Request for the UpdateSnapshot method.
|
# Request for the UpdateSnapshot method.<br><br>
|
||||||
|
# Lists the names of the snapshots on this topic.<br><br>
|
||||||
|
# <b>ALPHA:</b> This feature is part of an alpha release. This API might be
|
||||||
|
# changed in backward-incompatible ways and is not recommended for production
|
||||||
|
# use. It is not subject to any SLA or deprecation policy.
|
||||||
class UpdateSnapshotRequest
|
class UpdateSnapshotRequest
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# A snapshot resource.
|
# A snapshot resource.<br><br>
|
||||||
|
# Lists the names of the snapshots on this topic.<br><br>
|
||||||
|
# <b>ALPHA:</b> This feature is part of an alpha release. This API might be
|
||||||
|
# changed in backward-incompatible ways and is not recommended for production
|
||||||
|
# use. It is not subject to any SLA or deprecation policy.
|
||||||
# Corresponds to the JSON property `snapshot`
|
# Corresponds to the JSON property `snapshot`
|
||||||
# @return [Google::Apis::PubsubV1::Snapshot]
|
# @return [Google::Apis::PubsubV1::Snapshot]
|
||||||
attr_accessor :snapshot
|
attr_accessor :snapshot
|
||||||
|
|
|
@ -47,18 +47,21 @@ module Google
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch'
|
||||||
end
|
end
|
||||||
|
|
||||||
# [ALPHA] This method is a part of a closed Alpha API.
|
# Creates a snapshot from the requested subscription.<br><br>
|
||||||
# Creates a snapshot from the requested subscription.
|
# Lists the names of the snapshots on this topic.<br><br>
|
||||||
|
# <b>ALPHA:</b> This feature is part of an alpha release. This API might be
|
||||||
|
# changed in backward-incompatible ways and is not recommended for production
|
||||||
|
# use. It is not subject to any SLA or deprecation policy.
|
||||||
# If the snapshot already exists, returns `ALREADY_EXISTS`.
|
# If the snapshot already exists, returns `ALREADY_EXISTS`.
|
||||||
# If the requested subscription doesn't exist, returns `NOT_FOUND`.
|
# If the requested subscription doesn't exist, returns `NOT_FOUND`.
|
||||||
# If the backlog in the subscription is too old -- and the resulting snapshot
|
# If the backlog in the subscription is too old -- and the resulting snapshot
|
||||||
# would expire in less than 1 hour -- then `FAILED_PRECONDITION` is returned.
|
# would expire in less than 1 hour -- then `FAILED_PRECONDITION` is returned.
|
||||||
# See also the `Snapshot.expire_time` field.
|
# See also the `Snapshot.expire_time` field. If the name is not provided in
|
||||||
# If the name is not provided in the request, the server will assign a random
|
# the request, the server will assign a random
|
||||||
# name for this snapshot on the same project as the subscription, conforming
|
# name for this snapshot on the same project as the subscription, conforming
|
||||||
# to the
|
# to the [resource name format](https://cloud.google.com/pubsub/docs/overview#
|
||||||
# [resource name
|
# names).
|
||||||
# format](https://cloud.google.com/pubsub/docs/overview#names). The generated
|
# The generated
|
||||||
# name is populated in the returned Snapshot object. Note that for REST API
|
# name is populated in the returned Snapshot object. Note that for REST API
|
||||||
# requests, you must specify a name in the request.
|
# requests, you must specify a name in the request.
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
|
@ -97,11 +100,15 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Removes an existing snapshot. All messages retained in the snapshot
|
# Removes an existing snapshot. <br><br>
|
||||||
|
# Lists the names of the snapshots on this topic.<br><br>
|
||||||
|
# <b>ALPHA:</b> This feature is part of an alpha release. This API might be
|
||||||
|
# changed in backward-incompatible ways and is not recommended for production
|
||||||
|
# use. It is not subject to any SLA or deprecation policy.
|
||||||
|
# When the snapshot is deleted, all messages retained in the snapshot
|
||||||
# are immediately dropped. After a snapshot is deleted, a new one may be
|
# are immediately dropped. After a snapshot is deleted, a new one may be
|
||||||
# created with the same name, but the new one has no association with the old
|
# created with the same name, but the new one has no association with the old
|
||||||
# snapshot or its subscription, unless the same subscription is specified.
|
# snapshot or its subscription, unless the same subscription is specified.
|
||||||
# [ALPHA] This method is a part of a closed Alpha API.
|
|
||||||
# @param [String] snapshot
|
# @param [String] snapshot
|
||||||
# The name of the snapshot to delete.
|
# The name of the snapshot to delete.
|
||||||
# Format is `projects/`project`/snapshots/`snap``.
|
# Format is `projects/`project`/snapshots/`snap``.
|
||||||
|
@ -132,8 +139,11 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Gets the configuration details of a snapshot.
|
# Gets the configuration details of a snapshot.<br><br>
|
||||||
# [ALPHA] This method is a part of a closed Alpha API.
|
# Lists the names of the snapshots on this topic.<br><br>
|
||||||
|
# <b>ALPHA:</b> This feature is part of an alpha release. This API might be
|
||||||
|
# changed in backward-incompatible ways and is not recommended for production
|
||||||
|
# use. It is not subject to any SLA or deprecation policy.
|
||||||
# @param [String] snapshot
|
# @param [String] snapshot
|
||||||
# The name of the snapshot to get.
|
# The name of the snapshot to get.
|
||||||
# Format is `projects/`project`/snapshots/`snap``.
|
# Format is `projects/`project`/snapshots/`snap``.
|
||||||
|
@ -197,8 +207,11 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Lists the existing snapshots.
|
# Lists the existing snapshots.<br><br>
|
||||||
# [ALPHA] This method is a part of a closed Alpha API.
|
# Lists the names of the snapshots on this topic.<br><br>
|
||||||
|
# <b>ALPHA:</b> This feature is part of an alpha release. This API might be
|
||||||
|
# changed in backward-incompatible ways and is not recommended for production
|
||||||
|
# use. It is not subject to any SLA or deprecation policy.
|
||||||
# @param [String] project
|
# @param [String] project
|
||||||
# The name of the cloud project that snapshots belong to.
|
# The name of the cloud project that snapshots belong to.
|
||||||
# Format is `projects/`project``.
|
# Format is `projects/`project``.
|
||||||
|
@ -237,9 +250,12 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Updates an existing snapshot. Note that certain properties of a
|
# Updates an existing snapshot.<br><br>
|
||||||
# snapshot are not modifiable.
|
# Lists the names of the snapshots on this topic.<br><br>
|
||||||
# [ALPHA] This method is a part of a closed Alpha API.
|
# <b>ALPHA:</b> This feature is part of an alpha release. This API might be
|
||||||
|
# changed in backward-incompatible ways and is not recommended for production
|
||||||
|
# use. It is not subject to any SLA or deprecation policy.
|
||||||
|
# Note that certain properties of a snapshot are not modifiable.
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# The name of the snapshot.
|
# The name of the snapshot.
|
||||||
# @param [Google::Apis::PubsubV1::UpdateSnapshotRequest] update_snapshot_request_object
|
# @param [Google::Apis::PubsubV1::UpdateSnapshotRequest] update_snapshot_request_object
|
||||||
|
@ -722,8 +738,11 @@ module Google
|
||||||
end
|
end
|
||||||
|
|
||||||
# Seeks an existing subscription to a point in time or to a given snapshot,
|
# Seeks an existing subscription to a point in time or to a given snapshot,
|
||||||
# whichever is provided in the request.
|
# whichever is provided in the request.<br><br>
|
||||||
# [ALPHA] This method is a part of a closed Alpha API.
|
# Lists the names of the snapshots on this topic.<br><br>
|
||||||
|
# <b>ALPHA:</b> This feature is part of an alpha release. This API might be
|
||||||
|
# changed in backward-incompatible ways and is not recommended for production
|
||||||
|
# use. It is not subject to any SLA or deprecation policy.
|
||||||
# @param [String] subscription
|
# @param [String] subscription
|
||||||
# The subscription to affect.
|
# The subscription to affect.
|
||||||
# @param [Google::Apis::PubsubV1::SeekRequest] seek_request_object
|
# @param [Google::Apis::PubsubV1::SeekRequest] seek_request_object
|
||||||
|
@ -1116,8 +1135,10 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Lists the names of the snapshots on this topic.
|
# Lists the names of the snapshots on this topic.<br><br>
|
||||||
# [ALPHA] This method is a part of a closed Alpha API.
|
# <b>ALPHA:</b> This feature is part of an alpha release. This API might be
|
||||||
|
# changed in backward-incompatible ways and is not recommended for production
|
||||||
|
# use. It is not subject to any SLA or deprecation policy.
|
||||||
# @param [String] topic
|
# @param [String] topic
|
||||||
# The name of the topic that snapshots are attached to.
|
# The name of the topic that snapshots are attached to.
|
||||||
# Format is `projects/`project`/topics/`topic``.
|
# Format is `projects/`project`/topics/`topic``.
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://cloud.google.com/sql/docs/reference/latest
|
# @see https://cloud.google.com/sql/docs/reference/latest
|
||||||
module SqladminV1beta4
|
module SqladminV1beta4
|
||||||
VERSION = 'V1beta4'
|
VERSION = 'V1beta4'
|
||||||
REVISION = '20180314'
|
REVISION = '20180507'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -1191,6 +1191,37 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Instances ListServerCas response.
|
||||||
|
class InstancesListServerCasResponse
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
#
|
||||||
|
# Corresponds to the JSON property `activeVersion`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :active_version
|
||||||
|
|
||||||
|
# List of server CA certificates for the instance.
|
||||||
|
# Corresponds to the JSON property `certs`
|
||||||
|
# @return [Array<Google::Apis::SqladminV1beta4::SslCert>]
|
||||||
|
attr_accessor :certs
|
||||||
|
|
||||||
|
# This is always sql#instancesListServerCas.
|
||||||
|
# Corresponds to the JSON property `kind`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :kind
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@active_version = args[:active_version] if args.key?(:active_version)
|
||||||
|
@certs = args[:certs] if args.key?(:certs)
|
||||||
|
@kind = args[:kind] if args.key?(:kind)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# Database instance restore backup request.
|
# Database instance restore backup request.
|
||||||
class RestoreInstancesBackupRequest
|
class RestoreInstancesBackupRequest
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
@ -1210,6 +1241,25 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Rotate Server CA request.
|
||||||
|
class InstancesRotateServerCaRequest
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Instance rotate server CA context.
|
||||||
|
# Corresponds to the JSON property `rotateServerCaContext`
|
||||||
|
# @return [Google::Apis::SqladminV1beta4::RotateServerCaContext]
|
||||||
|
attr_accessor :rotate_server_ca_context
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@rotate_server_ca_context = args[:rotate_server_ca_context] if args.key?(:rotate_server_ca_context)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# Instance truncate log request.
|
# Instance truncate log request.
|
||||||
class InstancesTruncateLogRequest
|
class InstancesTruncateLogRequest
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
@ -1753,6 +1803,32 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Instance rotate server CA context.
|
||||||
|
class RotateServerCaContext
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# This is always sql#rotateServerCaContext.
|
||||||
|
# Corresponds to the JSON property `kind`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :kind
|
||||||
|
|
||||||
|
# The fingerprint of the next version to be rotated to. If left unspecified,
|
||||||
|
# will be rotated to the most recently added server CA version.
|
||||||
|
# Corresponds to the JSON property `nextVersion`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :next_version
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@kind = args[:kind] if args.key?(:kind)
|
||||||
|
@next_version = args[:next_version] if args.key?(:next_version)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# Database instance settings.
|
# Database instance settings.
|
||||||
class Settings
|
class Settings
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
|
@ -190,12 +190,24 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class InstancesListServerCasResponse
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class RestoreInstancesBackupRequest
|
class RestoreInstancesBackupRequest
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class InstancesRotateServerCaRequest
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class InstancesTruncateLogRequest
|
class InstancesTruncateLogRequest
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -274,6 +286,12 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class RotateServerCaContext
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class Settings
|
class Settings
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -660,6 +678,16 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class InstancesListServerCasResponse
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :active_version, as: 'activeVersion'
|
||||||
|
collection :certs, as: 'certs', class: Google::Apis::SqladminV1beta4::SslCert, decorator: Google::Apis::SqladminV1beta4::SslCert::Representation
|
||||||
|
|
||||||
|
property :kind, as: 'kind'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class RestoreInstancesBackupRequest
|
class RestoreInstancesBackupRequest
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -668,6 +696,14 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class InstancesRotateServerCaRequest
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :rotate_server_ca_context, as: 'rotateServerCaContext', class: Google::Apis::SqladminV1beta4::RotateServerCaContext, decorator: Google::Apis::SqladminV1beta4::RotateServerCaContext::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class InstancesTruncateLogRequest
|
class InstancesTruncateLogRequest
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -814,6 +850,14 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class RotateServerCaContext
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :kind, as: 'kind'
|
||||||
|
property :next_version, as: 'nextVersion'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class Settings
|
class Settings
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
|
|
@ -490,6 +490,46 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Add a new trusted Certificate Authority (CA) version for the specified
|
||||||
|
# instance. Required to prepare for a certificate rotation. If a CA version was
|
||||||
|
# previously added but never used in a certificate rotation, this operation
|
||||||
|
# replaces that version. There can not be more than one CA version waiting to be
|
||||||
|
# rotated in.
|
||||||
|
# @param [String] project
|
||||||
|
# Project ID of the project that contains the instance.
|
||||||
|
# @param [String] instance
|
||||||
|
# Cloud SQL instance ID. This does not include the project ID.
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [String] quota_user
|
||||||
|
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||||
|
# characters.
|
||||||
|
# @param [String] user_ip
|
||||||
|
# Deprecated. Please use quotaUser instead.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::SqladminV1beta4::Operation] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::SqladminV1beta4::Operation]
|
||||||
|
#
|
||||||
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||||
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||||
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||||
|
def add_instance_server_ca(project, instance, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:post, 'projects/{project}/instances/{instance}/addServerCa', options)
|
||||||
|
command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
|
||||||
|
command.response_class = Google::Apis::SqladminV1beta4::Operation
|
||||||
|
command.params['project'] = project unless project.nil?
|
||||||
|
command.params['instance'] = instance unless instance.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
# Creates a Cloud SQL instance as a clone of the source instance. The API is not
|
# Creates a Cloud SQL instance as a clone of the source instance. The API is not
|
||||||
# ready for Second Generation instances yet.
|
# ready for Second Generation instances yet.
|
||||||
# @param [String] project
|
# @param [String] project
|
||||||
|
@ -843,6 +883,46 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Lists all of the trusted Certificate Authorities (CAs) for the specified
|
||||||
|
# instance. There can be up to three CAs listed: the CA that was used to sign
|
||||||
|
# the certificate that is currently in use, a CA that has been added but not yet
|
||||||
|
# used to sign a certificate, and a CA used to sign a certificate that has
|
||||||
|
# previously rotated out.
|
||||||
|
# @param [String] project
|
||||||
|
# Project ID of the project that contains the instance.
|
||||||
|
# @param [String] instance
|
||||||
|
# Cloud SQL instance ID. This does not include the project ID.
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [String] quota_user
|
||||||
|
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||||
|
# characters.
|
||||||
|
# @param [String] user_ip
|
||||||
|
# Deprecated. Please use quotaUser instead.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::SqladminV1beta4::InstancesListServerCasResponse] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::SqladminV1beta4::InstancesListServerCasResponse]
|
||||||
|
#
|
||||||
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||||
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||||
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||||
|
def list_instance_server_cas(project, instance, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:get, 'projects/{project}/instances/{instance}/listServerCas', options)
|
||||||
|
command.response_representation = Google::Apis::SqladminV1beta4::InstancesListServerCasResponse::Representation
|
||||||
|
command.response_class = Google::Apis::SqladminV1beta4::InstancesListServerCasResponse
|
||||||
|
command.params['project'] = project unless project.nil?
|
||||||
|
command.params['instance'] = instance unless instance.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
# Updates settings of a Cloud SQL instance. Caution: This is not a partial
|
# Updates settings of a Cloud SQL instance. Caution: This is not a partial
|
||||||
# update, so you must include values for all the settings that you want to
|
# update, so you must include values for all the settings that you want to
|
||||||
# retain. For partial updates, use patch.. This method supports patch semantics.
|
# retain. For partial updates, use patch.. This method supports patch semantics.
|
||||||
|
@ -1034,6 +1114,46 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Rotates the server certificate to one signed by the Certificate Authority (CA)
|
||||||
|
# version previously added with the addServerCA method.
|
||||||
|
# @param [String] project
|
||||||
|
# Project ID of the project that contains the instance.
|
||||||
|
# @param [String] instance
|
||||||
|
# Cloud SQL instance ID. This does not include the project ID.
|
||||||
|
# @param [Google::Apis::SqladminV1beta4::InstancesRotateServerCaRequest] instances_rotate_server_ca_request_object
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [String] quota_user
|
||||||
|
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||||
|
# characters.
|
||||||
|
# @param [String] user_ip
|
||||||
|
# Deprecated. Please use quotaUser instead.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::SqladminV1beta4::Operation] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::SqladminV1beta4::Operation]
|
||||||
|
#
|
||||||
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||||
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||||
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||||
|
def rotate_instance_server_ca(project, instance, instances_rotate_server_ca_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:post, 'projects/{project}/instances/{instance}/rotateServerCa', options)
|
||||||
|
command.request_representation = Google::Apis::SqladminV1beta4::InstancesRotateServerCaRequest::Representation
|
||||||
|
command.request_object = instances_rotate_server_ca_request_object
|
||||||
|
command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
|
||||||
|
command.response_class = Google::Apis::SqladminV1beta4::Operation
|
||||||
|
command.params['project'] = project unless project.nil?
|
||||||
|
command.params['instance'] = instance unless instance.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
# Starts the replication in the read replica instance.
|
# Starts the replication in the read replica instance.
|
||||||
# @param [String] project
|
# @param [String] project
|
||||||
# ID of the project that contains the read replica.
|
# ID of the project that contains the read replica.
|
||||||
|
|
|
@ -22,10 +22,10 @@ module Google
|
||||||
#
|
#
|
||||||
# Retrieves your YouTube Analytics data.
|
# Retrieves your YouTube Analytics data.
|
||||||
#
|
#
|
||||||
# @see http://developers.google.com/youtube/analytics
|
# @see https://developers.google.com/youtube/analytics
|
||||||
module YoutubeAnalyticsV2
|
module YoutubeAnalyticsV2
|
||||||
VERSION = 'V2'
|
VERSION = 'V2'
|
||||||
REVISION = '20180424'
|
REVISION = '20180514'
|
||||||
|
|
||||||
# Manage your YouTube account
|
# Manage your YouTube account
|
||||||
AUTH_YOUTUBE = 'https://www.googleapis.com/auth/youtube'
|
AUTH_YOUTUBE = 'https://www.googleapis.com/auth/youtube'
|
||||||
|
|
|
@ -30,7 +30,7 @@ module Google
|
||||||
# YoutubeAnalytics = Google::Apis::YoutubeAnalyticsV2 # Alias the module
|
# YoutubeAnalytics = Google::Apis::YoutubeAnalyticsV2 # Alias the module
|
||||||
# service = YoutubeAnalytics::YouTubeAnalyticsService.new
|
# service = YoutubeAnalytics::YouTubeAnalyticsService.new
|
||||||
#
|
#
|
||||||
# @see http://developers.google.com/youtube/analytics
|
# @see https://developers.google.com/youtube/analytics
|
||||||
class YouTubeAnalyticsService < Google::Apis::Core::BaseService
|
class YouTubeAnalyticsService < Google::Apis::Core::BaseService
|
||||||
# @return [String]
|
# @return [String]
|
||||||
# API key. Your API key identifies your project and provides you with API access,
|
# API key. Your API key identifies your project and provides you with API access,
|
||||||
|
|
Loading…
Reference in New Issue