google-apis-logging_v2 0.24.0 → 0.27.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5e01abae38029bc4dc41d3f4d0ad3ebe0be31e7a9f0faa128b032b7eac4c601f
|
4
|
+
data.tar.gz: 6979ab2cd5b6837113b1b70b4a8c734784e915900c6d8ebbfd2c4d0746c0dd18
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 781430021a6c7b6144368a2482f3c770b2d19b2c1f340a5b314154ed0d9ce70631c390df43368f1a96ad808baa47fd931de4977e4e6042685fd8583f4e2bfdb9
|
7
|
+
data.tar.gz: 6d3a0da5fcb5b1eeb998d36cf8ba22f72517ecee11a1d492f15530d96ac0c62dcc2282a46731aa1d56482334819c265b2a79d22a06c2dc7e6de43672fd0a70eb
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release history for google-apis-logging_v2
|
2
2
|
|
3
|
+
### v0.27.0 (2022-04-09)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220401
|
6
|
+
|
7
|
+
### v0.26.0 (2022-03-26)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220318
|
10
|
+
|
11
|
+
### v0.25.0 (2022-03-19)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220311
|
14
|
+
|
3
15
|
### v0.24.0 (2022-02-19)
|
4
16
|
|
5
17
|
* Regenerated from discovery document revision 20220211
|
@@ -156,6 +156,17 @@ module Google
|
|
156
156
|
# @return [String]
|
157
157
|
attr_accessor :kms_key_name
|
158
158
|
|
159
|
+
# The CryptoKeyVersion resource name for the configured Cloud KMS key.KMS key
|
160
|
+
# name format: "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/
|
161
|
+
# cryptoKeys/[KEY]/cryptoKeyVersions/[VERSION]" For example:"projects/my-project/
|
162
|
+
# locations/us-central1/keyRings/my-ring/cryptoKeys/my-key/cryptoKeyVersions/1"
|
163
|
+
# This is a read-only field used to convey the specific configured
|
164
|
+
# CryptoKeyVersion of kms_key that has been configured. It will be populated in
|
165
|
+
# cases where the CMEK settings are bound to a single key version.
|
166
|
+
# Corresponds to the JSON property `kmsKeyVersionName`
|
167
|
+
# @return [String]
|
168
|
+
attr_accessor :kms_key_version_name
|
169
|
+
|
159
170
|
# Output only. The resource name of the CMEK settings.
|
160
171
|
# Corresponds to the JSON property `name`
|
161
172
|
# @return [String]
|
@@ -178,6 +189,7 @@ module Google
|
|
178
189
|
# Update properties of this object
|
179
190
|
def update!(**args)
|
180
191
|
@kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
|
192
|
+
@kms_key_version_name = args[:kms_key_version_name] if args.key?(:kms_key_version_name)
|
181
193
|
@name = args[:name] if args.key?(:name)
|
182
194
|
@service_account_id = args[:service_account_id] if args.key?(:service_account_id)
|
183
195
|
end
|
@@ -297,8 +309,7 @@ module Google
|
|
297
309
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
298
310
|
# messages in your APIs. A typical example is to use it as the request or the
|
299
311
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
300
|
-
# protobuf.Empty) returns (google.protobuf.Empty); `
|
301
|
-
# Empty is empty JSON object ``.
|
312
|
+
# protobuf.Empty) returns (google.protobuf.Empty); `
|
302
313
|
class Empty
|
303
314
|
include Google::Apis::Core::Hashable
|
304
315
|
|
@@ -491,6 +502,41 @@ module Google
|
|
491
502
|
end
|
492
503
|
end
|
493
504
|
|
505
|
+
# Configuration for an indexed field.
|
506
|
+
class IndexConfig
|
507
|
+
include Google::Apis::Core::Hashable
|
508
|
+
|
509
|
+
# Output only. The timestamp when the index was last modified.This is used to
|
510
|
+
# return the timestamp, and will be ignored if supplied during update.
|
511
|
+
# Corresponds to the JSON property `createTime`
|
512
|
+
# @return [String]
|
513
|
+
attr_accessor :create_time
|
514
|
+
|
515
|
+
# Required. The LogEntry field path to index.Note that some paths are
|
516
|
+
# automatically indexed, and other paths are not eligible for indexing. See
|
517
|
+
# indexing documentation( https://cloud.google.com/logging/docs/view/advanced-
|
518
|
+
# queries#indexed-fields) for details.For example: jsonPayload.request.status
|
519
|
+
# Corresponds to the JSON property `fieldPath`
|
520
|
+
# @return [String]
|
521
|
+
attr_accessor :field_path
|
522
|
+
|
523
|
+
# Required. The type of data in this index.
|
524
|
+
# Corresponds to the JSON property `type`
|
525
|
+
# @return [String]
|
526
|
+
attr_accessor :type
|
527
|
+
|
528
|
+
def initialize(**args)
|
529
|
+
update!(**args)
|
530
|
+
end
|
531
|
+
|
532
|
+
# Update properties of this object
|
533
|
+
def update!(**args)
|
534
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
535
|
+
@field_path = args[:field_path] if args.key?(:field_path)
|
536
|
+
@type = args[:type] if args.key?(:type)
|
537
|
+
end
|
538
|
+
end
|
539
|
+
|
494
540
|
# A description of a label.
|
495
541
|
class LabelDescriptor
|
496
542
|
include Google::Apis::Core::Hashable
|
@@ -979,6 +1025,11 @@ module Google
|
|
979
1025
|
# @return [String]
|
980
1026
|
attr_accessor :description
|
981
1027
|
|
1028
|
+
# A list of indexed fields and related configuration data.
|
1029
|
+
# Corresponds to the JSON property `indexConfigs`
|
1030
|
+
# @return [Array<Google::Apis::LoggingV2::IndexConfig>]
|
1031
|
+
attr_accessor :index_configs
|
1032
|
+
|
982
1033
|
# Output only. The bucket lifecycle state.
|
983
1034
|
# Corresponds to the JSON property `lifecycleState`
|
984
1035
|
# @return [String]
|
@@ -1031,6 +1082,7 @@ module Google
|
|
1031
1082
|
@cmek_settings = args[:cmek_settings] if args.key?(:cmek_settings)
|
1032
1083
|
@create_time = args[:create_time] if args.key?(:create_time)
|
1033
1084
|
@description = args[:description] if args.key?(:description)
|
1085
|
+
@index_configs = args[:index_configs] if args.key?(:index_configs)
|
1034
1086
|
@lifecycle_state = args[:lifecycle_state] if args.key?(:lifecycle_state)
|
1035
1087
|
@locked = args[:locked] if args.key?(:locked)
|
1036
1088
|
@name = args[:name] if args.key?(:name)
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.27.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220401"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -88,6 +88,12 @@ module Google
|
|
88
88
|
include Google::Apis::Core::JsonObjectSupport
|
89
89
|
end
|
90
90
|
|
91
|
+
class IndexConfig
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
+
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
95
|
+
end
|
96
|
+
|
91
97
|
class LabelDescriptor
|
92
98
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
99
|
|
@@ -364,6 +370,7 @@ module Google
|
|
364
370
|
# @private
|
365
371
|
class Representation < Google::Apis::Core::JsonRepresentation
|
366
372
|
property :kms_key_name, as: 'kmsKeyName'
|
373
|
+
property :kms_key_version_name, as: 'kmsKeyVersionName'
|
367
374
|
property :name, as: 'name'
|
368
375
|
property :service_account_id, as: 'serviceAccountId'
|
369
376
|
end
|
@@ -442,6 +449,15 @@ module Google
|
|
442
449
|
end
|
443
450
|
end
|
444
451
|
|
452
|
+
class IndexConfig
|
453
|
+
# @private
|
454
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
455
|
+
property :create_time, as: 'createTime'
|
456
|
+
property :field_path, as: 'fieldPath'
|
457
|
+
property :type, as: 'type'
|
458
|
+
end
|
459
|
+
end
|
460
|
+
|
445
461
|
class LabelDescriptor
|
446
462
|
# @private
|
447
463
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -579,6 +595,8 @@ module Google
|
|
579
595
|
|
580
596
|
property :create_time, as: 'createTime'
|
581
597
|
property :description, as: 'description'
|
598
|
+
collection :index_configs, as: 'indexConfigs', class: Google::Apis::LoggingV2::IndexConfig, decorator: Google::Apis::LoggingV2::IndexConfig::Representation
|
599
|
+
|
582
600
|
property :lifecycle_state, as: 'lifecycleState'
|
583
601
|
property :locked, as: 'locked'
|
584
602
|
property :name, as: 'name'
|
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.
|
4
|
+
version: 0.27.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: 2022-
|
11
|
+
date: 2022-04-11 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/main/generated/google-apis-logging_v2/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-logging_v2/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-logging_v2/v0.27.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: []
|