google-apis-tpu_v2 0.7.0 → 0.9.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: 4b3ee256bf9af001fe7b0d0a477f505eae455d0df52cb3b0e1a458a73de17977
4
- data.tar.gz: 3cfa1f2d16ab016699c3961337212f21ae4981a451040b18a8360d5dff0f63b8
3
+ metadata.gz: 6210ea2ae0566da8e13d77b11384b04e9b6237772f86afd14f6493c3fd2d9790
4
+ data.tar.gz: 3b95268c94173509571c927c18815b236dcdc274ce372883e38bf06d1af0decf
5
5
  SHA512:
6
- metadata.gz: '08088acbd5f52f9a35105c81e0263fde3cbd343b4a5c74ee071adeccc7d6d3f42e7d78a4e519a88de20514fd20a59b6feb1db975ab6275f229ffd996511c6557'
7
- data.tar.gz: 81b4e3f2388c158a39f342f21ded37a81dc3329e1e9b26b09f58ee8b296dcfd824da01bab64206e4634fab57839458aa9920a14f5041fdaf84408b2d9aecbf2d
6
+ metadata.gz: a568b4d8f2bbba8da3c436eb4cecebfb43f677bd8ca697aa11d5c1ba1c130255ab9d84377e8bce44eb7018f48e9af4bd09dc2c8e42138de97344e72307ccd8fe
7
+ data.tar.gz: 9791a8e046c2f06c9fdfb1253e516fefacdd7438383340c69069e94482a9c1a5fac4f6bbef0a73f2174082edd0ef25750229fb087c0aab28c903fcedc7783198
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-tpu_v2
2
2
 
3
+ ### v0.9.0 (2024-01-23)
4
+
5
+ * Regenerated from discovery document revision 20240111
6
+ * Regenerated using generator version 0.13.0
7
+
8
+ ### v0.8.0 (2023-08-13)
9
+
10
+ * Regenerated from discovery document revision 20230803
11
+
3
12
  ### v0.7.0 (2023-07-16)
4
13
 
5
14
  * Regenerated from discovery document revision 20230707
@@ -509,6 +509,12 @@ module Google
509
509
  # @return [String]
510
510
  attr_accessor :network
511
511
 
512
+ # Optional. Specifies networking queue count for TPU VM instance's network
513
+ # interface.
514
+ # Corresponds to the JSON property `queueCount`
515
+ # @return [Fixnum]
516
+ attr_accessor :queue_count
517
+
512
518
  # The name of the subnetwork for the TPU node. It must be a preexisting Google
513
519
  # Compute Engine subnetwork. If none is provided, "default" will be used.
514
520
  # Corresponds to the JSON property `subnetwork`
@@ -524,6 +530,7 @@ module Google
524
530
  @can_ip_forward = args[:can_ip_forward] if args.key?(:can_ip_forward)
525
531
  @enable_external_ips = args[:enable_external_ips] if args.key?(:enable_external_ips)
526
532
  @network = args[:network] if args.key?(:network)
533
+ @queue_count = args[:queue_count] if args.key?(:queue_count)
527
534
  @subnetwork = args[:subnetwork] if args.key?(:subnetwork)
528
535
  end
529
536
  end
@@ -765,13 +772,13 @@ module Google
765
772
  # @return [String]
766
773
  attr_accessor :name
767
774
 
768
- # The normal response of the operation in case of success. If the original
769
- # method returns no data on success, such as `Delete`, the response is `google.
770
- # protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
771
- # the response should be the resource. For other methods, the response should
772
- # have the type `XxxResponse`, where `Xxx` is the original method name. For
773
- # example, if the original method name is `TakeSnapshot()`, the inferred
774
- # response type is `TakeSnapshotResponse`.
775
+ # The normal, successful response of the operation. If the original method
776
+ # returns no data on success, such as `Delete`, the response is `google.protobuf.
777
+ # Empty`. If the original method is standard `Get`/`Create`/`Update`, the
778
+ # response should be the resource. For other methods, the response should have
779
+ # the type `XxxResponse`, where `Xxx` is the original method name. For example,
780
+ # if the original method name is `TakeSnapshot()`, the inferred response type is
781
+ # `TakeSnapshotResponse`.
775
782
  # Corresponds to the JSON property `response`
776
783
  # @return [Hash<String,Object>]
777
784
  attr_accessor :response
@@ -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.7.0"
19
+ GEM_VERSION = "0.9.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.12.0"
22
+ GENERATOR_VERSION = "0.13.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230707"
25
+ REVISION = "20240111"
26
26
  end
27
27
  end
28
28
  end
@@ -374,6 +374,7 @@ module Google
374
374
  property :can_ip_forward, as: 'canIpForward'
375
375
  property :enable_external_ips, as: 'enableExternalIps'
376
376
  property :network, as: 'network'
377
+ property :queue_count, as: 'queueCount'
377
378
  property :subnetwork, as: 'subnetwork'
378
379
  end
379
380
  end
@@ -32,6 +32,8 @@ module Google
32
32
  #
33
33
  # @see https://cloud.google.com/tpu/
34
34
  class TPUService < Google::Apis::Core::BaseService
35
+ DEFAULT_ENDPOINT_TEMPLATE = "https://tpu.$UNIVERSE_DOMAIN$/"
36
+
35
37
  # @return [String]
36
38
  # API key. Your API key identifies your project and provides you with API access,
37
39
  # quota, and reports. Required unless you provide an OAuth 2.0 token.
@@ -43,7 +45,7 @@ module Google
43
45
  attr_accessor :quota_user
44
46
 
45
47
  def initialize
46
- super('https://tpu.googleapis.com/', '',
48
+ super(DEFAULT_ENDPOINT_TEMPLATE, '',
47
49
  client_name: 'google-apis-tpu_v2',
48
50
  client_version: Google::Apis::TpuV2::GEM_VERSION)
49
51
  @batch_path = 'batch'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-tpu_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.9.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-07-16 00:00:00.000000000 Z
11
+ date: 2024-01-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.11.0
19
+ version: 0.12.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.11.0
29
+ version: 0.12.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-tpu_v2/v0.7.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-tpu_v2/v0.9.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-tpu_v2
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.4.2
78
+ rubygems_version: 3.5.3
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud TPU API V2