google-apis-logging_v2 0.95.0 → 0.96.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: 615856990210351c19a67a9bdf31dc7e91d5b80870f286d39f461d16eef5769a
4
- data.tar.gz: ec7b5bad89e3e348c42a77c2ae6a5dce5102c3e8f127c699d8cad94196d03a28
3
+ metadata.gz: 23da34093457fb81340040499446239d52b839b6f501cedb794cf7694704f41f
4
+ data.tar.gz: 9e79caa7ff31cc0b16783581fa62e8f036ee19a1db3b07866fd9e8c72b65c9f8
5
5
  SHA512:
6
- metadata.gz: 1bbdc774312e7b323660d012806579c2d8994fda60bc8dd1af61616f6e21076af754c3c84697551bab1508c305dc957495e1a2b7cb4f366eb1cc5d57cdb2b3d2
7
- data.tar.gz: f39230ee90358d3c2192684a8e0df7590b7d6812c70f6047d5d25422e158aed8c761c81fe9bf691a7e0d5929c7c53631ac875860e7bdc903a24a29e17101c286
6
+ metadata.gz: 68b63286bfd962b3e734989368d34920229bf4692939bda3586ab726624f68410d2fda51cdc753f551ef064574ce1b363dc99c99c4f6f9a193b1d64291871dc1
7
+ data.tar.gz: 95d75d945124589d4181a361f05f14542d4c3cb075a4aa30b1b99419862510044934400d18b72948a2c6cf1f49ebe58aa026b8323d20ba6ecb558c03b706bc0e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-logging_v2
2
2
 
3
+ ### v0.96.0 (2026-05-31)
4
+
5
+ * Regenerated from discovery document revision 20260522
6
+
3
7
  ### v0.95.0 (2026-05-17)
4
8
 
5
9
  * Regenerated from discovery document revision 20260501
@@ -3653,6 +3653,13 @@ module Google
3653
3653
  # @return [String]
3654
3654
  attr_accessor :truncation_granularity
3655
3655
 
3656
+ # A virtual field is a field that is not physically present in the underlying
3657
+ # data schema, but is created through specific operations within the query
3658
+ # builder model based on other fields in the schema.
3659
+ # Corresponds to the JSON property `virtualField`
3660
+ # @return [Google::Apis::LoggingV2::VirtualField]
3661
+ attr_accessor :virtual_field
3662
+
3656
3663
  def initialize(**args)
3657
3664
  update!(**args)
3658
3665
  end
@@ -3666,6 +3673,7 @@ module Google
3666
3673
  @regex_extraction = args[:regex_extraction] if args.key?(:regex_extraction)
3667
3674
  @sql_aggregation_function = args[:sql_aggregation_function] if args.key?(:sql_aggregation_function)
3668
3675
  @truncation_granularity = args[:truncation_granularity] if args.key?(:truncation_granularity)
3676
+ @virtual_field = args[:virtual_field] if args.key?(:virtual_field)
3669
3677
  end
3670
3678
  end
3671
3679
 
@@ -4567,6 +4575,41 @@ module Google
4567
4575
  end
4568
4576
  end
4569
4577
 
4578
+ # A virtual field is a field that is not physically present in the underlying
4579
+ # data schema, but is created through specific operations within the query
4580
+ # builder model based on other fields in the schema.
4581
+ class VirtualField
4582
+ include Google::Apis::Core::Hashable
4583
+
4584
+ # The field sources that will be used to create the virtual field, based on the
4585
+ # semantics of the virtual field type.The field sources must follow these rules,
4586
+ # based on the virtual field type: - For VIRTUAL_FIELD_TYPE_UNSPECIFIED, this
4587
+ # field must be empty. - For COALESCE, this field must be non-empty and include
4588
+ # a minimum of two field sources. The underlying field sources must be actual
4589
+ # projected fields that represent actual schema fields and that must not be
4590
+ # transformed and aggregated in any way, except for casting. The type of all the
4591
+ # underlying field sources must be equivalent so that picking one of them would
4592
+ # result in the same value type.
4593
+ # Corresponds to the JSON property `underlyingFieldSources`
4594
+ # @return [Array<Google::Apis::LoggingV2::FieldSource>]
4595
+ attr_accessor :underlying_field_sources
4596
+
4597
+ # Required. The type of the virtual field.
4598
+ # Corresponds to the JSON property `virtualFieldType`
4599
+ # @return [String]
4600
+ attr_accessor :virtual_field_type
4601
+
4602
+ def initialize(**args)
4603
+ update!(**args)
4604
+ end
4605
+
4606
+ # Update properties of this object
4607
+ def update!(**args)
4608
+ @underlying_field_sources = args[:underlying_field_sources] if args.key?(:underlying_field_sources)
4609
+ @virtual_field_type = args[:virtual_field_type] if args.key?(:virtual_field_type)
4610
+ end
4611
+ end
4612
+
4570
4613
  # The parameters to WriteLogEntries.
4571
4614
  class WriteLogEntriesRequest
4572
4615
  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.95.0"
19
+ GEM_VERSION = "0.96.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260501"
25
+ REVISION = "20260522"
26
26
  end
27
27
  end
28
28
  end
@@ -568,6 +568,12 @@ module Google
568
568
  include Google::Apis::Core::JsonObjectSupport
569
569
  end
570
570
 
571
+ class VirtualField
572
+ class Representation < Google::Apis::Core::JsonRepresentation; end
573
+
574
+ include Google::Apis::Core::JsonObjectSupport
575
+ end
576
+
571
577
  class WriteLogEntriesRequest
572
578
  class Representation < Google::Apis::Core::JsonRepresentation; end
573
579
 
@@ -1370,6 +1376,8 @@ module Google
1370
1376
  property :sql_aggregation_function, as: 'sqlAggregationFunction', class: Google::Apis::LoggingV2::FunctionApplication, decorator: Google::Apis::LoggingV2::FunctionApplication::Representation
1371
1377
 
1372
1378
  property :truncation_granularity, as: 'truncationGranularity'
1379
+ property :virtual_field, as: 'virtualField', class: Google::Apis::LoggingV2::VirtualField, decorator: Google::Apis::LoggingV2::VirtualField::Representation
1380
+
1373
1381
  end
1374
1382
  end
1375
1383
 
@@ -1580,6 +1588,15 @@ module Google
1580
1588
  end
1581
1589
  end
1582
1590
 
1591
+ class VirtualField
1592
+ # @private
1593
+ class Representation < Google::Apis::Core::JsonRepresentation
1594
+ collection :underlying_field_sources, as: 'underlyingFieldSources', class: Google::Apis::LoggingV2::FieldSource, decorator: Google::Apis::LoggingV2::FieldSource::Representation
1595
+
1596
+ property :virtual_field_type, as: 'virtualFieldType'
1597
+ end
1598
+ end
1599
+
1583
1600
  class WriteLogEntriesRequest
1584
1601
  # @private
1585
1602
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-logging_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.95.0
4
+ version: 0.96.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-logging_v2/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-logging_v2/v0.95.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-logging_v2/v0.96.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-logging_v2
62
62
  rdoc_options: []
63
63
  require_paths: