google-apis-batch_v1 0.4.0 → 0.6.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: e632ec21f8b0277559df56eb49b0e90698473c303e8d677b5740563b67c145fb
4
- data.tar.gz: f33a47f93a6909988d1a051f5560b2af513f3708431d00974d7fb6fceaeb921d
3
+ metadata.gz: 706eb356e715e204cc66df1e5c07d0f19842698c9b8d601ad897f3c00665e203
4
+ data.tar.gz: 22369070242ff7d7bcfcd73f73c15fb621fd219da7ff865338ce39b029f07cd1
5
5
  SHA512:
6
- metadata.gz: 54d82bcd14d90c77de26ea76ad10d0a5cc7b2ad709da10dddcc116b8fe29f2cf58810218b5df607d488875a19d6746dced5d06ff2183a0fe1d9db26295e533a0
7
- data.tar.gz: 6052595e2d20b5b489ccd411a0d041a44fe72d2de549ef7e7400d063a650fa48686770afa95439e4e46271601a68b0fad59ec8daf0976ee4b976236a4ca5b25f
6
+ metadata.gz: 2c5af1f788be6f760c5fa7b408fa70331d82dc4c507f50c580cb33eeb19bf6dfbfc5df009486df51f22c4f12d5216f933d5dd8a91e34d5e78bfb640cf0bae64c
7
+ data.tar.gz: 0fe1402f3523ba71ee086ec73fd82935ef74c3239792be6e907b1d6f2ce7366dd4657718c0f48dc1db1e72ad3f2f8c53bcf17397390f5551e8089845a3c804ea
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-batch_v1
2
2
 
3
+ ### v0.6.0 (2023-02-12)
4
+
5
+ * Regenerated from discovery document revision 20230130
6
+
7
+ ### v0.5.0 (2023-01-29)
8
+
9
+ * Regenerated from discovery document revision 20230118
10
+
3
11
  ### v0.4.0 (2023-01-15)
4
12
 
5
13
  * Regenerated from discovery document revision 20230105
@@ -511,22 +511,22 @@ module Google
511
511
  # kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-
512
512
  # project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:`emailid``: An
513
513
  # email address that represents a Google group. For example, `admins@example.com`
514
- # . * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
515
- # identifier) representing a user that has been recently deleted. For example, `
516
- # alice@example.com?uid=123456789012345678901`. If the user is recovered, this
517
- # value reverts to `user:`emailid`` and the recovered user retains the role in
518
- # the binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email
519
- # address (plus unique identifier) representing a service account that has been
520
- # recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
514
+ # . * `domain:`domain``: The G Suite domain (primary) that represents all the
515
+ # users of that domain. For example, `google.com` or `example.com`. * `deleted:
516
+ # user:`emailid`?uid=`uniqueid``: An email address (plus unique identifier)
517
+ # representing a user that has been recently deleted. For example, `alice@
518
+ # example.com?uid=123456789012345678901`. If the user is recovered, this value
519
+ # reverts to `user:`emailid`` and the recovered user retains the role in the
520
+ # binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address
521
+ # (plus unique identifier) representing a service account that has been recently
522
+ # deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
521
523
  # 123456789012345678901`. If the service account is undeleted, this value
522
524
  # reverts to `serviceAccount:`emailid`` and the undeleted service account
523
525
  # retains the role in the binding. * `deleted:group:`emailid`?uid=`uniqueid``:
524
526
  # An email address (plus unique identifier) representing a Google group that has
525
527
  # been recently deleted. For example, `admins@example.com?uid=
526
528
  # 123456789012345678901`. If the group is recovered, this value reverts to `
527
- # group:`emailid`` and the recovered group retains the role in the binding. * `
528
- # domain:`domain``: The G Suite domain (primary) that represents all the users
529
- # of that domain. For example, `google.com` or `example.com`.
529
+ # group:`emailid`` and the recovered group retains the role in the binding.
530
530
  # Corresponds to the JSON property `members`
531
531
  # @return [Array<String>]
532
532
  attr_accessor :members
@@ -945,6 +945,13 @@ module Google
945
945
  class InstanceStatus
946
946
  include Google::Apis::Core::Hashable
947
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
+
948
955
  # The Compute Engine machine type.
949
956
  # Corresponds to the JSON property `machineType`
950
957
  # @return [String]
@@ -966,6 +973,7 @@ module Google
966
973
 
967
974
  # Update properties of this object
968
975
  def update!(**args)
976
+ @boot_disk = args[:boot_disk] if args.key?(:boot_disk)
969
977
  @machine_type = args[:machine_type] if args.key?(:machine_type)
970
978
  @provisioning_model = args[:provisioning_model] if args.key?(:provisioning_model)
