google-apis-logging_v2 0.94.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: 980eb4a2a292e6ac537041cbda60015ac1646782bdf918d7b43be351e0f654e0
4
- data.tar.gz: 43e34266795ee4ed577bbd6c9ad7ed4d98c17b2078636ad21cd1b752dd292b74
3
+ metadata.gz: 23da34093457fb81340040499446239d52b839b6f501cedb794cf7694704f41f
4
+ data.tar.gz: 9e79caa7ff31cc0b16783581fa62e8f036ee19a1db3b07866fd9e8c72b65c9f8
5
5
  SHA512:
6
- metadata.gz: 75f12263d4a5971f7bb3bd4528b2e55528d7d8f144e8013e78ac351c728680bc33b16f6e9043743a67a032652dab3208de60616b4857bb6119855db7dbc93559
7
- data.tar.gz: 8a470ed609e39f11b0750c8fe8f47c83e4c05e7e2c6e5a8425e485a548acaf126ba6c4139c2a3ca86b02aa2822bba2831244a745fd53fdec1ff85adf83cb15e1
6
+ metadata.gz: 68b63286bfd962b3e734989368d34920229bf4692939bda3586ab726624f68410d2fda51cdc753f551ef064574ce1b363dc99c99c4f6f9a193b1d64291871dc1
7
+ data.tar.gz: 95d75d945124589d4181a361f05f14542d4c3cb075a4aa30b1b99419862510044934400d18b72948a2c6cf1f49ebe58aa026b8323d20ba6ecb558c03b706bc0e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
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
+
7
+ ### v0.95.0 (2026-05-17)
8
+
9
+ * Regenerated from discovery document revision 20260501
10
+
3
11
  ### v0.94.0 (2026-05-03)
4
12
 
5
13
  * Regenerated from discovery document revision 20260421
@@ -892,8 +892,10 @@ module Google
892
892
  end
893
893
  end
894
894
 
895
- # A source that can be used to represent a field within various parts of a
896
- # structured query, such as in SELECT, WHERE, or ORDER BY clauses.
895
+ # A source that can be used to represent a "field of data" within various parts
896
+ # of a structured query, such as in SELECT, WHERE, or ORDER BY clauses. The term
897
+ # "field of data" is used here because it is not limited to literal fields in
898
+ # the underlying data schema.
897
899
  class FieldSource
898
900
  include Google::Apis::Core::Hashable
899
901
 
@@ -950,7 +952,10 @@ module Google
950
952
  # like aggregation, casting, regex extraction, or assigns an alias. Use
951
953
  # ProjectedField when you need more than just the raw source field name (for
952
954
  # which you might use FieldSource directly in QueryBuilderConfig's field_sources
953
- # list if no transformations or specific operation type are needed).
955
+ # list if no transformations or specific operation type are needed).A
956
+ # ProjectedField can represent either a field present in the data schema (
957
+ # specified via the field property) or a virtual field that is computed from
958
+ # other fields (specified via the virtual_field property).
954
959
  # Corresponds to the JSON property `projectedField`
955
960
  # @return [Google::Apis::LoggingV2::ProjectedField]
956
961
  attr_accessor :projected_field
@@ -983,14 +988,18 @@ module Google
983
988
  # @return [String]
984
989
  attr_accessor :comparator
985
990
 
986
- # A source that can be used to represent a field within various parts of a
987
- # structured query, such as in SELECT, WHERE, or ORDER BY clauses.
991
+ # A source that can be used to represent a "field of data" within various parts
992
+ # of a structured query, such as in SELECT, WHERE, or ORDER BY clauses. The term
993
+ # "field of data" is used here because it is not limited to literal fields in
994
+ # the underlying data schema.
988
995
  # Corresponds to the JSON property `fieldSource`
989
996
  # @return [Google::Apis::LoggingV2::FieldSource]
990
997
  attr_accessor :field_source
991
998
 
992
- # A source that can be used to represent a field within various parts of a
993
- # structured query, such as in SELECT, WHERE, or ORDER BY clauses.
999
+ # A source that can be used to represent a "field of data" within various parts
1000
+ # of a structured query, such as in SELECT, WHERE, or ORDER BY clauses. The term
1001
+ # "field of data" is used here because it is not limited to literal fields in
1002
+ # the underlying data schema.
994
1003
  # Corresponds to the JSON property `fieldSourceValue`
995
1004
  # @return [Google::Apis::LoggingV2::FieldSource]
996
1005
  attr_accessor :field_source_value
@@ -3584,7 +3593,10 @@ module Google
3584
3593
  # like aggregation, casting, regex extraction, or assigns an alias. Use
3585
3594
  # ProjectedField when you need more than just the raw source field name (for
3586
3595
  # which you might use FieldSource directly in QueryBuilderConfig's field_sources
3587
- # list if no transformations or specific operation type are needed).
3596
+ # list if no transformations or specific operation type are needed).A
3597
+ # ProjectedField can represent either a field present in the data schema (
3598
+ # specified via the field property) or a virtual field that is computed from
3599
+ # other fields (specified via the virtual_field property).
3588
3600
  class ProjectedField
3589
3601
  include Google::Apis::Core::Hashable
3590
3602
 
@@ -3603,8 +3615,8 @@ module Google
3603
3615
  # @return [String]
3604
3616
  attr_accessor :cast
3605
3617
 
3606
- # The field name. This will be the field that is selected using the dot notation
3607
- # to display the drill down value.
3618
+ # Optional. The field name. This will be the field that is selected using the
3619
+ # dot notation to display the drill down value.
3608
3620
  # Corresponds to the JSON property `field`
3609
3621
  # @return [String]
3610
3622
  attr_accessor :field
@@ -3641,6 +3653,13 @@ module Google
3641
3653
  # @return [String]
3642
3654
  attr_accessor :truncation_granularity
3643
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
+
3644
3663
  def initialize(**args)
3645
3664
  update!(**args)
3646
3665
  end
@@ -3654,6 +3673,7 @@ module Google
3654
3673
  @regex_extraction = args[:regex_extraction] if args.key?(:regex_extraction)
3655
3674
  @sql_aggregation_function = args[:sql_aggregation_function] if args.key?(:sql_aggregation_function)
3656
3675
  @truncation_granularity = args[:truncation_granularity] if args.key?(:truncation_granularity)
3676
+ @virtual_field = args[:virtual_field] if args.key?(:virtual_field)
3657
3677
  end
3658
3678
  end
3659
3679
 
@@ -4210,8 +4230,10 @@ module Google
4210
4230
  class SortOrderParameter
4211
4231
  include Google::Apis::Core::Hashable
4212
4232
 
4213
- # A source that can be used to represent a field within various parts of a
4214
- # structured query, such as in SELECT, WHERE, or ORDER BY clauses.
4233
+ # A source that can be used to represent a "field of data" within various parts
4234
+ # of a structured query, such as in SELECT, WHERE, or ORDER BY clauses. The term
4235
+ # "field of data" is used here because it is not limited to literal fields in
4236
+ # the underlying data schema.
4215
4237
  # Corresponds to the JSON property `fieldSource`
4216
4238
  # @return [Google::Apis::LoggingV2::FieldSource]
4217
4239
  attr_accessor :field_source
@@ -4553,6 +4575,41 @@ module Google
4553
4575
  end
4554
4576
  end
4555
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
+
4556
4613
  # The parameters to WriteLogEntries.
4557
4614
  class WriteLogEntriesRequest
4558
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.94.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 = "20260421"
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
@@ -366,8 +366,8 @@ module Google
366
366
  # @param [String] name
367
367
  # The resource that owns the locations collection, if applicable.
368
368
  # @param [Array<String>, String] extra_location_types
369
- # Optional. Do not use this field. It is unsupported and is ignored unless
370
- # explicitly documented otherwise. This is primarily for internal usage.
369
+ # Optional. Do not use this field unless explicitly documented otherwise. This
370
+ # is primarily for internal usage.
371
371
  # @param [String] filter
372
372
  # A filter to narrow down results to a preferred subset. The filtering language
373
373
  # accepts strings like "displayName=tokyo", and is documented in more detail in
@@ -2644,8 +2644,8 @@ module Google
2644
2644
  # @param [String] name
2645
2645
  # The resource that owns the locations collection, if applicable.
2646
2646
  # @param [Array<String>, String] extra_location_types
2647
- # Optional. Do not use this field. It is unsupported and is ignored unless
2648
- # explicitly documented otherwise. This is primarily for internal usage.
2647
+ # Optional. Do not use this field unless explicitly documented otherwise. This
2648
+ # is primarily for internal usage.
2649
2649
  # @param [String] filter
2650
2650
  # A filter to narrow down results to a preferred subset. The filtering language
2651
2651
  # accepts strings like "displayName=tokyo", and is documented in more detail in
@@ -4580,8 +4580,8 @@ module Google
4580
4580
  # @param [String] name
4581
4581
  # The resource that owns the locations collection, if applicable.
4582
4582
  # @param [Array<String>, String] extra_location_types
4583
- # Optional. Do not use this field. It is unsupported and is ignored unless
4584
- # explicitly documented otherwise. This is primarily for internal usage.
4583
+ # Optional. Do not use this field unless explicitly documented otherwise. This
4584
+ # is primarily for internal usage.
4585
4585
  # @param [String] filter
4586
4586
  # A filter to narrow down results to a preferred subset. The filtering language
4587
4587
  # accepts strings like "displayName=tokyo", and is documented in more detail in
@@ -6090,8 +6090,8 @@ module Google
6090
6090
  # @param [String] name
6091
6091
  # The resource that owns the locations collection, if applicable.
6092
6092
  # @param [Array<String>, String] extra_location_types
6093
- # Optional. Do not use this field. It is unsupported and is ignored unless
6094
- # explicitly documented otherwise. This is primarily for internal usage.
6093
+ # Optional. Do not use this field unless explicitly documented otherwise. This
6094
+ # is primarily for internal usage.
6095
6095
  # @param [String] filter
6096
6096
  # A filter to narrow down results to a preferred subset. The filtering language
6097
6097
  # accepts strings like "displayName=tokyo", and is documented in more detail in
@@ -8298,8 +8298,8 @@ module Google
8298
8298
  # @param [String] name
8299
8299
  # The resource that owns the locations collection, if applicable.
8300
8300
  # @param [Array<String>, String] extra_location_types
8301
- # Optional. Do not use this field. It is unsupported and is ignored unless
8302
- # explicitly documented otherwise. This is primarily for internal usage.
8301
+ # Optional. Do not use this field unless explicitly documented otherwise. This
8302
+ # is primarily for internal usage.
8303
8303
  # @param [String] filter
8304
8304
  # A filter to narrow down results to a preferred subset. The filtering language
8305
8305
  # accepts strings like "displayName=tokyo", and is documented in more detail in
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.94.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.94.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: