google-apis-logging_v2 0.60.0 → 0.62.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c411b0bd624fdbb70c31149350c6f6e73c1a4660e3097c93e8809e182a7b44b4
4
- data.tar.gz: 58cf630483b052fd886af5c5b0ea3201206c2131bae0cee887ce25eef4a76766
3
+ metadata.gz: 859237e62269733939a4a183871318152642177f74dae68a3be1fb23bda8fd4e
4
+ data.tar.gz: 2176f2d21bdb3614a6c4b92c00661cb9fa8f6e00e4027441962fa8a717bc2202
5
5
  SHA512:
6
- metadata.gz: 287320be3df3c943eee06df13f4a2b42b3c615bad39c39cb2cd438c3f57a77abb34234efe067bdab77f01d665ce732c3699fd1c4e5125195a82d13ee1945f1a5
7
- data.tar.gz: 522d94f94a372ffd9d14ce28a0ace576664a8db2df71961e56ced985109ea92b6ceb497ca1fe7ff55db18b23099935fb410d7effb1e5c0403eeae2f0ec8a5c1e
6
+ metadata.gz: 80c640f361340dbd2c057fc355cb63e98e36a562a850cdba2a7176380156631f9e1e842fc8b526c3d2eeb063279a7e426fb6abbbf406accb05a3425a93d6f144
7
+ data.tar.gz: f9184c0690802004d201c425134067f4e513258013181ca729a73d727c0d603dbf625b8b47d6ff069187a3dab7127d4d5fc5436db5e7731aa4f7509a3703fe6f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Release history for google-apis-logging_v2
2
2
 
3
+ ### v0.62.0 (2024-02-18)
4
+
5
+ * Regenerated from discovery document revision 20240207
6
+ * Regenerated using generator version 0.13.1
7
+
8
+ ### v0.61.0 (2024-01-22)
9
+
10
+ * Regenerated from discovery document revision 20240112
11
+ * Regenerated using generator version 0.13.0
12
+
3
13
  ### v0.60.0 (2023-12-17)
4
14
 
5
15
  * Regenerated from discovery document revision 20231210
@@ -101,7 +101,7 @@ module Google
101
101
  # @return [String]
102
102
  attr_accessor :start_time
103
103
 
104
- # State of an operation.
104
+ # Output only. State of an operation.
105
105
  # Corresponds to the JSON property `state`
106
106
  # @return [String]
107
107
  attr_accessor :state
@@ -204,32 +204,32 @@ module Google
204
204
  class CmekSettings
205
205
  include Google::Apis::Core::Hashable
206
206
 
207
- # The resource name for the configured Cloud KMS key.KMS key name format: "
208
- # projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]"
209
- # For example:"projects/my-project/locations/us-central1/keyRings/my-ring/
210
- # cryptoKeys/my-key"To enable CMEK for the Log Router, set this field to a valid
211
- # kms_key_name for which the associated service account has the needed cloudkms.
212
- # cryptoKeyEncrypterDecrypter roles assigned for the key.The Cloud KMS key used
213
- # by the Log Router can be updated by changing the kms_key_name to a new valid
214
- # key name or disabled by setting the key name to an empty string. Encryption
215
- # operations that are in progress will be completed with the key that was in use
216
- # when they started. Decryption operations will be completed using the key that
217
- # was used at the time of encryption unless access to that key has been revoked.
218
- # To disable CMEK for the Log Router, set this field to an empty string.See
219
- # Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/
220
- # managed-encryption) for more information.
207
+ # Optional. The resource name for the configured Cloud KMS key.KMS key name
208
+ # format: "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/
209
+ # cryptoKeys/[KEY]" For example:"projects/my-project/locations/us-central1/
210
+ # keyRings/my-ring/cryptoKeys/my-key"To enable CMEK for the Log Router, set this
211
+ # field to a valid kms_key_name for which the associated service account has the
212
+ # needed cloudkms.cryptoKeyEncrypterDecrypter roles assigned for the key.The
213
+ # Cloud KMS key used by the Log Router can be updated by changing the
214
+ # kms_key_name to a new valid key name or disabled by setting the key name to an
215
+ # empty string. Encryption operations that are in progress will be completed
216
+ # with the key that was in use when they started. Decryption operations will be
217
+ # completed using the key that was used at the time of encryption unless access
218
+ # to that key has been revoked.To disable CMEK for the Log Router, set this
219
+ # field to an empty string.See Enabling CMEK for Log Router (https://cloud.
220
+ # google.com/logging/docs/routing/managed-encryption) for more information.
221
221
  # Corresponds to the JSON property `kmsKeyName`
