google-apis-logging_v2 0.14.0 → 0.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 99eb340cae719bbee3780f6a462bf20d66ca05543f9efd8112f5efe7cdd04b3b
4
- data.tar.gz: a0afc97148ecb57488187fdedf506ff8a10e426a886c4eb44b6126ca016f24cd
3
+ metadata.gz: 37365c3e8c66171c5d7050bdd6d511d07ec8cdc3d7c8765b20ce6eac527eebc8
4
+ data.tar.gz: b33f7c4482ce007949d1d64a43087f1988173619c0d1aa61cfc81382cfef9b12
5
5
  SHA512:
6
- metadata.gz: f4d044d31bcf3a0913b784f06453bf2ef9709528cebe9da1dbcdfeaa2fc68e5c70f080995ce572b58066b5dae64d61d78c0dd1244b888c0ea484a1ce7fc4105a
7
- data.tar.gz: f41e88bc83750a7c9f1f8ad6ceb236b93caa6225f97156049d8c23d1fc39862a912875cc40f61a16de5a32521a68d63cdc5da07265b11f8c69ac7a66dc195ad4
6
+ metadata.gz: 41a689179b7cfd3168c0708c4eeb438d08f905a364bd9467d09545073cb353365c53db2bedc8f48c735c23cb6d784861e11be93115ce9090e2258ad2eb20b6ee
7
+ data.tar.gz: 0e0ba8afa35eb6fbab9eace685dcb352605548eee8f8d661ac300b9585433e2ca0906a4c195d6606c23fb76d7c9ecc44dc3f3b85c1126d59aa9a1be79ace8350
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-logging_v2
2
2
 
3
+ ### v0.15.0 (2021-10-02)
4
+
5
+ * Regenerated from discovery document revision 20210922
6
+
3
7
  ### v0.14.0 (2021-09-01)
4
8
 
5
9
  * Regenerated from discovery document revision 20210817
@@ -1693,11 +1693,6 @@ module Google
1693
1693
  # @return [String]
1694
1694
  attr_accessor :name
1695
1695
 
1696
- # Schema of a table containing logs.
1697
- # Corresponds to the JSON property `schema`
1698
- # @return [Google::Apis::LoggingV2::TableSchema]
1699
- attr_accessor :schema
1700
-
1701
1696
  # Output only. The last update timestamp of the view.
1702
1697
  # Corresponds to the JSON property `updateTime`
1703
1698
  # @return [String]
@@ -1713,7 +1708,6 @@ module Google
1713
1708
  @description = args[:description] if args.key?(:description)
1714
1709
  @filter = args[:filter] if args.key?(:filter)
1715
1710
  @name = args[:name] if args.key?(:name)
1716
- @schema = args[:schema] if args.key?(:schema)
1717
1711
  @update_time = args[:update_time] if args.key?(:update_time)
1718
1712
  end
1719
1713
  end
@@ -2455,74 +2449,6 @@ module Google
2455
2449
  end
2456
2450
  end
2457
2451
 
2458
- # A field in TableSchema. The fields describe the static fields in the LogEntry.
2459
- # Any dynamic fields generated by the customer in fields like labels and
2460
- # jsonPayload are not listed in the schema as they use a native JSON type field.
2461
- class TableFieldSchema
2462
- include Google::Apis::Core::Hashable
2463
-
2464
- # Optional. The field description.
2465
- # Corresponds to the JSON property `description`
2466
- # @return [String]
2467
- attr_accessor :description
2468
-
2469
- # Optional. Describes the nested schema fields if the type property is set to
2470
- # RECORD.
2471
- # Corresponds to the JSON property `fields`
2472
- # @return [Array<Google::Apis::LoggingV2::TableFieldSchema>]
2473
- attr_accessor :fields
2474
-
2475
- # Optional. The field mode. Possible values include NULLABLE, REQUIRED and
2476
- # REPEATED. The default value is NULLABLE.
2477
- # Corresponds to the JSON property `mode`
2478
- # @return [String]
2479
- attr_accessor :mode
2480
-
2481
- # Required. The field name corresponding to fields in the LogEntry.
2482
- # Corresponds to the JSON property `name`
2483
- # @return [String]
2484
- attr_accessor :name
2485
-
2486
- # Required. The field data type. Possible values include: STRING INTEGER (or
2487
- # INT64) FLOAT (or FLOAT64) BOOLEAN (or BOOL) TIMESTAMP RECORD (or STRUCT)Use of
2488
- # RECORD/STRUT indicates that the field contains a nested schema.
2489
- # Corresponds to the JSON property `type`
2490
- # @return [String]
2491
- attr_accessor :type
2492
-
2493
- def initialize(**args)
2494
- update!(**args)
2495
- end
2496
-
2497
- # Update properties of this object
2498
- def update!(**args)
2499
- @description = args[:description] if args.key?(:description)
2500
- @fields = args[:fields] if args.key?(:fields)
2501
- @mode = args[:mode] if args.key?(:mode)
2502
- @name = args[:name] if args.key?(:name)
2503
- @type = args[:type] if args.key?(:type)
2504
- end
2505
- end
2506
-
2507
- # Schema of a table containing logs.
2508
- class TableSchema
2509
- include Google::Apis::Core::Hashable
2510
-
2511
- # Describes the fields in a table.
2512
- # Corresponds to the JSON property `fields`
2513
- # @return [Array<Google::Apis::LoggingV2::TableFieldSchema>]
2514
- attr_accessor :fields
2515
-
2516
- def initialize(**args)
2517
- update!(**args)
2518
- end
2519
-
2520
- # Update properties of this object
2521
- def update!(**args)
2522
- @fields = args[:fields] if args.key?(:fields)
2523
- end
2524
- end
2525
-
2526
2452
  # The parameters to TailLogEntries.
