google-apis-batch_v1 0.24.0 → 0.25.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/batch_v1/classes.rb +56 -0
- data/lib/google/apis/batch_v1/gem_version.rb +2 -2
- data/lib/google/apis/batch_v1/representations.rb +30 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 40fe4b9573d17502faf5c2cc12e2b83127ae69e57e45e65e824784774c205226
|
4
|
+
data.tar.gz: 473108d253cf347029c492c5bb80e94127ae135ee0dd39c107da5f8c4d615485
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 523278d91304c04152f14265908401f43bb54b848dd76f7aedb0e4012f0446a28a6146f25813a3fb3fc27f6d991f9535e49b6d689d61a9e5f68c8d244a625354
|
7
|
+
data.tar.gz: 2bc79102087c9438016543b675bf0d124acd0ed58916bec2f90d5958f79ce076b363f5c4d8bbb0a2765ce038a0cf8f869c52eb01c1e7e932d6ffb7089c630d63
|
data/CHANGELOG.md
CHANGED
@@ -520,6 +520,12 @@ module Google
|
|
520
520
|
# @return [Array<Google::Apis::BatchV1::AgentTaskRunnable>]
|
521
521
|
attr_accessor :runnables
|
522
522
|
|
523
|
+
# AgentTaskUserAccount contains the information of a POSIX account on the guest
|
524
|
+
# os which is used to execute the runnables.
|
525
|
+
# Corresponds to the JSON property `userAccount`
|
526
|
+
# @return [Google::Apis::BatchV1::AgentTaskUserAccount]
|
527
|
+
attr_accessor :user_account
|
528
|
+
|
523
529
|
def initialize(**args)
|
524
530
|
update!(**args)
|
525
531
|
end
|
@@ -529,6 +535,35 @@ module Google
|
|
529
535
|
@environment = args[:environment] if args.key?(:environment)
|
530
536
|
@max_run_duration = args[:max_run_duration] if args.key?(:max_run_duration)
|
531
537
|
@runnables = args[:runnables] if args.key?(:runnables)
|
538
|
+
@user_account = args[:user_account] if args.key?(:user_account)
|
539
|
+
end
|
540
|
+
end
|
541
|
+
|
542
|
+
# AgentTaskUserAccount contains the information of a POSIX account on the guest
|
543
|
+
# os which is used to execute the runnables.
|
544
|
+
class AgentTaskUserAccount
|
545
|
+
include Google::Apis::Core::Hashable
|
546
|
+
|
547
|
+
# gid id an unique identifier of the POSIX account group corresponding to the
|
548
|
+
# user account.
|
549
|
+
# Corresponds to the JSON property `gid`
|
550
|
+
# @return [Fixnum]
|
551
|
+
attr_accessor :gid
|
552
|
+
|
553
|
+
# uid is an unique identifier of the POSIX account corresponding to the user
|
554
|
+
# account.
|
555
|
+
# Corresponds to the JSON property `uid`
|
556
|
+
# @return [Fixnum]
|
557
|
+
attr_accessor :uid
|
558
|
+
|
559
|
+
def initialize(**args)
|
560
|
+
update!(**args)
|
561
|
+
end
|
562
|
+
|
563
|
+
# Update properties of this object
|
564
|
+
def update!(**args)
|
565
|
+
@gid = args[:gid] if args.key?(:gid)
|
566
|
+
@uid = args[:uid] if args.key?(:uid)
|
532
567
|
end
|
533
568
|
end
|
534
569
|
|
@@ -689,6 +724,20 @@ module Google
|
|
689
724
|
end
|
690
725
|
end
|
691
726
|
|
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
|
+
|
692
741
|
# Compute resource requirements. ComputeResource defines the amount of resources
|
693
742
|
# required for each task. Make sure your tasks have enough resources to
|
694
743
|
# successfully run. If you also define the types of resources for a job to use
|
@@ -1516,6 +1565,12 @@ module Google
|
|
1516
1565
|
class LogsPolicy
|
1517
1566
|
include Google::Apis::Core::Hashable
|
1518
1567
|
|
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
|
+
|
1519
1574
|
# Where logs should be saved.
|
1520
1575
|
# Corresponds to the JSON property `destination`
|
1521
1576
|
# @return [String]
|
@@ -1534,6 +1589,7 @@ module Google
|
|
1534
1589
|
|
1535
1590
|
# Update properties of this object
|
1536
1591
|
def update!(**args)
|
1592
|
+
@cloud_logging_option = args[:cloud_logging_option] if args.key?(:cloud_logging_option)
|
1537
1593
|
@destination = args[:destination] if args.key?(:destination)
|
1538
1594
|
@logs_path = args[:logs_path] if args.key?(:logs_path)
|
1539
1595
|
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.
|
19
|
+
GEM_VERSION = "0.25.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 = "
|
25
|
+
REVISION = "20231029"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -94,6 +94,12 @@ module Google
|
|
94
94
|
include Google::Apis::Core::JsonObjectSupport
|
95
95
|
end
|
96
96
|
|
97
|
+
class AgentTaskUserAccount
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
+
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
101
|
+
end
|
102
|
+
|
97
103
|
class AgentTimingInfo
|
98
104
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
105
|
|
@@ -124,6 +130,12 @@ module Google
|
|
124
130
|
include Google::Apis::Core::JsonObjectSupport
|
125
131
|
end
|
126
132
|
|
133
|
+
class CloudLoggingOption
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
+
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
137
|
+
end
|
138
|
+
|
127
139
|
class ComputeResource
|
128
140
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
141
|
|
@@ -507,6 +519,16 @@ module Google
|
|
507
519
|
property :max_run_duration, as: 'maxRunDuration'
|
508
520
|
collection :runnables, as: 'runnables', class: Google::Apis::BatchV1::AgentTaskRunnable, decorator: Google::Apis::BatchV1::AgentTaskRunnable::Representation
|
509
521
|
|
522
|
+
property :user_account, as: 'userAccount', class: Google::Apis::BatchV1::AgentTaskUserAccount, decorator: Google::Apis::BatchV1::AgentTaskUserAccount::Representation
|
523
|
+
|
524
|
+
end
|
525
|
+
end
|
526
|
+
|
527
|
+
class AgentTaskUserAccount
|
528
|
+
# @private
|
529
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
530
|
+
property :gid, :numeric_string => true, as: 'gid'
|
531
|
+
property :uid, :numeric_string => true, as: 'uid'
|
510
532
|
end
|
511
533
|
end
|
512
534
|
|
@@ -559,6 +581,12 @@ module Google
|
|
559
581
|
end
|
560
582
|
end
|
561
583
|
|
584
|
+
class CloudLoggingOption
|
585
|
+
# @private
|
586
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
587
|
+
end
|
588
|
+
end
|
589
|
+
|
562
590
|
class ComputeResource
|
563
591
|
# @private
|
564
592
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -772,6 +800,8 @@ module Google
|
|
772
800
|
class LogsPolicy
|
773
801
|
# @private
|
774
802
|
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
|
+
|
775
805
|
property :destination, as: 'destination'
|
776
806
|
property :logs_path, as: 'logsPath'
|
777
807
|
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
|
+
version: 0.25.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
|
+
date: 2023-11-05 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.25.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: []
|