Autogenerated update (2018-02-01)

Update:
- dlp_v2beta1
- dlp_v2beta2
- poly_v1
- safebrowsing_v4
- sqladmin_v1beta3
- sqladmin_v1beta4
- tpu_v1alpha1
This commit is contained in:
Google APIs committed 2018-02-01 00:35:48 +00:00
1 parent bd82472cbb
commit 6fc4520e45
19 files changed
+96 -26

No files matched your search

+1 -1
View File
@@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/dlp/docs/
module DlpV2beta1
VERSION = 'V2beta1'
REVISION = '20180103'
REVISION = '20180130'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
+3 -1
View File
@@ -1335,7 +1335,9 @@ module Google
# The content that was found. Even if the content is not textual, it
# may be converted to a textual representation here.
# Provided if requested by the `InspectConfig`.
# Provided if requested by the `InspectConfig` and the finding is
# less than or equal to 4096 bytes long. If the finding exceeds 4096 bytes
# in length, the quote may be omitted.
# Corresponds to the JSON property `quote`
# @return [String]
attr_accessor :quote
+1 -1
View File
@@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/dlp/docs/
module DlpV2beta2
VERSION = 'V2beta2'
REVISION = '20180123'
REVISION = '20180130'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
+3 -1
View File
@@ -2912,7 +2912,9 @@ module Google
# The content that was found. Even if the content is not textual, it
# may be converted to a textual representation here.
# Provided if requested by the `InspectConfig`.
# Provided if requested by the `InspectConfig` and the finding is
# less than or equal to 4096 bytes long. If the finding exceeds 4096 bytes
# in length, the quote may be omitted.
# Corresponds to the JSON property `quote`
# @return [String]
attr_accessor :quote
+1 -1
View File
@@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/poly/
module PolyV1
VERSION = 'V1'
REVISION = '20171205'
REVISION = '20180129'
end
end
end
+9
View File
@@ -69,6 +69,14 @@ module Google
# @return [String]
attr_accessor :license
# Application-defined opaque metadata for this asset. This field is only
# returned when querying for the signed-in user's own assets, not for public
# assets. This string is limited to 1K chars. It is up to the creator of
# the asset to define the format for this string (for example, JSON).
# Corresponds to the JSON property `metadata`
# @return [String]
attr_accessor :metadata
# The unique identifier for the asset in the form:
# `assets/`ASSET_ID``.
# Corresponds to the JSON property `name`
@@ -112,6 +120,7 @@ module Google
@formats = args[:formats] if args.key?(:formats)
@is_curated = args[:is_curated] if args.key?(:is_curated)
@license = args[:license] if args.key?(:license)
@metadata = args[:metadata] if args.key?(:metadata)
@name = args[:name] if args.key?(:name)
@presentation_params = args[:presentation_params] if args.key?(:presentation_params)
@thumbnail = args[:thumbnail] if args.key?(:thumbnail)
@@ -93,6 +93,7 @@ module Google
property :is_curated, as: 'isCurated'
property :license, as: 'license'
property :metadata, as: 'metadata'
property :name, as: 'name'
property :presentation_params, as: 'presentationParams', class: Google::Apis::PolyV1::PresentationParams, decorator: Google::Apis::PolyV1::PresentationParams::Representation
+1 -1
View File
@@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/safe-browsing/
module SafebrowsingV4
VERSION = 'V4'
REVISION = '20180123'
REVISION = '20180130'
end
end
end
@@ -73,6 +73,12 @@ module Google
class Constraints
include Google::Apis::Core::Hashable
# A client's physical location, expressed as a ISO 31166-1 alpha-2
# region code.
# Corresponds to the JSON property `deviceLocation`
# @return [String]
attr_accessor :device_location
# Requests the lists for a specific language. Expects ISO 639 alpha-2
# format.
# Corresponds to the JSON property `language`
@@ -111,6 +117,7 @@ module Google
# Update properties of this object
def update!(**args)
@device_location = args[:device_location] if args.key?(:device_location)
@language = args[:language] if args.key?(:language)
@max_database_entries = args[:max_database_entries] if args.key?(:max_database_entries)
@max_update_entries = args[:max_update_entries] if args.key?(:max_update_entries)
@@ -196,6 +196,7 @@ module Google
class Constraints
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :device_location, as: 'deviceLocation'
property :language, as: 'language'
property :max_database_entries, as: 'maxDatabaseEntries'
property :max_update_entries, as: 'maxUpdateEntries'
+1 -1
View File
@@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/sql/docs/reference/latest
module SqladminV1beta3
VERSION = 'V1beta3'
REVISION = '20170807'
REVISION = '20180124'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -50,6 +50,14 @@ module Google
# @return [String]
attr_accessor :kind
# Whether replication log archiving is enabled. Replication log archiving is
# required for the point-in-time recovery (PITR) feature. PostgreSQL instances
# only.
# Corresponds to the JSON property `replicationLogArchivingEnabled`
# @return [Boolean]
attr_accessor :replication_log_archiving_enabled
alias_method :replication_log_archiving_enabled?, :replication_log_archiving_enabled
# Start time for the daily backup configuration in UTC timezone in the 24 hour
# format - HH:MM.
# Corresponds to the JSON property `startTime`
@@ -66,6 +74,7 @@ module Google
@enabled = args[:enabled] if args.key?(:enabled)
@id = args[:id] if args.key?(:id)
@kind = args[:kind] if args.key?(:kind)
@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)
end
end
@@ -223,6 +232,13 @@ module Google
# @return [String]
attr_accessor :kind
# The epoch timestamp, in milliseconds, of the time to which a point-in-time
# recovery (PITR) is performed. PostgreSQL instances only. For MySQL instances,
# use the binLogCoordinates property.
# Corresponds to the JSON property `pitrTimestampMs`
# @return [Fixnum]
attr_accessor :pitr_timestamp_ms
# Name of the Cloud SQL instance to be cloned.
# Corresponds to the JSON property `sourceInstanceName`
# @return [String]
@@ -237,6 +253,7 @@ module Google
@bin_log_coordinates = args[:bin_log_coordinates] if args.key?(:bin_log_coordinates)
@destination_instance_name = args[:destination_instance_name] if args.key?(:destination_instance_name)
@kind = args[:kind] if args.key?(:kind)
@pitr_timestamp_ms = args[:pitr_timestamp_ms] if args.key?(:pitr_timestamp_ms)
@source_instance_name = args[:source_instance_name] if args.key?(:source_instance_name)
end
end
@@ -287,6 +287,7 @@ module Google
property :enabled, as: 'enabled'
property :id, as: 'id'
property :kind, as: 'kind'
property :replication_log_archiving_enabled, as: 'replicationLogArchivingEnabled'
property :start_time, as: 'startTime'
end
end
@@ -337,6 +338,7 @@ module Google
property :destination_instance_name, as: 'destinationInstanceName'
property :kind, as: 'kind'
property :pitr_timestamp_ms, :numeric_string => true, as: 'pitrTimestampMs'
property :source_instance_name, as: 'sourceInstanceName'
end
end
+1 -1
View File
@@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/sql/docs/reference/latest
module SqladminV1beta4
VERSION = 'V1beta4'
REVISION = '20171011'
REVISION = '20180124'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -82,6 +82,14 @@ module Google
# @return [String]
attr_accessor :kind
# Whether replication log archiving is enabled. Replication log archiving is
# required for the point-in-time recovery (PITR) feature. PostgreSQL instances
# only.
# Corresponds to the JSON property `replicationLogArchivingEnabled`
# @return [Boolean]
attr_accessor :replication_log_archiving_enabled
alias_method :replication_log_archiving_enabled?, :replication_log_archiving_enabled
# Start time for the daily backup configuration in UTC timezone in the 24 hour
# format - HH:MM.
# Corresponds to the JSON property `startTime`
@@ -97,6 +105,7 @@ module Google
@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)
@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)
end
end
@@ -273,6 +282,13 @@ module Google
# @return [String]
attr_accessor :kind
# The epoch timestamp, in milliseconds, of the time to which a point-in-time
# recovery (PITR) is performed. PostgreSQL instances only. For MySQL instances,
# use the binLogCoordinates property.
# Corresponds to the JSON property `pitrTimestampMs`
# @return [Fixnum]
attr_accessor :pitr_timestamp_ms
def initialize(**args)
update!(**args)
end
@@ -282,6 +298,7 @@ module Google
@bin_log_coordinates = args[:bin_log_coordinates] if args.key?(:bin_log_coordinates)
@destination_instance_name = args[:destination_instance_name] if args.key?(:destination_instance_name)
@kind = args[:kind] if args.key?(:kind)
@pitr_timestamp_ms = args[:pitr_timestamp_ms] if args.key?(:pitr_timestamp_ms)
end
end
@@ -422,9 +439,9 @@ module Google
# @return [Google::Apis::SqladminV1beta4::DatabaseInstance::FailoverReplica]
attr_accessor :failover_replica
# The GCE zone that the instance is serving from. In case when the instance is
# failed over to standby zone, this value may be different with what user
# specified in the settings.
# The Compute Engine zone that the instance is currently serving from. This
# value could be different from the zone that was specified when the instance
# was created if the instance has failed over to its secondary zone.
# Corresponds to the JSON property `gceZone`
# @return [String]
attr_accessor :gce_zone
@@ -771,8 +788,8 @@ module Google
# The path to the file in Google Cloud Storage where the export will be stored.
# The URI is in the form gs://bucketName/fileName. If the file already exists,
# the operation fails. If fileType is SQL and the filename ends with .gz, the
# contents are compressed.
# the requests succeeds, but the operation fails. If fileType is SQL and the
# filename ends with .gz, the contents are compressed.
# Corresponds to the JSON property `uri`
# @return [String]
attr_accessor :uri
@@ -1329,7 +1346,8 @@ module Google
# @return [String]
attr_accessor :kind
#
# Maintenance timing setting: canary (Earlier) or stable (Later).
# Learn more.
# Corresponds to the JSON property `updateTrack`
# @return [String]
attr_accessor :update_track
@@ -1731,16 +1749,15 @@ module Google
include Google::Apis::Core::Hashable
# The activation policy specifies when the instance is activated; it is
# applicable only when the instance state is RUNNABLE. The activation policy
# cannot be updated together with other settings for Second Generation instances.
# Valid values:
# ALWAYS: The instance is on; it is not deactivated by inactivity.
# applicable only when the instance state is RUNNABLE. Valid values:
# ALWAYS: The instance is on, and remains so even in the absence of connection
# requests.
# NEVER: The instance is off; it is not activated, even if a connection request
# arrives.
# ON_DEMAND: The instance responds to incoming requests, and turns itself off
# when not in use. Instances with PER_USE pricing turn off after 15 minutes of
# inactivity. Instances with PER_PACKAGE pricing turn off after 12 hours of
# inactivity.
# ON_DEMAND: First Generation instances only. The instance responds to incoming
# requests, and turns itself off when not in use. Instances with PER_USE pricing
# turn off after 15 minutes of inactivity. Instances with PER_PACKAGE pricing
# turn off after 12 hours of inactivity.
# Corresponds to the JSON property `activationPolicy`
# @return [String]
attr_accessor :activation_policy
@@ -1751,7 +1768,12 @@ module Google
# @return [Array<String>]
attr_accessor :authorized_gae_applications
# Reserved for future use.
# Availability type (PostgreSQL instances only). Potential values:
# ZONAL: The instance serves data from only one zone. Outages in that zone
# affect data accessibility.
# REGIONAL: The instance can serve data from more than one zone in a region (it
# is highly available).
# For more information, see Overview of the High Availability Configuration.
# Corresponds to the JSON property `availabilityType`
# @return [String]
attr_accessor :availability_type
@@ -363,6 +363,7 @@ module Google
property :binary_log_enabled, as: 'binaryLogEnabled'
property :enabled, as: 'enabled'
property :kind, as: 'kind'
property :replication_log_archiving_enabled, as: 'replicationLogArchivingEnabled'
property :start_time, as: 'startTime'
end
end
@@ -416,6 +417,7 @@ module Google
property :destination_instance_name, as: 'destinationInstanceName'
property :kind, as: 'kind'
property :pitr_timestamp_ms, :numeric_string => true, as: 'pitrTimestampMs'
end
end
@@ -595,8 +595,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Demotes the standalone instance to be a read replica Cloud SQL instance of an
# on-premises master.
# Reserved for future use.
# @param [String] project
# ID of the project that contains the instance.
# @param [String] instance
+1 -1
View File
@@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/tpu/
module TpuV1alpha1
VERSION = 'V1alpha1'
REVISION = '20180127'
REVISION = '20180131'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'