From 6fc4520e45957ff7d17c5ea5ea38af2fee771233 Mon Sep 17 00:00:00 2001 From: Google APIs Date: Thu, 1 Feb 2018 00:35:48 +0000 Subject: [PATCH] Autogenerated update (2018-02-01) Update: - dlp_v2beta1 - dlp_v2beta2 - poly_v1 - safebrowsing_v4 - sqladmin_v1beta3 - sqladmin_v1beta4 - tpu_v1alpha1 --- api_names_out.yaml | 6 +++ generated/google/apis/dlp_v2beta1.rb | 2 +- generated/google/apis/dlp_v2beta1/classes.rb | 4 +- generated/google/apis/dlp_v2beta2.rb | 2 +- generated/google/apis/dlp_v2beta2/classes.rb | 4 +- generated/google/apis/poly_v1.rb | 2 +- generated/google/apis/poly_v1/classes.rb | 9 ++++ .../google/apis/poly_v1/representations.rb | 1 + generated/google/apis/safebrowsing_v4.rb | 2 +- .../google/apis/safebrowsing_v4/classes.rb | 7 +++ .../apis/safebrowsing_v4/representations.rb | 1 + generated/google/apis/sqladmin_v1beta3.rb | 2 +- .../google/apis/sqladmin_v1beta3/classes.rb | 17 ++++++ .../apis/sqladmin_v1beta3/representations.rb | 2 + generated/google/apis/sqladmin_v1beta4.rb | 2 +- .../google/apis/sqladmin_v1beta4/classes.rb | 52 +++++++++++++------ .../apis/sqladmin_v1beta4/representations.rb | 2 + .../google/apis/sqladmin_v1beta4/service.rb | 3 +- generated/google/apis/tpu_v1alpha1.rb | 2 +- 19 files changed, 96 insertions(+), 26 deletions(-) diff --git a/api_names_out.yaml b/api_names_out.yaml index 0e0215449..137aad2c5 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -56766,6 +56766,7 @@ "/poly:v1/Asset/formats/format": format "/poly:v1/Asset/isCurated": is_curated "/poly:v1/Asset/license": license +"/poly:v1/Asset/metadata": metadata "/poly:v1/Asset/name": name "/poly:v1/Asset/presentationParams": presentation_params "/poly:v1/Asset/thumbnail": thumbnail @@ -58954,6 +58955,7 @@ "/safebrowsing:v4/ClientInfo/clientId": client_id "/safebrowsing:v4/ClientInfo/clientVersion": client_version "/safebrowsing:v4/Constraints": constraints +"/safebrowsing:v4/Constraints/deviceLocation": device_location "/safebrowsing:v4/Constraints/language": language "/safebrowsing:v4/Constraints/maxDatabaseEntries": max_database_entries "/safebrowsing:v4/Constraints/maxUpdateEntries": max_update_entries @@ -63354,6 +63356,7 @@ "/sqladmin:v1beta3/BackupConfiguration/enabled": enabled "/sqladmin:v1beta3/BackupConfiguration/id": id "/sqladmin:v1beta3/BackupConfiguration/kind": kind +"/sqladmin:v1beta3/BackupConfiguration/replicationLogArchivingEnabled": replication_log_archiving_enabled "/sqladmin:v1beta3/BackupConfiguration/startTime": start_time "/sqladmin:v1beta3/BackupRun": backup_run "/sqladmin:v1beta3/BackupRun/backupConfiguration": backup_configuration @@ -63378,6 +63381,7 @@ "/sqladmin:v1beta3/CloneContext/binLogCoordinates": bin_log_coordinates "/sqladmin:v1beta3/CloneContext/destinationInstanceName": destination_instance_name "/sqladmin:v1beta3/CloneContext/kind": kind +"/sqladmin:v1beta3/CloneContext/pitrTimestampMs": pitr_timestamp_ms "/sqladmin:v1beta3/CloneContext/sourceInstanceName": source_instance_name "/sqladmin:v1beta3/DatabaseFlags": database_flags "/sqladmin:v1beta3/DatabaseFlags/name": name @@ -63658,6 +63662,7 @@ "/sqladmin:v1beta4/BackupConfiguration/binaryLogEnabled": binary_log_enabled "/sqladmin:v1beta4/BackupConfiguration/enabled": enabled "/sqladmin:v1beta4/BackupConfiguration/kind": kind +"/sqladmin:v1beta4/BackupConfiguration/replicationLogArchivingEnabled": replication_log_archiving_enabled "/sqladmin:v1beta4/BackupConfiguration/startTime": start_time "/sqladmin:v1beta4/BackupRun": backup_run "/sqladmin:v1beta4/BackupRun/description": description @@ -63685,6 +63690,7 @@ "/sqladmin:v1beta4/CloneContext/binLogCoordinates": bin_log_coordinates "/sqladmin:v1beta4/CloneContext/destinationInstanceName": destination_instance_name "/sqladmin:v1beta4/CloneContext/kind": kind +"/sqladmin:v1beta4/CloneContext/pitrTimestampMs": pitr_timestamp_ms "/sqladmin:v1beta4/Database": database "/sqladmin:v1beta4/Database/charset": charset "/sqladmin:v1beta4/Database/collation": collation diff --git a/generated/google/apis/dlp_v2beta1.rb b/generated/google/apis/dlp_v2beta1.rb index 13b1b6033..e65161dd2 100644 --- a/generated/google/apis/dlp_v2beta1.rb +++ b/generated/google/apis/dlp_v2beta1.rb @@ -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' diff --git a/generated/google/apis/dlp_v2beta1/classes.rb b/generated/google/apis/dlp_v2beta1/classes.rb index 290e2e402..7e8677156 100644 --- a/generated/google/apis/dlp_v2beta1/classes.rb +++ b/generated/google/apis/dlp_v2beta1/classes.rb @@ -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 diff --git a/generated/google/apis/dlp_v2beta2.rb b/generated/google/apis/dlp_v2beta2.rb index 5a99d353b..ee1a1fff8 100644 --- a/generated/google/apis/dlp_v2beta2.rb +++ b/generated/google/apis/dlp_v2beta2.rb @@ -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' diff --git a/generated/google/apis/dlp_v2beta2/classes.rb b/generated/google/apis/dlp_v2beta2/classes.rb index 67fee7d31..c4eb0ca4f 100644 --- a/generated/google/apis/dlp_v2beta2/classes.rb +++ b/generated/google/apis/dlp_v2beta2/classes.rb @@ -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 diff --git a/generated/google/apis/poly_v1.rb b/generated/google/apis/poly_v1.rb index 8a13a29ca..510fb7d0b 100644 --- a/generated/google/apis/poly_v1.rb +++ b/generated/google/apis/poly_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/poly/ module PolyV1 VERSION = 'V1' - REVISION = '20171205' + REVISION = '20180129' end end end diff --git a/generated/google/apis/poly_v1/classes.rb b/generated/google/apis/poly_v1/classes.rb index f4506739a..e63fe8c69 100644 --- a/generated/google/apis/poly_v1/classes.rb +++ b/generated/google/apis/poly_v1/classes.rb @@ -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) diff --git a/generated/google/apis/poly_v1/representations.rb b/generated/google/apis/poly_v1/representations.rb index 0ceb91208..5202e3d67 100644 --- a/generated/google/apis/poly_v1/representations.rb +++ b/generated/google/apis/poly_v1/representations.rb @@ -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 diff --git a/generated/google/apis/safebrowsing_v4.rb b/generated/google/apis/safebrowsing_v4.rb index 94be9dac3..89997f7a2 100644 --- a/generated/google/apis/safebrowsing_v4.rb +++ b/generated/google/apis/safebrowsing_v4.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/safe-browsing/ module SafebrowsingV4 VERSION = 'V4' - REVISION = '20180123' + REVISION = '20180130' end end end diff --git a/generated/google/apis/safebrowsing_v4/classes.rb b/generated/google/apis/safebrowsing_v4/classes.rb index 39757c4f3..7e9fc92d0 100644 --- a/generated/google/apis/safebrowsing_v4/classes.rb +++ b/generated/google/apis/safebrowsing_v4/classes.rb @@ -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) diff --git a/generated/google/apis/safebrowsing_v4/representations.rb b/generated/google/apis/safebrowsing_v4/representations.rb index 5c33ae245..37b375e24 100644 --- a/generated/google/apis/safebrowsing_v4/representations.rb +++ b/generated/google/apis/safebrowsing_v4/representations.rb @@ -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' diff --git a/generated/google/apis/sqladmin_v1beta3.rb b/generated/google/apis/sqladmin_v1beta3.rb index 061d49987..26839294b 100644 --- a/generated/google/apis/sqladmin_v1beta3.rb +++ b/generated/google/apis/sqladmin_v1beta3.rb @@ -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' diff --git a/generated/google/apis/sqladmin_v1beta3/classes.rb b/generated/google/apis/sqladmin_v1beta3/classes.rb index dc34d5b63..23cc55689 100644 --- a/generated/google/apis/sqladmin_v1beta3/classes.rb +++ b/generated/google/apis/sqladmin_v1beta3/classes.rb @@ -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 diff --git a/generated/google/apis/sqladmin_v1beta3/representations.rb b/generated/google/apis/sqladmin_v1beta3/representations.rb index 4baebb994..4c7afe8f2 100644 --- a/generated/google/apis/sqladmin_v1beta3/representations.rb +++ b/generated/google/apis/sqladmin_v1beta3/representations.rb @@ -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 diff --git a/generated/google/apis/sqladmin_v1beta4.rb b/generated/google/apis/sqladmin_v1beta4.rb index fb1967ba4..b1f602d63 100644 --- a/generated/google/apis/sqladmin_v1beta4.rb +++ b/generated/google/apis/sqladmin_v1beta4.rb @@ -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' diff --git a/generated/google/apis/sqladmin_v1beta4/classes.rb b/generated/google/apis/sqladmin_v1beta4/classes.rb index bef382c98..c59277164 100644 --- a/generated/google/apis/sqladmin_v1beta4/classes.rb +++ b/generated/google/apis/sqladmin_v1beta4/classes.rb @@ -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] 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 diff --git a/generated/google/apis/sqladmin_v1beta4/representations.rb b/generated/google/apis/sqladmin_v1beta4/representations.rb index 69112c2dc..d481d07a9 100644 --- a/generated/google/apis/sqladmin_v1beta4/representations.rb +++ b/generated/google/apis/sqladmin_v1beta4/representations.rb @@ -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 diff --git a/generated/google/apis/sqladmin_v1beta4/service.rb b/generated/google/apis/sqladmin_v1beta4/service.rb index 352c3177f..2680a8b74 100644 --- a/generated/google/apis/sqladmin_v1beta4/service.rb +++ b/generated/google/apis/sqladmin_v1beta4/service.rb @@ -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 diff --git a/generated/google/apis/tpu_v1alpha1.rb b/generated/google/apis/tpu_v1alpha1.rb index f382c7599..f7ecf743e 100644 --- a/generated/google/apis/tpu_v1alpha1.rb +++ b/generated/google/apis/tpu_v1alpha1.rb @@ -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'