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 tpu v2alpha1 client #14432

Merged
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
1 change: 1 addition & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -258983,6 +258983,7 @@
"/tpu:v2alpha1/QueuedResource/guaranteed": guaranteed
"/tpu:v2alpha1/QueuedResource/name": name
"/tpu:v2alpha1/QueuedResource/queueingPolicy": queueing_policy
"/tpu:v2alpha1/QueuedResource/reservationName": reservation_name
"/tpu:v2alpha1/QueuedResource/state": state
"/tpu:v2alpha1/QueuedResource/tpu": tpu
"/tpu:v2alpha1/QueuedResourceState": queued_resource_state
Expand Down
4 changes: 4 additions & 0 deletions generated/google-apis-tpu_v2alpha1/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release history for google-apis-tpu_v2alpha1

### v0.17.0 (2023-04-02)

* Regenerated from discovery document revision 20230330

### v0.16.0 (2023-03-26)

* Regenerated from discovery document revision 20230316
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1092,6 +1092,12 @@ class QueuedResource
# @return [Google::Apis::TpuV2alpha1::QueueingPolicy]
attr_accessor :queueing_policy

# Name of the reservation in which the resource should be provisioned. Format:
# projects/`project`/locations/`zone`/reservations/`reservation`
# Corresponds to the JSON property `reservationName`
# @return [String]
attr_accessor :reservation_name

# QueuedResourceState defines the details of the QueuedResource request.
# Corresponds to the JSON property `state`
# @return [Google::Apis::TpuV2alpha1::QueuedResourceState]
Expand All @@ -1112,6 +1118,7 @@ def update!(**args)
@guaranteed = args[:guaranteed] if args.key?(:guaranteed)
@name = args[:name] if args.key?(:name)
@queueing_policy = args[:queueing_policy] if args.key?(:queueing_policy)
@reservation_name = args[:reservation_name] if args.key?(:reservation_name)
@state = args[:state] if args.key?(:state)
@tpu = args[:tpu] if args.key?(:tpu)
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ module Google
module Apis
module TpuV2alpha1
# Version of the google-apis-tpu_v2alpha1 gem
GEM_VERSION = "0.16.0"
GEM_VERSION = "0.17.0"

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

# Revision of the discovery document this client was generated from
REVISION = "20230316"
REVISION = "20230330"
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -654,6 +654,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
property :name, as: 'name'
property :queueing_policy, as: 'queueingPolicy', class: Google::Apis::TpuV2alpha1::QueueingPolicy, decorator: Google::Apis::TpuV2alpha1::QueueingPolicy::Representation

property :reservation_name, as: 'reservationName'
property :state, as: 'state', class: Google::Apis::TpuV2alpha1::QueuedResourceState, decorator: Google::Apis::TpuV2alpha1::QueuedResourceState::Representation

property :tpu, as: 'tpu', class: Google::Apis::TpuV2alpha1::Tpu, decorator: Google::Apis::TpuV2alpha1::Tpu::Representation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -680,7 +680,7 @@ def list_project_location_operations(name, filter: nil, page_size: nil, page_tok
# Required. The parent resource name.
# @param [Google::Apis::TpuV2alpha1::QueuedResource] queued_resource_object
# @param [String] queued_resource_id
# The unqualified resource name. Should follow the ^[A-Za-z0-9_.~+%-]+$ regex
# The unqualified resource name. Should follow the `^[A-Za-z0-9_.~+%-]+$` regex
# format.
# @param [String] request_id
# Idempotent request UUID.
Expand Down