From 244b71bb77de644352d63f57c61225f6c5373d4f Mon Sep 17 00:00:00 2001 From: Google APIs Date: Sun, 2 Feb 2020 00:37:39 +0000 Subject: [PATCH] Autogenerated update (2020-02-02) Update: - logging_v2 --- generated/google/apis/logging_v2.rb | 2 +- generated/google/apis/logging_v2/classes.rb | 21 +++++++++++++++---- .../google/apis/logging_v2/representations.rb | 1 + 3 files changed, 19 insertions(+), 5 deletions(-) diff --git a/generated/google/apis/logging_v2.rb b/generated/google/apis/logging_v2.rb index d90216586..2d694a403 100644 --- a/generated/google/apis/logging_v2.rb +++ b/generated/google/apis/logging_v2.rb @@ -29,7 +29,7 @@ module Google # @see https://cloud.google.com/logging/docs/ module LoggingV2 VERSION = 'V2' - REVISION = '20200113' + REVISION = '20200125' # 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/logging_v2/classes.rb b/generated/google/apis/logging_v2/classes.rb index f23c99440..780891847 100644 --- a/generated/google/apis/logging_v2/classes.rb +++ b/generated/google/apis/logging_v2/classes.rb @@ -36,6 +36,16 @@ module Google attr_accessor :use_partitioned_tables alias_method :use_partitioned_tables?, :use_partitioned_tables + # Output only. True if new timestamp column based partitioning is in use, false + # if legacy ingestion-time partitioning is in use. All new sinks will have this + # field set true and will use timestamp column based partitioning. If + # use_partitioned_tables is false, this value has no meaning and will be false. + # Legacy sinks using partitioned tables will have this field set to false. + # Corresponds to the JSON property `usesTimestampColumnPartitioning` + # @return [Boolean] + attr_accessor :uses_timestamp_column_partitioning + alias_method :uses_timestamp_column_partitioning?, :uses_timestamp_column_partitioning + def initialize(**args) update!(**args) end @@ -43,6 +53,7 @@ module Google # Update properties of this object def update!(**args) @use_partitioned_tables = args[:use_partitioned_tables] if args.key?(:use_partitioned_tables) + @uses_timestamp_column_partitioning = args[:uses_timestamp_column_partitioning] if args.key?(:uses_timestamp_column_partitioning) end end @@ -675,10 +686,12 @@ module Google # Optional. A unique identifier for the log entry. If you provide a value, then # Logging considers other log entries in the same project, with the same - # timestamp, and with the same insert_id to be duplicates which can be removed. - # If omitted in new log entries, then Logging assigns its own unique identifier. - # The insert_id is also used to order log entries that have the same timestamp - # value. + # timestamp, and with the same insert_id to be duplicates which are removed in a + # single query result. However, there are no guarantees of de-duplication in the + # export of logs.If the insert_id is omitted when writing a log entry, the + # Logging API assigns its own unique identifier in this field.In queries, the + # insert_id is also used to order log entries that have the same log_name and + # timestamp values. # Corresponds to the JSON property `insertId` # @return [String] attr_accessor :insert_id diff --git a/generated/google/apis/logging_v2/representations.rb b/generated/google/apis/logging_v2/representations.rb index de5d800c3..88be716c4 100644 --- a/generated/google/apis/logging_v2/representations.rb +++ b/generated/google/apis/logging_v2/representations.rb @@ -224,6 +224,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :use_partitioned_tables, as: 'usePartitionedTables' + property :uses_timestamp_column_partitioning, as: 'usesTimestampColumnPartitioning' end end