google-apis-batch_v1 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: 40fe4b9573d17502faf5c2cc12e2b83127ae69e57e45e65e824784774c205226
4
- data.tar.gz: 473108d253cf347029c492c5bb80e94127ae135ee0dd39c107da5f8c4d615485
3
+ metadata.gz: 1c3799c8c31ca7ef1be0696d15be378b25cf366dd32140c3667d99a59d99f405
4
+ data.tar.gz: dfa0bbe699770b4074ca1faa7a58cccc8d0d1cd67a9c13d00436a381883d41e7
5
5
  SHA512:
6
- metadata.gz: 523278d91304c04152f14265908401f43bb54b848dd76f7aedb0e4012f0446a28a6146f25813a3fb3fc27f6d991f9535e49b6d689d61a9e5f68c8d244a625354
7
- data.tar.gz: 2bc79102087c9438016543b675bf0d124acd0ed58916bec2f90d5958f79ce076b363f5c4d8bbb0a2765ce038a0cf8f869c52eb01c1e7e932d6ffb7089c630d63
6
+ metadata.gz: cf0faa4090a3b9133f16e110fbb04152dd6075b0911165d392253cdab0a6a3bb13ea44671ec99efeae7ae19f2be0c6de7bb0f5a7a6c708ef16b0490bc95a37fa
7
+ data.tar.gz: 7255ca2ab1b9ba8045e5eea464e46c825032b5bba319052f016e8ab800c9d2d2e8d7c9ff1721ffabff34a768ddb5626977428611d4ad84e4c2db1daedcb8886f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-batch_v1
2
2
 
3
+ ### v0.27.0 (2024-01-07)
4
+
5
+ * Regenerated from discovery document revision 20231213
6
+
7
+ ### v0.26.0 (2023-12-10)
8
+
9
+ * Regenerated from discovery document revision 20231122
10
+
3
11
  ### v0.25.0 (2023-11-05)
4
12
 
5
13
  * Regenerated from discovery document revision 20231029
@@ -639,6 +639,13 @@ module Google
639
639
  # @return [Google::Apis::BatchV1::ServiceAccount]
640
640
  attr_accessor :service_account
641
641
 
642
+ # Optional. Tags applied to the VM instances. The tags identify valid sources or
643
+ # targets for network firewalls. Each tag must be 1-63 characters long, and
644
+ # comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt).
645
+ # Corresponds to the JSON property `tags`
646
+ # @return [Array<String>]
647
+ attr_accessor :tags
648
+
642
649
  def initialize(**args)
643
650
  update!(**args)
644
651
  end
@@ -651,6 +658,7 @@ module Google
651
658
  @network = args[:network] if args.key?(:network)
652
659
  @placement = args[:placement] if args.key?(:placement)
653
660
  @service_account = args[:service_account] if args.key?(:service_account)
661
+ @tags = args[:tags] if args.key?(:tags)
654
662
  end
655
663
  end
656
664
 
@@ -724,20 +732,6 @@ module Google
724
732
  end
725
733
  end
726
734
 
727
- # CloudLoggingOption contains additional settings for cloud logging generated by
728
- # Batch job.
729
- class CloudLoggingOption
730
- include Google::Apis::Core::Hashable
731
-
732
- def initialize(**args)
733
- update!(**args)
734
- end
735
-
736
- # Update properties of this object
737
- def update!(**args)
738
- end
739
- end
740
-
741
735
  # Compute resource requirements. ComputeResource defines the amount of resources
742
736
  # required for each task. Make sure your tasks have enough resources to
743
737
  # successfully run. If you also define the types of resources for a job to use
@@ -816,6 +810,17 @@ module Google
816
810
  # @return [Array<String>]
817
811
  attr_accessor :commands
818
812
 
813
+ # Optional. If set to true, container will run with Image streaming. The
814
+ # container runtime will be changed to containerd instead of docker. Currently,
815
+ # only imageUri, commands, entrypoint and volumes are supported and any other
816
+ # fields will be ignored. Please refer [here](https://github.com/
817
+ # GoogleCloudPlatform/batch-samples/tree/main/api-samples/image-streaming) for
818
+ # the feature requirements and limitations.
819
+ # Corresponds to the JSON property `enableImageStreaming`
820
+ # @return [Boolean]
821
+ attr_accessor :enable_image_streaming
822
+ alias_method :enable_image_streaming?, :enable_image_streaming
823
+
819
824
  # Overrides the `ENTRYPOINT` specified in the container.
