google-apis-logging_v2 0.26.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: 858a714d8b8b7e3f4e9ed08516ae3afe76f755250fbbe2c0842e2689e535bffa
4
- data.tar.gz: 2db4a1f54886cc8ef30235971bd101561f05570109983d7cb8e2c021512daef8
3
+ metadata.gz: 5e01abae38029bc4dc41d3f4d0ad3ebe0be31e7a9f0faa128b032b7eac4c601f
4
+ data.tar.gz: 6979ab2cd5b6837113b1b70b4a8c734784e915900c6d8ebbfd2c4d0746c0dd18
5
5
  SHA512:
6
- metadata.gz: af253b9bbf95cd7311f37331232a399108aba5af6dd1cc4ae60d2ddee9ae0d3e2f50137ca592774802d35576992a8aba963014b65d5a4657fed106941cbb36f4
7
- data.tar.gz: 7f26a8a01d705e78cbf5fee2e5654f911a7818bf6359c3d012020451e5035c6de01d1694e29d789a22e258a04d12e4e02f688ce3028fddb81ed2bf2a81c959ee
6
+ metadata.gz: 781430021a6c7b6144368a2482f3c770b2d19b2c1f340a5b314154ed0d9ce70631c390df43368f1a96ad808baa47fd931de4977e4e6042685fd8583f4e2bfdb9
7
+ data.tar.gz: 6d3a0da5fcb5b1eeb998d36cf8ba22f72517ecee11a1d492f15530d96ac0c62dcc2282a46731aa1d56482334819c265b2a79d22a06c2dc7e6de43672fd0a70eb
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.26.0 (2022-03-26)
4
8
 
5
9
  * Regenerated from discovery document revision 20220318
@@ -502,6 +502,41 @@ module Google
502
502
  end
503
503
  end
504
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
+
505
540
  # A description of a label.
506
541
  class LabelDescriptor
507
542
  include Google::Apis::Core::Hashable
@@ -990,6 +1025,11 @@ module Google
990
1025
  # @return [String]
991
1026
  attr_accessor :description
992
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
+
993
1033
  # Output only. The bucket lifecycle state.
994
1034
  # Corresponds to the JSON property `lifecycleState`
995
1035
  # @return [String]
@@ -1042,6 +1082,7 @@ module Google
1042
1082
  @cmek_settings = args[:cmek_settings] if args.key?(:cmek_settings)
1043
1083
  @create_time = args[:create_time] if args.key?(:create_time)
1044
1084
  @description = args[:description] if args.key?(:description)
1085
+ @index_configs = args[:index_configs] if args.key?(:index_configs)
1045
1086
  @lifecycle_state = args[:lifecycle_state] if args.key?(:lifecycle_state)
1046
1087
  @locked = args[:locked] if args.key?(:locked)
1047
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.26.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 = "20220318"
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
 
@@ -443,6 +449,15 @@ module Google
443
449
  end
444
450
  end
445
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
+
446
461
  class LabelDescriptor
447
462
  # @private
448
463
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -580,6 +595,8 @@ module Google
580
595
 
581
596
  property :create_time, as: 'createTime'
582
597
  property :description, as: 'description'
598
+ collection :index_configs, as: 'indexConfigs', class: Google::Apis::LoggingV2::IndexConfig, decorator: Google::Apis::LoggingV2::IndexConfig::Representation
599
+
583
600
  property :lifecycle_state, as: 'lifecycleState'
584
601
  property :locked, as: 'locked'
585
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.26.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-03-28 00:00:00.000000000 Z
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.26.0
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: []