google-apis-cloudbuild_v1 0.11.0 → 0.15.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 +16 -0
- data/lib/google/apis/cloudbuild_v1/classes.rb +709 -24
- data/lib/google/apis/cloudbuild_v1/gem_version.rb +2 -2
- data/lib/google/apis/cloudbuild_v1/representations.rb +273 -0
- data/lib/google/apis/cloudbuild_v1/service.rb +481 -1
- data/lib/google/apis/cloudbuild_v1.rb +1 -1
- 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: 1da500922f22b1bb0d503eee2d179dd584f058f12282211898b2bf693b20ca3e
|
4
|
+
data.tar.gz: 83766d324b3fcc38b3eb6afe6454c80fc9b7c714261acb607c9d712322a0c012
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5ebf85ef4554a2c24f3e8bdda93d2056a9d1fb520a2d615d70a07f5c9bd0d26397b2b3e37fbb0cf898cd0b720c5b23bcbd178f06cf9125689172c07f58352bae
|
7
|
+
data.tar.gz: 92ca51f5357d7f765d3612948023c12c9446bbdc4c4620043cfbbd3b29b0d13948440f72473eb4c3c73ae88c0aba47e27134bc70cdc868fb82d8c955889589f1
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-cloudbuild_v1
|
2
2
|
|
3
|
+
### v0.15.0 (2021-09-01)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210813
|
6
|
+
|
7
|
+
### v0.14.0 (2021-08-03)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210730
|
10
|
+
|
11
|
+
### v0.13.0 (2021-07-27)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210723
|
14
|
+
|
15
|
+
### v0.12.0 (2021-07-20)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210715
|
18
|
+
|
3
19
|
### v0.11.0 (2021-07-13)
|
4
20
|
|
5
21
|
* Regenerated from discovery document revision 20210709
|
@@ -22,6 +22,95 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module CloudbuildV1
|
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
|
+
|
94
|
+
# Request to approve or reject a pending build.
|
95
|
+
class ApproveBuildRequest
|
96
|
+
include Google::Apis::Core::Hashable
|
97
|
+
|
98
|
+
# ApprovalResult describes the decision and associated metadata of a manual
|
99
|
+
# approval of a build.
|
100
|
+
# Corresponds to the JSON property `approvalResult`
|
101
|
+
# @return [Google::Apis::CloudbuildV1::ApprovalResult]
|
102
|
+
attr_accessor :approval_result
|
103
|
+
|
104
|
+
def initialize(**args)
|
105
|
+
update!(**args)
|
106
|
+
end
|
107
|
+
|
108
|
+
# Update properties of this object
|
109
|
+
def update!(**args)
|
110
|
+
@approval_result = args[:approval_result] if args.key?(:approval_result)
|
111
|
+
end
|
112
|
+
end
|
113
|
+
|
25
114
|
# Files in the workspace to upload to Cloud Storage upon successful completion
|
26
115
|
# of all build steps.
|
27
116
|
class ArtifactObjects
|
@@ -120,15 +209,21 @@ module Google
|
|
120
209
|
# run on the source), and where to store the built artifacts. Fields can include
|
121
210
|
# the following variables, which will be expanded when the build is created: - $
|
122
211
|
# 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 $
|
212
|
+
# of the build. - $LOCATION: the location/region of the build. - $BUILD_ID: the
|
213
|
+
# autogenerated ID of the build. - $REPO_NAME: the source repository name
|
214
|
+
# specified by RepoSource. - $BRANCH_NAME: the branch name specified by
|
215
|
+
# RepoSource. - $TAG_NAME: the tag name specified by RepoSource. - $REVISION_ID
|
216
|
+
# or $COMMIT_SHA: the commit SHA specified by RepoSource or resolved from the
|
217
|
+
# specified branch or tag. - $SHORT_SHA: first 7 characters of $REVISION_ID or $
|
218
|
+
# COMMIT_SHA.
|
129
219
|
class Build
|
130
220
|
include Google::Apis::Core::Hashable
|
131
221
|
|
222
|
+
# BuildApproval describes a build's approval configuration, state, and result.
|
223
|
+
# Corresponds to the JSON property `approval`
|
224
|
+
# @return [Google::Apis::CloudbuildV1::BuildApproval]
|
225
|
+
attr_accessor :approval
|
226
|
+
|
132
227
|
# Artifacts produced by a build that should be uploaded upon successful
|
133
228
|
# completion of all build steps.
|
134
229
|
# Corresponds to the JSON property `artifacts`
|
@@ -151,6 +246,11 @@ module Google
|
|
151
246
|
# @return [String]
|
152
247
|
attr_accessor :create_time
|
153
248
|
|
249
|
+
# A fatal problem encountered during the execution of the build.
|
250
|
+
# Corresponds to the JSON property `failureInfo`
|
251
|
+
# @return [Google::Apis::CloudbuildV1::FailureInfo]
|
252
|
+
attr_accessor :failure_info
|
253
|
+
|
154
254
|
# Output only. Time at which execution of the build was finished. The difference
|
155
255
|
# between finish_time and start_time is the duration of the build's execution.
|
156
256
|
# Corresponds to the JSON property `finishTime`
|
@@ -278,9 +378,10 @@ module Google
|
|
278
378
|
attr_accessor :timeout
|
279
379
|
|
280
380
|
# 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
|
381
|
+
# * BUILD: time to execute all build steps. * PUSH: time to push all specified
|
382
|
+
# images. * FETCHSOURCE: time to fetch source. * SETUPBUILD: time to set up
|
383
|
+
# build. If the build does not specify source or images, these keys will not be
|
384
|
+
# included.
|
284
385
|
# Corresponds to the JSON property `timing`
|
285
386
|
# @return [Hash<String,Google::Apis::CloudbuildV1::TimeSpan>]
|
286
387
|
attr_accessor :timing
|
@@ -296,10 +397,12 @@ module Google
|
|
296
397
|
|
297
398
|
# Update properties of this object
|
298
399
|
def update!(**args)
|
400
|
+
@approval = args[:approval] if args.key?(:approval)
|
299
401
|
@artifacts = args[:artifacts] if args.key?(:artifacts)
|
300
402
|
@available_secrets = args[:available_secrets] if args.key?(:available_secrets)
|
301
403
|
@build_trigger_id = args[:build_trigger_id] if args.key?(:build_trigger_id)
|
302
404
|
@create_time = args[:create_time] if args.key?(:create_time)
|
405
|
+
@failure_info = args[:failure_info] if args.key?(:failure_info)
|
303
406
|
@finish_time = args[:finish_time] if args.key?(:finish_time)
|
304
407
|
@id = args[:id] if args.key?(:id)
|
305
408
|
@images = args[:images] if args.key?(:images)
|
@@ -326,6 +429,38 @@ module Google
|
|
326
429
|
end
|
327
430
|
end
|
328
431
|
|
432
|
+
# BuildApproval describes a build's approval configuration, state, and result.
|
433
|
+
class BuildApproval
|
434
|
+
include Google::Apis::Core::Hashable
|
435
|
+
|
436
|
+
# ApprovalConfig describes configuration for manual approval of a build.
|
437
|
+
# Corresponds to the JSON property `config`
|
438
|
+
# @return [Google::Apis::CloudbuildV1::ApprovalConfig]
|
439
|
+
attr_accessor :config
|
440
|
+
|
441
|
+
# ApprovalResult describes the decision and associated metadata of a manual
|
442
|
+
# approval of a build.
|
443
|
+
# Corresponds to the JSON property `result`
|
444
|
+
# @return [Google::Apis::CloudbuildV1::ApprovalResult]
|
445
|
+
attr_accessor :result
|
446
|
+
|
447
|
+
# Output only. The state of this build's approval.
|
448
|
+
# Corresponds to the JSON property `state`
|
449
|
+
# @return [String]
|
450
|
+
attr_accessor :state
|
451
|
+
|
452
|
+
def initialize(**args)
|
453
|
+
update!(**args)
|
454
|
+
end
|
455
|
+
|
456
|
+
# Update properties of this object
|
457
|
+
def update!(**args)
|
458
|
+
@config = args[:config] if args.key?(:config)
|
459
|
+
@result = args[:result] if args.key?(:result)
|
460
|
+
@state = args[:state] if args.key?(:state)
|
461
|
+
end
|
462
|
+
end
|
463
|
+
|
329
464
|
# Metadata for build operations.
|
330
465
|
class BuildOperationMetadata
|
331
466
|
include Google::Apis::Core::Hashable
|
@@ -335,12 +470,13 @@ module Google
|
|
335
470
|
# run on the source), and where to store the built artifacts. Fields can include
|
336
471
|
# the following variables, which will be expanded when the build is created: - $
|
337
472
|
# 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 $
|
473
|
+
# of the build. - $LOCATION: the location/region of the build. - $BUILD_ID: the
|
474
|
+
# autogenerated ID of the build. - $REPO_NAME: the source repository name
|
475
|
+
# specified by RepoSource. - $BRANCH_NAME: the branch name specified by
|
476
|
+
# RepoSource. - $TAG_NAME: the tag name specified by RepoSource. - $REVISION_ID
|
477
|
+
# or $COMMIT_SHA: the commit SHA specified by RepoSource or resolved from the
|
478
|
+
# specified branch or tag. - $SHORT_SHA: first 7 characters of $REVISION_ID or $
|
479
|
+
# COMMIT_SHA.
|
344
480
|
# Corresponds to the JSON property `build`
|
345
481
|
# @return [Google::Apis::CloudbuildV1::Build]
|
346
482
|
attr_accessor :build
|
@@ -533,6 +669,12 @@ module Google
|
|
533
669
|
# @return [Google::Apis::CloudbuildV1::TimeSpan]
|
534
670
|
attr_accessor :pull_timing
|
535
671
|
|
672
|
+
# A shell script to be executed in the step. When script is provided, the user
|
673
|
+
# cannot specify the entrypoint or args.
|
674
|
+
# Corresponds to the JSON property `script`
|
675
|
+
# @return [String]
|
676
|
+
attr_accessor :script
|
677
|
+
|
536
678
|
# A list of environment variables which are encrypted using a Cloud Key
|
537
679
|
# Management Service crypto key. These values must be specified in the build's `
|
538
680
|
# Secret`.
|
@@ -589,6 +731,7 @@ module Google
|
|
589
731
|
@id = args[:id] if args.key?(:id)
|
590
732
|
@name = args[:name] if args.key?(:name)
|
591
733
|
@pull_timing = args[:pull_timing] if args.key?(:pull_timing)
|
734
|
+
@script = args[:script] if args.key?(:script)
|
592
735
|
@secret_env = args[:secret_env] if args.key?(:secret_env)
|
593
736
|
@status = args[:status] if args.key?(:status)
|
594
737
|
@timeout = args[:timeout] if args.key?(:timeout)
|
@@ -602,6 +745,11 @@ module Google
|
|
602
745
|
class BuildTrigger
|
603
746
|
include Google::Apis::Core::Hashable
|
604
747
|
|
748
|
+
# ApprovalConfig describes configuration for manual approval of a build.
|
749
|
+
# Corresponds to the JSON property `approvalConfig`
|
750
|
+
# @return [Google::Apis::CloudbuildV1::ApprovalConfig]
|
751
|
+
attr_accessor :approval_config
|
752
|
+
|
605
753
|
# Autodetect build configuration. The following precedence is used (case
|
606
754
|
# insensitive): 1. cloudbuild.yaml 2. cloudbuild.yml 3. cloudbuild.json 4.
|
607
755
|
# Dockerfile Currently only available for GitHub App Triggers.
|
@@ -615,12 +763,13 @@ module Google
|
|
615
763
|
# run on the source), and where to store the built artifacts. Fields can include
|
616
764
|
# the following variables, which will be expanded when the build is created: - $
|
617
765
|
# PROJECT_ID: the project ID of the build. - $PROJECT_NUMBER: the project number
|
618
|
-
# of the build. - $
|
619
|
-
#
|
620
|
-
#
|
621
|
-
# RepoSource. - $
|
622
|
-
#
|
623
|
-
# characters of $REVISION_ID or $
|
766
|
+
# of the build. - $LOCATION: the location/region of the build. - $BUILD_ID: the
|
767
|
+
# autogenerated ID of the build. - $REPO_NAME: the source repository name
|
768
|
+
# specified by RepoSource. - $BRANCH_NAME: the branch name specified by
|
769
|
+
# RepoSource. - $TAG_NAME: the tag name specified by RepoSource. - $REVISION_ID
|
770
|
+
# or $COMMIT_SHA: the commit SHA specified by RepoSource or resolved from the
|
771
|
+
# specified branch or tag. - $SHORT_SHA: first 7 characters of $REVISION_ID or $
|
772
|
+
# COMMIT_SHA.
|
624
773
|
# Corresponds to the JSON property `build`
|
625
774
|
# @return [Google::Apis::CloudbuildV1::Build]
|
626
775
|
attr_accessor :build
|
@@ -647,13 +796,18 @@ module Google
|
|
647
796
|
# @return [String]
|
648
797
|
attr_accessor :filename
|
649
798
|
|
650
|
-
#
|
799
|
+
# A Common Expression Language string.
|
651
800
|
# Corresponds to the JSON property `filter`
|
652
801
|
# @return [String]
|
653
802
|
attr_accessor :filter
|
654
803
|
|
804
|
+
# GitFileSource describes a file within a (possibly remote) code repository.
|
805
|
+
# Corresponds to the JSON property `gitFileSource`
|
806
|
+
# @return [Google::Apis::CloudbuildV1::GitFileSource]
|
807
|
+
attr_accessor :git_file_source
|
808
|
+
|
655
809
|
# GitHubEventsConfig describes the configuration of a trigger that creates a
|
656
|
-
# build whenever a GitHub event is received.
|
810
|
+
# build whenever a GitHub event is received.
|
657
811
|
# Corresponds to the JSON property `github`
|
658
812
|
# @return [Google::Apis::CloudbuildV1::GitHubEventsConfig]
|
659
813
|
attr_accessor :github
|
@@ -704,6 +858,20 @@ module Google
|
|
704
858
|
# @return [String]
|
705
859
|
attr_accessor :resource_name
|
706
860
|
|
861
|
+
# The service account used for all user-controlled operations including
|
862
|
+
# UpdateBuildTrigger, RunBuildTrigger, CreateBuild, and CancelBuild. If no
|
863
|
+
# service account is set, then the standard Cloud Build service account ([
|
864
|
+
# PROJECT_NUM]@system.gserviceaccount.com) will be used instead. Format: `
|
865
|
+
# projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT_ID_OR_EMAIL``
|
866
|
+
# Corresponds to the JSON property `serviceAccount`
|
867
|
+
# @return [String]
|
868
|
+
attr_accessor :service_account
|
869
|
+
|
870
|
+
# GitRepoSource describes a repo and ref of a code repository.
|
871
|
+
# Corresponds to the JSON property `sourceToBuild`
|
872
|
+
# @return [Google::Apis::CloudbuildV1::GitRepoSource]
|
873
|
+
attr_accessor :source_to_build
|
874
|
+
|
707
875
|
# Substitutions for Build resource. The keys must match the following regular
|
708
876
|
# expression: `^_[A-Z0-9_]+$`.
|
709
877
|
# Corresponds to the JSON property `substitutions`
|
@@ -732,6 +900,7 @@ module Google
|
|
732
900
|
|
733
901
|
# Update properties of this object
|
734
902
|
def update!(**args)
|
903
|
+
@approval_config = args[:approval_config] if args.key?(:approval_config)
|
735
904
|
@autodetect = args[:autodetect] if args.key?(:autodetect)
|
736
905
|
@build = args[:build] if args.key?(:build)
|
737
906
|
@create_time = args[:create_time] if args.key?(:create_time)
|
@@ -739,6 +908,7 @@ module Google
|
|
739
908
|
@disabled = args[:disabled] if args.key?(:disabled)
|
740
909
|
@filename = args[:filename] if args.key?(:filename)
|
741
910
|
@filter = args[:filter] if args.key?(:filter)
|
911
|
+
@git_file_source = args[:git_file_source] if args.key?(:git_file_source)
|
742
912
|
@github = args[:github] if args.key?(:github)
|
743
913
|
@id = args[:id] if args.key?(:id)
|
744
914
|
@ignored_files = args[:ignored_files] if args.key?(:ignored_files)
|
@@ -746,6 +916,8 @@ module Google
|
|
746
916
|
@name = args[:name] if args.key?(:name)
|
747
917
|
@pubsub_config = args[:pubsub_config] if args.key?(:pubsub_config)
|
748
918
|
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
919
|
+
@service_account = args[:service_account] if args.key?(:service_account)
|
920
|
+
@source_to_build = args[:source_to_build] if args.key?(:source_to_build)
|
749
921
|
@substitutions = args[:substitutions] if args.key?(:substitutions)
|
750
922
|
@tags = args[:tags] if args.key?(:tags)
|
751
923
|
@trigger_template = args[:trigger_template] if args.key?(:trigger_template)
|
@@ -830,6 +1002,38 @@ module Google
|
|
830
1002
|
end
|
831
1003
|
end
|
832
1004
|
|
1005
|
+
# Metadata for `CreateGithubEnterpriseConfig` operation.
|
1006
|
+
class CreateGitHubEnterpriseConfigOperationMetadata
|
1007
|
+
include Google::Apis::Core::Hashable
|
1008
|
+
|
1009
|
+
# Time the operation was completed.
|
1010
|
+
# Corresponds to the JSON property `completeTime`
|
1011
|
+
# @return [String]
|
1012
|
+
attr_accessor :complete_time
|
1013
|
+
|
1014
|
+
# Time the operation was created.
|
1015
|
+
# Corresponds to the JSON property `createTime`
|
1016
|
+
# @return [String]
|
1017
|
+
attr_accessor :create_time
|
1018
|
+
|
1019
|
+
# The resource name of the GitHubEnterprise to be created. Format: `projects/`
|
1020
|
+
# project`/locations/`location`/githubEnterpriseConfigs/`id``.
|
1021
|
+
# Corresponds to the JSON property `githubEnterpriseConfig`
|
1022
|
+
# @return [String]
|
1023
|
+
attr_accessor :github_enterprise_config
|
1024
|
+
|
1025
|
+
def initialize(**args)
|
1026
|
+
update!(**args)
|
1027
|
+
end
|
1028
|
+
|
1029
|
+
# Update properties of this object
|
1030
|
+
def update!(**args)
|
1031
|
+
@complete_time = args[:complete_time] if args.key?(:complete_time)
|
1032
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
1033
|
+
@github_enterprise_config = args[:github_enterprise_config] if args.key?(:github_enterprise_config)
|
1034
|
+
end
|
1035
|
+
end
|
1036
|
+
|
833
1037
|
# Metadata for the `CreateWorkerPool` operation.
|
834
1038
|
class CreateWorkerPoolOperationMetadata
|
835
1039
|
include Google::Apis::Core::Hashable
|
@@ -862,6 +1066,38 @@ module Google
|
|
862
1066
|
end
|
863
1067
|
end
|
864
1068
|
|
1069
|
+
# Metadata for `DeleteGitHubEnterpriseConfig` operation.
|
1070
|
+
class DeleteGitHubEnterpriseConfigOperationMetadata
|
1071
|
+
include Google::Apis::Core::Hashable
|
1072
|
+
|
1073
|
+
# Time the operation was completed.
|
1074
|
+
# Corresponds to the JSON property `completeTime`
|
1075
|
+
# @return [String]
|
1076
|
+
attr_accessor :complete_time
|
1077
|
+
|
1078
|
+
# Time the operation was created.
|
1079
|
+
# Corresponds to the JSON property `createTime`
|
1080
|
+
# @return [String]
|
1081
|
+
attr_accessor :create_time
|
1082
|
+
|
1083
|
+
# The resource name of the GitHubEnterprise to be deleted. Format: `projects/`
|
1084
|
+
# project`/locations/`location`/githubEnterpriseConfigs/`id``.
|
1085
|
+
# Corresponds to the JSON property `githubEnterpriseConfig`
|
1086
|
+
# @return [String]
|
1087
|
+
attr_accessor :github_enterprise_config
|
1088
|
+
|
1089
|
+
def initialize(**args)
|
1090
|
+
update!(**args)
|
1091
|
+
end
|
1092
|
+
|
1093
|
+
# Update properties of this object
|
1094
|
+
def update!(**args)
|
1095
|
+
@complete_time = args[:complete_time] if args.key?(:complete_time)
|
1096
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
1097
|
+
@github_enterprise_config = args[:github_enterprise_config] if args.key?(:github_enterprise_config)
|
1098
|
+
end
|
1099
|
+
end
|
1100
|
+
|
865
1101
|
# Metadata for the `DeleteWorkerPool` operation.
|
866
1102
|
class DeleteWorkerPoolOperationMetadata
|
867
1103
|
include Google::Apis::Core::Hashable
|
@@ -911,6 +1147,31 @@ module Google
|
|
911
1147
|
end
|
912
1148
|
end
|
913
1149
|
|
1150
|
+
# A fatal problem encountered during the execution of the build.
|
1151
|
+
class FailureInfo
|
1152
|
+
include Google::Apis::Core::Hashable
|
1153
|
+
|
1154
|
+
# Explains the failure issue in more detail using hard-coded text.
|
1155
|
+
# Corresponds to the JSON property `detail`
|
1156
|
+
# @return [String]
|
1157
|
+
attr_accessor :detail
|
1158
|
+
|
1159
|
+
# The name of the failure.
|
1160
|
+
# Corresponds to the JSON property `type`
|
1161
|
+
# @return [String]
|
1162
|
+
attr_accessor :type
|
1163
|
+
|
1164
|
+
def initialize(**args)
|
1165
|
+
update!(**args)
|
1166
|
+
end
|
1167
|
+
|
1168
|
+
# Update properties of this object
|
1169
|
+
def update!(**args)
|
1170
|
+
@detail = args[:detail] if args.key?(:detail)
|
1171
|
+
@type = args[:type] if args.key?(:type)
|
1172
|
+
end
|
1173
|
+
end
|
1174
|
+
|
914
1175
|
# Container message for hashes of byte content of files, used in
|
915
1176
|
# SourceProvenance messages to verify integrity of source input to the build.
|
916
1177
|
class FileHashes
|
@@ -931,11 +1192,202 @@ module Google
|
|
931
1192
|
end
|
932
1193
|
end
|
933
1194
|
|
1195
|
+
# GitFileSource describes a file within a (possibly remote) code repository.
|
1196
|
+
class GitFileSource
|
1197
|
+
include Google::Apis::Core::Hashable
|
1198
|
+
|
1199
|
+
# The path of the file, with the repo root as the root of the path.
|
1200
|
+
# Corresponds to the JSON property `path`
|
1201
|
+
# @return [String]
|
1202
|
+
attr_accessor :path
|
1203
|
+
|
1204
|
+
# See RepoType above.
|
1205
|
+
# Corresponds to the JSON property `repoType`
|
1206
|
+
# @return [String]
|
1207
|
+
attr_accessor :repo_type
|
1208
|
+
|
1209
|
+
# The branch, tag, arbitrary ref, or SHA version of the repo to use when
|
1210
|
+
# resolving the filename (optional). This field respects the same syntax/
|
1211
|
+
# resolution as described here: https://git-scm.com/docs/gitrevisions If
|
1212
|
+
# unspecified, the revision from which the trigger invocation originated is
|
1213
|
+
# assumed to be the revision from which to read the specified path.
|
1214
|
+
# Corresponds to the JSON property `revision`
|
1215
|
+
# @return [String]
|
1216
|
+
attr_accessor :revision
|
1217
|
+
|
1218
|
+
# The URI of the repo (optional). If unspecified, the repo from which the
|
1219
|
+
# trigger invocation originated is assumed to be the repo from which to read the
|
1220
|
+
# specified path.
|
1221
|
+
# Corresponds to the JSON property `uri`
|
1222
|
+
# @return [String]
|
1223
|
+
attr_accessor :uri
|
1224
|
+
|
1225
|
+
def initialize(**args)
|
1226
|
+
update!(**args)
|
1227
|
+
end
|
1228
|
+
|
1229
|
+
# Update properties of this object
|
1230
|
+
def update!(**args)
|
1231
|
+
@path = args[:path] if args.key?(:path)
|
1232
|
+
@repo_type = args[:repo_type] if args.key?(:repo_type)
|
1233
|
+
@revision = args[:revision] if args.key?(:revision)
|
1234
|
+
@uri = args[:uri] if args.key?(:uri)
|
1235
|
+
end
|
1236
|
+
end
|
1237
|
+
|
1238
|
+
# GitHubEnterpriseConfig represents a configuration for a GitHub Enterprise
|
1239
|
+
# server.
|
1240
|
+
class GitHubEnterpriseConfig
|
1241
|
+
include Google::Apis::Core::Hashable
|
1242
|
+
|
1243
|
+
# Required. The GitHub app id of the Cloud Build app on the GitHub Enterprise
|
1244
|
+
# server.
|
1245
|
+
# Corresponds to the JSON property `appId`
|
1246
|
+
# @return [Fixnum]
|
1247
|
+
attr_accessor :app_id
|
1248
|
+
|
1249
|
+
# Output only. Time when the installation was associated with the project.
|
1250
|
+
# Corresponds to the JSON property `createTime`
|
1251
|
+
# @return [String]
|
1252
|
+
attr_accessor :create_time
|
1253
|
+
|
1254
|
+
# Name to display for this config.
|
1255
|
+
# Corresponds to the JSON property `displayName`
|
1256
|
+
# @return [String]
|
1257
|
+
attr_accessor :display_name
|
1258
|
+
|
1259
|
+
# The URL of the github enterprise host the configuration is for.
|
1260
|
+
# Corresponds to the JSON property `hostUrl`
|
1261
|
+
# @return [String]
|
1262
|
+
attr_accessor :host_url
|
1263
|
+
|
1264
|
+
# Optional. The full resource name for the GitHubEnterpriseConfig For example: "
|
1265
|
+
# projects/`$project_id`/githubEnterpriseConfigs/`$config_id`"
|
1266
|
+
# Corresponds to the JSON property `name`
|
1267
|
+
# @return [String]
|
1268
|
+
attr_accessor :name
|
1269
|
+
|
1270
|
+
# Optional. The network to be used when reaching out to the GitHub Enterprise
|
1271
|
+
# server. The VPC network must be enabled for private service connection. This
|
1272
|
+
# should be set if the GitHub Enterprise server is hosted on-premises and not
|
1273
|
+
# reachable by public internet. If this field is left empty, no network peering
|
1274
|
+
# will occur and calls to the GitHub Enterprise server will be made over the
|
1275
|
+
# public internet. Must be in the format `projects/`project`/global/networks/`
|
1276
|
+
# network``, where `project` is a project number or id and `network` is the name
|
1277
|
+
# of a VPC network in the project.
|
1278
|
+
# Corresponds to the JSON property `peeredNetwork`
|
1279
|
+
# @return [String]
|
1280
|
+
attr_accessor :peered_network
|
1281
|
+
|
1282
|
+
# GitHubEnterpriseSecrets represents the names of all necessary secrets in
|
1283
|
+
# Secret Manager for a GitHub Enterprise server. Format is: projects//secrets/.
|
1284
|
+
# Corresponds to the JSON property `secrets`
|
1285
|
+
# @return [Google::Apis::CloudbuildV1::GitHubEnterpriseSecrets]
|
1286
|
+
attr_accessor :secrets
|
1287
|
+
|
1288
|
+
# Optional. SSL certificate to use for requests to GitHub Enterprise.
|
1289
|
+
# Corresponds to the JSON property `sslCa`
|
1290
|
+
# @return [String]
|
1291
|
+
attr_accessor :ssl_ca
|
1292
|
+
|
1293
|
+
# The key that should be attached to webhook calls to the ReceiveWebhook
|
1294
|
+
# endpoint.
|
1295
|
+
# Corresponds to the JSON property `webhookKey`
|
1296
|
+
# @return [String]
|
1297
|
+
attr_accessor :webhook_key
|
1298
|
+
|
1299
|
+
def initialize(**args)
|
1300
|
+
update!(**args)
|
1301
|
+
end
|
1302
|
+
|
1303
|
+
# Update properties of this object
|
1304
|
+
def update!(**args)
|
1305
|
+
@app_id = args[:app_id] if args.key?(:app_id)
|
1306
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
1307
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
1308
|
+
@host_url = args[:host_url] if args.key?(:host_url)
|
1309
|
+
@name = args[:name] if args.key?(:name)
|
1310
|
+
@peered_network = args[:peered_network] if args.key?(:peered_network)
|
1311
|
+
@secrets = args[:secrets] if args.key?(:secrets)
|
1312
|
+
@ssl_ca = args[:ssl_ca] if args.key?(:ssl_ca)
|
1313
|
+
@webhook_key = args[:webhook_key] if args.key?(:webhook_key)
|
1314
|
+
end
|
1315
|
+
end
|
1316
|
+
|
1317
|
+
# GitHubEnterpriseSecrets represents the names of all necessary secrets in
|
1318
|
+
# Secret Manager for a GitHub Enterprise server. Format is: projects//secrets/.
|
1319
|
+
class GitHubEnterpriseSecrets
|
1320
|
+
include Google::Apis::Core::Hashable
|
1321
|
+
|
1322
|
+
# The resource name for the OAuth client ID secret in Secret Manager.
|
1323
|
+
# Corresponds to the JSON property `oauthClientIdName`
|
1324
|
+
# @return [String]
|
1325
|
+
attr_accessor :oauth_client_id_name
|
1326
|
+
|
1327
|
+
# The resource name for the OAuth client ID secret version in Secret Manager.
|
1328
|
+
# Corresponds to the JSON property `oauthClientIdVersionName`
|
1329
|
+
# @return [String]
|
1330
|
+
attr_accessor :oauth_client_id_version_name
|
1331
|
+
|
1332
|
+
# The resource name for the OAuth secret in Secret Manager.
|
1333
|
+
# Corresponds to the JSON property `oauthSecretName`
|
1334
|
+
# @return [String]
|
1335
|
+
attr_accessor :oauth_secret_name
|
1336
|
+
|
1337
|
+
# The resource name for the OAuth secret secret version in Secret Manager.
|
1338
|
+
# Corresponds to the JSON property `oauthSecretVersionName`
|
1339
|
+
# @return [String]
|
1340
|
+
attr_accessor :oauth_secret_version_name
|
1341
|
+
|
1342
|
+
# The resource name for the private key secret.
|
1343
|
+
# Corresponds to the JSON property `privateKeyName`
|
1344
|
+
# @return [String]
|
1345
|
+
attr_accessor :private_key_name
|
1346
|
+
|
1347
|
+
# The resource name for the private key secret version.
|
1348
|
+
# Corresponds to the JSON property `privateKeyVersionName`
|
1349
|
+
# @return [String]
|
1350
|
+
attr_accessor :private_key_version_name
|
1351
|
+
|
1352
|
+
# The resource name for the webhook secret in Secret Manager.
|
1353
|
+
# Corresponds to the JSON property `webhookSecretName`
|
1354
|
+
# @return [String]
|
1355
|
+
attr_accessor :webhook_secret_name
|
1356
|
+
|
1357
|
+
# The resource name for the webhook secret secret version in Secret Manager.
|
1358
|
+
# Corresponds to the JSON property `webhookSecretVersionName`
|
1359
|
+
# @return [String]
|
1360
|
+
attr_accessor :webhook_secret_version_name
|
1361
|
+
|
1362
|
+
def initialize(**args)
|
1363
|
+
update!(**args)
|
1364
|
+
end
|
1365
|
+
|
1366
|
+
# Update properties of this object
|
1367
|
+
def update!(**args)
|
1368
|
+
@oauth_client_id_name = args[:oauth_client_id_name] if args.key?(:oauth_client_id_name)
|
1369
|
+
@oauth_client_id_version_name = args[:oauth_client_id_version_name] if args.key?(:oauth_client_id_version_name)
|
1370
|
+
@oauth_secret_name = args[:oauth_secret_name] if args.key?(:oauth_secret_name)
|
1371
|
+
@oauth_secret_version_name = args[:oauth_secret_version_name] if args.key?(:oauth_secret_version_name)
|
1372
|
+
@private_key_name = args[:private_key_name] if args.key?(:private_key_name)
|
1373
|
+
@private_key_version_name = args[:private_key_version_name] if args.key?(:private_key_version_name)
|
1374
|
+
@webhook_secret_name = args[:webhook_secret_name] if args.key?(:webhook_secret_name)
|
1375
|
+
@webhook_secret_version_name = args[:webhook_secret_version_name] if args.key?(:webhook_secret_version_name)
|
1376
|
+
end
|
1377
|
+
end
|
1378
|
+
|
934
1379
|
# GitHubEventsConfig describes the configuration of a trigger that creates a
|
935
|
-
# build whenever a GitHub event is received.
|
1380
|
+
# build whenever a GitHub event is received.
|
936
1381
|
class GitHubEventsConfig
|
937
1382
|
include Google::Apis::Core::Hashable
|
938
1383
|
|
1384
|
+
# Optional. The resource name of the github enterprise config that should be
|
1385
|
+
# applied to this installation. For example: "projects/`$project_id`/
|
1386
|
+
# githubEnterpriseConfigs/`$config_id`"
|
1387
|
+
# Corresponds to the JSON property `enterpriseConfigResourceName`
|
1388
|
+
# @return [String]
|
1389
|
+
attr_accessor :enterprise_config_resource_name
|
1390
|
+
|
939
1391
|
# The installationID that emits the GitHub event.
|
940
1392
|
# Corresponds to the JSON property `installationId`
|
941
1393
|
# @return [Fixnum]
|
@@ -969,6 +1421,7 @@ module Google
|
|
969
1421
|
|
970
1422
|
# Update properties of this object
|
971
1423
|
def update!(**args)
|
1424
|
+
@enterprise_config_resource_name = args[:enterprise_config_resource_name] if args.key?(:enterprise_config_resource_name)
|
972
1425
|
@installation_id = args[:installation_id] if args.key?(:installation_id)
|
973
1426
|
@name = args[:name] if args.key?(:name)
|
974
1427
|
@owner = args[:owner] if args.key?(:owner)
|
@@ -977,6 +1430,96 @@ module Google
|
|
977
1430
|
end
|
978
1431
|
end
|
979
1432
|
|
1433
|
+
# GitRepoSource describes a repo and ref of a code repository.
|
1434
|
+
class GitRepoSource
|
1435
|
+
include Google::Apis::Core::Hashable
|
1436
|
+
|
1437
|
+
# The branch or tag to use. Must start with "refs/" (required).
|
1438
|
+
# Corresponds to the JSON property `ref`
|
1439
|
+
# @return [String]
|
1440
|
+
attr_accessor :ref
|
1441
|
+
|
1442
|
+
# See RepoType below.
|
1443
|
+
# Corresponds to the JSON property `repoType`
|
1444
|
+
# @return [String]
|
1445
|
+
attr_accessor :repo_type
|
1446
|
+
|
1447
|
+
# The URI of the repo (required).
|
1448
|
+
# Corresponds to the JSON property `uri`
|
1449
|
+
# @return [String]
|
1450
|
+
attr_accessor :uri
|
1451
|
+
|
1452
|
+
def initialize(**args)
|
1453
|
+
update!(**args)
|
1454
|
+
end
|
1455
|
+
|
1456
|
+
# Update properties of this object
|
1457
|
+
def update!(**args)
|
1458
|
+
@ref = args[:ref] if args.key?(:ref)
|
1459
|
+
@repo_type = args[:repo_type] if args.key?(:repo_type)
|
1460
|
+
@uri = args[:uri] if args.key?(:uri)
|
1461
|
+
end
|
1462
|
+
end
|
1463
|
+
|
1464
|
+
# Represents the metadata of the long-running operation.
|
1465
|
+
class GoogleDevtoolsCloudbuildV2OperationMetadata
|
1466
|
+
include Google::Apis::Core::Hashable
|
1467
|
+
|
1468
|
+
# Output only. API version used to start the operation.
|
1469
|
+
# Corresponds to the JSON property `apiVersion`
|
1470
|
+
# @return [String]
|
1471
|
+
attr_accessor :api_version
|
1472
|
+
|
1473
|
+
# Output only. The time the operation was created.
|
1474
|
+
# Corresponds to the JSON property `createTime`
|
1475
|
+
# @return [String]
|
1476
|
+
attr_accessor :create_time
|
1477
|
+
|
1478
|
+
# Output only. The time the operation finished running.
|
1479
|
+
# Corresponds to the JSON property `endTime`
|
1480
|
+
# @return [String]
|
1481
|
+
attr_accessor :end_time
|
1482
|
+
|
1483
|
+
# Output only. Identifies whether the user has requested cancellation of the
|
1484
|
+
# operation. Operations that have successfully been cancelled have Operation.
|
1485
|
+
# error value with a google.rpc.Status.code of 1, corresponding to `Code.
|
1486
|
+
# CANCELLED`.
|
1487
|
+
# Corresponds to the JSON property `requestedCancellation`
|
1488
|
+
# @return [Boolean]
|
1489
|
+
attr_accessor :requested_cancellation
|
1490
|
+
alias_method :requested_cancellation?, :requested_cancellation
|
1491
|
+
|
1492
|
+
# Output only. Human-readable status of the operation, if any.
|
1493
|
+
# Corresponds to the JSON property `statusMessage`
|
1494
|
+
# @return [String]
|
1495
|
+
attr_accessor :status_message
|
1496
|
+
|
1497
|
+
# Output only. Server-defined resource path for the target of the operation.
|
1498
|
+
# Corresponds to the JSON property `target`
|
1499
|
+
# @return [String]
|
1500
|
+
attr_accessor :target
|
1501
|
+
|
1502
|
+
# Output only. Name of the verb executed by the operation.
|
1503
|
+
# Corresponds to the JSON property `verb`
|
1504
|
+
# @return [String]
|
1505
|
+
attr_accessor :verb
|
1506
|
+
|
1507
|
+
def initialize(**args)
|
1508
|
+
update!(**args)
|
1509
|
+
end
|
1510
|
+
|
1511
|
+
# Update properties of this object
|
1512
|
+
def update!(**args)
|
1513
|
+
@api_version = args[:api_version] if args.key?(:api_version)
|
1514
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
1515
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
1516
|
+
@requested_cancellation = args[:requested_cancellation] if args.key?(:requested_cancellation)
|
1517
|
+
@status_message = args[:status_message] if args.key?(:status_message)
|
1518
|
+
@target = args[:target] if args.key?(:target)
|
1519
|
+
@verb = args[:verb] if args.key?(:verb)
|
1520
|
+
end
|
1521
|
+
end
|
1522
|
+
|
980
1523
|
# HTTPDelivery is the delivery configuration for an HTTP notification.
|
981
1524
|
class HttpDelivery
|
982
1525
|
include Google::Apis::Core::Hashable
|
@@ -1151,6 +1694,25 @@ module Google
|
|
1151
1694
|
end
|
1152
1695
|
end
|
1153
1696
|
|
1697
|
+
# RPC response object returned by ListGithubEnterpriseConfigs RPC method.
|
1698
|
+
class ListGithubEnterpriseConfigsResponse
|
1699
|
+
include Google::Apis::Core::Hashable
|
1700
|
+
|
1701
|
+
# A list of GitHubEnterpriseConfigs
|
1702
|
+
# Corresponds to the JSON property `configs`
|
1703
|
+
# @return [Array<Google::Apis::CloudbuildV1::GitHubEnterpriseConfig>]
|
1704
|
+
attr_accessor :configs
|
1705
|
+
|
1706
|
+
def initialize(**args)
|
1707
|
+
update!(**args)
|
1708
|
+
end
|
1709
|
+
|
1710
|
+
# Update properties of this object
|
1711
|
+
def update!(**args)
|
1712
|
+
@configs = args[:configs] if args.key?(:configs)
|
1713
|
+
end
|
1714
|
+
end
|
1715
|
+
|
1154
1716
|
# Response containing existing `WorkerPools`.
|
1155
1717
|
class ListWorkerPoolsResponse
|
1156
1718
|
include Google::Apis::Core::Hashable
|
@@ -1462,6 +2024,65 @@ module Google
|
|
1462
2024
|
end
|
1463
2025
|
end
|
1464
2026
|
|
2027
|
+
# Represents the metadata of the long-running operation.
|
2028
|
+
class OperationMetadata
|
2029
|
+
include Google::Apis::Core::Hashable
|
2030
|
+
|
2031
|
+
# Output only. API version used to start the operation.
|
2032
|
+
# Corresponds to the JSON property `apiVersion`
|
2033
|
+
# @return [String]
|
2034
|
+
attr_accessor :api_version
|
2035
|
+
|
2036
|
+
# Output only. Identifies whether the user has requested cancellation of the
|
2037
|
+
# operation. Operations that have been cancelled successfully have Operation.
|
2038
|
+
# error value with a google.rpc.Status.code of 1, corresponding to `Code.
|
2039
|
+
# CANCELLED`.
|
2040
|
+
# Corresponds to the JSON property `cancelRequested`
|
2041
|
+
# @return [Boolean]
|
2042
|
+
attr_accessor :cancel_requested
|
2043
|
+
alias_method :cancel_requested?, :cancel_requested
|
2044
|
+
|
2045
|
+
# Output only. The time the operation was created.
|
2046
|
+
# Corresponds to the JSON property `createTime`
|
2047
|
+
# @return [String]
|
2048
|
+
attr_accessor :create_time
|
2049
|
+
|
2050
|
+
# Output only. The time the operation finished running.
|
2051
|
+
# Corresponds to the JSON property `endTime`
|
2052
|
+
# @return [String]
|
2053
|
+
attr_accessor :end_time
|
2054
|
+
|
2055
|
+
# Output only. Human-readable status of the operation, if any.
|
2056
|
+
# Corresponds to the JSON property `statusDetail`
|
2057
|
+
# @return [String]
|
2058
|
+
attr_accessor :status_detail
|
2059
|
+
|
2060
|
+
# Output only. Server-defined resource path for the target of the operation.
|
2061
|
+
# Corresponds to the JSON property `target`
|
2062
|
+
# @return [String]
|
2063
|
+
attr_accessor :target
|
2064
|
+
|
2065
|
+
# Output only. Name of the verb executed by the operation.
|
2066
|
+
# Corresponds to the JSON property `verb`
|
2067
|
+
# @return [String]
|
2068
|
+
attr_accessor :verb
|
2069
|
+
|
2070
|
+
def initialize(**args)
|
2071
|
+
update!(**args)
|
2072
|
+
end
|
2073
|
+
|
2074
|
+
# Update properties of this object
|
2075
|
+
def update!(**args)
|
2076
|
+
@api_version = args[:api_version] if args.key?(:api_version)
|
2077
|
+
@cancel_requested = args[:cancel_requested] if args.key?(:cancel_requested)
|
2078
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
2079
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
2080
|
+
@status_detail = args[:status_detail] if args.key?(:status_detail)
|
2081
|
+
@target = args[:target] if args.key?(:target)
|
2082
|
+
@verb = args[:verb] if args.key?(:verb)
|
2083
|
+
end
|
2084
|
+
end
|
2085
|
+
|
1465
2086
|
# Details about how a build should be executed on a `WorkerPool`. See [running
|
1466
2087
|
# builds in a private pool](https://cloud.google.com/build/docs/private-pools/
|
1467
2088
|
# run-builds-in-private-pool) for more information.
|
@@ -1510,6 +2131,38 @@ module Google
|
|
1510
2131
|
end
|
1511
2132
|
end
|
1512
2133
|
|
2134
|
+
# Metadata for `ProcessAppManifestCallback` operation.
|
2135
|
+
class ProcessAppManifestCallbackOperationMetadata
|
2136
|
+
include Google::Apis::Core::Hashable
|
2137
|
+
|
2138
|
+
# Time the operation was completed.
|
2139
|
+
# Corresponds to the JSON property `completeTime`
|
2140
|
+
# @return [String]
|
2141
|
+
attr_accessor :complete_time
|
2142
|
+
|
2143
|
+
# Time the operation was created.
|
2144
|
+
# Corresponds to the JSON property `createTime`
|
2145
|
+
# @return [String]
|
2146
|
+
attr_accessor :create_time
|
2147
|
+
|
2148
|
+
# The resource name of the GitHubEnterprise to be created. Format: `projects/`
|
2149
|
+
# project`/locations/`location`/githubEnterpriseConfigs/`id``.
|
2150
|
+
# Corresponds to the JSON property `githubEnterpriseConfig`
|
2151
|
+
# @return [String]
|
2152
|
+
attr_accessor :github_enterprise_config
|
2153
|
+
|
2154
|
+
def initialize(**args)
|
2155
|
+
update!(**args)
|
2156
|
+
end
|
2157
|
+
|
2158
|
+
# Update properties of this object
|
2159
|
+
def update!(**args)
|
2160
|
+
@complete_time = args[:complete_time] if args.key?(:complete_time)
|
2161
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
2162
|
+
@github_enterprise_config = args[:github_enterprise_config] if args.key?(:github_enterprise_config)
|
2163
|
+
end
|
2164
|
+
end
|
2165
|
+
|
1513
2166
|
# PubsubConfig describes the configuration of a trigger that creates a build
|
1514
2167
|
# whenever a Pub/Sub message is published.
|
1515
2168
|
class PubsubConfig
|
@@ -2195,6 +2848,38 @@ module Google
|
|
2195
2848
|
end
|
2196
2849
|
end
|
2197
2850
|
|
2851
|
+
# Metadata for `UpdateGitHubEnterpriseConfig` operation.
|
2852
|
+
class UpdateGitHubEnterpriseConfigOperationMetadata
|
2853
|
+
include Google::Apis::Core::Hashable
|
2854
|
+
|
2855
|
+
# Time the operation was completed.
|
2856
|
+
# Corresponds to the JSON property `completeTime`
|
2857
|
+
# @return [String]
|
2858
|
+
attr_accessor :complete_time
|
2859
|
+
|
2860
|
+
# Time the operation was created.
|
2861
|
+
# Corresponds to the JSON property `createTime`
|
2862
|
+
# @return [String]
|
2863
|
+
attr_accessor :create_time
|
2864
|
+
|
2865
|
+
# The resource name of the GitHubEnterprise to be updated. Format: `projects/`
|
2866
|
+
# project`/locations/`location`/githubEnterpriseConfigs/`id``.
|
2867
|
+
# Corresponds to the JSON property `githubEnterpriseConfig`
|
2868
|
+
# @return [String]
|
2869
|
+
attr_accessor :github_enterprise_config
|
2870
|
+
|
2871
|
+
def initialize(**args)
|
2872
|
+
update!(**args)
|
2873
|
+
end
|
2874
|
+
|
2875
|
+
# Update properties of this object
|
2876
|
+
def update!(**args)
|
2877
|
+
@complete_time = args[:complete_time] if args.key?(:complete_time)
|
2878
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
2879
|
+
@github_enterprise_config = args[:github_enterprise_config] if args.key?(:github_enterprise_config)
|
2880
|
+
end
|
2881
|
+
end
|
2882
|
+
|
2198
2883
|
# Metadata for the `UpdateWorkerPool` operation.
|
2199
2884
|
class UpdateWorkerPoolOperationMetadata
|
2200
2885
|
include Google::Apis::Core::Hashable
|