google-apis-tpu_v2 0.14.0 → 0.16.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 318a7ebfafdf88f8665d0f1fdee632b6fe68fb6476cc0a46947ebcd3ddb64574
|
4
|
+
data.tar.gz: 7fff8a0c43e6b012dfbf9d8e1d8ca8c0683b3e9104553a815b893f9191bb60cc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8bf3abc9b76ba42a7a90ffa5a6acff9b13d508f6f1f93c529be8d8f56e5969af4043f2486066202e33ddec2389fc9ae7d903faf2d3f287c4f25bfc3a1507bd88
|
7
|
+
data.tar.gz: af1f75c5bdbd7161634da93b71735509e4354cfba2e1367831ff6549bbf7efdb4fb34fac9d72e632ba76cee967faad3f309cfa1db060ff1be104f89056d57f5f
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-tpu_v2
|
2
2
|
|
3
|
+
### v0.16.0 (2025-04-20)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250410
|
6
|
+
|
7
|
+
### v0.15.0 (2025-03-30)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250320
|
10
|
+
|
3
11
|
### v0.14.0 (2025-02-26)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20250116
|
@@ -898,6 +898,11 @@ module Google
|
|
898
898
|
# @return [Array<String>]
|
899
899
|
attr_accessor :tags
|
900
900
|
|
901
|
+
# Upcoming Maintenance notification information.
|
902
|
+
# Corresponds to the JSON property `upcomingMaintenance`
|
903
|
+
# @return [Google::Apis::TpuV2::UpcomingMaintenance]
|
904
|
+
attr_accessor :upcoming_maintenance
|
905
|
+
|
901
906
|
def initialize(**args)
|
902
907
|
update!(**args)
|
903
908
|
end
|
@@ -929,6 +934,7 @@ module Google
|
|
929
934
|
@state = args[:state] if args.key?(:state)
|
930
935
|
@symptoms = args[:symptoms] if args.key?(:symptoms)
|
931
936
|
@tags = args[:tags] if args.key?(:tags)
|
937
|
+
@upcoming_maintenance = args[:upcoming_maintenance] if args.key?(:upcoming_maintenance)
|
932
938
|
end
|
933
939
|
end
|
934
940
|
|
@@ -1589,6 +1595,59 @@ module Google
|
|
1589
1595
|
@node_spec = args[:node_spec] if args.key?(:node_spec)
|
1590
1596
|
end
|
1591
1597
|
end
|
1598
|
+
|
1599
|
+
# Upcoming Maintenance notification information.
|
1600
|
+
class UpcomingMaintenance
|
1601
|
+
include Google::Apis::Core::Hashable
|
1602
|
+
|
1603
|
+
# Indicates if the maintenance can be customer triggered.
|
1604
|
+
# Corresponds to the JSON property `canReschedule`
|
1605
|
+
# @return [Boolean]
|
1606
|
+
attr_accessor :can_reschedule
|
1607
|
+
alias_method :can_reschedule?, :can_reschedule
|
1608
|
+
|
1609
|
+
# The latest time for the planned maintenance window to start. This timestamp
|
1610
|
+
# value is in RFC3339 text format.
|
1611
|
+
# Corresponds to the JSON property `latestWindowStartTime`
|
1612
|
+
# @return [String]
|
1613
|
+
attr_accessor :latest_window_start_time
|
1614
|
+
|
1615
|
+
# The status of the maintenance.
|
1616
|
+
# Corresponds to the JSON property `maintenanceStatus`
|
1617
|
+
# @return [String]
|
1618
|
+
attr_accessor :maintenance_status
|
1619
|
+
|
1620
|
+
# Defines the type of maintenance.
|
1621
|
+
# Corresponds to the JSON property `type`
|
1622
|
+
# @return [String]
|
1623
|
+
attr_accessor :type
|
1624
|
+
|
1625
|
+
# The time by which the maintenance disruption will be completed. This timestamp
|
1626
|
+
# value is in RFC3339 text format.
|
1627
|
+
# Corresponds to the JSON property `windowEndTime`
|
1628
|
+
# @return [String]
|
1629
|
+
attr_accessor :window_end_time
|
1630
|
+
|
1631
|
+
# The current start time of the maintenance window. This timestamp value is in
|
1632
|
+
# RFC3339 text format.
|
1633
|
+
# Corresponds to the JSON property `windowStartTime`
|
1634
|
+
# @return [String]
|
1635
|
+
attr_accessor :window_start_time
|
1636
|
+
|
1637
|
+
def initialize(**args)
|
1638
|
+
update!(**args)
|
1639
|
+
end
|
1640
|
+
|
1641
|
+
# Update properties of this object
|
1642
|
+
def update!(**args)
|
1643
|
+
@can_reschedule = args[:can_reschedule] if args.key?(:can_reschedule)
|
1644
|
+
@latest_window_start_time = args[:latest_window_start_time] if args.key?(:latest_window_start_time)
|
1645
|
+
@maintenance_status = args[:maintenance_status] if args.key?(:maintenance_status)
|
1646
|
+
@type = args[:type] if args.key?(:type)
|
1647
|
+
@window_end_time = args[:window_end_time] if args.key?(:window_end_time)
|
1648
|
+
@window_start_time = args[:window_start_time] if args.key?(:window_start_time)
|
1649
|
+
end
|
1650
|
+
end
|
1592
1651
|
end
|
1593
1652
|
end
|
1594
1653
|
end
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module TpuV2
|
18
18
|
# Version of the google-apis-tpu_v2 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.16.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.16.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250410"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -328,6 +328,12 @@ module Google
|
|
328
328
|
include Google::Apis::Core::JsonObjectSupport
|
329
329
|
end
|
330
330
|
|
331
|
+
class UpcomingMaintenance
|
332
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
333
|
+
|
334
|
+
include Google::Apis::Core::JsonObjectSupport
|
335
|
+
end
|
336
|
+
|
331
337
|
class AcceleratorConfig
|
332
338
|
# @private
|
333
339
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -605,6 +611,8 @@ module Google
|
|
605
611
|
collection :symptoms, as: 'symptoms', class: Google::Apis::TpuV2::Symptom, decorator: Google::Apis::TpuV2::Symptom::Representation
|
606
612
|
|
607
613
|
collection :tags, as: 'tags'
|
614
|
+
property :upcoming_maintenance, as: 'upcomingMaintenance', class: Google::Apis::TpuV2::UpcomingMaintenance, decorator: Google::Apis::TpuV2::UpcomingMaintenance::Representation
|
615
|
+
|
608
616
|
end
|
609
617
|
end
|
610
618
|
|
@@ -807,6 +815,18 @@ module Google
|
|
807
815
|
|
808
816
|
end
|
809
817
|
end
|
818
|
+
|
819
|
+
class UpcomingMaintenance
|
820
|
+
# @private
|
821
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
822
|
+
property :can_reschedule, as: 'canReschedule'
|
823
|
+
property :latest_window_start_time, as: 'latestWindowStartTime'
|
824
|
+
property :maintenance_status, as: 'maintenanceStatus'
|
825
|
+
property :type, as: 'type'
|
826
|
+
property :window_end_time, as: 'windowEndTime'
|
827
|
+
property :window_start_time, as: 'windowStartTime'
|
828
|
+
end
|
829
|
+
end
|
810
830
|
end
|
811
831
|
end
|
812
832
|
end
|
@@ -117,6 +117,9 @@ module Google
|
|
117
117
|
# Lists information about the supported locations for this service.
|
118
118
|
# @param [String] name
|
119
119
|
# The resource that owns the locations collection, if applicable.
|
120
|
+
# @param [Array<String>, String] extra_location_types
|
121
|
+
# Optional. A list of extra location types that should be used as conditions for
|
122
|
+
# controlling the visibility of the locations.
|
120
123
|
# @param [String] filter
|
121
124
|
# A filter to narrow down results to a preferred subset. The filtering language
|
122
125
|
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
|
@@ -144,11 +147,12 @@ module Google
|
|
144
147
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
145
148
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
146
149
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
147
|
-
def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
150
|
+
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)
|
148
151
|
command = make_simple_command(:get, 'v2/{+name}/locations', options)
|
149
152
|
command.response_representation = Google::Apis::TpuV2::ListLocationsResponse::Representation
|
150
153
|
command.response_class = Google::Apis::TpuV2::ListLocationsResponse
|
151
154
|
command.params['name'] = name unless name.nil?
|
155
|
+
command.query['extraLocationTypes'] = extra_location_types unless extra_location_types.nil?
|
152
156
|
command.query['filter'] = filter unless filter.nil?
|
153
157
|
command.query['pageSize'] = page_size unless page_size.nil?
|
154
158
|
command.query['pageToken'] = page_token unless page_token.nil?
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-tpu_v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.16.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-
|
10
|
+
date: 2025-04-20 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: google-apis-core
|
@@ -57,7 +57,7 @@ licenses:
|
|
57
57
|
metadata:
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-tpu_v2/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-tpu_v2/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-tpu_v2/v0.16.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-tpu_v2
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|