222
222
  # @return [String]
223
223
  attr_accessor :kms_key_name
224
224
 
225
- # The CryptoKeyVersion resource name for the configured Cloud KMS key.KMS key
226
- # name format: "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/
227
- # cryptoKeys/[KEY]/cryptoKeyVersions/[VERSION]" For example:"projects/my-project/
228
- # locations/us-central1/keyRings/my-ring/cryptoKeys/my-key/cryptoKeyVersions/1"
229
- # This is a read-only field used to convey the specific configured
230
- # CryptoKeyVersion of kms_key that has been configured. It will be populated in
231
- # cases where the CMEK settings are bound to a single key version.If this field
232
- # is populated, the kms_key is tied to a specific CryptoKeyVersion.
225
+ # Output only. The CryptoKeyVersion resource name for the configured Cloud KMS
226
+ # key.KMS key name format: "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[
227
+ # KEYRING]/cryptoKeys/[KEY]/cryptoKeyVersions/[VERSION]" For example:"projects/
228
+ # my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key/
229
+ # cryptoKeyVersions/1"This is a read-only field used to convey the specific
230
+ # configured CryptoKeyVersion of kms_key that has been configured. It will be
231
+ # populated in cases where the CMEK settings are bound to a single key version.
232
+ # If this field is populated, the kms_key is tied to a specific CryptoKeyVersion.
233
233
  # Corresponds to the JSON property `kmsKeyVersionName`
234
234
  # @return [String]
235
235
  attr_accessor :kms_key_version_name
@@ -272,6 +272,12 @@ module Google
272
272
  attr_accessor :cancellation_requested
273
273
  alias_method :cancellation_requested?, :cancellation_requested
274
274
 
275
+ # Destination to which to copy log entries.For example, a Cloud Storage bucket:"
276
+ # storage.googleapis.com/my-cloud-storage-bucket"
277
+ # Corresponds to the JSON property `destination`
278
+ # @return [String]
279
+ attr_accessor :destination
280
+
275
281
  # The end time of an operation.
276
282
  # Corresponds to the JSON property `endTime`
277
283
  # @return [String]
@@ -287,16 +293,27 @@ module Google
287
293
  # @return [Google::Apis::LoggingV2::CopyLogEntriesRequest]
288
294
  attr_accessor :request
289
295
 
296
+ # Source from which to copy log entries.For example, a log bucket:"projects/my-
297
+ # project/locations/global/buckets/my-source-bucket"
298
+ # Corresponds to the JSON property `source`
299
+ # @return [String]
300
+ attr_accessor :source
301
+
290
302
  # The create time of an operation.
291
303
  # Corresponds to the JSON property `startTime`
292
304
  # @return [String]
293
305
  attr_accessor :start_time
294
306
 
295
- # State of an operation.
307
+ # Output only. State of an operation.
296
308
  # Corresponds to the JSON property `state`
297
309
  # @return [String]
298
310
  attr_accessor :state
299
311
 
312
+ # Name of the verb executed by the operation.For example,"copy"
313
+ # Corresponds to the JSON property `verb`
314
+ # @return [String]
315
+ attr_accessor :verb
316
+
300
317
  # The IAM identity of a service account that must be granted access to the
301
318
  # destination.If the service account is not granted permission to the
302
319
  # destination within an hour, the operation will be cancelled.For example: "
@@ -312,11 +329,14 @@ module Google
312
329
  # Update properties of this object
313
330
  def update!(**args)
314
331
  @cancellation_requested = args[:cancellation_requested] if args.key?(:cancellation_requested)
332
+ @destination = args[:destination] if args.key?(:destination)
315
333
  @end_time = args[:end_time] if args.key?(:end_time)
316
334
  @progress = args[:progress] if args.key?(:progress)
317
335
  @request = args[:request] if args.key?(:request)
336
+ @source = args[:source] if args.key?(:source)
318
337
  @start_time = args[:start_time] if args.key?(:start_time)
319
338
  @state = args[:state] if args.key?(:state)
339
+ @verb = args[:verb] if args.key?(:verb)
320
340
  @writer_identity = args[:writer_identity] if args.key?(:writer_identity)
321
341
  end
322
342
  end
@@ -821,7 +841,8 @@ module Google
821
841
  # @return [String]
822
842
  attr_accessor :create_time
823
843
 
824
- # Describes this link.The maximum length of the description is 8000 characters.
844
+ # Optional. Describes this link.The maximum length of the description is 8000
845
+ # characters.
825
846
  # Corresponds to the JSON property `description`
826
847
  # @return [String]
827
848
  attr_accessor :description
@@ -831,15 +852,15 @@ module Google
831
852
  # @return [String]
832
853
  attr_accessor :lifecycle_state
833
854
 
834
- # The resource name of the link. The name can have up to 100 characters. A valid
835
- # link id (at the end of the link name) must only have alphanumeric characters
836
- # and underscores within it. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/
837
- # buckets/[BUCKET_ID]/links/[LINK_ID]" "organizations/[ORGANIZATION_ID]/
838
- # locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "billingAccounts/[
839
- # BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]
840
- # " "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[
841
- # LINK_ID]" For example:`projects/my-project/locations/global/buckets/my-bucket/
842
- # links/my_link
855
+ # Output only. The resource name of the link. The name can have up to 100
856
+ # characters. A valid link id (at the end of the link name) must only have
857
+ # alphanumeric characters and underscores within it. "projects/[PROJECT_ID]/
858
+ # locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "organizations/[
859
+ # ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "
860
+ # billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[
861
+ # BUCKET_ID]/links/[LINK_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/
862
+ # buckets/[BUCKET_ID]/links/[LINK_ID]" For example:`projects/my-project/
863
+ # locations/global/buckets/my-bucket/links/my_link
843
864
  # Corresponds to the JSON property `name`
844
865
  # @return [String]
845
866
  attr_accessor :name
@@ -882,7 +903,7 @@ module Google
882
903
  # @return [String]
883
904
  attr_accessor :start_time
884
905
 
885
- # State of an operation.
906
+ # Output only. State of an operation.
886
907
  # Corresponds to the JSON property `state`
887
908
  # @return [String]
888
909
  attr_accessor :state
@@ -1431,8 +1452,8 @@ module Google
1431
1452
  class LogBucket
1432
1453
  include Google::Apis::Core::Hashable
1433
1454
 
1434
- # Whether log analytics is enabled for this bucket.Once enabled, log analytics
1435
- # features cannot be disabled.
1455
+ # Optional. Whether log analytics is enabled for this bucket.Once enabled, log
1456
+ # analytics features cannot be disabled.
1436
1457
  # Corresponds to the JSON property `analyticsEnabled`
1437
1458
  # @return [Boolean]
1438
1459
  attr_accessor :analytics_enabled
@@ -1454,12 +1475,12 @@ module Google
1454
1475
  # @return [String]
1455
1476
  attr_accessor :create_time
1456
1477
 
1457
- # Describes this bucket.
1478
+ # Optional. Describes this bucket.
1458
1479
  # Corresponds to the JSON property `description`
1459
1480
  # @return [String]
1460
1481
  attr_accessor :description
1461
1482
 
1462
- # A list of indexed fields and related configuration data.
1483
+ # Optional. A list of indexed fields and related configuration data.
1463
1484
  # Corresponds to the JSON property `indexConfigs`
1464
1485
  # @return [Array<Google::Apis::LoggingV2::IndexConfig>]
1465
1486
  attr_accessor :index_configs
@@ -1469,8 +1490,8 @@ module Google
1469
1490
  # @return [String]
1470
1491
  attr_accessor :lifecycle_state
1471
1492
 
1472
- # Whether the bucket is locked.The retention period on a locked bucket cannot be
1473
- # changed. Locked buckets may only be deleted if they are empty.
1493
+ # Optional. Whether the bucket is locked.The retention period on a locked bucket
1494
+ # cannot be changed. Locked buckets may only be deleted if they are empty.
1474
1495
  # Corresponds to the JSON property `locked`
1475
1496
  # @return [Boolean]
1476
1497
  attr_accessor :locked
