google-apis-tpu_v2 0.15.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: fa1a120535c7e7ebb75b0e91486bef5519d02df5b11b9d31a36eb182cd0fa77b
4
- data.tar.gz: 5c0cbc9f02cdfe962b4d2f59e3504927e4f59d7675055a07bce4d9f325394d14
3
+ metadata.gz: 318a7ebfafdf88f8665d0f1fdee632b6fe68fb6476cc0a46947ebcd3ddb64574
4
+ data.tar.gz: 7fff8a0c43e6b012dfbf9d8e1d8ca8c0683b3e9104553a815b893f9191bb60cc
5
5
  SHA512:
6
- metadata.gz: '069253903acc37924db3662bf9076e0b6f4fe471f232950473a4a157538473fd27388f99d8bac0a7e03b8a8fe6f882f6fa4aaa8d529c1b6f0fea6b000697eaf8'
7
- data.tar.gz: 71153403ac71983290fa5b3ec69102dae96aaf2101695b87931f781c83ca7d069db64c8749a7e07170669b2c6bab7bfea055f2af661225f3de5a5a04ea66189f
6
+ metadata.gz: 8bf3abc9b76ba42a7a90ffa5a6acff9b13d508f6f1f93c529be8d8f56e5969af4043f2486066202e33ddec2389fc9ae7d903faf2d3f287c4f25bfc3a1507bd88
7
+ data.tar.gz: af1f75c5bdbd7161634da93b71735509e4354cfba2e1367831ff6549bbf7efdb4fb34fac9d72e632ba76cee967faad3f309cfa1db060ff1be104f89056d57f5f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.15.0 (2025-03-30)
4
8
 
5
9
  * Regenerated from discovery document revision 20250320
@@ -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.15.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 = "20250320"
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
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.15.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-03-30 00:00:00.000000000 Z
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.15.0
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: