lib/google/apis/logging_v2/representations.rb in google-apis-logging_v2-0.39.0 vs lib/google/apis/logging_v2/representations.rb in google-apis-logging_v2-0.40.0
- old
+ new
@@ -26,10 +26,16 @@
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
+ class BucketMetadata
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class BucketOptions
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
@@ -62,10 +68,16 @@
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
+ class CreateBucketRequest
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class Empty
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
@@ -326,10 +338,16 @@
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
+ class UpdateBucketRequest
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class WriteLogEntriesRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
@@ -346,10 +364,23 @@
property :use_partitioned_tables, as: 'usePartitionedTables'
property :uses_timestamp_column_partitioning, as: 'usesTimestampColumnPartitioning'
end
end
+ class BucketMetadata
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :create_bucket_request, as: 'createBucketRequest', class: Google::Apis::LoggingV2::CreateBucketRequest, decorator: Google::Apis::LoggingV2::CreateBucketRequest::Representation
+
+ property :end_time, as: 'endTime'
+ property :start_time, as: 'startTime'
+ property :state, as: 'state'
+ property :update_bucket_request, as: 'updateBucketRequest', class: Google::Apis::LoggingV2::UpdateBucketRequest, decorator: Google::Apis::LoggingV2::UpdateBucketRequest::Representation
+
+ end
+ end
+
class BucketOptions
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :explicit_buckets, as: 'explicitBuckets', class: Google::Apis::LoggingV2::Explicit, decorator: Google::Apis::LoggingV2::Explicit::Representation
@@ -404,10 +435,20 @@
class Representation < Google::Apis::Core::JsonRepresentation
property :log_entries_copied_count, :numeric_string => true, as: 'logEntriesCopiedCount'
end
end
+ class CreateBucketRequest
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :bucket, as: 'bucket', class: Google::Apis::LoggingV2::LogBucket, decorator: Google::Apis::LoggingV2::LogBucket::Representation
+
+ property :bucket_id, as: 'bucketId'
+ property :parent, as: 'parent'
+ end
+ end
+
class Empty
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
@@ -589,10 +630,11 @@
end
class LogBucket
# @private
class Representation < Google::Apis::Core::JsonRepresentation
+ property :analytics_enabled, as: 'analyticsEnabled'
property :cmek_settings, as: 'cmekSettings', class: Google::Apis::LoggingV2::CmekSettings, decorator: Google::Apis::LoggingV2::CmekSettings::Representation
property :create_time, as: 'createTime'
property :description, as: 'description'
collection :index_configs, as: 'indexConfigs', class: Google::Apis::LoggingV2::IndexConfig, decorator: Google::Apis::LoggingV2::IndexConfig::Representation
@@ -914,9 +956,19 @@
end
class UndeleteBucketRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
+ end
+ end
+
+ class UpdateBucketRequest
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :bucket, as: 'bucket', class: Google::Apis::LoggingV2::LogBucket, decorator: Google::Apis::LoggingV2::LogBucket::Representation
+
+ property :name, as: 'name'
+ property :update_mask, as: 'updateMask'
end
end
class WriteLogEntriesRequest
# @private