@@ -1485,19 +1506,19 @@ module Google
1485
1506
  # @return [String]
1486
1507
  attr_accessor :name
1487
1508
 
1488
- # Log entry field paths that are denied access in this bucket.The following
1489
- # fields and their children are eligible: textPayload, jsonPayload, protoPayload,
1490
- # httpRequest, labels, sourceLocation.Restricting a repeated field will
1491
- # restrict all values. Adding a parent will block all child fields. (e.g. foo.
1492
- # bar will block foo.bar.baz)
1509
+ # Optional. Log entry field paths that are denied access in this bucket.The
1510
+ # following fields and their children are eligible: textPayload, jsonPayload,
1511
+ # protoPayload, httpRequest, labels, sourceLocation.Restricting a repeated field
1512
+ # will restrict all values. Adding a parent will block all child fields. (e.g.
1513
+ # foo.bar will block foo.bar.baz)
1493
1514
  # Corresponds to the JSON property `restrictedFields`
1494
1515
  # @return [Array<String>]
1495
1516
  attr_accessor :restricted_fields
1496
1517
 
1497
- # Logs will be retained by default for this amount of time, after which they
1498
- # will automatically be deleted. The minimum retention period is 1 day. If this
1499
- # value is set to zero at bucket creation time, the default time of 30 days will
1500
- # be used.
1518
+ # Optional. Logs will be retained by default for this amount of time, after
1519
+ # which they will automatically be deleted. The minimum retention period is 1
1520
+ # day. If this value is set to zero at bucket creation time, the default time of
1521
+ # 30 days will be used.
1501
1522
  # Corresponds to the JSON property `retentionDays`
1502
1523
  # @return [Fixnum]
1503
1524
  attr_accessor :retention_days
@@ -1891,7 +1912,7 @@ module Google
1891
1912
  # @return [String]
1892
1913
  attr_accessor :filter
1893
1914
 
1894
- # Required. A client-assigned identifier, such as "load-balancer-exclusion".
1915
+ # Output only. A client-assigned identifier, such as "load-balancer-exclusion".
1895
1916
  # Identifiers are limited to 100 characters and can include only letters, digits,
1896
1917
  # underscores, hyphens, and periods. First character has to be alphanumeric.
1897
1918
  # Corresponds to the JSON property `name`
@@ -2176,8 +2197,8 @@ module Google
2176
2197
  attr_accessor :include_children
2177
2198
  alias_method :include_children?, :include_children
2178
2199
 
2179
- # Required. The client-assigned sink identifier, unique within the project.For
2180
- # example: "my-syslog-errors-to-pubsub".Sink identifiers are limited to 100
2200
+ # Output only. The client-assigned sink identifier, unique within the project.
2201
+ # For example: "my-syslog-errors-to-pubsub".Sink identifiers are limited to 100
2181
2202
  # characters and can include only the following characters: upper and lower-case
2182
2203
  # alphanumeric characters, underscores, hyphens, periods.First character has to
2183
2204
  # be alphanumeric.
@@ -2278,25 +2299,25 @@ module Google
2278
2299
  # @return [String]
2279
2300
  attr_accessor :create_time
2280
2301
 
2281
- # Describes this view.
2302
+ # Optional. Describes this view.
2282
2303
  # Corresponds to the JSON property `description`
2283
2304
  # @return [String]
2284
2305
  attr_accessor :description
2285
2306
 
2286
- # Filter that restricts which log entries in a bucket are visible in this view.
2287
- # Filters must be logical conjunctions that use the AND operator, and they can
2288
- # use any of the following qualifiers: SOURCE(), which specifies a project,
2289
- # folder, organization, or billing account of origin. resource.type, which
2290
- # specifies the resource type. LOG_ID(), which identifies the log.They can also
2291
- # use the negations of these qualifiers with the NOT operator.For example:SOURCE(
2292
- # "projects/myproject") AND resource.type = "gce_instance" AND NOT LOG_ID("
2293
- # stdout")
2307
+ # Optional. Filter that restricts which log entries in a bucket are visible in
2308
+ # this view.Filters must be logical conjunctions that use the AND operator, and
2309
+ # they can use any of the following qualifiers: SOURCE(), which specifies a
2310
+ # project, folder, organization, or billing account of origin. resource.type,
2311
+ # which specifies the resource type. LOG_ID(), which identifies the log.They can
2312
+ # also use the negations of these qualifiers with the NOT operator.For example:
2313
+ # SOURCE("projects/myproject") AND resource.type = "gce_instance" AND NOT LOG_ID(
2314
+ # "stdout")
2294
2315
  # Corresponds to the JSON property `filter`
