google-apis-cloudbuild_v1beta1 0.6.0 → 0.10.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b79580d3a94c3e56970fc2f4f6bcdc3a8ec71aefd53424fda18580d486cf2557
|
4
|
+
data.tar.gz: f16c98cb61a93f33f19ec30466b6b40dff0b9d1ed6f9d64f1dd0d5cd04b4363c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4627f67dd61a7b10829106f594f5ed870a4297a097c9cebb6db57fc3bf8f1002a7a7ab4cc4ec39efb25da0acddef586aaf1bb28b0ad066dd17cf87db2f1fbf8f
|
7
|
+
data.tar.gz: 39486bf473584d15f464e6c8005f09775e689984a210ac30496ca3a060bd94e587e9c481ec78dc269741ca3292f46835b2a0da69c48dbc510291eee8b90759bc
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-cloudbuild_v1beta1
|
2
2
|
|
3
|
+
### v0.10.0 (2021-09-01)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210813
|
6
|
+
|
7
|
+
### v0.9.0 (2021-07-27)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210723
|
10
|
+
|
11
|
+
### v0.8.0 (2021-07-20)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210715
|
14
|
+
|
15
|
+
### v0.7.0 (2021-07-13)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210709
|
18
|
+
|
3
19
|
### v0.6.0 (2021-07-03)
|
4
20
|
|
5
21
|
* Regenerated from discovery document revision 20210701
|
@@ -22,6 +22,75 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module CloudbuildV1beta1
|
24
24
|
|
25
|
+
# ApprovalConfig describes configuration for manual approval of a build.
|
26
|
+
class ApprovalConfig
|
27
|
+
include Google::Apis::Core::Hashable
|
28
|
+
|
29
|
+
# Whether or not approval is needed. If this is set on a build, it will become
|
30
|
+
# pending when created, and will need to be explicitly approved to start.
|
31
|
+
# Corresponds to the JSON property `approvalRequired`
|
32
|
+
# @return [Boolean]
|
33
|
+
attr_accessor :approval_required
|
34
|
+
alias_method :approval_required?, :approval_required
|
35
|
+
|
36
|
+
def initialize(**args)
|
37
|
+
update!(**args)
|
38
|
+
end
|
39
|
+
|
40
|
+
# Update properties of this object
|
41
|
+
def update!(**args)
|
42
|
+
@approval_required = args[:approval_required] if args.key?(:approval_required)
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
# ApprovalResult describes the decision and associated metadata of a manual
|
47
|
+
# approval of a build.
|
48
|
+
class ApprovalResult
|
49
|
+
include Google::Apis::Core::Hashable
|
50
|
+
|
51
|
+
# Output only. The time when the approval decision was made.
|
52
|
+
# Corresponds to the JSON property `approvalTime`
|
53
|
+
# @return [String]
|
54
|
+
attr_accessor :approval_time
|
55
|
+
|
56
|
+
# Output only. Email of the user that called the ApproveBuild API to approve or
|
57
|
+
# reject a build at the time that the API was called.
|
58
|
+
# Corresponds to the JSON property `approverAccount`
|
59
|
+
# @return [String]
|
60
|
+
attr_accessor :approver_account
|
61
|
+
|
62
|
+
# Optional. An optional comment for this manual approval result.
|
63
|
+
# Corresponds to the JSON property `comment`
|
64
|
+
# @return [String]
|
65
|
+
attr_accessor :comment
|
66
|
+
|
67
|
+
# Required. The decision of this manual approval.
|
68
|
+
# Corresponds to the JSON property `decision`
|
69
|
+
# @return [String]
|
70
|
+
attr_accessor :decision
|
71
|
+
|
72
|
+
# Optional. An optional URL tied to this manual approval result. This field is
|
73
|
+
# essentially the same as comment, except that it will be rendered by the UI
|
74
|
+
# differently. An example use case is a link to an external job that approved
|
75
|
+
# this Build.
|
76
|
+
# Corresponds to the JSON property `url`
|
77
|
+
# @return [String]
|
78
|
+
attr_accessor :url
|
79
|
+
|
80
|
+
def initialize(**args)
|
81
|
+
update!(**args)
|
82
|
+
end
|
83
|
+
|
84
|
+
# Update properties of this object
|
85
|
+
def update!(**args)
|
86
|
+
@approval_time = args[:approval_time] if args.key?(:approval_time)
|
87
|
+
@approver_account = args[:approver_account] if args.key?(:approver_account)
|
88
|
+
@comment = args[:comment] if args.key?(:comment)
|
89
|
+
@decision = args[:decision] if args.key?(:decision)
|
90
|
+
@url = args[:url] if args.key?(:url)
|
91
|
+
end
|
92
|
+
end
|
93
|
+
|
25
94
|
# Files in the workspace to upload to Cloud Storage upon successful completion
|
26
95
|
# of all build steps.
|
27
96
|
class ArtifactObjects
|
@@ -120,15 +189,21 @@ module Google
|
|
120
189
|
# run on the source), and where to store the built artifacts. Fields can include
|
121
190
|
# the following variables, which will be expanded when the build is created: - $
|
122
191
|
# PROJECT_ID: the project ID of the build. - $PROJECT_NUMBER: the project number
|
123
|
-
# of the build. - $
|
124
|
-
#
|
125
|
-
#
|
126
|
-
# RepoSource. - $
|
127
|
-
#
|
128
|
-
# characters of $REVISION_ID or $
|
192
|
+
# of the build. - $LOCATION: the location/region of the build. - $BUILD_ID: the
|
193
|
+
# autogenerated ID of the build. - $REPO_NAME: the source repository name
|
194
|
+
# specified by RepoSource. - $BRANCH_NAME: the branch name specified by
|
195
|
+
# RepoSource. - $TAG_NAME: the tag name specified by RepoSource. - $REVISION_ID
|
196
|
+
# or $COMMIT_SHA: the commit SHA specified by RepoSource or resolved from the
|
197
|
+
# specified branch or tag. - $SHORT_SHA: first 7 characters of $REVISION_ID or $
|
198
|
+
# COMMIT_SHA.
|
129
199
|
class Build
|
130
200
|
include Google::Apis::Core::Hashable
|
131
201
|
|
202
|
+
# BuildApproval describes a build's approval configuration, state, and result.
|
203
|
+
# Corresponds to the JSON property `approval`
|
204
|
+
# @return [Google::Apis::CloudbuildV1beta1::BuildApproval]
|
205
|
+
attr_accessor :approval
|
206
|
+
|
132
207
|
# Artifacts produced by a build that should be uploaded upon successful
|
133
208
|
# completion of all build steps.
|
134
209
|
# Corresponds to the JSON property `artifacts`
|
@@ -151,6 +226,11 @@ module Google
|
|
151
226
|
# @return [String]
|
152
227
|
attr_accessor :create_time
|
153
228
|
|
229
|
+
# A fatal problem encountered during the execution of the build.
|
230
|
+
# Corresponds to the JSON property `failureInfo`
|
231
|
+
# @return [Google::Apis::CloudbuildV1beta1::FailureInfo]
|
232
|
+
attr_accessor :failure_info
|
233
|
+
|
154
234
|
# Output only. Time at which execution of the build was finished. The difference
|
155
235
|
# between finish_time and start_time is the duration of the build's execution.
|
156
236
|
# Corresponds to the JSON property `finishTime`
|
@@ -278,9 +358,10 @@ module Google
|
|
278
358
|
attr_accessor :timeout
|
279
359
|
|
280
360
|
# Output only. Stores timing information for phases of the build. Valid keys are:
|
281
|
-
# * BUILD: time to execute all build steps * PUSH: time to push all specified
|
282
|
-
# images. * FETCHSOURCE: time to fetch source.
|
283
|
-
# source or images, these keys will not be
|
361
|
+
# * BUILD: time to execute all build steps. * PUSH: time to push all specified
|
362
|
+
# images. * FETCHSOURCE: time to fetch source. * SETUPBUILD: time to set up
|
363
|
+
# build. If the build does not specify source or images, these keys will not be
|
364
|
+
# included.
|
284
365
|
# Corresponds to the JSON property `timing`
|
285
366
|
# @return [Hash<String,Google::Apis::CloudbuildV1beta1::TimeSpan>]
|
286
367
|
attr_accessor :timing
|
@@ -296,10 +377,12 @@ module Google
|
|
296
377
|
|
297
378
|
# Update properties of this object
|
298
379
|
def update!(**args)
|
380
|
+
@approval = args[:approval] if args.key?(:approval)
|
299
381
|
@artifacts = args[:artifacts] if args.key?(:artifacts)
|
300
382
|
@available_secrets = args[:available_secrets] if args.key?(:available_secrets)
|
301
383
|
@build_trigger_id = args[:build_trigger_id] if args.key?(:build_trigger_id)
|
302
384
|
@create_time = args[:create_time] if args.key?(:create_time)
|
385
|
+
@failure_info = args[:failure_info] if args.key?(:failure_info)
|
303
386
|
@finish_time = args[:finish_time] if args.key?(:finish_time)
|
304
387
|
@id = args[:id] if args.key?(:id)
|
305
388
|
@images = args[:images] if args.key?(:images)
|
@@ -326,6 +409,38 @@ module Google
|
|
326
409
|
end
|
327
410
|
end
|
328
411
|
|
412
|
+
# BuildApproval describes a build's approval configuration, state, and result.
|
413
|
+
class BuildApproval
|
414
|
+
include Google::Apis::Core::Hashable
|
415
|
+
|
416
|
+
# ApprovalConfig describes configuration for manual approval of a build.
|
417
|
+
# Corresponds to the JSON property `config`
|
418
|
+
# @return [Google::Apis::CloudbuildV1beta1::ApprovalConfig]
|
419
|
+
attr_accessor :config
|
420
|
+
|
421
|
+
# ApprovalResult describes the decision and associated metadata of a manual
|
422
|
+
# approval of a build.
|
423
|
+
# Corresponds to the JSON property `result`
|
424
|
+
# @return [Google::Apis::CloudbuildV1beta1::ApprovalResult]
|
425
|
+
attr_accessor :result
|
426
|
+
|
427
|
+
# Output only. The state of this build's approval.
|
428
|
+
# Corresponds to the JSON property `state`
|
429
|
+
# @return [String]
|
430
|
+
attr_accessor :state
|
431
|
+
|
432
|
+
def initialize(**args)
|
433
|
+
update!(**args)
|
434
|
+
end
|
435
|
+
|
436
|
+
# Update properties of this object
|
437
|
+
def update!(**args)
|
438
|
+
@config = args[:config] if args.key?(:config)
|
439
|
+
@result = args[:result] if args.key?(:result)
|
440
|
+
@state = args[:state] if args.key?(:state)
|
441
|
+
end
|
442
|
+
end
|
443
|
+
|
329
444
|
# Metadata for build operations.
|
330
445
|
class BuildOperationMetadata
|
331
446
|
include Google::Apis::Core::Hashable
|
@@ -335,12 +450,13 @@ module Google
|
|
335
450
|
# run on the source), and where to store the built artifacts. Fields can include
|
336
451
|
# the following variables, which will be expanded when the build is created: - $
|
337
452
|
# PROJECT_ID: the project ID of the build. - $PROJECT_NUMBER: the project number
|
338
|
-
# of the build. - $
|
339
|
-
#
|
340
|
-
#
|
341
|
-
# RepoSource. - $
|
342
|
-
#
|
343
|
-
# characters of $REVISION_ID or $
|
453
|
+
# of the build. - $LOCATION: the location/region of the build. - $BUILD_ID: the
|
454
|
+
# autogenerated ID of the build. - $REPO_NAME: the source repository name
|
455
|
+
# specified by RepoSource. - $BRANCH_NAME: the branch name specified by
|
456
|
+
# RepoSource. - $TAG_NAME: the tag name specified by RepoSource. - $REVISION_ID
|
457
|
+
# or $COMMIT_SHA: the commit SHA specified by RepoSource or resolved from the
|
458
|
+
# specified branch or tag. - $SHORT_SHA: first 7 characters of $REVISION_ID or $
|
459
|
+
# COMMIT_SHA.
|
344
460
|
# Corresponds to the JSON property `build`
|
345
461
|
# @return [Google::Apis::CloudbuildV1beta1::Build]
|
346
462
|
attr_accessor :build
|
@@ -403,8 +519,8 @@ module Google
|
|
403
519
|
attr_accessor :machine_type
|
404
520
|
|
405
521
|
# Details about how a build should be executed on a `WorkerPool`. See [running
|
406
|
-
# builds in a
|
407
|
-
#
|
522
|
+
# builds in a private pool](https://cloud.google.com/build/docs/private-pools/
|
523
|
+
# run-builds-in-private-pool) for more information.
|
408
524
|
# Corresponds to the JSON property `pool`
|
409
525
|
# @return [Google::Apis::CloudbuildV1beta1::PoolOption]
|
410
526
|
attr_accessor :pool
|
@@ -533,6 +649,12 @@ module Google
|
|
533
649
|
# @return [Google::Apis::CloudbuildV1beta1::TimeSpan]
|
534
650
|
attr_accessor :pull_timing
|
535
651
|
|
652
|
+
# A shell script to be executed in the step. When script is provided, the user
|
653
|
+
# cannot specify the entrypoint or args.
|
654
|
+
# Corresponds to the JSON property `script`
|
655
|
+
# @return [String]
|
656
|
+
attr_accessor :script
|
657
|
+
|
536
658
|
# A list of environment variables which are encrypted using a Cloud Key
|
537
659
|
# Management Service crypto key. These values must be specified in the build's `
|
538
660
|
# Secret`.
|
@@ -589,6 +711,7 @@ module Google
|
|
589
711
|
@id = args[:id] if args.key?(:id)
|
590
712
|
@name = args[:name] if args.key?(:name)
|
591
713
|
@pull_timing = args[:pull_timing] if args.key?(:pull_timing)
|
714
|
+
@script = args[:script] if args.key?(:script)
|
592
715
|
@secret_env = args[:secret_env] if args.key?(:secret_env)
|
593
716
|
@status = args[:status] if args.key?(:status)
|
594
717
|
@timeout = args[:timeout] if args.key?(:timeout)
|
@@ -643,6 +766,38 @@ module Google
|
|
643
766
|
end
|
644
767
|
end
|
645
768
|
|
769
|
+
# Metadata for `CreateGithubEnterpriseConfig` operation.
|
770
|
+
class CreateGitHubEnterpriseConfigOperationMetadata
|
771
|
+
include Google::Apis::Core::Hashable
|
772
|
+
|
773
|
+
# Time the operation was completed.
|
774
|
+
# Corresponds to the JSON property `completeTime`
|
775
|
+
# @return [String]
|
776
|
+
attr_accessor :complete_time
|
777
|
+
|
778
|
+
# Time the operation was created.
|
779
|
+
# Corresponds to the JSON property `createTime`
|
780
|
+
# @return [String]
|
781
|
+
attr_accessor :create_time
|
782
|
+
|
783
|
+
# The resource name of the GitHubEnterprise to be created. Format: `projects/`
|
784
|
+
# project`/locations/`location`/githubEnterpriseConfigs/`id``.
|
785
|
+
# Corresponds to the JSON property `githubEnterpriseConfig`
|
786
|
+
# @return [String]
|
787
|
+
attr_accessor :github_enterprise_config
|
788
|
+
|
789
|
+
def initialize(**args)
|
790
|
+
update!(**args)
|
791
|
+
end
|
792
|
+
|
793
|
+
# Update properties of this object
|
794
|
+
def update!(**args)
|
795
|
+
@complete_time = args[:complete_time] if args.key?(:complete_time)
|
796
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
797
|
+
@github_enterprise_config = args[:github_enterprise_config] if args.key?(:github_enterprise_config)
|
798
|
+
end
|
799
|
+
end
|
800
|
+
|
646
801
|
# Metadata for the `CreateWorkerPool` operation.
|
647
802
|
class CreateWorkerPoolOperationMetadata
|
648
803
|
include Google::Apis::Core::Hashable
|
@@ -675,6 +830,38 @@ module Google
|
|
675
830
|
end
|
676
831
|
end
|
677
832
|
|
833
|
+
# Metadata for `DeleteGitHubEnterpriseConfig` operation.
|
834
|
+
class DeleteGitHubEnterpriseConfigOperationMetadata
|
835
|
+
include Google::Apis::Core::Hashable
|
836
|
+
|
837
|
+
# Time the operation was completed.
|
838
|
+
# Corresponds to the JSON property `completeTime`
|
839
|
+
# @return [String]
|
840
|
+
attr_accessor :complete_time
|
841
|
+
|
842
|
+
# Time the operation was created.
|
843
|
+
# Corresponds to the JSON property `createTime`
|
844
|
+
# @return [String]
|
845
|
+
attr_accessor :create_time
|
846
|
+
|
847
|
+
# The resource name of the GitHubEnterprise to be deleted. Format: `projects/`
|
848
|
+
# project`/locations/`location`/githubEnterpriseConfigs/`id``.
|
849
|
+
# Corresponds to the JSON property `githubEnterpriseConfig`
|
850
|
+
# @return [String]
|
851
|
+
attr_accessor :github_enterprise_config
|
852
|
+
|
853
|
+
def initialize(**args)
|
854
|
+
update!(**args)
|
855
|
+
end
|
856
|
+
|
857
|
+
# Update properties of this object
|
858
|
+
def update!(**args)
|
859
|
+
@complete_time = args[:complete_time] if args.key?(:complete_time)
|
860
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
861
|
+
@github_enterprise_config = args[:github_enterprise_config] if args.key?(:github_enterprise_config)
|
862
|
+
end
|
863
|
+
end
|
864
|
+
|
678
865
|
# Metadata for the `DeleteWorkerPool` operation.
|
679
866
|
class DeleteWorkerPoolOperationMetadata
|
680
867
|
include Google::Apis::Core::Hashable
|
@@ -724,6 +911,31 @@ module Google
|
|
724
911
|
end
|
725
912
|
end
|
726
913
|
|
914
|
+
# A fatal problem encountered during the execution of the build.
|
915
|
+
class FailureInfo
|
916
|
+
include Google::Apis::Core::Hashable
|
917
|
+
|
918
|
+
# Explains the failure issue in more detail using hard-coded text.
|
919
|
+
# Corresponds to the JSON property `detail`
|
920
|
+
# @return [String]
|
921
|
+
attr_accessor :detail
|
922
|
+
|
923
|
+
# The name of the failure.
|
924
|
+
# Corresponds to the JSON property `type`
|
925
|
+
# @return [String]
|
926
|
+
attr_accessor :type
|
927
|
+
|
928
|
+
def initialize(**args)
|
929
|
+
update!(**args)
|
930
|
+
end
|
931
|
+
|
932
|
+
# Update properties of this object
|
933
|
+
def update!(**args)
|
934
|
+
@detail = args[:detail] if args.key?(:detail)
|
935
|
+
@type = args[:type] if args.key?(:type)
|
936
|
+
end
|
937
|
+
end
|
938
|
+
|
727
939
|
# Container message for hashes of byte content of files, used in
|
728
940
|
# SourceProvenance messages to verify integrity of source input to the build.
|
729
941
|
class FileHashes
|
@@ -744,6 +956,65 @@ module Google
|
|
744
956
|
end
|
745
957
|
end
|
746
958
|
|
959
|
+
# Represents the metadata of the long-running operation.
|
960
|
+
class GoogleDevtoolsCloudbuildV2OperationMetadata
|
961
|
+
include Google::Apis::Core::Hashable
|
962
|
+
|
963
|
+
# Output only. API version used to start the operation.
|
964
|
+
# Corresponds to the JSON property `apiVersion`
|
965
|
+
# @return [String]
|
966
|
+
attr_accessor :api_version
|
967
|
+
|
968
|
+
# Output only. The time the operation was created.
|
969
|
+
# Corresponds to the JSON property `createTime`
|
970
|
+
# @return [String]
|
971
|
+
attr_accessor :create_time
|
972
|
+
|
973
|
+
# Output only. The time the operation finished running.
|
974
|
+
# Corresponds to the JSON property `endTime`
|
975
|
+
# @return [String]
|
976
|
+
attr_accessor :end_time
|
977
|
+
|
978
|
+
# Output only. Identifies whether the user has requested cancellation of the
|
979
|
+
# operation. Operations that have successfully been cancelled have Operation.
|
980
|
+
# error value with a google.rpc.Status.code of 1, corresponding to `Code.
|
981
|
+
# CANCELLED`.
|
982
|
+
# Corresponds to the JSON property `requestedCancellation`
|
983
|
+
# @return [Boolean]
|
984
|
+
attr_accessor :requested_cancellation
|
985
|
+
alias_method :requested_cancellation?, :requested_cancellation
|
986
|
+
|
987
|
+
# Output only. Human-readable status of the operation, if any.
|
988
|
+
# Corresponds to the JSON property `statusMessage`
|
989
|
+
# @return [String]
|
990
|
+
attr_accessor :status_message
|
991
|
+
|
992
|
+
# Output only. Server-defined resource path for the target of the operation.
|
993
|
+
# Corresponds to the JSON property `target`
|
994
|
+
# @return [String]
|
995
|
+
attr_accessor :target
|
996
|
+
|
997
|
+
# Output only. Name of the verb executed by the operation.
|
998
|
+
# Corresponds to the JSON property `verb`
|
999
|
+
# @return [String]
|
1000
|
+
attr_accessor :verb
|
1001
|
+
|
1002
|
+
def initialize(**args)
|
1003
|
+
update!(**args)
|
1004
|
+
end
|
1005
|
+
|
1006
|
+
# Update properties of this object
|
1007
|
+
def update!(**args)
|
1008
|
+
@api_version = args[:api_version] if args.key?(:api_version)
|
1009
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
1010
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
1011
|
+
@requested_cancellation = args[:requested_cancellation] if args.key?(:requested_cancellation)
|
1012
|
+
@status_message = args[:status_message] if args.key?(:status_message)
|
1013
|
+
@target = args[:target] if args.key?(:target)
|
1014
|
+
@verb = args[:verb] if args.key?(:verb)
|
1015
|
+
end
|
1016
|
+
end
|
1017
|
+
|
747
1018
|
# HTTPDelivery is the delivery configuration for an HTTP notification.
|
748
1019
|
class HttpDelivery
|
749
1020
|
include Google::Apis::Core::Hashable
|
@@ -1118,9 +1389,68 @@ module Google
|
|
1118
1389
|
end
|
1119
1390
|
end
|
1120
1391
|
|
1392
|
+
# Represents the metadata of the long-running operation.
|
1393
|
+
class OperationMetadata
|
1394
|
+
include Google::Apis::Core::Hashable
|
1395
|
+
|
1396
|
+
# Output only. API version used to start the operation.
|
1397
|
+
# Corresponds to the JSON property `apiVersion`
|
1398
|
+
# @return [String]
|
1399
|
+
attr_accessor :api_version
|
1400
|
+
|
1401
|
+
# Output only. Identifies whether the user has requested cancellation of the
|
1402
|
+
# operation. Operations that have been cancelled successfully have Operation.
|
1403
|
+
# error value with a google.rpc.Status.code of 1, corresponding to `Code.
|
1404
|
+
# CANCELLED`.
|
1405
|
+
# Corresponds to the JSON property `cancelRequested`
|
1406
|
+
# @return [Boolean]
|
1407
|
+
attr_accessor :cancel_requested
|
1408
|
+
alias_method :cancel_requested?, :cancel_requested
|
1409
|
+
|
1410
|
+
# Output only. The time the operation was created.
|
1411
|
+
# Corresponds to the JSON property `createTime`
|
1412
|
+
# @return [String]
|
1413
|
+
attr_accessor :create_time
|
1414
|
+
|
1415
|
+
# Output only. The time the operation finished running.
|
1416
|
+
# Corresponds to the JSON property `endTime`
|
1417
|
+
# @return [String]
|
1418
|
+
attr_accessor :end_time
|
1419
|
+
|
1420
|
+
# Output only. Human-readable status of the operation, if any.
|
1421
|
+
# Corresponds to the JSON property `statusDetail`
|
1422
|
+
# @return [String]
|
1423
|
+
attr_accessor :status_detail
|
1424
|
+
|
1425
|
+
# Output only. Server-defined resource path for the target of the operation.
|
1426
|
+
# Corresponds to the JSON property `target`
|
1427
|
+
# @return [String]
|
1428
|
+
attr_accessor :target
|
1429
|
+
|
1430
|
+
# Output only. Name of the verb executed by the operation.
|
1431
|
+
# Corresponds to the JSON property `verb`
|
1432
|
+
# @return [String]
|
1433
|
+
attr_accessor :verb
|
1434
|
+
|
1435
|
+
def initialize(**args)
|
1436
|
+
update!(**args)
|
1437
|
+
end
|
1438
|
+
|
1439
|
+
# Update properties of this object
|
1440
|
+
def update!(**args)
|
1441
|
+
@api_version = args[:api_version] if args.key?(:api_version)
|
1442
|
+
@cancel_requested = args[:cancel_requested] if args.key?(:cancel_requested)
|
1443
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
1444
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
1445
|
+
@status_detail = args[:status_detail] if args.key?(:status_detail)
|
1446
|
+
@target = args[:target] if args.key?(:target)
|
1447
|
+
@verb = args[:verb] if args.key?(:verb)
|
1448
|
+
end
|
1449
|
+
end
|
1450
|
+
|
1121
1451
|
# Details about how a build should be executed on a `WorkerPool`. See [running
|
1122
|
-
# builds in a
|
1123
|
-
#
|
1452
|
+
# builds in a private pool](https://cloud.google.com/build/docs/private-pools/
|
1453
|
+
# run-builds-in-private-pool) for more information.
|
1124
1454
|
class PoolOption
|
1125
1455
|
include Google::Apis::Core::Hashable
|
1126
1456
|
|
@@ -1141,6 +1471,38 @@ module Google
|
|
1141
1471
|
end
|
1142
1472
|
end
|
1143
1473
|
|
1474
|
+
# Metadata for `ProcessAppManifestCallback` operation.
|
1475
|
+
class ProcessAppManifestCallbackOperationMetadata
|
1476
|
+
include Google::Apis::Core::Hashable
|
1477
|
+
|
1478
|
+
# Time the operation was completed.
|
1479
|
+
# Corresponds to the JSON property `completeTime`
|
1480
|
+
# @return [String]
|
1481
|
+
attr_accessor :complete_time
|
1482
|
+
|
1483
|
+
# Time the operation was created.
|
1484
|
+
# Corresponds to the JSON property `createTime`
|
1485
|
+
# @return [String]
|
1486
|
+
attr_accessor :create_time
|
1487
|
+
|
1488
|
+
# The resource name of the GitHubEnterprise to be created. Format: `projects/`
|
1489
|
+
# project`/locations/`location`/githubEnterpriseConfigs/`id``.
|
1490
|
+
# Corresponds to the JSON property `githubEnterpriseConfig`
|
1491
|
+
# @return [String]
|
1492
|
+
attr_accessor :github_enterprise_config
|
1493
|
+
|
1494
|
+
def initialize(**args)
|
1495
|
+
update!(**args)
|
1496
|
+
end
|
1497
|
+
|
1498
|
+
# Update properties of this object
|
1499
|
+
def update!(**args)
|
1500
|
+
@complete_time = args[:complete_time] if args.key?(:complete_time)
|
1501
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
1502
|
+
@github_enterprise_config = args[:github_enterprise_config] if args.key?(:github_enterprise_config)
|
1503
|
+
end
|
1504
|
+
end
|
1505
|
+
|
1144
1506
|
# Location of the source in a Google Cloud Source Repository.
|
1145
1507
|
class RepoSource
|
1146
1508
|
include Google::Apis::Core::Hashable
|
@@ -1557,7 +1919,7 @@ module Google
|
|
1557
1919
|
attr_accessor :generation
|
1558
1920
|
|
1559
1921
|
# Google Cloud Storage object containing the source. This object must be a
|
1560
|
-
# gzipped archive file (`.tar.gz`) containing source to build.
|
1922
|
+
# zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build.
|
1561
1923
|
# Corresponds to the JSON property `object`
|
1562
1924
|
# @return [String]
|
1563
1925
|
attr_accessor :object
|
@@ -1636,6 +1998,38 @@ module Google
|
|
1636
1998
|
end
|
1637
1999
|
end
|
1638
2000
|
|
2001
|
+
# Metadata for `UpdateGitHubEnterpriseConfig` operation.
|
2002
|
+
class UpdateGitHubEnterpriseConfigOperationMetadata
|
2003
|
+
include Google::Apis::Core::Hashable
|
2004
|
+
|
2005
|
+
# Time the operation was completed.
|
2006
|
+
# Corresponds to the JSON property `completeTime`
|
2007
|
+
# @return [String]
|
2008
|
+
attr_accessor :complete_time
|
2009
|
+
|
2010
|
+
# Time the operation was created.
|
2011
|
+
# Corresponds to the JSON property `createTime`
|
2012
|
+
# @return [String]
|
2013
|
+
attr_accessor :create_time
|
2014
|
+
|
2015
|
+
# The resource name of the GitHubEnterprise to be updated. Format: `projects/`
|
2016
|
+
# project`/locations/`location`/githubEnterpriseConfigs/`id``.
|
2017
|
+
# Corresponds to the JSON property `githubEnterpriseConfig`
|
2018
|
+
# @return [String]
|
2019
|
+
attr_accessor :github_enterprise_config
|
2020
|
+
|
2021
|
+
def initialize(**args)
|
2022
|
+
update!(**args)
|
2023
|
+
end
|
2024
|
+
|
2025
|
+
# Update properties of this object
|
2026
|
+
def update!(**args)
|
2027
|
+
@complete_time = args[:complete_time] if args.key?(:complete_time)
|
2028
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
2029
|
+
@github_enterprise_config = args[:github_enterprise_config] if args.key?(:github_enterprise_config)
|
2030
|
+
end
|
2031
|
+
end
|
2032
|
+
|
1639
2033
|
# Metadata for the `UpdateWorkerPool` operation.
|
1640
2034
|
class UpdateWorkerPoolOperationMetadata
|
1641
2035
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module CloudbuildV1beta1
|
18
18
|
# Version of the google-apis-cloudbuild_v1beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.10.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210813"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -22,6 +22,18 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module CloudbuildV1beta1
|
24
24
|
|
25
|
+
class ApprovalConfig
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
31
|
+
class ApprovalResult
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
25
37
|
class ArtifactObjects
|
26
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
39
|
|
@@ -46,6 +58,12 @@ module Google
|
|
46
58
|
include Google::Apis::Core::JsonObjectSupport
|
47
59
|
end
|
48
60
|
|
61
|
+
class BuildApproval
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
+
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
65
|
+
end
|
66
|
+
|
49
67
|
class BuildOperationMetadata
|
50
68
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
69
|
|
@@ -76,12 +94,24 @@ module Google
|
|
76
94
|
include Google::Apis::Core::JsonObjectSupport
|
77
95
|
end
|
78
96
|
|
97
|
+
class CreateGitHubEnterpriseConfigOperationMetadata
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
+
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
101
|
+
end
|
102
|
+
|
79
103
|
class CreateWorkerPoolOperationMetadata
|
80
104
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
105
|
|
82
106
|
include Google::Apis::Core::JsonObjectSupport
|
83
107
|
end
|
84
108
|
|
109
|
+
class DeleteGitHubEnterpriseConfigOperationMetadata
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
+
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
113
|
+
end
|
114
|
+
|
85
115
|
class DeleteWorkerPoolOperationMetadata
|
86
116
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
117
|
|
@@ -94,12 +124,24 @@ module Google
|
|
94
124
|
include Google::Apis::Core::JsonObjectSupport
|
95
125
|
end
|
96
126
|
|
127
|
+
class FailureInfo
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
97
133
|
class FileHashes
|
98
134
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
135
|
|
100
136
|
include Google::Apis::Core::JsonObjectSupport
|
101
137
|
end
|
102
138
|
|
139
|
+
class GoogleDevtoolsCloudbuildV2OperationMetadata
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
|
+
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
143
|
+
end
|
144
|
+
|
103
145
|
class HttpDelivery
|
104
146
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
147
|
|
@@ -172,12 +214,24 @@ module Google
|
|
172
214
|
include Google::Apis::Core::JsonObjectSupport
|
173
215
|
end
|
174
216
|
|
217
|
+
class OperationMetadata
|
218
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
|
+
|
220
|
+
include Google::Apis::Core::JsonObjectSupport
|
221
|
+
end
|
222
|
+
|
175
223
|
class PoolOption
|
176
224
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
225
|
|
178
226
|
include Google::Apis::Core::JsonObjectSupport
|
179
227
|
end
|
180
228
|
|
229
|
+
class ProcessAppManifestCallbackOperationMetadata
|
230
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
|
+
|
232
|
+
include Google::Apis::Core::JsonObjectSupport
|
233
|
+
end
|
234
|
+
|
181
235
|
class RepoSource
|
182
236
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
237
|
|
@@ -256,6 +310,12 @@ module Google
|
|
256
310
|
include Google::Apis::Core::JsonObjectSupport
|
257
311
|
end
|
258
312
|
|
313
|
+
class UpdateGitHubEnterpriseConfigOperationMetadata
|
314
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
315
|
+
|
316
|
+
include Google::Apis::Core::JsonObjectSupport
|
317
|
+
end
|
318
|
+
|
259
319
|
class UpdateWorkerPoolOperationMetadata
|
260
320
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
261
321
|
|
@@ -286,6 +346,24 @@ module Google
|
|
286
346
|
include Google::Apis::Core::JsonObjectSupport
|
287
347
|
end
|
288
348
|
|
349
|
+
class ApprovalConfig
|
350
|
+
# @private
|
351
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
352
|
+
property :approval_required, as: 'approvalRequired'
|
353
|
+
end
|
354
|
+
end
|
355
|
+
|
356
|
+
class ApprovalResult
|
357
|
+
# @private
|
358
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
359
|
+
property :approval_time, as: 'approvalTime'
|
360
|
+
property :approver_account, as: 'approverAccount'
|
361
|
+
property :comment, as: 'comment'
|
362
|
+
property :decision, as: 'decision'
|
363
|
+
property :url, as: 'url'
|
364
|
+
end
|
365
|
+
end
|
366
|
+
|
289
367
|
class ArtifactObjects
|
290
368
|
# @private
|
291
369
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -317,12 +395,16 @@ module Google
|
|
317
395
|
class Build
|
318
396
|
# @private
|
319
397
|
class Representation < Google::Apis::Core::JsonRepresentation
|
398
|
+
property :approval, as: 'approval', class: Google::Apis::CloudbuildV1beta1::BuildApproval, decorator: Google::Apis::CloudbuildV1beta1::BuildApproval::Representation
|
399
|
+
|
320
400
|
property :artifacts, as: 'artifacts', class: Google::Apis::CloudbuildV1beta1::Artifacts, decorator: Google::Apis::CloudbuildV1beta1::Artifacts::Representation
|
321
401
|
|
322
402
|
property :available_secrets, as: 'availableSecrets', class: Google::Apis::CloudbuildV1beta1::Secrets, decorator: Google::Apis::CloudbuildV1beta1::Secrets::Representation
|
323
403
|
|
324
404
|
property :build_trigger_id, as: 'buildTriggerId'
|
325
405
|
property :create_time, as: 'createTime'
|
406
|
+
property :failure_info, as: 'failureInfo', class: Google::Apis::CloudbuildV1beta1::FailureInfo, decorator: Google::Apis::CloudbuildV1beta1::FailureInfo::Representation
|
407
|
+
|
326
408
|
property :finish_time, as: 'finishTime'
|
327
409
|
property :id, as: 'id'
|
328
410
|
collection :images, as: 'images'
|
@@ -357,6 +439,17 @@ module Google
|
|
357
439
|
end
|
358
440
|
end
|
359
441
|
|
442
|
+
class BuildApproval
|
443
|
+
# @private
|
444
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
445
|
+
property :config, as: 'config', class: Google::Apis::CloudbuildV1beta1::ApprovalConfig, decorator: Google::Apis::CloudbuildV1beta1::ApprovalConfig::Representation
|
446
|
+
|
447
|
+
property :result, as: 'result', class: Google::Apis::CloudbuildV1beta1::ApprovalResult, decorator: Google::Apis::CloudbuildV1beta1::ApprovalResult::Representation
|
448
|
+
|
449
|
+
property :state, as: 'state'
|
450
|
+
end
|
451
|
+
end
|
452
|
+
|
360
453
|
class BuildOperationMetadata
|
361
454
|
# @private
|
362
455
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -397,6 +490,7 @@ module Google
|
|
397
490
|
property :name, as: 'name'
|
398
491
|
property :pull_timing, as: 'pullTiming', class: Google::Apis::CloudbuildV1beta1::TimeSpan, decorator: Google::Apis::CloudbuildV1beta1::TimeSpan::Representation
|
399
492
|
|
493
|
+
property :script, as: 'script'
|
400
494
|
collection :secret_env, as: 'secretEnv'
|
401
495
|
property :status, as: 'status'
|
402
496
|
property :timeout, as: 'timeout'
|
@@ -424,6 +518,15 @@ module Google
|
|
424
518
|
end
|
425
519
|
end
|
426
520
|
|
521
|
+
class CreateGitHubEnterpriseConfigOperationMetadata
|
522
|
+
# @private
|
523
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
524
|
+
property :complete_time, as: 'completeTime'
|
525
|
+
property :create_time, as: 'createTime'
|
526
|
+
property :github_enterprise_config, as: 'githubEnterpriseConfig'
|
527
|
+
end
|
528
|
+
end
|
529
|
+
|
427
530
|
class CreateWorkerPoolOperationMetadata
|
428
531
|
# @private
|
429
532
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -433,6 +536,15 @@ module Google
|
|
433
536
|
end
|
434
537
|
end
|
435
538
|
|
539
|
+
class DeleteGitHubEnterpriseConfigOperationMetadata
|
540
|
+
# @private
|
541
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
542
|
+
property :complete_time, as: 'completeTime'
|
543
|
+
property :create_time, as: 'createTime'
|
544
|
+
property :github_enterprise_config, as: 'githubEnterpriseConfig'
|
545
|
+
end
|
546
|
+
end
|
547
|
+
|
436
548
|
class DeleteWorkerPoolOperationMetadata
|
437
549
|
# @private
|
438
550
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -448,6 +560,14 @@ module Google
|
|
448
560
|
end
|
449
561
|
end
|
450
562
|
|
563
|
+
class FailureInfo
|
564
|
+
# @private
|
565
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
566
|
+
property :detail, as: 'detail'
|
567
|
+
property :type, as: 'type'
|
568
|
+
end
|
569
|
+
end
|
570
|
+
|
451
571
|
class FileHashes
|
452
572
|
# @private
|
453
573
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -456,6 +576,19 @@ module Google
|
|
456
576
|
end
|
457
577
|
end
|
458
578
|
|
579
|
+
class GoogleDevtoolsCloudbuildV2OperationMetadata
|
580
|
+
# @private
|
581
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
582
|
+
property :api_version, as: 'apiVersion'
|
583
|
+
property :create_time, as: 'createTime'
|
584
|
+
property :end_time, as: 'endTime'
|
585
|
+
property :requested_cancellation, as: 'requestedCancellation'
|
586
|
+
property :status_message, as: 'statusMessage'
|
587
|
+
property :target, as: 'target'
|
588
|
+
property :verb, as: 'verb'
|
589
|
+
end
|
590
|
+
end
|
591
|
+
|
459
592
|
class HttpDelivery
|
460
593
|
# @private
|
461
594
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -565,6 +698,19 @@ module Google
|
|
565
698
|
end
|
566
699
|
end
|
567
700
|
|
701
|
+
class OperationMetadata
|
702
|
+
# @private
|
703
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
704
|
+
property :api_version, as: 'apiVersion'
|
705
|
+
property :cancel_requested, as: 'cancelRequested'
|
706
|
+
property :create_time, as: 'createTime'
|
707
|
+
property :end_time, as: 'endTime'
|
708
|
+
property :status_detail, as: 'statusDetail'
|
709
|
+
property :target, as: 'target'
|
710
|
+
property :verb, as: 'verb'
|
711
|
+
end
|
712
|
+
end
|
713
|
+
|
568
714
|
class PoolOption
|
569
715
|
# @private
|
570
716
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -572,6 +718,15 @@ module Google
|
|
572
718
|
end
|
573
719
|
end
|
574
720
|
|
721
|
+
class ProcessAppManifestCallbackOperationMetadata
|
722
|
+
# @private
|
723
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
724
|
+
property :complete_time, as: 'completeTime'
|
725
|
+
property :create_time, as: 'createTime'
|
726
|
+
property :github_enterprise_config, as: 'githubEnterpriseConfig'
|
727
|
+
end
|
728
|
+
end
|
729
|
+
|
575
730
|
class RepoSource
|
576
731
|
# @private
|
577
732
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -708,6 +863,15 @@ module Google
|
|
708
863
|
end
|
709
864
|
end
|
710
865
|
|
866
|
+
class UpdateGitHubEnterpriseConfigOperationMetadata
|
867
|
+
# @private
|
868
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
869
|
+
property :complete_time, as: 'completeTime'
|
870
|
+
property :create_time, as: 'createTime'
|
871
|
+
property :github_enterprise_config, as: 'githubEnterpriseConfig'
|
872
|
+
end
|
873
|
+
end
|
874
|
+
|
711
875
|
class UpdateWorkerPoolOperationMetadata
|
712
876
|
# @private
|
713
877
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -29,7 +29,7 @@ module Google
|
|
29
29
|
# This is NOT the gem version.
|
30
30
|
VERSION = 'V1beta1'
|
31
31
|
|
32
|
-
# See, edit, configure, and delete your Google Cloud
|
32
|
+
# See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
34
34
|
end
|
35
35
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-cloudbuild_v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.10.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: 2021-
|
11
|
+
date: 2021-09-06 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/master/generated/google-apis-cloudbuild_v1beta1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1beta1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1beta1/v0.10.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-cloudbuild_v1beta1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|