google-apis-tpu_v2alpha1 0.19.0 → 0.20.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: 3cf3401d9f76b902a72f7ad0c222f5ed17eedf65315e1dad3ae86b531e48ff56
4
- data.tar.gz: 8193d4d085ef1472ebcf5c62639f515b8feef8043126d054e39df9d1c4972c12
3
+ metadata.gz: 4b36ba0be3961cbb15b8ba7af75366c0963dd3ace6d4dce5d922d2e114247fcf
4
+ data.tar.gz: 8067a2b3c918309b0e342745095f1d31b0479a70a8ee1c45813c59c0604fd976
5
5
  SHA512:
6
- metadata.gz: 3bf3d45e615ef7999bba83a7e15be94e06ad57e109d5a73deb199bc31d7e06789785d2294cf9c014589480c2b7d2231b77f20093931cee11d16537efbd98afd2
7
- data.tar.gz: f00f91ab2be6943b61e58dcb02cc416d1180a3915c924ca6e2f7b4ee89245baef6502f839bf457b35d5579e112655afaf2e5a9c301ef339b22401820adc761c6
6
+ metadata.gz: 151780e6454dcb304e9f5bdd1adae9a25179a3bab23972c554096af3c1ec7be61dacce4eb8c653a9821a71e821117dcbadaccdba3b92119128f9e5cc3d7a3566
7
+ data.tar.gz: c4ff1fbe43b5294de37ae932612feca8887fe7503a43be8e61775d24005bc3ab05390f0400d3c278b6732cdf45a8f9a47614a77f67607d112ec935dc611be44a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-tpu_v2alpha1
2
2
 
3
+ ### v0.20.0 (2023-05-14)
4
+
5
+ * Regenerated from discovery document revision 20230508
6
+
3
7
  ### v0.19.0 (2023-04-30)
4
8
 
5
9
  * Regenerated from discovery document revision 20230420
@@ -809,6 +809,12 @@ module Google
809
809
  # @return [Hash<String,String>]
810
810
  attr_accessor :metadata
811
811
 
812
+ # Output only. Whether the Node belongs to a Multislice group.
813
+ # Corresponds to the JSON property `multisliceNode`
814
+ # @return [Boolean]
815
+ attr_accessor :multislice_node
816
+ alias_method :multislice_node?, :multislice_node
817
+
812
818
  # Output only. Immutable. The name of the TPU.
813
819
  # Corresponds to the JSON property `name`
814
820
  # @return [String]
@@ -885,6 +891,7 @@ module Google
885
891
  @id = args[:id] if args.key?(:id)
886
892
  @labels = args[:labels] if args.key?(:labels)
887
893
  @metadata = args[:metadata] if args.key?(:metadata)
894
+ @multislice_node = args[:multislice_node] if args.key?(:multislice_node)
888
895
  @name = args[:name] if args.key?(:name)
889
896
  @network_config = args[:network_config] if args.key?(:network_config)
890
897
  @network_endpoints = args[:network_endpoints] if args.key?(:network_endpoints)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module TpuV2alpha1
18
18
  # Version of the google-apis-tpu_v2alpha1 gem
19
- GEM_VERSION = "0.19.0"
19
+ GEM_VERSION = "0.20.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230420"
25
+ REVISION = "20230508"
26
26
  end
27
27
  end
28
28
  end
@@ -577,6 +577,7 @@ module Google
577
577
  property :id, :numeric_string => true, as: 'id'
578
578
  hash :labels, as: 'labels'
579
579
  hash :metadata, as: 'metadata'
580
+ property :multislice_node, as: 'multisliceNode'
580
581
  property :name, as: 'name'
581
582
  property :network_config, as: 'networkConfig', class: Google::Apis::TpuV2alpha1::NetworkConfig, decorator: Google::Apis::TpuV2alpha1::NetworkConfig::Representation
582
583
 
@@ -718,6 +718,12 @@ module Google
718
718
  # Deletes a QueuedResource TPU instance.
719
719
  # @param [String] name
720
720
  # Required. The resource name.
721
+ # @param [Boolean] force
722
+ # If set to true, all running nodes belonging to this queued resource will be
723
+ # deleted first and then the queued resource will be deleted. Otherwise (i.e.
724
+ # force=false), the queued resource will only be deleted if its nodes have
725
+ # already been deleted or the queued resource is in the ACCEPTED, FAILED, or
726
+ # SUSPENDED state.
721
727
  # @param [String] request_id
722
728
  # Idempotent request UUID.
723
729
  # @param [String] fields
@@ -737,11 +743,12 @@ module Google
737
743
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
738
744
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
739
745
  # @raise [Google::Apis::AuthorizationError] Authorization is required
740
- def delete_project_location_queued_resource(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
746
+ def delete_project_location_queued_resource(name, force: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
741
747
  command = make_simple_command(:delete, 'v2alpha1/{+name}', options)
742
748
  command.response_representation = Google::Apis::TpuV2alpha1::Operation::Representation
743
749
  command.response_class = Google::Apis::TpuV2alpha1::Operation
744
750
  command.params['name'] = name unless name.nil?
751
+ command.query['force'] = force unless force.nil?
745
752
  command.query['requestId'] = request_id unless request_id.nil?
746
753
  command.query['fields'] = fields unless fields.nil?
747
754
  command.query['quotaUser'] = quota_user unless quota_user.nil?
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-tpu_v2alpha1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.19.0
4
+ version: 0.20.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-04-30 00:00:00.000000000 Z
11
+ date: 2023-05-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-tpu_v2alpha1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-tpu_v2alpha1/v0.19.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-tpu_v2alpha1/v0.20.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-tpu_v2alpha1
63
63
  post_install_message:
64
64
  rdoc_options: []