google-apis-batch_v1 0.3.0 → 0.5.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 965d9a141454d1bb19060ad7ce67428f8a9aa3be2e3fb96eb4968bd7ed7cf6aa
|
4
|
+
data.tar.gz: a7567caba355ef4969816fe6f4a67751d5dff54a39d4e6b3ee5d09f2588313fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5c15776a11fd1fa3932a266055cac9ef4ca964d6bab19e2a6f0bf9f774841cc9b0a96cc09dd61f17cb6c82e03cf57c360596a0bb0f03976172889bae3e263228
|
7
|
+
data.tar.gz: d8c25e398e0a119b249c8569b8b1112a603282232fd4091a52be1945f4ee8a325c4cfcbc229158a0595a512bf218f22e748ac264cda9a6f3e1170c9359ac32cf
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-batch_v1
|
2
2
|
|
3
|
+
### v0.5.0 (2023-01-29)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230118
|
6
|
+
|
7
|
+
### v0.4.0 (2023-01-15)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230105
|
10
|
+
* Regenerated using generator version 0.11.1
|
11
|
+
|
3
12
|
### v0.3.0 (2022-12-14)
|
4
13
|
|
5
14
|
* 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.
|
687
|
-
#
|
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
|
699
|
-
#
|
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)
|
@@ -925,6 +945,13 @@ module Google
|
|
925
945
|
class InstanceStatus
|
926
946
|
include Google::Apis::Core::Hashable
|
927
947
|
|
948
|
+
# A new persistent disk or a local ssd. A VM can only have one local SSD setting
|
949
|
+
# but multiple local SSD partitions. https://cloud.google.com/compute/docs/disks#
|
950
|
+
# pdspecs. https://cloud.google.com/compute/docs/disks#localssds.
|
951
|
+
# Corresponds to the JSON property `bootDisk`
|
952
|
+
# @return [Google::Apis::BatchV1::Disk]
|
953
|
+
attr_accessor :boot_disk
|
954
|
+
|
928
955
|
# The Compute Engine machine type.
|
929
956
|
# Corresponds to the JSON property `machineType`
|
930
957
|
# @return [String]
|
@@ -946,6 +973,7 @@ module Google
|
|
946
973
|
|
947
974
|
# Update properties of this object
|
948
975
|
def update!(**args)
|
976
|
+
@boot_disk = args[:boot_disk] if args.key?(:boot_disk)
|
949
977
|
@machine_type = args[:machine_type] if args.key?(:machine_type)
|
950
978
|
@provisioning_model = args[:provisioning_model] if args.key?(:provisioning_model)
|
951
979
|
@task_pack = args[:task_pack] if args.key?(:task_pack)
|
@@ -1880,6 +1908,12 @@ module Google
|
|
1880
1908
|
# @return [String]
|
1881
1909
|
attr_accessor :email
|
1882
1910
|
|
1911
|
+
# List of scopes to be enabled for this service account on the VM, in addition
|
1912
|
+
# to the cloud-platform API scope that will be added by default.
|
1913
|
+
# Corresponds to the JSON property `scopes`
|
1914
|
+
# @return [Array<String>]
|
1915
|
+
attr_accessor :scopes
|
1916
|
+
|
1883
1917
|
def initialize(**args)
|
1884
1918
|
update!(**args)
|
1885
1919
|
end
|
@@ -1887,6 +1921,7 @@ module Google
|
|
1887
1921
|
# Update properties of this object
|
1888
1922
|
def update!(**args)
|
1889
1923
|
@email = args[:email] if args.key?(:email)
|
1924
|
+
@scopes = args[:scopes] if args.key?(:scopes)
|
1890
1925
|
end
|
1891
1926
|
end
|
1892
1927
|
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.5.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.11.
|
22
|
+
GENERATOR_VERSION = "0.11.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230118"
|
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'
|
@@ -615,6 +617,8 @@ module Google
|
|
615
617
|
class InstanceStatus
|
616
618
|
# @private
|
617
619
|
class Representation < Google::Apis::Core::JsonRepresentation
|
620
|
+
property :boot_disk, as: 'bootDisk', class: Google::Apis::BatchV1::Disk, decorator: Google::Apis::BatchV1::Disk::Representation
|
621
|
+
|
618
622
|
property :machine_type, as: 'machineType'
|
619
623
|
property :provisioning_model, as: 'provisioningModel'
|
620
624
|
property :task_pack, :numeric_string => true, as: 'taskPack'
|
@@ -868,6 +872,7 @@ module Google
|
|
868
872
|
# @private
|
869
873
|
class Representation < Google::Apis::Core::JsonRepresentation
|
870
874
|
property :email, as: 'email'
|
875
|
+
collection :scopes, as: 'scopes'
|
871
876
|
end
|
872
877
|
end
|
873
878
|
|
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.
|
4
|
+
version: 0.5.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-
|
11
|
+
date: 2023-01-29 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-batch_v1/v0.5.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.
|
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
|