2295
2316
  # @return [String]
2296
2317
  attr_accessor :filter
2297
2318
 
2298
- # The resource name of the view.For example:projects/my-project/locations/global/
2299
- # buckets/my-bucket/views/my-view
2319
+ # Output only. The resource name of the view.For example:projects/my-project/
2320
+ # locations/global/buckets/my-bucket/views/my-view
2300
2321
  # Corresponds to the JSON property `name`
2301
2322
  # @return [String]
2302
2323
  attr_accessor :name
@@ -2327,9 +2348,9 @@ module Google
2327
2348
  class LoggingQuery
2328
2349
  include Google::Apis::Core::Hashable
2329
2350
 
2330
- # An advanced query using the Logging Query Language (https://cloud.google.com/
2331
- # logging/docs/view/logging-query-language). The maximum length of the filter is
2332
- # 20000 characters.
2351
+ # Required. An advanced query using the Logging Query Language (https://cloud.
2352
+ # google.com/logging/docs/view/logging-query-language). The maximum length of
2353
+ # the filter is 20000 characters.
2333
2354
  # Corresponds to the JSON property `filter`
2334
2355
  # @return [String]
2335
2356
  attr_accessor :filter
@@ -2344,7 +2365,7 @@ module Google
2344
2365
  # @return [Fixnum]
2345
2366
  attr_accessor :summary_field_start
2346
2367
 
2347
- # The set of summary fields to display for this saved query.
2368
+ # Optional. The set of summary fields to display for this saved query.
2348
2369
  # Corresponds to the JSON property `summaryFields`
2349
2370
  # @return [Array<Google::Apis::LoggingV2::SummaryField>]
2350
2371
  attr_accessor :summary_fields
@@ -2625,7 +2646,7 @@ module Google
2625
2646
 
2626
2647
  # Required. The monitored resource type. For example, the type "
2627
2648
  # cloudsql_database" represents databases in Google Cloud SQL. For a list of
2628
- # types, see Monitoring resource types (https://cloud.google.com/monitoring/api/
2649
+ # types, see Monitored resource types (https://cloud.google.com/monitoring/api/
2629
2650
  # resources) and Logging resource types (https://cloud.google.com/logging/docs/
2630
2651
  # api/v2/resource-list).
2631
2652
  # Corresponds to the JSON property `type`
@@ -2769,7 +2790,7 @@ module Google
2769
2790
  class RecentQuery
2770
2791
  include Google::Apis::Core::Hashable
2771
2792
 
2772
- # The timestamp when this query was last run.
2793
+ # Output only. The timestamp when this query was last run.
2773
2794
  # Corresponds to the JSON property `lastRunTime`
2774
2795
  # @return [String]
2775
2796
  attr_accessor :last_run_time
@@ -3056,12 +3077,12 @@ module Google
3056
3077
  # @return [String]
3057
3078
  attr_accessor :create_time
3058
3079
 
3059
- # A human readable description of the saved query.
3080
+ # Optional. A human readable description of the saved query.
3060
3081
  # Corresponds to the JSON property `description`
3061
3082
  # @return [String]
3062
3083
  attr_accessor :description
3063
3084
 
3064
- # The user specified title for the SavedQuery.
3085
+ # Optional. The user specified title for the SavedQuery.
3065
3086
  # Corresponds to the JSON property `displayName`
3066
3087
  # @return [String]
3067
3088
  attr_accessor :display_name
@@ -3117,6 +3138,12 @@ module Google
3117
3138
  class Settings
3118
3139
  include Google::Apis::Core::Hashable
3119
3140
 
3141
+ # Optional. The default analytics mode of an org or folder which is inherited by
3142
+ # all newly created child project buckets.
3143
+ # Corresponds to the JSON property `analyticsMode`
3144
+ # @return [String]
3145
+ attr_accessor :analytics_mode
3146
+
3120
3147
  # Describes the custom _Default sink configuration that is used to override the