2527
2453
  class TailLogEntriesRequest
2528
2454
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module LoggingV2
18
18
  # Version of the google-apis-logging_v2 gem
19
- GEM_VERSION = "0.14.0"
19
+ GEM_VERSION = "0.15.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210817"
25
+ REVISION = "20210922"
26
26
  end
27
27
  end
28
28
  end
@@ -292,18 +292,6 @@ module Google
292
292
  include Google::Apis::Core::JsonObjectSupport
293
293
  end
294
294
 
295
- class TableFieldSchema
296
- class Representation < Google::Apis::Core::JsonRepresentation; end
297
-
298
- include Google::Apis::Core::JsonObjectSupport
299
- end
300
-
301
- class TableSchema
302
- class Representation < Google::Apis::Core::JsonRepresentation; end
303
-
304
- include Google::Apis::Core::JsonObjectSupport
305
- end
306
-
307
295
  class TailLogEntriesRequest
308
296
  class Representation < Google::Apis::Core::JsonRepresentation; end
309
297
 
@@ -702,8 +690,6 @@ module Google
702
690
  property :description, as: 'description'
703
691
  property :filter, as: 'filter'
704
692
  property :name, as: 'name'
705
- property :schema, as: 'schema', class: Google::Apis::LoggingV2::TableSchema, decorator: Google::Apis::LoggingV2::TableSchema::Representation
706
-
707
693
  property :update_time, as: 'updateTime'
708
694
  end
709
695
  end
@@ -852,26 +838,6 @@ module Google
852
838
  end
853
839
  end
854
840
 
855
- class TableFieldSchema
856
- # @private
857
- class Representation < Google::Apis::Core::JsonRepresentation
858
- property :description, as: 'description'
859
- collection :fields, as: 'fields', class: Google::Apis::LoggingV2::TableFieldSchema, decorator: Google::Apis::LoggingV2::TableFieldSchema::Representation
860
-
861
- property :mode, as: 'mode'
862
- property :name, as: 'name'
863
- property :type, as: 'type'
864
- end
865
- end
866
-
867
- class TableSchema
868
- # @private
869
- class Representation < Google::Apis::Core::JsonRepresentation
870
- collection :fields, as: 'fields', class: Google::Apis::LoggingV2::TableFieldSchema, decorator: Google::Apis::LoggingV2::TableFieldSchema::Representation
871
-
872
- end
873
- end
874
-
875
841
  class TailLogEntriesRequest
876
842
  # @private
877
843
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -639,7 +639,9 @@ module Google
639
639
  execute_or_queue_command(command, &block)
640
640
  end
641
641
 
642
- # Deletes a view on a log bucket.
642
+ # Deletes a view on a log bucket. If an UNAVAILABLE error is returned, this
643
+ # indicates that system is not in a state where it can delete the view. If this
644
+ # occurs, please try again in a few minutes.
643
645
  # @param [String] name
644
646
  # Required. The full resource name of the view to delete: "projects/[PROJECT_ID]/
645
647
  # locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]" For example:"
@@ -714,7 +716,9 @@ module Google
714
716
  end
715
717
 
716
718
  # Updates a view on a log bucket. This method replaces the following fields in
717
- # the existing view with values from the new view: filter.
719
+ # the existing view with values from the new view: filter. If an UNAVAILABLE
720
+ # error is returned, this indicates that system is not in a state where it can
721
+ # update the view. If this occurs, please try again in a few minutes.
718
722
  # @param [String] name
719
723
  # Required. The full resource name of the view to update "projects/[PROJECT_ID]/
720
724
  # locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]" For example:"
@@ -2122,7 +2126,9 @@ module Google
2122
2126
  execute_or_queue_command(command, &block)
2123
2127
  end
2124
2128
 
2125
- # Deletes a view on a log bucket.
2129
+ # Deletes a view on a log bucket. If an UNAVAILABLE error is returned, this
2130
+ # indicates that system is not in a state where it can delete the view. If this
2131
+ # occurs, please try again in a few minutes.
2126
2132
  # @param [String] name
2127
2133
  # Required. The full resource name of the view to delete: "projects/[PROJECT_ID]/
2128
2134
  # locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]" For example:"
@@ -2229,7 +2235,9 @@ module Google
2229
2235
  end
2230
2236
 
2231
2237
  # Updates a view on a log bucket. This method replaces the following fields in
2232
- # the existing view with values from the new view: filter.
2238
+ # the existing view with values from the new view: filter. If an UNAVAILABLE
2239
+ # error is returned, this indicates that system is not in a state where it can
2240
+ # update the view. If this occurs, please try again in a few minutes.
2233
2241
  # @param [String] name
2234
2242
  # Required. The full resource name of the view to update "projects/[PROJECT_ID]/
2235
2243
  # locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]" For example:"
@@ -3122,7 +3130,9 @@ module Google
3122
3130
  execute_or_queue_command(command, &block)
3123
3131
  end
3124
3132
 
3125
- # Deletes a view on a log bucket.
3133
+ # Deletes a view on a log bucket. If an UNAVAILABLE error is returned, this
3134
+ # indicates that system is not in a state where it can delete the view. If this
3135
+ # occurs, please try again in a few minutes.
3126
3136
  # @param [String] name
3127
3137
  # Required. The full resource name of the view to delete: "projects/[PROJECT_ID]/
3128
3138
  # locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]" For example:"
@@ -3229,7 +3239,9 @@ module Google
3229
3239
  end
3230
3240
 
3231
3241
  # Updates a view on a log bucket. This method replaces the following fields in
3232
- # the existing view with values from the new view: filter.
3242
+ # the existing view with values from the new view: filter. If an UNAVAILABLE
3243
+ # error is returned, this indicates that system is not in a state where it can
3244
+ # update the view. If this occurs, please try again in a few minutes.
3233
3245
  # @param [String] name
3234
3246
  # Required. The full resource name of the view to update "projects/[PROJECT_ID]/
3235
3247
  # locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]" For example:"
@@ -4163,7 +4175,9 @@ module Google
4163
4175
  execute_or_queue_command(command, &block)
4164
4176
  end
4165
4177
 
4166
- # Deletes a view on a log bucket.
4178
+ # Deletes a view on a log bucket. If an UNAVAILABLE error is returned, this
4179
+ # indicates that system is not in a state where it can delete the view. If this
4180
+ # occurs, please try again in a few minutes.
4167
4181
  # @param [String] name
4168
4182
  # Required. The full resource name of the view to delete: "projects/[PROJECT_ID]/
4169
4183
  # locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]" For example:"
@@ -4270,7 +4284,9 @@ module Google
4270
4284
  end
4271
4285
 
4272
4286
  # Updates a view on a log bucket. This method replaces the following fields in
4273
- # the existing view with values from the new view: filter.
4287
+ # the existing view with values from the new view: filter. If an UNAVAILABLE
4288
+ # error is returned, this indicates that system is not in a state where it can
4289
+ # update the view. If this occurs, please try again in a few minutes.
4274
4290
  # @param [String] name
4275
4291
  # Required. The full resource name of the view to update "projects/[PROJECT_ID]/
4276
4292
  # locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]" For example:"
@@ -5357,7 +5373,9 @@ module Google
5357
5373
  execute_or_queue_command(command, &block)
5358
5374
  end
5359
5375
 
5360
- # Deletes a view on a log bucket.
5376
+ # Deletes a view on a log bucket. If an UNAVAILABLE error is returned, this
5377
+ # indicates that system is not in a state where it can delete the view. If this
5378
+ # occurs, please try again in a few minutes.
5361
5379
  # @param [String] name
5362
5380
  # Required. The full resource name of the view to delete: "projects/[PROJECT_ID]/
5363
5381
  # locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]" For example:"
@@ -5464,7 +5482,9 @@ module Google
5464
5482
  end
5465
5483
 
5466
5484
  # Updates a view on a log bucket. This method replaces the following fields in
5467
- # the existing view with values from the new view: filter.
5485
+ # the existing view with values from the new view: filter. If an UNAVAILABLE
5486
+ # error is returned, this indicates that system is not in a state where it can
5487
+ # update the view. If this occurs, please try again in a few minutes.
5468
5488
  # @param [String] name
5469
5489
  # Required. The full resource name of the view to update "projects/[PROJECT_ID]/
5470
5490
  # locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]" For example:"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-logging_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.0
4
+ version: 0.15.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-09-06 00:00:00.000000000 Z
11
+ date: 2021-10-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-logging_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-logging_v2/v0.14.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-logging_v2/v0.15.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-logging_v2
63
63
  post_install_message:
64
64
  rdoc_options: []