google-apis-batch_v1 0.3.0 → 0.4.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: 35d60c4045224a25d0fb2d259d8c0f0d4a4a9b4bd7de6d1e23b4ad5a6a9283b0
4
- data.tar.gz: 92235c7f1333618459bba2649bfd5fcdd54c0359733ef92ac3594ac365f8d538
3
+ metadata.gz: e632ec21f8b0277559df56eb49b0e90698473c303e8d677b5740563b67c145fb
4
+ data.tar.gz: f33a47f93a6909988d1a051f5560b2af513f3708431d00974d7fb6fceaeb921d
5
5
  SHA512:
6
- metadata.gz: 4e5dd27793e1be284e09bd8b18627bb9b565f89faa4faf4d54a3bb49f322533ca7a1df61ad1401ab7001d3f8e0ffa75b5c61570433eee43b9cf2be17f2069021
7
- data.tar.gz: ff1c1ed1bd24264af3ba5b4a253f303f3b1ea5214945f4758ba0ff4bc170e84cb3c02a759a7ad90b9830a247a1592e68c35596d93c975e6d1d9b2294ddfa791b
6
+ metadata.gz: 54d82bcd14d90c77de26ea76ad10d0a5cc7b2ad709da10dddcc116b8fe29f2cf58810218b5df607d488875a19d6746dced5d06ff2183a0fe1d9db26295e533a0
7
+ data.tar.gz: 6052595e2d20b5b489ccd411a0d041a44fe72d2de549ef7e7400d063a650fa48686770afa95439e4e46271601a68b0fad59ec8daf0976ee4b976236a4ca5b25f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-batch_v1
2
2
 
3
+ ### v0.4.0 (2023-01-15)
4
+
5
+ * Regenerated from discovery document revision 20230105
6
+ * Regenerated using generator version 0.11.1
7
+
3
8
  ### v0.3.0 (2022-12-14)
4
9
 
5
10
  * Regenerated from discovery document revision 20221212
@@ -678,14 +678,25 @@ module Google
678
678
  # @return [String]
679
679
  attr_accessor :disk_interface
680
680
 
681
- # Name of a public or custom image used as the data source.
681
+ # Name of a public or custom image used as the data source. For example, the
682
+ # following are all valid URLs: (1) Specify the image by its family name:
683
+ # projects/`project`/global/images/family/`image_family` (2) Specify the image
684
+ # version: projects/`project`/global/images/`image_version` You can also use
685
+ # Batch customized image in short names. The following image values are
686
+ # supported for a boot disk: "batch-debian": use Batch Debian images. "batch-
687
+ # centos": use Batch CentOS images. "batch-cos": use Batch Container-Optimized
688
+ # images.
682
689
  # Corresponds to the JSON property `image`
683
690
  # @return [String]
684
691
  attr_accessor :image
685
692
 
686
- # Disk size in GB. This field is ignored if `data_source` is `disk` or `image`.
687
- # If `type` is `local-ssd`, size_gb should be a multiple of 375GB, otherwise,
688
- # the final size will be the next greater multiple of 375 GB.
693
+ # Disk size in GB. For persistent disk, this field is ignored if `data_source`
694
+ # is `image` or `snapshot`. For local SSD, size_gb should be a multiple of 375GB,
695
+ # otherwise, the final size will be the next greater multiple of 375 GB. For
696
+ # boot disk, Batch will calculate the boot disk size based on source image and
697
+ # task requirements if you do not speicify the size. If both this field and the
698
+ # boot_disk_mib field in task spec's compute_resource are defined, Batch will
699
+ # only honor this field.
689
700
  # Corresponds to the JSON property `sizeGb`
690
701
  # @return [Fixnum]
691
702
  attr_accessor :size_gb
@@ -695,8 +706,9 @@ module Google
695
706
  # @return [String]
696
707
  attr_accessor :snapshot
697
708
 
698
- # Disk type as shown in `gcloud compute disk-types list` For example, "pd-ssd", "
699
- # pd-standard", "pd-balanced", "local-ssd".
709
+ # Disk type as shown in `gcloud compute disk-types list`. For example, local SSD
710
+ # uses type "local-ssd". Persistent disks and boot disks use "pd-balanced", "pd-
711
+ # extreme", "pd-ssd" or "pd-standard".
700
712
  # Corresponds to the JSON property `type`
701
713
  # @return [String]
702
714
  attr_accessor :type
@@ -849,6 +861,13 @@ module Google
849
861
  # @return [Array<Google::Apis::BatchV1::Accelerator>]
850
862
  attr_accessor :accelerators
851
863
 
864
+ # A new persistent disk or a local ssd. A VM can only have one local SSD setting
865
+ # but multiple local SSD partitions. https://cloud.google.com/compute/docs/disks#
866
+ # pdspecs. https://cloud.google.com/compute/docs/disks#localssds.
867
+ # Corresponds to the JSON property `bootDisk`
868
+ # @return [Google::Apis::BatchV1::Disk]
869
+ attr_accessor :boot_disk
870
+
852
871
  # Non-boot disks to be attached for each VM created by this InstancePolicy. New
853
872
  # disks will be deleted when the VM is deleted.
854
873
  # Corresponds to the JSON property `disks`
@@ -878,6 +897,7 @@ module Google
878
897
  # Update properties of this object
879
898
  def update!(**args)
880
899
  @accelerators = args[:accelerators] if args.key?(:accelerators)
900
+ @boot_disk = args[:boot_disk] if args.key?(:boot_disk)
881
901
  @disks = args[:disks] if args.key?(:disks)
882
902
  @machine_type = args[:machine_type] if args.key?(:machine_type)
883
903
  @min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module BatchV1
18
18
  # Version of the google-apis-batch_v1 gem
19
- GEM_VERSION = "0.3.0"
19
+ GEM_VERSION = "0.4.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.11.0"
22
+ GENERATOR_VERSION = "0.11.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20221212"
25
+ REVISION = "20230105"
26
26
  end
27
27
  end
28
28
  end
@@ -594,6 +594,8 @@ module Google
594
594
  class Representation < Google::Apis::Core::JsonRepresentation
595
595
  collection :accelerators, as: 'accelerators', class: Google::Apis::BatchV1::Accelerator, decorator: Google::Apis::BatchV1::Accelerator::Representation
596
596
 
597
+ property :boot_disk, as: 'bootDisk', class: Google::Apis::BatchV1::Disk, decorator: Google::Apis::BatchV1::Disk::Representation
598
+
597
599
  collection :disks, as: 'disks', class: Google::Apis::BatchV1::AttachedDisk, decorator: Google::Apis::BatchV1::AttachedDisk::Representation
598
600
 
599
601
  property :machine_type, as: 'machineType'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-batch_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.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-01-04 00:00:00.000000000 Z
11
+ date: 2023-01-15 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-batch_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-batch_v1/v0.3.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-batch_v1/v0.4.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-batch_v1
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.3.14
78
+ rubygems_version: 3.4.2
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Batch API V1