3121
3148
  # built-in _Default sink configuration in newly created resource containers,
3122
3149
  # such as projects or folders.
@@ -3185,6 +3212,7 @@ module Google
3185
3212
 
3186
3213
  # Update properties of this object
3187
3214
  def update!(**args)
3215
+ @analytics_mode = args[:analytics_mode] if args.key?(:analytics_mode)
3188
3216
  @default_sink_config = args[:default_sink_config] if args.key?(:default_sink_config)
3189
3217
  @disable_default_sink = args[:disable_default_sink] if args.key?(:disable_default_sink)
3190
3218
  @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
@@ -3304,8 +3332,8 @@ module Google
3304
3332
  class SummaryField
3305
3333
  include Google::Apis::Core::Hashable
3306
3334
 
3307
- # The field from the LogEntry to include in the summary line, for example
3308
- # resource.type or jsonPayload.name.
3335
+ # Optional. The field from the LogEntry to include in the summary line, for
3336
+ # example resource.type or jsonPayload.name.
3309
3337
  # Corresponds to the JSON property `field`
3310
3338
  # @return [String]
3311
3339
  attr_accessor :field
@@ -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.60.0"
19
+ GEM_VERSION = "0.62.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.12.0"
22
+ GENERATOR_VERSION = "0.13.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20231210"
25
+ REVISION = "20240207"
26
26
  end
27
27
  end
28
28
  end
@@ -514,12 +514,15 @@ module Google
514
514
  # @private
515
515
  class Representation < Google::Apis::Core::JsonRepresentation
516
516
  property :cancellation_requested, as: 'cancellationRequested'
517
+ property :destination, as: 'destination'
517
518
  property :end_time, as: 'endTime'
518
519
  property :progress, as: 'progress'
519
520
  property :request, as: 'request', class: Google::Apis::LoggingV2::CopyLogEntriesRequest, decorator: Google::Apis::LoggingV2::CopyLogEntriesRequest::Representation
520
521
 
522
+ property :source, as: 'source'
521
523
  property :start_time, as: 'startTime'
522
524
  property :state, as: 'state'
525
+ property :verb, as: 'verb'
523
526
  property :writer_identity, as: 'writerIdentity'
524
527
  end
525
528
  end
@@ -1139,6 +1142,7 @@ module Google
1139
1142
  class Settings
1140
1143
  # @private
1141
1144
  class Representation < Google::Apis::Core::JsonRepresentation
1145
+ property :analytics_mode, as: 'analyticsMode'
1142
1146
  property :default_sink_config, as: 'defaultSinkConfig', class: Google::Apis::LoggingV2::DefaultSinkConfig, decorator: Google::Apis::LoggingV2::DefaultSinkConfig::Representation
1143
1147
 
1144
1148
  property :disable_default_sink, as: 'disableDefaultSink'
@@ -32,6 +32,8 @@ module Google
32
32
  #
33
33
  # @see https://cloud.google.com/logging/docs/
34
34
  class LoggingService < Google::Apis::Core::BaseService
35
+ DEFAULT_ENDPOINT_TEMPLATE = "https://logging.$UNIVERSE_DOMAIN$/"
36
+
35
37
  # @return [String]
36
38
  # API key. Your API key identifies your project and provides you with API access,
37
39
  # quota, and reports. Required unless you provide an OAuth 2.0 token.
@@ -43,7 +45,7 @@ module Google
43
45
  attr_accessor :quota_user
44
46
 
45
47
  def initialize
46
- super('https://logging.googleapis.com/', '',
48
+ super(DEFAULT_ENDPOINT_TEMPLATE, '',
47
49
  client_name: 'google-apis-logging_v2',
48
50
  client_version: Google::Apis::LoggingV2::GEM_VERSION)
49
51
  @batch_path = 'batch'
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.60.0
4
+ version: 0.62.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: 2023-12-17 00:00:00.000000000 Z
11
+ date: 2024-02-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.11.0
19
+ version: 0.12.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.11.0
29
+ version: 0.12.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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/main/generated/google-apis-logging_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-logging_v2/v0.60.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-logging_v2/v0.62.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-logging_v2
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.4.19
78
+ rubygems_version: 3.5.3
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Logging API V2