Skip to content

Commit b0136ce

Browse files
feat: Automated regeneration of apihub v1 client
1 parent e7452c8 commit b0136ce

File tree

6 files changed

+45
-13
lines changed

6 files changed

+45
-13
lines changed

api_names_out.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41820,6 +41820,8 @@
4182041820
"/apihub:v1/GoogleLongrunningListOperationsResponse/nextPageToken": next_page_token
4182141821
"/apihub:v1/GoogleLongrunningListOperationsResponse/operations": operations
4182241822
"/apihub:v1/GoogleLongrunningListOperationsResponse/operations/operation": operation
41823+
"/apihub:v1/GoogleLongrunningListOperationsResponse/unreachable": unreachable
41824+
"/apihub:v1/GoogleLongrunningListOperationsResponse/unreachable/unreachable": unreachable
4182341825
"/apihub:v1/GoogleLongrunningOperation": google_longrunning_operation
4182441826
"/apihub:v1/GoogleLongrunningOperation/done": done
4182541827
"/apihub:v1/GoogleLongrunningOperation/error": error
@@ -42031,6 +42033,7 @@
4203142033
"/apihub:v1/apihub.projects.locations.operations.list/name": name
4203242034
"/apihub:v1/apihub.projects.locations.operations.list/pageSize": page_size
4203342035
"/apihub:v1/apihub.projects.locations.operations.list/pageToken": page_token
42036+
"/apihub:v1/apihub.projects.locations.operations.list/returnPartialSuccess": return_partial_success
4203442037
"/apihub:v1/apihub.projects.locations.plugins.create": create_project_location_plugin
4203542038
"/apihub:v1/apihub.projects.locations.plugins.create/parent": parent
4203642039
"/apihub:v1/apihub.projects.locations.plugins.create/pluginId": plugin_id

generated/google-apis-apihub_v1/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-apihub_v1
22

3+
### v0.9.0 (2025-11-02)
4+
5+
* Regenerated from discovery document revision 20251025
6+
37
### v0.8.0 (2025-09-21)
48

59
* Regenerated from discovery document revision 20250912

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

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,9 @@ class GoogleCloudApihubV1Api
203203
# @return [Google::Apis::ApihubV1::GoogleCloudApihubV1Documentation]
204204
attr_accessor :documentation
205205

206-
# Optional. Fingerprint of the API resource.
206+
# Optional. Fingerprint of the API resource. This must be unique for each API
207+
# resource. It can neither be unset nor be updated to an existing fingerprint of
208+
# another API resource.
207209
# Corresponds to the JSON property `fingerprint`
208210
# @return [String]
209211
attr_accessor :fingerprint
@@ -4534,6 +4536,13 @@ class GoogleLongrunningListOperationsResponse
45344536
# @return [Array<Google::Apis::ApihubV1::GoogleLongrunningOperation>]
45354537
attr_accessor :operations
45364538

4539+
# Unordered list. Unreachable resources. Populated when the request sets `
4540+
# ListOperationsRequest.return_partial_success` and reads across collections e.g.
4541+
# when attempting to list all resources across all supported locations.
4542+
# Corresponds to the JSON property `unreachable`
4543+
# @return [Array<String>]
4544+
attr_accessor :unreachable
4545+
45374546
def initialize(**args)
45384547
update!(**args)
45394548
end
@@ -4542,6 +4551,7 @@ def initialize(**args)
45424551
def update!(**args)
45434552
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
45444553
@operations = args[:operations] if args.key?(:operations)
4554+
@unreachable = args[:unreachable] if args.key?(:unreachable)
45454555
end
45464556
end
45474557

generated/google-apis-apihub_v1/lib/google/apis/apihub_v1/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 ApihubV1
1818
# Version of the google-apis-apihub_v1 gem
19-
GEM_VERSION = "0.8.0"
19+
GEM_VERSION = "0.9.0"
2020

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

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

generated/google-apis-apihub_v1/lib/google/apis/apihub_v1/representations.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2032,6 +2032,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
20322032
property :next_page_token, as: 'nextPageToken'
20332033
collection :operations, as: 'operations', class: Google::Apis::ApihubV1::GoogleLongrunningOperation, decorator: Google::Apis::ApihubV1::GoogleLongrunningOperation::Representation
20342034

2035+
collection :unreachable, as: 'unreachable'
20352036
end
20362037
end
20372038

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