971
979
  @task_pack = args[:task_pack] if args.key?(:task_pack)
@@ -1867,12 +1875,21 @@ module Google
1867
1875
  class Script
1868
1876
  include Google::Apis::Core::Hashable
1869
1877
 
1870
- # Script file path on the host VM.
1878
+ # Script file path on the host VM. To specify an interpreter, please add a `#!`(
1879
+ # also known as [shebang line](https://en.wikipedia.org/wiki/Shebang_(Unix))) as
1880
+ # the first line of the file.(For example, to execute the script using bash, `#!/
1881
+ # bin/bash` should be the first line of the file. To execute the script using`
1882
+ # Python3`, `#!/usr/bin/env python3` should be the first line of the file.)
1883
+ # Otherwise, the file will by default be excuted by `/bin/sh`.
1871
1884
  # Corresponds to the JSON property `path`
1872
1885
  # @return [String]
1873
1886
  attr_accessor :path
1874
1887
 
1875
- # Shell script text.
1888
+ # Shell script text. To specify an interpreter, please add a `#!\n` at the
1889
+ # beginning of the text.(For example, to execute the script using bash, `#!/bin/
1890
+ # bash\n` should be added. To execute the script using`Python3`, `#!/usr/bin/env
1891
+ # python3\n` should be added.) Otherwise, the script will by default be excuted
1892
+ # by `/bin/sh`.
1876
1893
  # Corresponds to the JSON property `text`
1877
1894
  # @return [String]
1878
1895
  attr_accessor :text
@@ -1900,6 +1917,12 @@ module Google
1900
1917
  # @return [String]
1901
1918
  attr_accessor :email
1902
1919
 
1920
+ # List of scopes to be enabled for this service account on the VM, in addition
1921
+ # to the cloud-platform API scope that will be added by default.
1922
+ # Corresponds to the JSON property `scopes`
1923
+ # @return [Array<String>]
1924
+ attr_accessor :scopes
1925
+
1903
1926
  def initialize(**args)
1904
1927
  update!(**args)
1905
1928
  end
@@ -1907,6 +1930,7 @@ module Google
1907
1930
  # Update properties of this object
1908
1931
  def update!(**args)
1909
1932
  @email = args[:email] if args.key?(:email)
1933
+ @scopes = args[:scopes] if args.key?(:scopes)
1910
1934
  end
1911
1935
  end
1912
1936
 
@@ -2022,6 +2046,11 @@ module Google
2022
2046
  # @return [Google::Apis::BatchV1::TaskExecution]
2023
2047
  attr_accessor :task_execution
2024
2048
 
2049
+ # Task State
2050
+ # Corresponds to the JSON property `taskState`
2051
+ # @return [String]
2052
+ attr_accessor :task_state
2053
+
2025
2054
  # Type of the event.
2026
2055
  # Corresponds to the JSON property `type`
2027
2056
  # @return [String]
@@ -2036,6 +2065,7 @@ module Google
2036
2065
  @description = args[:description] if args.key?(:description)
2037
2066
  @event_time = args[:event_time] if args.key?(:event_time)
2038
2067
  @task_execution = args[:task_execution] if args.key?(:task_execution)
2068
+ @task_state = args[:task_state] if args.key?(:task_state)
2039
2069
  @type = args[:type] if args.key?(:type)
2040
2070
  end
2041
2071
  end
@@ -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.4.0"
19
+ GEM_VERSION = "0.6.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.11.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230105"
25
+ REVISION = "20230130"
26
26
  end
27
27
  end
28
28
  end
@@ -617,6 +617,8 @@ module Google
617
617
  class InstanceStatus
618
618
  # @private
619
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
+
620
622
  property :machine_type, as: 'machineType'
621
623
  property :provisioning_model, as: 'provisioningModel'
622
624
  property :task_pack, :numeric_string => true, as: 'taskPack'
@@ -870,6 +872,7 @@ module Google
870
872
  # @private
871
873
  class Representation < Google::Apis::Core::JsonRepresentation
872
874
  property :email, as: 'email'
875
+ collection :scopes, as: 'scopes'
873
876
  end
874
877
  end
875
878
 
@@ -898,6 +901,7 @@ module Google
898
901
  property :event_time, as: 'eventTime'
899
902
  property :task_execution, as: 'taskExecution', class: Google::Apis::BatchV1::TaskExecution, decorator: Google::Apis::BatchV1::TaskExecution::Representation
900
903
 
904
+ property :task_state, as: 'taskState'
901
905
  property :type, as: 'type'
902
906
  end
903
907
  end
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.0
4
+ version: 0.6.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-15 00:00:00.000000000 Z
11
+ date: 2023-02-12 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.4.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-batch_v1/v0.6.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: []