google-apis-tpu_v2alpha1 0.25.0 → 0.27.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 828dcffc747b6750d338e44dc92244241f66a39ae9e0da37a7191573aed89e5e
4
- data.tar.gz: d29636a26c70cb32546011cf13faca58bfba49e3da552827d5d7ac0d3fc793dd
3
+ metadata.gz: 06e34f9c97f6f86eed38b23cba0480d80841188dd3b915c7f06ced1eabfee8b7
4
+ data.tar.gz: 32deceea4fa7f2d854f6e536070065278731c8dac51618a870592e6f993ab68c
5
5
  SHA512:
6
- metadata.gz: 010e72eee21988ae400b469f4b8782d768190edeb3c06bf24a2c970df4c32fc9ce0b0cd34632094d4d71bdd2ef61a0105a8fed558dbd29fd509ae1239e6b0500
7
- data.tar.gz: 20c2ad11edf44d521a99550d3c6d7a0fea6e90a2aa0ba7d557fa422b2e39805522f4733345e56f3625e55405adaf27c43b52d7cb4e01484f930bc3b6cdb0cb9f
6
+ metadata.gz: f1ef4d4807c2d62e9520ffc1aaa2b7943a8f32335ae16cd1f4f33c646d769e436f5d537447276be6d404c2f26a96d13cc04094146452e81e67d6cfc853ca12ad
7
+ data.tar.gz: 5fdddd8ab47a002ebe0f3ece370e7a9268dd617edb68187b52faa9c4ca146ced80624320a31a9c21d687cb14420df7e213f970a9fd7ab3f8af65eb996b4c7009
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-tpu_v2alpha1
2
2
 
3
+ ### v0.27.0 (2024-01-22)
4
+
5
+ * Regenerated from discovery document revision 20240111
6
+ * Regenerated using generator version 0.13.0
7
+
8
+ ### v0.26.0 (2023-11-12)
9
+
10
+ * Regenerated from discovery document revision 20231102
11
+
3
12
  ### v0.25.0 (2023-11-05)
4
13
 
5
14
  * Regenerated from discovery document revision 20231026
@@ -792,6 +792,12 @@ module Google
792
792
  # @return [String]
793
793
  attr_accessor :network
794
794
 
795
+ # Optional. Specifies networking queue count for TPU VM instance's network
796
+ # interface.
797
+ # Corresponds to the JSON property `queueCount`
798
+ # @return [Fixnum]
799
+ attr_accessor :queue_count
800
+
795
801
  # The name of the subnetwork for the TPU node. It must be a preexisting Google
796
802
  # Compute Engine subnetwork. If none is provided, "default" will be used.
797
803
  # Corresponds to the JSON property `subnetwork`
@@ -807,6 +813,7 @@ module Google
807
813
  @can_ip_forward = args[:can_ip_forward] if args.key?(:can_ip_forward)
808
814
  @enable_external_ips = args[:enable_external_ips] if args.key?(:enable_external_ips)
809
815
  @network = args[:network] if args.key?(:network)
816
+ @queue_count = args[:queue_count] if args.key?(:queue_count)
810
817
  @subnetwork = args[:subnetwork] if args.key?(:subnetwork)
811
818
  end
812
819
  end
@@ -861,6 +868,12 @@ module Google
861
868
  # @return [String]
862
869
  attr_accessor :api_version
863
870
 
871
+ # Optional. Whether Autocheckpoint is enabled.
872
+ # Corresponds to the JSON property `autocheckpointEnabled`
873
+ # @return [Boolean]
874
+ attr_accessor :autocheckpoint_enabled
875
+ alias_method :autocheckpoint_enabled?, :autocheckpoint_enabled
876
+
864
877
  # Boot disk configurations.
865
878
  # Corresponds to the JSON property `bootDiskConfig`
866
879
  # @return [Google::Apis::TpuV2alpha1::BootDiskConfig]
@@ -992,6 +1005,7 @@ module Google
992
1005
  @accelerator_config = args[:accelerator_config] if args.key?(:accelerator_config)
993
1006
  @accelerator_type = args[:accelerator_type] if args.key?(:accelerator_type)
994
1007
  @api_version = args[:api_version] if args.key?(:api_version)
1008
+ @autocheckpoint_enabled = args[:autocheckpoint_enabled] if args.key?(:autocheckpoint_enabled)
995
1009
  @boot_disk_config = args[:boot_disk_config] if args.key?(:boot_disk_config)
996
1010
  @cidr_block = args[:cidr_block] if args.key?(:cidr_block)
997
1011
  @create_time = args[:create_time] if args.key?(:create_time)
@@ -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.25.0"
19
+ GEM_VERSION = "0.27.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 = "20231026"
25
+ REVISION = "20240111"
26
26
  end
27
27
  end
28
28
  end
@@ -633,6 +633,7 @@ module Google
633
633
  property :can_ip_forward, as: 'canIpForward'
634
634
  property :enable_external_ips, as: 'enableExternalIps'
635
635
  property :network, as: 'network'
636
+ property :queue_count, as: 'queueCount'
636
637
  property :subnetwork, as: 'subnetwork'
637
638
  end
638
639
  end
@@ -654,6 +655,7 @@ module Google
654
655
 
655
656
  property :accelerator_type, as: 'acceleratorType'
656
657
  property :api_version, as: 'apiVersion'
658
+ property :autocheckpoint_enabled, as: 'autocheckpointEnabled'
657
659
  property :boot_disk_config, as: 'bootDiskConfig', class: Google::Apis::TpuV2alpha1::BootDiskConfig, decorator: Google::Apis::TpuV2alpha1::BootDiskConfig::Representation
658
660
 
659
661
  property :cidr_block, as: 'cidrBlock'
@@ -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_v2alpha1',
48
50
  client_version: Google::Apis::TpuV2alpha1::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_v2alpha1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.25.0
4
+ version: 0.27.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-11-05 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_v2alpha1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-tpu_v2alpha1/v0.25.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-tpu_v2alpha1/v0.27.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: []
@@ -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.19
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 V2alpha1