Lines changed: 24 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,8 @@ def get_project_location(name, fields: nil, quota_user: nil, options: nil, &bloc
119119
# @param [String] name
120120
# The resource that owns the locations collection, if applicable.
121121
# @param [Array<String>, String] extra_location_types
122-
# Optional. Unless explicitly documented otherwise, don't use this unsupported
123-
# field which is primarily intended for internal usage.
122+
# Optional. Do not use this field. It is unsupported and is ignored unless
123+
# explicitly documented otherwise. This is primarily for internal usage.
124124
# @param [String] filter
125125
# A filter to narrow down results to a preferred subset. The filtering language
126126
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
@@ -605,9 +605,10 @@ def list_project_location_apis(parent, filter: nil, page_size: nil, page_token:
605605

606606
# Update an API resource in the API hub. The following fields in the API can be
607607
# updated: * display_name * description * owner * documentation * target_user *
608-
# team * business_unit * maturity_level * api_style * attributes The update_mask
609-
# should be used to specify the fields being updated. Updating the owner field
610-
# requires complete owner message and updates both owner and email fields.
608+
# team * business_unit * maturity_level * api_style * attributes * fingerprint
609+
# The update_mask should be used to specify the fields being updated. Updating
610+
# the owner field requires complete owner message and updates both owner and
611+
# email fields.
611612
# @param [String] name
612613
# Identifier. The name of the API resource in the API Hub. Format: `projects/`
613614
# project`/locations/`location`/apis/`api``
@@ -1147,10 +1148,15 @@ def list_project_location_api_version_operations(parent, filter: nil, page_size:
11471148
# Update an operation in an API version. The following fields in the
11481149
# ApiOperation resource can be updated: * details.description * details.
11491150
# documentation * details.http_operation.path * details.http_operation.method *
1150-
# details.deprecated * attributes The update_mask should be used to specify the
1151-
# fields being updated. An operation can be updated only if the operation was
1152-
# created via CreateApiOperation API. If the operation was created by parsing
1153-
# the spec, then it can be edited by updating the spec.
1151+
# details.deprecated * attributes * details.mcp_tool.title * details.mcp_tool.
1152+
# description * details.input_schema * details.output_schema * details.mcp_tool.
1153+
# annotations.title * details.mcp_tool.annotations.read_only_hint * details.
1154+
# mcp_tool.annotations.destructive_hint * details.mcp_tool.annotations.
1155+
# idempotent_hint * details.mcp_tool.annotations.open_world_hint * details.
1156+
# mcp_tool.annotations.additional_hints The update_mask should be used to
1157+
# specify the fields being updated. An operation can be updated only if the
1158+
# operation was created via CreateApiOperation API. If the operation was created
1159+
# by parsing the spec, then it can be edited by updating the spec.
11541160
# @param [String] name
11551161
# Identifier. The name of the operation. Format: `projects/`project`/locations/`
11561162
# location`/apis/`api`/versions/`version`/operations/`operation``
@@ -3015,6 +3021,13 @@ def get_project_location_operation(name, fields: nil, quota_user: nil, options:
30153021
# The standard list page size.
30163022
# @param [String] page_token
30173023
# The standard list page token.
3024+
# @param [Boolean] return_partial_success
3025+
# When set to `true`, operations that are reachable are returned as normal, and
3026+
# those that are unreachable are returned in the [ListOperationsResponse.
3027+
# unreachable] field. This can only be `true` when reading across collections e.
3028+
# g. when `parent` is set to `"projects/example/locations/-"`. This field is not
3029+
# by default supported and will result in an `UNIMPLEMENTED` error if set unless
3030+
# explicitly documented otherwise in service or product specific documentation.
30183031
# @param [String] fields
30193032
# Selector specifying which fields to include in a partial response.
30203033
# @param [String] quota_user
@@ -3032,14 +3045,15 @@ def get_project_location_operation(name, fields: nil, quota_user: nil, options:
30323045
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
30333046
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
30343047
# @raise [Google::Apis::AuthorizationError] Authorization is required
3035-
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
3048+
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
30363049
command = make_simple_command(:get, 'v1/{+name}/operations', options)
30373050
command.response_representation = Google::Apis::ApihubV1::GoogleLongrunningListOperationsResponse::Representation
30383051
command.response_class = Google::Apis::ApihubV1::GoogleLongrunningListOperationsResponse
30393052
command.params['name'] = name unless name.nil?
30403053
command.query['filter'] = filter unless filter.nil?
30413054
command.query['pageSize'] = page_size unless page_size.nil?
30423055
command.query['pageToken'] = page_token unless page_token.nil?
3056+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
30433057
command.query['fields'] = fields unless fields.nil?
30443058
command.query['quotaUser'] = quota_user unless quota_user.nil?
30453059
execute_or_queue_command(command, &block)

0 commit comments

Comments
 (0)