Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Automated regeneration of gkebackup v1 client #21644

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -233173,6 +233173,8 @@
"/gkebackup:v1/ListBackupsResponse/backups": backups
"/gkebackup:v1/ListBackupsResponse/backups/backup": backup
"/gkebackup:v1/ListBackupsResponse/nextPageToken": next_page_token
"/gkebackup:v1/ListBackupsResponse/unreachable": unreachable
"/gkebackup:v1/ListBackupsResponse/unreachable/unreachable": unreachable
"/gkebackup:v1/ListLocationsResponse": list_locations_response
"/gkebackup:v1/ListLocationsResponse/locations": locations
"/gkebackup:v1/ListLocationsResponse/locations/location": location
Expand Down Expand Up @@ -233396,6 +233398,7 @@
"/gkebackup:v1/gkebackup.projects.locations.backupPlans.backups.list/pageSize": page_size
"/gkebackup:v1/gkebackup.projects.locations.backupPlans.backups.list/pageToken": page_token
"/gkebackup:v1/gkebackup.projects.locations.backupPlans.backups.list/parent": parent
"/gkebackup:v1/gkebackup.projects.locations.backupPlans.backups.list/returnPartialSuccess": return_partial_success
"/gkebackup:v1/gkebackup.projects.locations.backupPlans.backups.patch": patch_project_location_backup_plan_backup
"/gkebackup:v1/gkebackup.projects.locations.backupPlans.backups.patch/name": name
"/gkebackup:v1/gkebackup.projects.locations.backupPlans.backups.patch/updateMask": update_mask
Expand Down
4 changes: 4 additions & 0 deletions generated/google-apis-gkebackup_v1/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release history for google-apis-gkebackup_v1

### v0.40.0 (2025-02-16)

* Regenerated from discovery document revision 20250205

### v0.39.0 (2025-01-12)

* Regenerated from discovery document revision 20250101
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1227,6 +1227,11 @@ class ListBackupsResponse
# @return [String]
attr_accessor :next_page_token

# Locations that could not be reached.
# Corresponds to the JSON property `unreachable`
# @return [Array<String>]
attr_accessor :unreachable

def initialize(**args)
update!(**args)
end
Expand All @@ -1235,6 +1240,7 @@ def initialize(**args)
def update!(**args)
@backups = args[:backups] if args.key?(:backups)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
@unreachable = args[:unreachable] if args.key?(:unreachable)
end
end

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ module Google
module Apis
module GkebackupV1
# Version of the google-apis-gkebackup_v1 gem
GEM_VERSION = "0.39.0"
GEM_VERSION = "0.40.0"

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

# Revision of the discovery document this client was generated from
REVISION = "20250101"
REVISION = "20250205"
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -622,6 +622,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
collection :backups, as: 'backups', class: Google::Apis::GkebackupV1::Backup, decorator: Google::Apis::GkebackupV1::Backup::Representation

property :next_page_token, as: 'nextPageToken'
collection :unreachable, as: 'unreachable'
end
end

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -654,6 +654,9 @@ def get_project_location_backup_plan_backup_iam_policy(resource, options_request
# call. Provide this to retrieve the subsequent page in a multi-page list of
# results. When paginating, all other parameters provided to `ListBackups` must
# match the call that provided the page token.
# @param [Boolean] return_partial_success
# Optional. If set to true, the response will return partial results when some
# regions are unreachable and the unreachable field will be populated.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
Expand All @@ -671,7 +674,7 @@ def get_project_location_backup_plan_backup_iam_policy(resource, options_request
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_project_location_backup_plan_backups(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
def list_project_location_backup_plan_backups(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+parent}/backups', options)
command.response_representation = Google::Apis::GkebackupV1::ListBackupsResponse::Representation
command.response_class = Google::Apis::GkebackupV1::ListBackupsResponse
Expand All @@ -680,6 +683,7 @@ def list_project_location_backup_plan_backups(parent, filter: nil, order_by: nil
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil?
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
Expand Down
Loading