Skip to content

Commit 74bc4e8

Browse files
feat: Automated regeneration of logging v2 client (googleapis#22506)
Auto-created at 2025-04-20 10:46:02 +0000 using the toys pull request generator.
1 parent 2aa84e3 commit 74bc4e8

File tree

5 files changed

+42
-31
lines changed

5 files changed

+42
-31
lines changed

api_names_out.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265922,6 +265922,7 @@
265922265922
"/logging:v2/logging.billingAccounts.locations.get": get_billing_account_location
265923265923
"/logging:v2/logging.billingAccounts.locations.get/name": name
265924265924
"/logging:v2/logging.billingAccounts.locations.list": list_billing_account_locations
265925+
"/logging:v2/logging.billingAccounts.locations.list/extraLocationTypes": extra_location_types
265925265926
"/logging:v2/logging.billingAccounts.locations.list/filter": filter
265926265927
"/logging:v2/logging.billingAccounts.locations.list/name": name
265927265928
"/logging:v2/logging.billingAccounts.locations.list/pageSize": page_size
@@ -266082,6 +266083,7 @@
266082266083
"/logging:v2/logging.folders.locations.get": get_folder_location
266083266084
"/logging:v2/logging.folders.locations.get/name": name
266084266085
"/logging:v2/logging.folders.locations.list": list_folder_locations
266086+
"/logging:v2/logging.folders.locations.list/extraLocationTypes": extra_location_types
266085266087
"/logging:v2/logging.folders.locations.list/filter": filter
266086266088
"/logging:v2/logging.folders.locations.list/name": name
266087266089
"/logging:v2/logging.folders.locations.list/pageSize": page_size
@@ -266220,6 +266222,7 @@
266220266222
"/logging:v2/logging.locations.get": get_location
266221266223
"/logging:v2/logging.locations.get/name": name
266222266224
"/logging:v2/logging.locations.list": list_locations
266225+
"/logging:v2/logging.locations.list/extraLocationTypes": extra_location_types
266223266226
"/logging:v2/logging.locations.list/filter": filter
266224266227
"/logging:v2/logging.locations.list/name": name
266225266228
"/logging:v2/logging.locations.list/pageSize": page_size
@@ -266321,6 +266324,7 @@
266321266324
"/logging:v2/logging.organizations.locations.get": get_organization_location
266322266325
"/logging:v2/logging.organizations.locations.get/name": name
266323266326
"/logging:v2/logging.organizations.locations.list": list_organization_locations
266327+
"/logging:v2/logging.organizations.locations.list/extraLocationTypes": extra_location_types
266324266328
"/logging:v2/logging.organizations.locations.list/filter": filter
266325266329
"/logging:v2/logging.organizations.locations.list/name": name
266326266330
"/logging:v2/logging.organizations.locations.list/pageSize": page_size
@@ -266482,6 +266486,7 @@
266482266486
"/logging:v2/logging.projects.locations.get": get_project_location
266483266487
"/logging:v2/logging.projects.locations.get/name": name
266484266488
"/logging:v2/logging.projects.locations.list": list_project_locations
266489+
"/logging:v2/logging.projects.locations.list/extraLocationTypes": extra_location_types
266485266490
"/logging:v2/logging.projects.locations.list/filter": filter
266486266491
"/logging:v2/logging.projects.locations.list/name": name
266487266492
"/logging:v2/logging.projects.locations.list/pageSize": page_size

generated/google-apis-logging_v2/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-logging_v2
22

3+
### v0.78.0 (2025-04-20)
4+
5+
* Regenerated from discovery document revision 20250411
6+
37
### v0.77.0 (2025-03-16)
48

59
* Regenerated from discovery document revision 20250307

generated/google-apis-logging_v2/lib/google/apis/logging_v2/classes.rb

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -678,10 +678,7 @@ class CreateLinkRequest
678678
attr_accessor :link_id
679679

680680
# Required. The full resource name of the bucket to create a link for. "projects/
681-
# [PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[
682-
# ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "billingAccounts/
683-
# [BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "folders/[
684-
# FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
681+
# [PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
685682
# Corresponds to the JSON property `parent`
686683
# @return [String]
687684
attr_accessor :parent

generated/google-apis-logging_v2/lib/google/apis/logging_v2/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module LoggingV2
1818
# Version of the google-apis-logging_v2 gem
19-
GEM_VERSION = "0.77.0"
19+
GEM_VERSION = "0.78.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.16.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20250307"
25+
REVISION = "20250411"
2626
end
2727
end
2828
end

generated/google-apis-logging_v2/lib/google/apis/logging_v2/service.rb

Lines changed: 30 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,9 @@ def get_billing_account_location(name, fields: nil, quota_user: nil, options: ni
356356
# Lists information about the supported locations for this service.
357357
# @param [String] name
358358
# The resource that owns the locations collection, if applicable.
359+
# @param [Array<String>, String] extra_location_types
360+
# Optional. A list of extra location types that should be used as conditions for
361+
# controlling the visibility of the locations.
359362
# @param [String] filter
360363
# A filter to narrow down results to a preferred subset. The filtering language
361364
# accepts strings like "displayName=tokyo", and is documented in more detail in
@@ -383,11 +386,12 @@ def get_billing_account_location(name, fields: nil, quota_user: nil, options: ni
383386
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
384387
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
385388
# @raise [Google::Apis::AuthorizationError] Authorization is required
386-
def list_billing_account_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
389+
def list_billing_account_locations(name, extra_location_types: nil, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
387390
command = make_simple_command(:get, 'v2/{+name}/locations', options)
388391
command.response_representation = Google::Apis::LoggingV2::ListLocationsResponse::Representation
389392
command.response_class = Google::Apis::LoggingV2::ListLocationsResponse
390393
command.params['name'] = name unless name.nil?
394+
command.query['extraLocationTypes'] = extra_location_types unless extra_location_types.nil?
391395
command.query['filter'] = filter unless filter.nil?
392396
command.query['pageSize'] = page_size unless page_size.nil?
393397
command.query['pageToken'] = page_token unless page_token.nil?
@@ -738,10 +742,7 @@ def update_billing_account_location_bucket_async(name, log_bucket_object = nil,
738742
# currently only contain one link.
739743
# @param [String] parent
740744
# Required. The full resource name of the bucket to create a link for. "projects/
741-
# [PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[
742-
# ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "billingAccounts/
743-
# [BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "folders/[
744-
# FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
745+
# [PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
745746
# @param [Google::Apis::LoggingV2::Link] link_object
746747
# @param [String] link_id
747748
# Required. The ID to use for the link. The link_id can have up to 100
@@ -2614,6 +2615,9 @@ def get_folder_location(name, fields: nil, quota_user: nil, options: nil, &block
26142615
# Lists information about the supported locations for this service.
26152616
# @param [String] name
26162617
# The resource that owns the locations collection, if applicable.
2618+
# @param [Array<String>, String] extra_location_types
2619+
# Optional. A list of extra location types that should be used as conditions for
2620+
# controlling the visibility of the locations.
26172621
# @param [String] filter
26182622
# A filter to narrow down results to a preferred subset. The filtering language
26192623
# accepts strings like "displayName=tokyo", and is documented in more detail in
@@ -2641,11 +2645,12 @@ def get_folder_location(name, fields: nil, quota_user: nil, options: nil, &block
26412645
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
26422646
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
26432647
# @raise [Google::Apis::AuthorizationError] Authorization is required
2644-
def list_folder_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2648+
def list_folder_locations(name, extra_location_types: nil, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
26452649
command = make_simple_command(:get, 'v2/{+name}/locations', options)
26462650
command.response_representation = Google::Apis::LoggingV2::ListLocationsResponse::Representation
26472651
command.response_class = Google::Apis::LoggingV2::ListLocationsResponse
26482652
command.params['name'] = name unless name.nil?
2653+
command.query['extraLocationTypes'] = extra_location_types unless extra_location_types.nil?
26492654
command.query['filter'] = filter unless filter.nil?
26502655
command.query['pageSize'] = page_size unless page_size.nil?
26512656
command.query['pageToken'] = page_token unless page_token.nil?
@@ -2996,10 +3001,7 @@ def update_folder_location_bucket_async(name, log_bucket_object = nil, update_ma
29963001
# currently only contain one link.
29973002
# @param [String] parent
29983003
# Required. The full resource name of the bucket to create a link for. "projects/
2999-
# [PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[
3000-
# ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "billingAccounts/
3001-
# [BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "folders/[
3002-
# FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
3004+
# [PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
30033005
# @param [Google::Apis::LoggingV2::Link] link_object
30043006
# @param [String] link_id
30053007
# Required. The ID to use for the link. The link_id can have up to 100
@@ -4528,6 +4530,9 @@ def get_location(name, fields: nil, quota_user: nil, options: nil, &block)
45284530
# Lists information about the supported locations for this service.
45294531
# @param [String] name
45304532
# The resource that owns the locations collection, if applicable.
4533+
# @param [Array<String>, String] extra_location_types
4534+
# Optional. A list of extra location types that should be used as conditions for
4535+
# controlling the visibility of the locations.
45314536
# @param [String] filter
45324537
# A filter to narrow down results to a preferred subset. The filtering language
45334538
# accepts strings like "displayName=tokyo", and is documented in more detail in
@@ -4555,11 +4560,12 @@ def get_location(name, fields: nil, quota_user: nil, options: nil, &block)
45554560
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
45564561
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
45574562
# @raise [Google::Apis::AuthorizationError] Authorization is required
4558-
def list_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
4563+
def list_locations(name, extra_location_types: nil, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
45594564
command = make_simple_command(:get, 'v2/{+name}/locations', options)
45604565
command.response_representation = Google::Apis::LoggingV2::ListLocationsResponse::Representation
45614566
command.response_class = Google::Apis::LoggingV2::ListLocationsResponse
45624567
command.params['name'] = name unless name.nil?
4568+
command.query['extraLocationTypes'] = extra_location_types unless extra_location_types.nil?
45634569
command.query['filter'] = filter unless filter.nil?
45644570
command.query['pageSize'] = page_size unless page_size.nil?
45654571
command.query['pageToken'] = page_token unless page_token.nil?
@@ -4910,10 +4916,7 @@ def update_location_bucket_async(name, log_bucket_object = nil, update_mask: nil
49104916
# currently only contain one link.
49114917
# @param [String] parent
49124918
# Required. The full resource name of the bucket to create a link for. "projects/
4913-
# [PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[
4914-
# ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "billingAccounts/
4915-
# [BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "folders/[
4916-
# FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
4919+
# [PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
49174920
# @param [Google::Apis::LoggingV2::Link] link_object
49184921
# @param [String] link_id
49194922
# Required. The ID to use for the link. The link_id can have up to 100
@@ -6018,6 +6021,9 @@ def get_organization_location(name, fields: nil, quota_user: nil, options: nil,
60186021
# Lists information about the supported locations for this service.
60196022
# @param [String] name
60206023
# The resource that owns the locations collection, if applicable.
6024+
# @param [Array<String>, String] extra_location_types
6025+
# Optional. A list of extra location types that should be used as conditions for
6026+
# controlling the visibility of the locations.
60216027
# @param [String] filter
60226028
# A filter to narrow down results to a preferred subset. The filtering language
60236029
# accepts strings like "displayName=tokyo", and is documented in more detail in
@@ -6045,11 +6051,12 @@ def get_organization_location(name, fields: nil, quota_user: nil, options: nil,
60456051
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
60466052
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
60476053
# @raise [Google::Apis::AuthorizationError] Authorization is required
6048-
def list_organization_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
6054+
def list_organization_locations(name, extra_location_types: nil, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
60496055
command = make_simple_command(:get, 'v2/{+name}/locations', options)
60506056
command.response_representation = Google::Apis::LoggingV2::ListLocationsResponse::Representation
60516057
command.response_class = Google::Apis::LoggingV2::ListLocationsResponse
60526058
command.params['name'] = name unless name.nil?
6059+
command.query['extraLocationTypes'] = extra_location_types unless extra_location_types.nil?
60536060
command.query['filter'] = filter unless filter.nil?
60546061
command.query['pageSize'] = page_size unless page_size.nil?
60556062
command.query['pageToken'] = page_token unless page_token.nil?
@@ -6400,10 +6407,7 @@ def update_organization_location_bucket_async(name, log_bucket_object = nil, upd
64006407
# currently only contain one link.
64016408
# @param [String] parent
64026409
# Required. The full resource name of the bucket to create a link for. "projects/
6403-
# [PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[
6404-
# ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "billingAccounts/
6405-
# [BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "folders/[
6406-
# FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
6410+
# [PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
64076411
# @param [Google::Apis::LoggingV2::Link] link_object
64086412
# @param [String] link_id
64096413
# Required. The ID to use for the link. The link_id can have up to 100
@@ -8204,6 +8208,9 @@ def get_project_location(name, fields: nil, quota_user: nil, options: nil, &bloc
82048208
# Lists information about the supported locations for this service.
82058209
# @param [String] name
82068210
# The resource that owns the locations collection, if applicable.
8211+
# @param [Array<String>, String] extra_location_types
8212+
# Optional. A list of extra location types that should be used as conditions for
8213+
# controlling the visibility of the locations.
82078214
# @param [String] filter
82088215
# A filter to narrow down results to a preferred subset. The filtering language
82098216
# accepts strings like "displayName=tokyo", and is documented in more detail in
@@ -8231,11 +8238,12 @@ def get_project_location(name, fields: nil, quota_user: nil, options: nil, &bloc
82318238
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
82328239
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
82338240
# @raise [Google::Apis::AuthorizationError] Authorization is required
8234-
def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
8241+
def list_project_locations(name, extra_location_types: nil, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
82358242
command = make_simple_command(:get, 'v2/{+name}/locations', options)
82368243
command.response_representation = Google::Apis::LoggingV2::ListLocationsResponse::Representation
82378244
command.response_class = Google::Apis::LoggingV2::ListLocationsResponse
82388245
command.params['name'] = name unless name.nil?
8246+
command.query['extraLocationTypes'] = extra_location_types unless extra_location_types.nil?
82398247
command.query['filter'] = filter unless filter.nil?
82408248
command.query['pageSize'] = page_size unless page_size.nil?
82418249
command.query['pageToken'] = page_token unless page_token.nil?
@@ -8586,10 +8594,7 @@ def update_project_location_bucket_async(name, log_bucket_object = nil, update_m
85868594
# currently only contain one link.
85878595
# @param [String] parent
85888596
# Required. The full resource name of the bucket to create a link for. "projects/
8589-
# [PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[
8590-
# ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "billingAccounts/
8591-
# [BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "folders/[
8592-
# FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
8597+
# [PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
85938598
# @param [Google::Apis::LoggingV2::Link] link_object
85948599
# @param [String] link_id
85958600
# Required. The ID to use for the link. The link_id can have up to 100

0 commit comments

Comments
 (0)