820
825
  # Corresponds to the JSON property `entrypoint`
821
826
  # @return [String]
@@ -867,6 +872,7 @@ module Google
867
872
  def update!(**args)
868
873
  @block_external_network = args[:block_external_network] if args.key?(:block_external_network)
869
874
  @commands = args[:commands] if args.key?(:commands)
875
+ @enable_image_streaming = args[:enable_image_streaming] if args.key?(:enable_image_streaming)
870
876
  @entrypoint = args[:entrypoint] if args.key?(:entrypoint)
871
877
  @image_uri = args[:image_uri] if args.key?(:image_uri)
872
878
  @options = args[:options] if args.key?(:options)
@@ -1565,12 +1571,6 @@ module Google
1565
1571
  class LogsPolicy
1566
1572
  include Google::Apis::Core::Hashable
1567
1573
 
1568
- # CloudLoggingOption contains additional settings for cloud logging generated by
1569
- # Batch job.
1570
- # Corresponds to the JSON property `cloudLoggingOption`
1571
- # @return [Google::Apis::BatchV1::CloudLoggingOption]
1572
- attr_accessor :cloud_logging_option
1573
-
1574
1574
  # Where logs should be saved.
1575
1575
  # Corresponds to the JSON property `destination`
1576
1576
  # @return [String]
@@ -1589,7 +1589,6 @@ module Google
1589
1589
 
1590
1590
  # Update properties of this object
1591
1591
  def update!(**args)
1592
- @cloud_logging_option = args[:cloud_logging_option] if args.key?(:cloud_logging_option)
1593
1592
  @destination = args[:destination] if args.key?(:destination)
1594
1593
  @logs_path = args[:logs_path] if args.key?(:logs_path)
1595
1594
  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.25.0"
19
+ GEM_VERSION = "0.27.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20231029"
25
+ REVISION = "20231213"
26
26
  end
27
27
  end
28
28
  end
@@ -130,12 +130,6 @@ module Google
130
130
  include Google::Apis::Core::JsonObjectSupport
131
131
  end
132
132
 
133
- class CloudLoggingOption
134
- class Representation < Google::Apis::Core::JsonRepresentation; end
135
-
136
- include Google::Apis::Core::JsonObjectSupport
137
- end
138
-
139
133
  class ComputeResource
140
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
141
135
 
@@ -555,6 +549,7 @@ module Google
555
549
 
556
550
  property :service_account, as: 'serviceAccount', class: Google::Apis::BatchV1::ServiceAccount, decorator: Google::Apis::BatchV1::ServiceAccount::Representation
557
551
 
552
+ collection :tags, as: 'tags'
558
553
  end
559
554
  end
560
555
 
@@ -581,12 +576,6 @@ module Google
581
576
  end
582
577
  end
583
578
 
584
- class CloudLoggingOption
585
- # @private
586
- class Representation < Google::Apis::Core::JsonRepresentation
587
- end
588
- end
589
-
590
579
  class ComputeResource
591
580
  # @private
592
581
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -601,6 +590,7 @@ module Google
601
590
  class Representation < Google::Apis::Core::JsonRepresentation
602
591
  property :block_external_network, as: 'blockExternalNetwork'
603
592
  collection :commands, as: 'commands'
593
+ property :enable_image_streaming, as: 'enableImageStreaming'
604
594
  property :entrypoint, as: 'entrypoint'
605
595
  property :image_uri, as: 'imageUri'
606
596
  property :options, as: 'options'
@@ -800,8 +790,6 @@ module Google
800
790
  class LogsPolicy
801
791
  # @private
802
792
  class Representation < Google::Apis::Core::JsonRepresentation
803
- property :cloud_logging_option, as: 'cloudLoggingOption', class: Google::Apis::BatchV1::CloudLoggingOption, decorator: Google::Apis::BatchV1::CloudLoggingOption::Representation
804
-
805
793
  property :destination, as: 'destination'
806
794
  property :logs_path, as: 'logsPath'
807
795
  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.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-07 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.25.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-batch_v1/v0.27.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.4.19
78
+ rubygems_version: 3.5.3
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Batch API V1