google-apis-logging_v2 0.70.0 → 0.72.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: 1dad1255e2d6bcc595ca0bbd2f7776a5cc1faca7ee3b7f232c22d677ad1126c2
4
- data.tar.gz: c054c35caeff49384aebe778cfc86c748edcb1fac3776e31911f0abf65e45bd0
3
+ metadata.gz: 3e6bb8562dbf79c0af9817462de5db9d619a11d0b50b663f26ef6afc01a139b0
4
+ data.tar.gz: 9a432fe43a927fcbe8cd3bdab1c58f450a5d434dff12dc9461324be8c71e2949
5
5
  SHA512:
6
- metadata.gz: 016daca53c8270fb6216ea8093e74f2ca29a0292b7a8b595844fe76136ed12f74f5627f604f0e117e60bfdb29ee74cb346fccd2e9cc253f7f35a8ce13275a398
7
- data.tar.gz: bd78be44604564eb74d53211db9025d5c9c2c10d058baec8f52826515272b4893f32a5a24d82a65b8ef6046001b4a8d82fb29b42dcd71c94375744dfcbe5db50
6
+ metadata.gz: fae7e0a4afc4413981750895416e15fa4d1eae21b9e8b61fb27eddea04851e7a8416e81ba02619406aef31f9f18f3ac5c476bdf4c6002d0d041f8fc78aeddd54
7
+ data.tar.gz: 5c64706c20475ec10eb18d63c7a2f004b4d6330e2c9ce155a5b5ba71681e9c0b37a9ed9c0f8d8f7860e87bdeda045c17c619ae126aa90e57fe7618b5419851f1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-logging_v2
2
2
 
3
+ ### v0.72.0 (2024-08-04)
4
+
5
+ * Regenerated from discovery document revision 20240726
6
+ * Regenerated using generator version 0.15.1
7
+
8
+ ### v0.71.0 (2024-07-25)
9
+
10
+ * Regenerated from discovery document revision 20240705
11
+
3
12
  ### v0.70.0 (2024-06-26)
4
13
 
5
14
  * Regenerated from discovery document revision 20240620
@@ -1012,8 +1012,8 @@ module Google
1012
1012
 
1013
1013
  # Required. The LogEntry field path to index.Note that some paths are
1014
1014
  # automatically indexed, and other paths are not eligible for indexing. See
1015
- # indexing documentation( https://cloud.google.com/logging/docs/view/advanced-
1016
- # queries#indexed-fields) for details.For example: jsonPayload.request.status
1015
+ # indexing documentation( https://cloud.google.com/logging/docs/analyze/custom-
1016
+ # index) for details.For example: jsonPayload.request.status
1017
1017
  # Corresponds to the JSON property `fieldPath`
1018
1018
  # @return [String]
1019
1019
  attr_accessor :field_path
@@ -1357,15 +1357,19 @@ module Google
1357
1357
  attr_accessor :project_ids
1358
1358
 
1359
1359
  # Required. Names of one or more parent resources from which to retrieve log
1360
- # entries: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/
1361
- # [BILLING_ACCOUNT_ID] folders/[FOLDER_ID]May alternatively be one or more views:
1362
- # projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[
1363
- # VIEW_ID] organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[
1364
- # BUCKET_ID]/views/[VIEW_ID] billingAccounts/[BILLING_ACCOUNT_ID]/locations/[
1365
- # LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] folders/[FOLDER_ID]/locations/
1366
- # [LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]Projects listed in the
1367
- # project_ids field are added to this list. A maximum of 100 resources may be
1368
- # specified in a single request.
1360
+ # entries. Resources may either be resource containers or specific LogViews. For
1361
+ # the case of resource containers, all logs ingested into that container will be
1362
+ # returned regardless of which LogBuckets they are actually stored in - i.e.
1363
+ # these queries may fan out to multiple regions. In the event of region
1364
+ # unavailability, specify a specific set of LogViews that do not include the
1365
+ # unavailable region. projects/[PROJECT_ID] organizations/[ORGANIZATION_ID]
1366
+ # billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID] projects/[PROJECT_ID]/
1367
+ # locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] organizations/[
1368
+ # ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
1369
+ # billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[
1370
+ # BUCKET_ID]/views/[VIEW_ID] folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/
1371
+ # [BUCKET_ID]/views/[VIEW_ID]Projects listed in the project_ids field are added
1372
+ # to this list. A maximum of 100 resources may be specified in a single request.
1369
1373
  # Corresponds to the JSON property `resourceNames`
1370
1374
  # @return [Array<String>]
1371
1375
  attr_accessor :resource_names
@@ -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.70.0"
19
+ GEM_VERSION = "0.72.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.0"
22
+ GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240620"
25
+ REVISION = "20240726"
26
26
  end
27
27
  end
28
28
  end
@@ -1432,6 +1432,16 @@ module Google
1432
1432
  # resource must be specified. To get a list of all saved queries, a wildcard
1433
1433
  # character - can be used for LOCATION_ID, for example: "projects/my-project/
1434
1434
  # locations/-"
1435
+ # @param [String] filter
1436
+ # Optional. Specifies the type ("Logging" or "OpsAnalytics") and the visibility (
1437
+ # PRIVATE or SHARED) of the saved queries to list. If provided, the filter must
1438
+ # contain either the type function or a visibility token, or both. If both are
1439
+ # chosen, they can be placed in any order, but they must be joined by the AND
1440
+ # operator or the empty character.The two supported type function calls are:
1441
+ # type("Logging") type("OpsAnalytics")The two supported visibility tokens are:
1442
+ # visibility = PRIVATE visibility = SHAREDFor example:type("Logging") AND
1443
+ # visibility = PRIVATE visibility=SHARED type("OpsAnalytics") type("OpsAnalytics)
1444
+ # " visibility = PRIVATE visibility = SHARED
1435
1445
  # @param [Fixnum] page_size
1436
1446
  # Optional. The maximum number of results to return from this request.Non-
1437
1447
  # positive values are ignored. The presence of nextPageToken in the response
@@ -1458,11 +1468,12 @@ module Google
1458
1468
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1459
1469
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1460
1470
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1461
- def list_billing_account_location_saved_queries(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1471
+ def list_billing_account_location_saved_queries(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1462
1472
  command = make_simple_command(:get, 'v2/{+parent}/savedQueries', options)
1463
1473
  command.response_representation = Google::Apis::LoggingV2::ListSavedQueriesResponse::Representation
1464
1474
  command.response_class = Google::Apis::LoggingV2::ListSavedQueriesResponse
1465
1475
  command.params['parent'] = parent unless parent.nil?
1476
+ command.query['filter'] = filter unless filter.nil?
1466
1477
  command.query['pageSize'] = page_size unless page_size.nil?
1467
1478
  command.query['pageToken'] = page_token unless page_token.nil?
1468
1479
  command.query['fields'] = fields unless fields.nil?
@@ -2338,7 +2349,8 @@ module Google
2338
2349
  # settings) for more information.
2339
2350
  # @param [String] name
2340
2351
  # Required. The resource name for the settings to update. "organizations/[
2341
- # ORGANIZATION_ID]/settings" For example:"organizations/12345/settings"
2352
+ # ORGANIZATION_ID]/settings" "folders/[FOLDER_ID]/settings" For example:"
2353
+ # organizations/12345/settings"
2342
2354
  # @param [Google::Apis::LoggingV2::Settings] settings_object
2343
2355
  # @param [String] update_mask
2344
2356
  # Optional. Field mask identifying which fields from settings should be updated.
@@ -3790,6 +3802,16 @@ module Google
3790
3802
  # resource must be specified. To get a list of all saved queries, a wildcard
3791
3803
  # character - can be used for LOCATION_ID, for example: "projects/my-project/
3792
3804
  # locations/-"
3805
+ # @param [String] filter
3806
+ # Optional. Specifies the type ("Logging" or "OpsAnalytics") and the visibility (
3807
+ # PRIVATE or SHARED) of the saved queries to list. If provided, the filter must
3808
+ # contain either the type function or a visibility token, or both. If both are
3809
+ # chosen, they can be placed in any order, but they must be joined by the AND
3810
+ # operator or the empty character.The two supported type function calls are:
3811
+ # type("Logging") type("OpsAnalytics")The two supported visibility tokens are:
3812
+ # visibility = PRIVATE visibility = SHAREDFor example:type("Logging") AND
3813
+ # visibility = PRIVATE visibility=SHARED type("OpsAnalytics") type("OpsAnalytics)
3814
+ # " visibility = PRIVATE visibility = SHARED
3793
3815
  # @param [Fixnum] page_size
3794
3816
  # Optional. The maximum number of results to return from this request.Non-
3795
3817
  # positive values are ignored. The presence of nextPageToken in the response
@@ -3816,11 +3838,12 @@ module Google
3816
3838
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3817
3839
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3818
3840
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3819
- def list_folder_location_saved_queries(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
3841
+ def list_folder_location_saved_queries(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
3820
3842
  command = make_simple_command(:get, 'v2/{+parent}/savedQueries', options)
3821
3843
  command.response_representation = Google::Apis::LoggingV2::ListSavedQueriesResponse::Representation
3822
3844
  command.response_class = Google::Apis::LoggingV2::ListSavedQueriesResponse
3823
3845
  command.params['parent'] = parent unless parent.nil?
3846
+ command.query['filter'] = filter unless filter.nil?
3824
3847
  command.query['pageSize'] = page_size unless page_size.nil?
3825
3848
  command.query['pageToken'] = page_token unless page_token.nil?
3826
3849
  command.query['fields'] = fields unless fields.nil?
@@ -5542,7 +5565,8 @@ module Google
5542
5565
  # settings) for more information.
5543
5566
  # @param [String] name
5544
5567
  # Required. The resource name for the settings to update. "organizations/[
5545
- # ORGANIZATION_ID]/settings" For example:"organizations/12345/settings"
5568
+ # ORGANIZATION_ID]/settings" "folders/[FOLDER_ID]/settings" For example:"
5569
+ # organizations/12345/settings"
5546
5570
  # @param [Google::Apis::LoggingV2::Settings] settings_object
5547
5571
  # @param [String] update_mask
5548
5572
  # Optional. Field mask identifying which fields from settings should be updated.
@@ -6994,6 +7018,16 @@ module Google
6994
7018
  # resource must be specified. To get a list of all saved queries, a wildcard
6995
7019
  # character - can be used for LOCATION_ID, for example: "projects/my-project/
6996
7020
  # locations/-"
7021
+ # @param [String] filter
7022
+ # Optional. Specifies the type ("Logging" or "OpsAnalytics") and the visibility (
7023
+ # PRIVATE or SHARED) of the saved queries to list. If provided, the filter must
7024
+ # contain either the type function or a visibility token, or both. If both are
7025
+ # chosen, they can be placed in any order, but they must be joined by the AND
7026
+ # operator or the empty character.The two supported type function calls are:
7027
+ # type("Logging") type("OpsAnalytics")The two supported visibility tokens are:
7028
+ # visibility = PRIVATE visibility = SHAREDFor example:type("Logging") AND
7029
+ # visibility = PRIVATE visibility=SHARED type("OpsAnalytics") type("OpsAnalytics)
7030
+ # " visibility = PRIVATE visibility = SHARED
6997
7031
  # @param [Fixnum] page_size
6998
7032
  # Optional. The maximum number of results to return from this request.Non-
6999
7033
  # positive values are ignored. The presence of nextPageToken in the response
@@ -7020,11 +7054,12 @@ module Google
7020
7054
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
7021
7055
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
7022
7056
  # @raise [Google::Apis::AuthorizationError] Authorization is required
7023
- def list_organization_location_saved_queries(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
7057
+ def list_organization_location_saved_queries(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
7024
7058
  command = make_simple_command(:get, 'v2/{+parent}/savedQueries', options)
7025
7059
  command.response_representation = Google::Apis::LoggingV2::ListSavedQueriesResponse::Representation
7026
7060
  command.response_class = Google::Apis::LoggingV2::ListSavedQueriesResponse
7027
7061
  command.params['parent'] = parent unless parent.nil?
7062
+ command.query['filter'] = filter unless filter.nil?
7028
7063
  command.query['pageSize'] = page_size unless page_size.nil?
7029
7064
  command.query['pageToken'] = page_token unless page_token.nil?
7030
7065
  command.query['fields'] = fields unless fields.nil?
@@ -8981,6 +9016,16 @@ module Google
8981
9016
  # resource must be specified. To get a list of all saved queries, a wildcard
8982
9017
  # character - can be used for LOCATION_ID, for example: "projects/my-project/
8983
9018
  # locations/-"
9019
+ # @param [String] filter
9020
+ # Optional. Specifies the type ("Logging" or "OpsAnalytics") and the visibility (
9021
+ # PRIVATE or SHARED) of the saved queries to list. If provided, the filter must
9022
+ # contain either the type function or a visibility token, or both. If both are
9023
+ # chosen, they can be placed in any order, but they must be joined by the AND
9024
+ # operator or the empty character.The two supported type function calls are:
9025
+ # type("Logging") type("OpsAnalytics")The two supported visibility tokens are:
9026
+ # visibility = PRIVATE visibility = SHAREDFor example:type("Logging") AND
9027
+ # visibility = PRIVATE visibility=SHARED type("OpsAnalytics") type("OpsAnalytics)
9028
+ # " visibility = PRIVATE visibility = SHARED
8984
9029
  # @param [Fixnum] page_size
8985
9030
  # Optional. The maximum number of results to return from this request.Non-
8986
9031
  # positive values are ignored. The presence of nextPageToken in the response
@@ -9007,11 +9052,12 @@ module Google
9007
9052
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
9008
9053
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
9009
9054
  # @raise [Google::Apis::AuthorizationError] Authorization is required
9010
- def list_project_location_saved_queries(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
9055
+ def list_project_location_saved_queries(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
9011
9056
  command = make_simple_command(:get, 'v2/{+parent}/savedQueries', options)
9012
9057
  command.response_representation = Google::Apis::LoggingV2::ListSavedQueriesResponse::Representation
9013
9058
  command.response_class = Google::Apis::LoggingV2::ListSavedQueriesResponse
9014
9059
  command.params['parent'] = parent unless parent.nil?
9060
+ command.query['filter'] = filter unless filter.nil?
9015
9061
  command.query['pageSize'] = page_size unless page_size.nil?
9016
9062
  command.query['pageToken'] = page_token unless page_token.nil?
9017
9063
  command.query['fields'] = fields unless fields.nil?
@@ -10038,7 +10084,8 @@ module Google
10038
10084
  # settings) for more information.
10039
10085
  # @param [String] name
10040
10086
  # Required. The resource name for the settings to update. "organizations/[
10041
- # ORGANIZATION_ID]/settings" For example:"organizations/12345/settings"
10087
+ # ORGANIZATION_ID]/settings" "folders/[FOLDER_ID]/settings" For example:"
10088
+ # organizations/12345/settings"
10042
10089
  # @param [Google::Apis::LoggingV2::Settings] settings_object
10043
10090
  # @param [String] update_mask
10044
10091
  # Optional. Field mask identifying which fields from settings should be updated.
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.70.0
4
+ version: 0.72.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: 2024-06-27 00:00:00.000000000 Z
11
+ date: 2024-08-04 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.70.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-logging_v2/v0.72.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: []