google-api-client 0.13.0 → 0.13.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (241) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +3 -0
  3. data/README.md +6 -2
  4. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +46 -46
  5. data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +15 -15
  6. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +4 -4
  7. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  8. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +404 -435
  9. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +107 -121
  10. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +657 -713
  11. data/generated/google/apis/admin_directory_v1.rb +1 -1
  12. data/generated/google/apis/admin_directory_v1/classes.rb +45 -5
  13. data/generated/google/apis/admin_directory_v1/representations.rb +16 -0
  14. data/generated/google/apis/admin_directory_v1/service.rb +4 -1
  15. data/generated/google/apis/admin_reports_v1.rb +1 -1
  16. data/generated/google/apis/adsense_v1_4.rb +1 -1
  17. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  18. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  19. data/generated/google/apis/analyticsreporting_v4/classes.rb +399 -399
  20. data/generated/google/apis/analyticsreporting_v4/representations.rb +101 -101
  21. data/generated/google/apis/analyticsreporting_v4/service.rb +10 -10
  22. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  23. data/generated/google/apis/appengine_v1.rb +4 -4
  24. data/generated/google/apis/appengine_v1/classes.rb +747 -747
  25. data/generated/google/apis/appengine_v1/representations.rb +158 -158
  26. data/generated/google/apis/appengine_v1/service.rb +214 -214
  27. data/generated/google/apis/appsactivity_v1.rb +1 -1
  28. data/generated/google/apis/appstate_v1.rb +1 -1
  29. data/generated/google/apis/bigquery_v2.rb +1 -1
  30. data/generated/google/apis/bigquery_v2/classes.rb +6 -0
  31. data/generated/google/apis/bigquery_v2/representations.rb +2 -0
  32. data/generated/google/apis/calendar_v3.rb +1 -1
  33. data/generated/google/apis/classroom_v1.rb +7 -7
  34. data/generated/google/apis/classroom_v1/classes.rb +517 -515
  35. data/generated/google/apis/classroom_v1/representations.rb +147 -147
  36. data/generated/google/apis/classroom_v1/service.rb +1144 -1143
  37. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  38. data/generated/google/apis/cloudbuild_v1/classes.rb +435 -386
  39. data/generated/google/apis/cloudbuild_v1/representations.rb +133 -115
  40. data/generated/google/apis/cloudbuild_v1/service.rb +148 -148
  41. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  42. data/generated/google/apis/clouddebugger_v2/classes.rb +708 -708
  43. data/generated/google/apis/clouddebugger_v2/representations.rb +146 -146
  44. data/generated/google/apis/clouddebugger_v2/service.rb +124 -124
  45. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  46. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +142 -142
  47. data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +29 -29
  48. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +87 -87
  49. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  50. data/generated/google/apis/cloudfunctions_v1/service.rb +6 -6
  51. data/generated/google/apis/cloudkms_v1.rb +1 -1
  52. data/generated/google/apis/cloudkms_v1/classes.rb +692 -675
  53. data/generated/google/apis/cloudkms_v1/representations.rb +144 -144
  54. data/generated/google/apis/cloudkms_v1/service.rb +276 -276
  55. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  56. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1168 -1168
  57. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +190 -190
  58. data/generated/google/apis/cloudresourcemanager_v1/service.rb +311 -288
  59. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +4 -4
  60. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +406 -406
  61. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +95 -95
  62. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +242 -234
  63. data/generated/google/apis/cloudtrace_v1.rb +4 -4
  64. data/generated/google/apis/cloudtrace_v1/classes.rb +68 -68
  65. data/generated/google/apis/cloudtrace_v1/representations.rb +22 -22
  66. data/generated/google/apis/cloudtrace_v1/service.rb +48 -48
  67. data/generated/google/apis/compute_beta.rb +1 -1
  68. data/generated/google/apis/compute_beta/classes.rb +82 -6
  69. data/generated/google/apis/compute_beta/representations.rb +4 -0
  70. data/generated/google/apis/compute_beta/service.rb +1177 -834
  71. data/generated/google/apis/compute_v1.rb +1 -1
  72. data/generated/google/apis/compute_v1/classes.rb +371 -1
  73. data/generated/google/apis/compute_v1/representations.rb +139 -0
  74. data/generated/google/apis/compute_v1/service.rb +257 -9
  75. data/generated/google/apis/container_v1.rb +1 -1
  76. data/generated/google/apis/container_v1/classes.rb +1122 -826
  77. data/generated/google/apis/container_v1/representations.rb +279 -135
  78. data/generated/google/apis/container_v1/service.rb +440 -98
  79. data/generated/google/apis/content_v2.rb +1 -1
  80. data/generated/google/apis/content_v2/service.rb +3 -1
  81. data/generated/google/apis/customsearch_v1.rb +1 -1
  82. data/generated/google/apis/dataflow_v1b3.rb +4 -4
  83. data/generated/google/apis/dataflow_v1b3/classes.rb +3423 -3423
  84. data/generated/google/apis/dataflow_v1b3/representations.rb +813 -813
  85. data/generated/google/apis/dataflow_v1b3/service.rb +410 -410
  86. data/generated/google/apis/dataproc_v1.rb +1 -1
  87. data/generated/google/apis/dataproc_v1/classes.rb +450 -431
  88. data/generated/google/apis/dataproc_v1/representations.rb +92 -92
  89. data/generated/google/apis/dataproc_v1/service.rb +200 -200
  90. data/generated/google/apis/datastore_v1.rb +4 -4
  91. data/generated/google/apis/datastore_v1/classes.rb +397 -397
  92. data/generated/google/apis/datastore_v1/representations.rb +100 -100
  93. data/generated/google/apis/datastore_v1/service.rb +62 -62
  94. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  95. data/generated/google/apis/deploymentmanager_v2/classes.rb +79 -3
  96. data/generated/google/apis/deploymentmanager_v2/representations.rb +33 -0
  97. data/generated/google/apis/deploymentmanager_v2/service.rb +15 -20
  98. data/generated/google/apis/dns_v1.rb +1 -1
  99. data/generated/google/apis/dns_v2beta1.rb +1 -1
  100. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  101. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +2 -2
  102. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  103. data/generated/google/apis/drive_v2.rb +1 -1
  104. data/generated/google/apis/drive_v2/service.rb +1 -1
  105. data/generated/google/apis/drive_v3.rb +1 -1
  106. data/generated/google/apis/drive_v3/service.rb +1 -1
  107. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  108. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +87 -87
  109. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +27 -27
  110. data/generated/google/apis/firebaserules_v1/classes.rb +271 -271
  111. data/generated/google/apis/firebaserules_v1/representations.rb +82 -82
  112. data/generated/google/apis/firebaserules_v1/service.rb +151 -151
  113. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  114. data/generated/google/apis/games_management_v1management.rb +1 -1
  115. data/generated/google/apis/games_v1.rb +1 -1
  116. data/generated/google/apis/genomics_v1.rb +9 -9
  117. data/generated/google/apis/genomics_v1/classes.rb +2242 -2242
  118. data/generated/google/apis/genomics_v1/representations.rb +306 -306
  119. data/generated/google/apis/genomics_v1/service.rb +1172 -1172
  120. data/generated/google/apis/gmail_v1.rb +1 -1
  121. data/generated/google/apis/iam_v1.rb +1 -1
  122. data/generated/google/apis/iam_v1/classes.rb +243 -243
  123. data/generated/google/apis/iam_v1/representations.rb +79 -79
  124. data/generated/google/apis/iam_v1/service.rb +137 -137
  125. data/generated/google/apis/identitytoolkit_v3.rb +1 -1
  126. data/generated/google/apis/identitytoolkit_v3/classes.rb +18 -0
  127. data/generated/google/apis/identitytoolkit_v3/representations.rb +3 -0
  128. data/generated/google/apis/kgsearch_v1/classes.rb +9 -9
  129. data/generated/google/apis/kgsearch_v1/representations.rb +2 -2
  130. data/generated/google/apis/kgsearch_v1/service.rb +4 -4
  131. data/generated/google/apis/language_v1.rb +1 -1
  132. data/generated/google/apis/language_v1/classes.rb +451 -451
  133. data/generated/google/apis/language_v1/representations.rb +103 -103
  134. data/generated/google/apis/language_v1/service.rb +49 -49
  135. data/generated/google/apis/language_v1beta1.rb +1 -1
  136. data/generated/google/apis/language_v1beta1/classes.rb +459 -459
  137. data/generated/google/apis/language_v1beta1/representations.rb +110 -110
  138. data/generated/google/apis/language_v1beta1/service.rb +43 -43
  139. data/generated/google/apis/logging_v2.rb +8 -8
  140. data/generated/google/apis/logging_v2/classes.rb +915 -915
  141. data/generated/google/apis/logging_v2/representations.rb +142 -142
  142. data/generated/google/apis/logging_v2/service.rb +415 -415
  143. data/generated/google/apis/logging_v2beta1.rb +8 -8
  144. data/generated/google/apis/logging_v2beta1/classes.rb +905 -905
  145. data/generated/google/apis/logging_v2beta1/representations.rb +150 -150
  146. data/generated/google/apis/logging_v2beta1/service.rb +221 -221
  147. data/generated/google/apis/manufacturers_v1.rb +1 -1
  148. data/generated/google/apis/manufacturers_v1/classes.rb +334 -315
  149. data/generated/google/apis/manufacturers_v1/representations.rb +99 -87
  150. data/generated/google/apis/manufacturers_v1/service.rb +101 -4
  151. data/generated/google/apis/ml_v1.rb +1 -1
  152. data/generated/google/apis/ml_v1/classes.rb +709 -673
  153. data/generated/google/apis/ml_v1/representations.rb +154 -151
  154. data/generated/google/apis/ml_v1/service.rb +341 -354
  155. data/generated/google/apis/monitoring_v3.rb +6 -6
  156. data/generated/google/apis/monitoring_v3/classes.rb +869 -869
  157. data/generated/google/apis/monitoring_v3/representations.rb +171 -171
  158. data/generated/google/apis/monitoring_v3/service.rb +340 -340
  159. data/generated/google/apis/partners_v2.rb +1 -1
  160. data/generated/google/apis/partners_v2/classes.rb +1569 -1569
  161. data/generated/google/apis/partners_v2/representations.rb +256 -256
  162. data/generated/google/apis/partners_v2/service.rb +530 -530
  163. data/generated/google/apis/people_v1.rb +7 -7
  164. data/generated/google/apis/people_v1/classes.rb +1287 -946
  165. data/generated/google/apis/people_v1/representations.rb +355 -203
  166. data/generated/google/apis/people_v1/service.rb +409 -32
  167. data/generated/google/apis/plus_domains_v1.rb +1 -1
  168. data/generated/google/apis/plus_v1.rb +1 -1
  169. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  170. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +445 -445
  171. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +104 -104
  172. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +241 -241
  173. data/generated/google/apis/pubsub_v1.rb +4 -4
  174. data/generated/google/apis/pubsub_v1/classes.rb +286 -287
  175. data/generated/google/apis/pubsub_v1/representations.rb +80 -80
  176. data/generated/google/apis/pubsub_v1/service.rb +178 -178
  177. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  178. data/generated/google/apis/runtimeconfig_v1/classes.rb +52 -52
  179. data/generated/google/apis/runtimeconfig_v1/representations.rb +15 -15
  180. data/generated/google/apis/runtimeconfig_v1/service.rb +21 -21
  181. data/generated/google/apis/script_v1.rb +4 -4
  182. data/generated/google/apis/script_v1/classes.rb +172 -172
  183. data/generated/google/apis/script_v1/representations.rb +41 -41
  184. data/generated/google/apis/script_v1/service.rb +6 -6
  185. data/generated/google/apis/searchconsole_v1.rb +1 -1
  186. data/generated/google/apis/searchconsole_v1/classes.rb +6 -6
  187. data/generated/google/apis/searchconsole_v1/representations.rb +1 -1
  188. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  189. data/generated/google/apis/servicecontrol_v1/classes.rb +1110 -1110
  190. data/generated/google/apis/servicecontrol_v1/representations.rb +215 -215
  191. data/generated/google/apis/servicecontrol_v1/service.rb +65 -65
  192. data/generated/google/apis/servicemanagement_v1.rb +6 -6
  193. data/generated/google/apis/servicemanagement_v1/classes.rb +3594 -3562
  194. data/generated/google/apis/servicemanagement_v1/representations.rb +564 -562
  195. data/generated/google/apis/servicemanagement_v1/service.rb +253 -253
  196. data/generated/google/apis/serviceuser_v1.rb +1 -1
  197. data/generated/google/apis/serviceuser_v1/classes.rb +2678 -2670
  198. data/generated/google/apis/serviceuser_v1/representations.rb +269 -268
  199. data/generated/google/apis/serviceuser_v1/service.rb +59 -59
  200. data/generated/google/apis/sheets_v4.rb +5 -5
  201. data/generated/google/apis/sheets_v4/classes.rb +5155 -5104
  202. data/generated/google/apis/sheets_v4/representations.rb +957 -940
  203. data/generated/google/apis/sheets_v4/service.rb +175 -175
  204. data/generated/google/apis/slides_v1.rb +1 -1
  205. data/generated/google/apis/slides_v1/classes.rb +2932 -2905
  206. data/generated/google/apis/slides_v1/representations.rb +709 -694
  207. data/generated/google/apis/slides_v1/service.rb +50 -50
  208. data/generated/google/apis/sourcerepo_v1/classes.rb +139 -139
  209. data/generated/google/apis/sourcerepo_v1/representations.rb +40 -40
  210. data/generated/google/apis/sourcerepo_v1/service.rb +61 -61
  211. data/generated/google/apis/spanner_v1.rb +7 -1
  212. data/generated/google/apis/spanner_v1/classes.rb +2362 -2299
  213. data/generated/google/apis/spanner_v1/representations.rb +342 -323
  214. data/generated/google/apis/spanner_v1/service.rb +502 -492
  215. data/generated/google/apis/speech_v1beta1.rb +1 -1
  216. data/generated/google/apis/speech_v1beta1/classes.rb +244 -244
  217. data/generated/google/apis/speech_v1beta1/representations.rb +52 -52
  218. data/generated/google/apis/speech_v1beta1/service.rb +91 -91
  219. data/generated/google/apis/storage_v1.rb +1 -1
  220. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  221. data/generated/google/apis/storagetransfer_v1/classes.rb +784 -781
  222. data/generated/google/apis/storagetransfer_v1/representations.rb +88 -88
  223. data/generated/google/apis/storagetransfer_v1/service.rb +154 -154
  224. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  225. data/generated/google/apis/toolresults_v1beta3/classes.rb +90 -1
  226. data/generated/google/apis/toolresults_v1beta3/representations.rb +18 -0
  227. data/generated/google/apis/translate_v2/classes.rb +107 -107
  228. data/generated/google/apis/translate_v2/representations.rb +49 -49
  229. data/generated/google/apis/translate_v2/service.rb +81 -81
  230. data/generated/google/apis/vision_v1.rb +4 -1
  231. data/generated/google/apis/vision_v1/classes.rb +527 -527
  232. data/generated/google/apis/vision_v1/representations.rb +115 -115
  233. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  234. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  235. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  236. data/generated/google/apis/youtubereporting_v1/classes.rb +124 -124
  237. data/generated/google/apis/youtubereporting_v1/representations.rb +30 -30
  238. data/generated/google/apis/youtubereporting_v1/service.rb +113 -113
  239. data/lib/google/apis/version.rb +1 -1
  240. data/samples/cli/lib/samples/analytics.rb +2 -2
  241. metadata +2 -2
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/container-builder/docs/
26
26
  module CloudbuildV1
27
27
  VERSION = 'V1'
28
- REVISION = '20170614'
28
+ REVISION = '20170712'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -22,185 +22,6 @@ module Google
22
22
  module Apis
23
23
  module CloudbuildV1
24
24
 
25
- # Request to cancel an ongoing build.
26
- class CancelBuildRequest
27
- include Google::Apis::Core::Hashable
28
-
29
- def initialize(**args)
30
- update!(**args)
31
- end
32
-
33
- # Update properties of this object
34
- def update!(**args)
35
- end
36
- end
37
-
38
- # Response including listed builds.
39
- class ListBuildsResponse
40
- include Google::Apis::Core::Hashable
41
-
42
- # Token to receive the next page of results.
43
- # Corresponds to the JSON property `nextPageToken`
44
- # @return [String]
45
- attr_accessor :next_page_token
46
-
47
- # Builds will be sorted by create_time, descending.
48
- # Corresponds to the JSON property `builds`
49
- # @return [Array<Google::Apis::CloudbuildV1::Build>]
50
- attr_accessor :builds
51
-
52
- def initialize(**args)
53
- update!(**args)
54
- end
55
-
56
- # Update properties of this object
57
- def update!(**args)
58
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
59
- @builds = args[:builds] if args.key?(:builds)
60
- end
61
- end
62
-
63
- # The response message for Operations.ListOperations.
64
- class ListOperationsResponse
65
- include Google::Apis::Core::Hashable
66
-
67
- # A list of operations that matches the specified filter in the request.
68
- # Corresponds to the JSON property `operations`
69
- # @return [Array<Google::Apis::CloudbuildV1::Operation>]
70
- attr_accessor :operations
71
-
72
- # The standard List next-page token.
73
- # Corresponds to the JSON property `nextPageToken`
74
- # @return [String]
75
- attr_accessor :next_page_token
76
-
77
- def initialize(**args)
78
- update!(**args)
79
- end
80
-
81
- # Update properties of this object
82
- def update!(**args)
83
- @operations = args[:operations] if args.key?(:operations)
84
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
85
- end
86
- end
87
-
88
- # Source describes the location of the source in a supported storage
89
- # service.
90
- class Source
91
- include Google::Apis::Core::Hashable
92
-
93
- # StorageSource describes the location of the source in an archive file in
94
- # Google Cloud Storage.
95
- # Corresponds to the JSON property `storageSource`
96
- # @return [Google::Apis::CloudbuildV1::StorageSource]
97
- attr_accessor :storage_source
98
-
99
- # RepoSource describes the location of the source in a Google Cloud Source
100
- # Repository.
101
- # Corresponds to the JSON property `repoSource`
102
- # @return [Google::Apis::CloudbuildV1::RepoSource]
103
- attr_accessor :repo_source
104
-
105
- def initialize(**args)
106
- update!(**args)
107
- end
108
-
109
- # Update properties of this object
110
- def update!(**args)
111
- @storage_source = args[:storage_source] if args.key?(:storage_source)
112
- @repo_source = args[:repo_source] if args.key?(:repo_source)
113
- end
114
- end
115
-
116
- # Optional arguments to enable specific features of builds.
117
- class BuildOptions
118
- include Google::Apis::Core::Hashable
119
-
120
- # Requested hash for SourceProvenance.
121
- # Corresponds to the JSON property `sourceProvenanceHash`
122
- # @return [Array<String>]
123
- attr_accessor :source_provenance_hash
124
-
125
- # Requested verifiability options.
126
- # Corresponds to the JSON property `requestedVerifyOption`
127
- # @return [String]
128
- attr_accessor :requested_verify_option
129
-
130
- def initialize(**args)
131
- update!(**args)
132
- end
133
-
134
- # Update properties of this object
135
- def update!(**args)
136
- @source_provenance_hash = args[:source_provenance_hash] if args.key?(:source_provenance_hash)
137
- @requested_verify_option = args[:requested_verify_option] if args.key?(:requested_verify_option)
138
- end
139
- end
140
-
141
- # StorageSource describes the location of the source in an archive file in
142
- # Google Cloud Storage.
143
- class StorageSource
144
- include Google::Apis::Core::Hashable
145
-
146
- # Google Cloud Storage generation for the object. If the generation is
147
- # omitted, the latest generation will be used.
148
- # Corresponds to the JSON property `generation`
149
- # @return [Fixnum]
150
- attr_accessor :generation
151
-
152
- # Google Cloud Storage bucket containing source (see
153
- # [Bucket Name
154
- # Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)
155
- # ).
156
- # Corresponds to the JSON property `bucket`
157
- # @return [String]
158
- attr_accessor :bucket
159
-
160
- # Google Cloud Storage object containing source.
161
- # This object must be a gzipped archive file (.tar.gz) containing source to
162
- # build.
163
- # Corresponds to the JSON property `object`
164
- # @return [String]
165
- attr_accessor :object
166
-
167
- def initialize(**args)
168
- update!(**args)
169
- end
170
-
171
- # Update properties of this object
172
- def update!(**args)
173
- @generation = args[:generation] if args.key?(:generation)
174
- @bucket = args[:bucket] if args.key?(:bucket)
175
- @object = args[:object] if args.key?(:object)
176
- end
177
- end
178
-
179
- # Results describes the artifacts created by the build pipeline.
180
- class Results
181
- include Google::Apis::Core::Hashable
182
-
183
- # Images that were built as a part of the build.
184
- # Corresponds to the JSON property `images`
185
- # @return [Array<Google::Apis::CloudbuildV1::BuiltImage>]
186
- attr_accessor :images
187
-
188
- # List of build step digests, in order corresponding to build step indices.
189
- # Corresponds to the JSON property `buildStepImages`
190
- # @return [Array<String>]
191
- attr_accessor :build_step_images
192
-
193
- def initialize(**args)
194
- update!(**args)
195
- end
196
-
197
- # Update properties of this object
198
- def update!(**args)
199
- @images = args[:images] if args.key?(:images)
200
- @build_step_images = args[:build_step_images] if args.key?(:build_step_images)
201
- end
202
- end
203
-
204
25
  # Metadata for build operations.
205
26
  class BuildOperationMetadata
206
27
  include Google::Apis::Core::Hashable
@@ -237,12 +58,6 @@ module Google
237
58
  class SourceProvenance
238
59
  include Google::Apis::Core::Hashable
239
60
 
240
- # RepoSource describes the location of the source in a Google Cloud Source
241
- # Repository.
242
- # Corresponds to the JSON property `resolvedRepoSource`
243
- # @return [Google::Apis::CloudbuildV1::RepoSource]
244
- attr_accessor :resolved_repo_source
245
-
246
61
  # StorageSource describes the location of the source in an archive file in
247
62
  # Google Cloud Storage.
248
63
  # Corresponds to the JSON property `resolvedStorageSource`
@@ -261,15 +76,21 @@ module Google
261
76
  # @return [Hash<String,Google::Apis::CloudbuildV1::FileHashes>]
262
77
  attr_accessor :file_hashes
263
78
 
79
+ # RepoSource describes the location of the source in a Google Cloud Source
80
+ # Repository.
81
+ # Corresponds to the JSON property `resolvedRepoSource`
82
+ # @return [Google::Apis::CloudbuildV1::RepoSource]
83
+ attr_accessor :resolved_repo_source
84
+
264
85
  def initialize(**args)
265
86
  update!(**args)
266
87
  end
267
88
 
268
89
  # Update properties of this object
269
90
  def update!(**args)
270
- @resolved_repo_source = args[:resolved_repo_source] if args.key?(:resolved_repo_source)
271
91
  @resolved_storage_source = args[:resolved_storage_source] if args.key?(:resolved_storage_source)
272
92
  @file_hashes = args[:file_hashes] if args.key?(:file_hashes)
93
+ @resolved_repo_source = args[:resolved_repo_source] if args.key?(:resolved_repo_source)
273
94
  end
274
95
  end
275
96
 
@@ -286,19 +107,30 @@ module Google
286
107
  end
287
108
  end
288
109
 
110
+ # Response containing existing BuildTriggers.
111
+ class ListBuildTriggersResponse
112
+ include Google::Apis::Core::Hashable
113
+
114
+ # BuildTriggers for the project, sorted by create_time descending.
115
+ # Corresponds to the JSON property `triggers`
116
+ # @return [Array<Google::Apis::CloudbuildV1::BuildTrigger>]
117
+ attr_accessor :triggers
118
+
119
+ def initialize(**args)
120
+ update!(**args)
121
+ end
122
+
123
+ # Update properties of this object
124
+ def update!(**args)
125
+ @triggers = args[:triggers] if args.key?(:triggers)
126
+ end
127
+ end
128
+
289
129
  # This resource represents a long-running operation that is the result of a
290
130
  # network API call.
291
131
  class Operation
292
132
  include Google::Apis::Core::Hashable
293
133
 
294
- # If the value is `false`, it means the operation is still in progress.
295
- # If true, the operation is completed, and either `error` or `response` is
296
- # available.
297
- # Corresponds to the JSON property `done`
298
- # @return [Boolean]
299
- attr_accessor :done
300
- alias_method :done?, :done
301
-
302
134
  # The normal response of the operation in case of success. If the original
303
135
  # method returns no data on success, such as `Delete`, the response is
304
136
  # `google.protobuf.Empty`. If the original method is standard
@@ -369,36 +201,25 @@ module Google
369
201
  # @return [Hash<String,Object>]
370
202
  attr_accessor :metadata
371
203
 
204
+ # If the value is `false`, it means the operation is still in progress.
205
+ # If true, the operation is completed, and either `error` or `response` is
206
+ # available.
207
+ # Corresponds to the JSON property `done`
208
+ # @return [Boolean]
209
+ attr_accessor :done
210
+ alias_method :done?, :done
211
+
372
212
  def initialize(**args)
373
213
  update!(**args)
374
214
  end
375
215
 
376
216
  # Update properties of this object
377
217
  def update!(**args)
378
- @done = args[:done] if args.key?(:done)
379
218
  @response = args[:response] if args.key?(:response)
380
219
  @name = args[:name] if args.key?(:name)
381
220
  @error = args[:error] if args.key?(:error)
382
221
  @metadata = args[:metadata] if args.key?(:metadata)
383
- end
384
- end
385
-
386
- # Response containing existing BuildTriggers.
387
- class ListBuildTriggersResponse
388
- include Google::Apis::Core::Hashable
389
-
390
- # BuildTriggers for the project, sorted by create_time descending.
391
- # Corresponds to the JSON property `triggers`
392
- # @return [Array<Google::Apis::CloudbuildV1::BuildTrigger>]
393
- attr_accessor :triggers
394
-
395
- def initialize(**args)
396
- update!(**args)
397
- end
398
-
399
- # Update properties of this object
400
- def update!(**args)
401
- @triggers = args[:triggers] if args.key?(:triggers)
222
+ @done = args[:done] if args.key?(:done)
402
223
  end
403
224
  end
404
225
 
@@ -428,15 +249,80 @@ module Google
428
249
  end
429
250
  end
430
251
 
431
- # BuildStep describes a step to perform in the build pipeline.
432
- class BuildStep
252
+ # Container message for hash values.
253
+ class HashProp
433
254
  include Google::Apis::Core::Hashable
434
255
 
435
- # Optional unique identifier for this build step, used in wait_for to
436
- # reference this build step as a dependency.
437
- # Corresponds to the JSON property `id`
256
+ # The hash value.
257
+ # Corresponds to the JSON property `value`
258
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
438
259
  # @return [String]
439
- attr_accessor :id
260
+ attr_accessor :value
261
+
262
+ # The type of hash that was performed.
263
+ # Corresponds to the JSON property `type`
264
+ # @return [String]
265
+ attr_accessor :type
266
+
267
+ def initialize(**args)
268
+ update!(**args)
269
+ end
270
+
271
+ # Update properties of this object
272
+ def update!(**args)
273
+ @value = args[:value] if args.key?(:value)
274
+ @type = args[:type] if args.key?(:type)
275
+ end
276
+ end
277
+
278
+ # RepoSource describes the location of the source in a Google Cloud Source
279
+ # Repository.
280
+ class RepoSource
281
+ include Google::Apis::Core::Hashable
282
+
283
+ # Explicit commit SHA to build.
284
+ # Corresponds to the JSON property `commitSha`
285
+ # @return [String]
286
+ attr_accessor :commit_sha
287
+
288
+ # Name of the tag to build.
289
+ # Corresponds to the JSON property `tagName`
290
+ # @return [String]
291
+ attr_accessor :tag_name
292
+
293
+ # Name of the branch to build.
294
+ # Corresponds to the JSON property `branchName`
295
+ # @return [String]
296
+ attr_accessor :branch_name
297
+
298
+ # Name of the repo. If omitted, the name "default" is assumed.
299
+ # Corresponds to the JSON property `repoName`
300
+ # @return [String]
301
+ attr_accessor :repo_name
302
+
303
+ # ID of the project that owns the repo. If omitted, the project ID requesting
304
+ # the build is assumed.
305
+ # Corresponds to the JSON property `projectId`
306
+ # @return [String]
307
+ attr_accessor :project_id
308
+
309
+ def initialize(**args)
310
+ update!(**args)
311
+ end
312
+
313
+ # Update properties of this object
314
+ def update!(**args)
315
+ @commit_sha = args[:commit_sha] if args.key?(:commit_sha)
316
+ @tag_name = args[:tag_name] if args.key?(:tag_name)
317
+ @branch_name = args[:branch_name] if args.key?(:branch_name)
318
+ @repo_name = args[:repo_name] if args.key?(:repo_name)
319
+ @project_id = args[:project_id] if args.key?(:project_id)
320
+ end
321
+ end
322
+
323
+ # BuildStep describes a step to perform in the build pipeline.
324
+ class BuildStep
325
+ include Google::Apis::Core::Hashable
440
326
 
441
327
  # Working directory (relative to project source root) to use when running
442
328
  # this operation's container.
@@ -444,6 +330,13 @@ module Google
444
330
  # @return [String]
445
331
  attr_accessor :dir
446
332
 
333
+ # A list of environment variable definitions to be used when running a step.
334
+ # The elements are of the form "KEY=VALUE" for the environment variable "KEY"
335
+ # being given the value "VALUE".
336
+ # Corresponds to the JSON property `env`
337
+ # @return [Array<String>]
338
+ attr_accessor :env
339
+
447
340
  # The ID(s) of the step(s) that this build step depends on.
448
341
  # This build step will not start until all the build steps in wait_for
449
342
  # have completed successfully. If wait_for is empty, this build step will
@@ -453,13 +346,6 @@ module Google
453
346
  # @return [Array<String>]
454
347
  attr_accessor :wait_for
455
348
 
456
- # A list of environment variable definitions to be used when running a step.
457
- # The elements are of the form "KEY=VALUE" for the environment variable "KEY"
458
- # being given the value "VALUE".
459
- # Corresponds to the JSON property `env`
460
- # @return [Array<String>]
461
- attr_accessor :env
462
-
463
349
  # A list of arguments that will be presented to the step when it is started.
464
350
  # If the image used to run the step's container has an entrypoint, these args
465
351
  # will be used as arguments to that entrypoint. If the image does not define
@@ -493,52 +379,44 @@ module Google
493
379
  # @return [String]
494
380
  attr_accessor :entrypoint
495
381
 
382
+ # Optional unique identifier for this build step, used in wait_for to
383
+ # reference this build step as a dependency.
384
+ # Corresponds to the JSON property `id`
385
+ # @return [String]
386
+ attr_accessor :id
387
+
388
+ # A list of environment variables which are encrypted using a Cloud KMS
389
+ # crypto key. These values must be specified in the build's secrets.
390
+ # Corresponds to the JSON property `secretEnv`
391
+ # @return [Array<String>]
392
+ attr_accessor :secret_env
393
+
496
394
  def initialize(**args)
497
395
  update!(**args)
498
396
  end
499
397
 
500
398
  # Update properties of this object
501
399
  def update!(**args)
502
- @id = args[:id] if args.key?(:id)
503
400
  @dir = args[:dir] if args.key?(:dir)
504
- @wait_for = args[:wait_for] if args.key?(:wait_for)
505
401
  @env = args[:env] if args.key?(:env)
402
+ @wait_for = args[:wait_for] if args.key?(:wait_for)
506
403
  @args = args[:args] if args.key?(:args)
507
404
  @name = args[:name] if args.key?(:name)
508
405
  @entrypoint = args[:entrypoint] if args.key?(:entrypoint)
406
+ @id = args[:id] if args.key?(:id)
407
+ @secret_env = args[:secret_env] if args.key?(:secret_env)
509
408
  end
510
409
  end
511
410
 
512
- # RepoSource describes the location of the source in a Google Cloud Source
513
- # Repository.
514
- class RepoSource
411
+ # Container message for hashes of byte content of files, used in
412
+ # SourceProvenance messages to verify integrity of source input to the build.
413
+ class FileHashes
515
414
  include Google::Apis::Core::Hashable
516
415
 
517
- # Name of the tag to build.
518
- # Corresponds to the JSON property `tagName`
519
- # @return [String]
520
- attr_accessor :tag_name
521
-
522
- # Explicit commit SHA to build.
523
- # Corresponds to the JSON property `commitSha`
524
- # @return [String]
525
- attr_accessor :commit_sha
526
-
527
- # ID of the project that owns the repo. If omitted, the project ID requesting
528
- # the build is assumed.
529
- # Corresponds to the JSON property `projectId`
530
- # @return [String]
531
- attr_accessor :project_id
532
-
533
- # Name of the repo. If omitted, the name "default" is assumed.
534
- # Corresponds to the JSON property `repoName`
535
- # @return [String]
536
- attr_accessor :repo_name
537
-
538
- # Name of the branch to build.
539
- # Corresponds to the JSON property `branchName`
540
- # @return [String]
541
- attr_accessor :branch_name
416
+ # Collection of file hashes.
417
+ # Corresponds to the JSON property `fileHash`
418
+ # @return [Array<Google::Apis::CloudbuildV1::HashProp>]
419
+ attr_accessor :file_hash
542
420
 
543
421
  def initialize(**args)
544
422
  update!(**args)
@@ -546,49 +424,28 @@ module Google
546
424
 
547
425
  # Update properties of this object
548
426
  def update!(**args)
549
- @tag_name = args[:tag_name] if args.key?(:tag_name)
550
- @commit_sha = args[:commit_sha] if args.key?(:commit_sha)
551
- @project_id = args[:project_id] if args.key?(:project_id)
552
- @repo_name = args[:repo_name] if args.key?(:repo_name)
553
- @branch_name = args[:branch_name] if args.key?(:branch_name)
427
+ @file_hash = args[:file_hash] if args.key?(:file_hash)
554
428
  end
555
429
  end
556
430
 
557
- # Container message for hash values.
558
- class HashProp
431
+ # Secret pairs a set of secret environment variables containing encrypted
432
+ # values with the Cloud KMS key to use to decrypt the value.
433
+ class Secret
559
434
  include Google::Apis::Core::Hashable
560
435
 
561
- # The hash value.
562
- # Corresponds to the JSON property `value`
563
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
564
- # @return [String]
565
- attr_accessor :value
436
+ # Map of environment variable name to its encrypted value.
437
+ # Secret environment variables must be unique across all of a build's
438
+ # secrets, and must be used by at least one build step. Values can be at most
439
+ # 1 KB in size. There can be at most ten secret values across all of a
440
+ # build's secrets.
441
+ # Corresponds to the JSON property `secretEnv`
442
+ # @return [Hash<String,String>]
443
+ attr_accessor :secret_env
566
444
 
567
- # The type of hash that was performed.
568
- # Corresponds to the JSON property `type`
445
+ # Cloud KMS key name to use to decrypt these envs.
446
+ # Corresponds to the JSON property `kmsKeyName`
569
447
  # @return [String]
570
- attr_accessor :type
571
-
572
- def initialize(**args)
573
- update!(**args)
574
- end
575
-
576
- # Update properties of this object
577
- def update!(**args)
578
- @value = args[:value] if args.key?(:value)
579
- @type = args[:type] if args.key?(:type)
580
- end
581
- end
582
-
583
- # Container message for hashes of byte content of files, used in
584
- # SourceProvenance messages to verify integrity of source input to the build.
585
- class FileHashes
586
- include Google::Apis::Core::Hashable
587
-
588
- # Collection of file hashes.
589
- # Corresponds to the JSON property `fileHash`
590
- # @return [Array<Google::Apis::CloudbuildV1::HashProp>]
591
- attr_accessor :file_hash
448
+ attr_accessor :kms_key_name
592
449
 
593
450
  def initialize(**args)
594
451
  update!(**args)
@@ -596,7 +453,8 @@ module Google
596
453
 
597
454
  # Update properties of this object
598
455
  def update!(**args)
599
- @file_hash = args[:file_hash] if args.key?(:file_hash)
456
+ @secret_env = args[:secret_env] if args.key?(:secret_env)
457
+ @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
600
458
  end
601
459
  end
602
460
 
@@ -642,11 +500,6 @@ module Google
642
500
  class Status
643
501
  include Google::Apis::Core::Hashable
644
502
 
645
- # The status code, which should be an enum value of google.rpc.Code.
646
- # Corresponds to the JSON property `code`
647
- # @return [Fixnum]
648
- attr_accessor :code
649
-
650
503
  # A developer-facing error message, which should be in English. Any
651
504
  # user-facing error message should be localized and sent in the
652
505
  # google.rpc.Status.details field, or localized by the client.
@@ -654,21 +507,26 @@ module Google
654
507
  # @return [String]
655
508
  attr_accessor :message
656
509
 
657
- # A list of messages that carry the error details. There will be a
658
- # common set of message types for APIs to use.
510
+ # A list of messages that carry the error details. There is a common set of
511
+ # message types for APIs to use.
659
512
  # Corresponds to the JSON property `details`
660
513
  # @return [Array<Hash<String,Object>>]
661
514
  attr_accessor :details
662
515
 
516
+ # The status code, which should be an enum value of google.rpc.Code.
517
+ # Corresponds to the JSON property `code`
518
+ # @return [Fixnum]
519
+ attr_accessor :code
520
+
663
521
  def initialize(**args)
664
522
  update!(**args)
665
523
  end
666
524
 
667
525
  # Update properties of this object
668
526
  def update!(**args)
669
- @code = args[:code] if args.key?(:code)
670
527
  @message = args[:message] if args.key?(:message)
671
528
  @details = args[:details] if args.key?(:details)
529
+ @code = args[:code] if args.key?(:code)
672
530
  end
673
531
  end
674
532
 
@@ -786,17 +644,69 @@ module Google
786
644
  class Build
787
645
  include Google::Apis::Core::Hashable
788
646
 
789
- # Customer-readable message about the current status.
647
+ # Substitutions data for Build resource.
648
+ # Corresponds to the JSON property `substitutions`
649
+ # @return [Hash<String,String>]
650
+ attr_accessor :substitutions
651
+
652
+ # Time at which execution of the build was started.
790
653
  # @OutputOnly
791
- # Corresponds to the JSON property `statusDetail`
654
+ # Corresponds to the JSON property `startTime`
792
655
  # @return [String]
793
- attr_accessor :status_detail
656
+ attr_accessor :start_time
794
657
 
795
- # Status of the build.
658
+ # Provenance of the source. Ways to find the original source, or verify that
659
+ # some source was used for this build.
660
+ # Corresponds to the JSON property `sourceProvenance`
661
+ # @return [Google::Apis::CloudbuildV1::SourceProvenance]
662
+ attr_accessor :source_provenance
663
+
664
+ # Time at which the request to create the build was received.
796
665
  # @OutputOnly
797
- # Corresponds to the JSON property `status`
666
+ # Corresponds to the JSON property `createTime`
798
667
  # @return [String]
799
- attr_accessor :status
668
+ attr_accessor :create_time
669
+
670
+ # A list of images to be pushed upon the successful completion of all build
671
+ # steps.
672
+ # The images will be pushed using the builder service account's credentials.
673
+ # The digests of the pushed images will be stored in the Build resource's
674
+ # results field.
675
+ # If any of the images fail to be pushed, the build is marked FAILURE.
676
+ # Corresponds to the JSON property `images`
677
+ # @return [Array<String>]
678
+ attr_accessor :images
679
+
680
+ # ID of the project.
681
+ # @OutputOnly.
682
+ # Corresponds to the JSON property `projectId`
683
+ # @return [String]
684
+ attr_accessor :project_id
685
+
686
+ # Time at which execution of the build was finished.
687
+ # The difference between finish_time and start_time is the duration of the
688
+ # build's execution.
689
+ # @OutputOnly
690
+ # Corresponds to the JSON property `finishTime`
691
+ # @return [String]
692
+ attr_accessor :finish_time
693
+
694
+ # URL to logs for this build in Google Cloud Logging.
695
+ # @OutputOnly
696
+ # Corresponds to the JSON property `logUrl`
697
+ # @return [String]
698
+ attr_accessor :log_url
699
+
700
+ # Source describes the location of the source in a supported storage
701
+ # service.
702
+ # Corresponds to the JSON property `source`
703
+ # @return [Google::Apis::CloudbuildV1::Source]
704
+ attr_accessor :source
705
+
706
+ # Optional arguments to enable specific features of builds.
707
+ # Corresponds to the JSON property `options`
708
+ # @return [Google::Apis::CloudbuildV1::BuildOptions]
709
+ attr_accessor :options
800
710
 
801
711
  # Amount of time that this build should be allowed to run, to second
802
712
  # granularity. If this amount of time elapses, work on the build will cease
@@ -806,20 +716,37 @@ module Google
806
716
  # @return [String]
807
717
  attr_accessor :timeout
808
718
 
809
- # Google Cloud Storage bucket where logs should be written (see
810
- # [Bucket Name
811
- # Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)
812
- # ).
813
- # Logs file names will be of the format `$`logs_bucket`/log-$`build_id`.txt`.
814
- # Corresponds to the JSON property `logsBucket`
719
+ # Status of the build.
720
+ # @OutputOnly
721
+ # Corresponds to the JSON property `status`
815
722
  # @return [String]
816
- attr_accessor :logs_bucket
723
+ attr_accessor :status
724
+
725
+ # Customer-readable message about the current status.
726
+ # @OutputOnly
727
+ # Corresponds to the JSON property `statusDetail`
728
+ # @return [String]
729
+ attr_accessor :status_detail
730
+
731
+ # Secrets to decrypt using Cloud KMS.
732
+ # Corresponds to the JSON property `secrets`
733
+ # @return [Array<Google::Apis::CloudbuildV1::Secret>]
734
+ attr_accessor :secrets
817
735
 
818
736
  # Results describes the artifacts created by the build pipeline.
819
737
  # Corresponds to the JSON property `results`
820
738
  # @return [Google::Apis::CloudbuildV1::Results]
821
739
  attr_accessor :results
822
740
 
741
+ # Google Cloud Storage bucket where logs should be written (see
742
+ # [Bucket Name
743
+ # Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)
744
+ # ).
745
+ # Logs file names will be of the format `$`logs_bucket`/log-$`build_id`.txt`.
746
+ # Corresponds to the JSON property `logsBucket`
747
+ # @return [String]
748
+ attr_accessor :logs_bucket
749
+
823
750
  # Describes the operations to be performed on the workspace.
824
751
  # Corresponds to the JSON property `steps`
825
752
  # @return [Array<Google::Apis::CloudbuildV1::BuildStep>]
@@ -832,80 +759,219 @@ module Google
832
759
  # @return [String]
833
760
  attr_accessor :build_trigger_id
834
761
 
835
- # Tags for annotation of a Build. These are not docker tags.
836
- # Corresponds to the JSON property `tags`
837
- # @return [Array<String>]
838
- attr_accessor :tags
839
-
840
762
  # Unique identifier of the build.
841
763
  # @OutputOnly
842
764
  # Corresponds to the JSON property `id`
843
765
  # @return [String]
844
766
  attr_accessor :id
845
767
 
846
- # Time at which execution of the build was started.
847
- # @OutputOnly
848
- # Corresponds to the JSON property `startTime`
768
+ # Tags for annotation of a Build. These are not docker tags.
769
+ # Corresponds to the JSON property `tags`
770
+ # @return [Array<String>]
771
+ attr_accessor :tags
772
+
773
+ def initialize(**args)
774
+ update!(**args)
775
+ end
776
+
777
+ # Update properties of this object
778
+ def update!(**args)
779
+ @substitutions = args[:substitutions] if args.key?(:substitutions)
780
+ @start_time = args[:start_time] if args.key?(:start_time)
781
+ @source_provenance = args[:source_provenance] if args.key?(:source_provenance)
782
+ @create_time = args[:create_time] if args.key?(:create_time)
783
+ @images = args[:images] if args.key?(:images)
784
+ @project_id = args[:project_id] if args.key?(:project_id)
785
+ @finish_time = args[:finish_time] if args.key?(:finish_time)
786
+ @log_url = args[:log_url] if args.key?(:log_url)
787
+ @source = args[:source] if args.key?(:source)
788
+ @options = args[:options] if args.key?(:options)
789
+ @timeout = args[:timeout] if args.key?(:timeout)
790
+ @status = args[:status] if args.key?(:status)
791
+ @status_detail = args[:status_detail] if args.key?(:status_detail)
792
+ @secrets = args[:secrets] if args.key?(:secrets)
793
+ @results = args[:results] if args.key?(:results)
794
+ @logs_bucket = args[:logs_bucket] if args.key?(:logs_bucket)
795
+ @steps = args[:steps] if args.key?(:steps)
796
+ @build_trigger_id = args[:build_trigger_id] if args.key?(:build_trigger_id)
797
+ @id = args[:id] if args.key?(:id)
798
+ @tags = args[:tags] if args.key?(:tags)
799
+ end
800
+ end
801
+
802
+ # Request to cancel an ongoing build.
803
+ class CancelBuildRequest
804
+ include Google::Apis::Core::Hashable
805
+
806
+ def initialize(**args)
807
+ update!(**args)
808
+ end
809
+
810
+ # Update properties of this object
811
+ def update!(**args)
812
+ end
813
+ end
814
+
815
+ # Response including listed builds.
816
+ class ListBuildsResponse
817
+ include Google::Apis::Core::Hashable
818
+
819
+ # Token to receive the next page of results.
820
+ # Corresponds to the JSON property `nextPageToken`
849
821
  # @return [String]
850
- attr_accessor :start_time
822
+ attr_accessor :next_page_token
851
823
 
852
- # Substitutions data for Build resource.
853
- # Corresponds to the JSON property `substitutions`
854
- # @return [Hash<String,String>]
855
- attr_accessor :substitutions
824
+ # Builds will be sorted by create_time, descending.
825
+ # Corresponds to the JSON property `builds`
826
+ # @return [Array<Google::Apis::CloudbuildV1::Build>]
827
+ attr_accessor :builds
856
828
 
857
- # Time at which the request to create the build was received.
858
- # @OutputOnly
859
- # Corresponds to the JSON property `createTime`
829
+ def initialize(**args)
830
+ update!(**args)
831
+ end
832
+
833
+ # Update properties of this object
834
+ def update!(**args)
835
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
836
+ @builds = args[:builds] if args.key?(:builds)
837
+ end
838
+ end
839
+
840
+ # The response message for Operations.ListOperations.
841
+ class ListOperationsResponse
842
+ include Google::Apis::Core::Hashable
843
+
844
+ # The standard List next-page token.
845
+ # Corresponds to the JSON property `nextPageToken`
860
846
  # @return [String]
861
- attr_accessor :create_time
847
+ attr_accessor :next_page_token
862
848
 
863
- # Provenance of the source. Ways to find the original source, or verify that
864
- # some source was used for this build.
865
- # Corresponds to the JSON property `sourceProvenance`
866
- # @return [Google::Apis::CloudbuildV1::SourceProvenance]
867
- attr_accessor :source_provenance
849
+ # A list of operations that matches the specified filter in the request.
850
+ # Corresponds to the JSON property `operations`
851
+ # @return [Array<Google::Apis::CloudbuildV1::Operation>]
852
+ attr_accessor :operations
868
853
 
869
- # A list of images to be pushed upon the successful completion of all build
870
- # steps.
871
- # The images will be pushed using the builder service account's credentials.
872
- # The digests of the pushed images will be stored in the Build resource's
873
- # results field.
874
- # If any of the images fail to be pushed, the build is marked FAILURE.
875
- # Corresponds to the JSON property `images`
854
+ def initialize(**args)
855
+ update!(**args)
856
+ end
857
+
858
+ # Update properties of this object
859
+ def update!(**args)
860
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
861
+ @operations = args[:operations] if args.key?(:operations)
862
+ end
863
+ end
864
+
865
+ # Source describes the location of the source in a supported storage
866
+ # service.
867
+ class Source
868
+ include Google::Apis::Core::Hashable
869
+
870
+ # StorageSource describes the location of the source in an archive file in
871
+ # Google Cloud Storage.
872
+ # Corresponds to the JSON property `storageSource`
873
+ # @return [Google::Apis::CloudbuildV1::StorageSource]
874
+ attr_accessor :storage_source
875
+
876
+ # RepoSource describes the location of the source in a Google Cloud Source
877
+ # Repository.
878
+ # Corresponds to the JSON property `repoSource`
879
+ # @return [Google::Apis::CloudbuildV1::RepoSource]
880
+ attr_accessor :repo_source
881
+
882
+ def initialize(**args)
883
+ update!(**args)
884
+ end
885
+
886
+ # Update properties of this object
887
+ def update!(**args)
888
+ @storage_source = args[:storage_source] if args.key?(:storage_source)
889
+ @repo_source = args[:repo_source] if args.key?(:repo_source)
890
+ end
891
+ end
892
+
893
+ # Optional arguments to enable specific features of builds.
894
+ class BuildOptions
895
+ include Google::Apis::Core::Hashable
896
+
897
+ # Requested hash for SourceProvenance.
898
+ # Corresponds to the JSON property `sourceProvenanceHash`
876
899
  # @return [Array<String>]
877
- attr_accessor :images
900
+ attr_accessor :source_provenance_hash
878
901
 
879
- # ID of the project.
880
- # @OutputOnly.
881
- # Corresponds to the JSON property `projectId`
902
+ # SubstitutionOption to allow unmatch substitutions.
903
+ # Corresponds to the JSON property `substitutionOption`
882
904
  # @return [String]
883
- attr_accessor :project_id
905
+ attr_accessor :substitution_option
884
906
 
885
- # Time at which execution of the build was finished.
886
- # The difference between finish_time and start_time is the duration of the
887
- # build's execution.
888
- # @OutputOnly
889
- # Corresponds to the JSON property `finishTime`
907
+ # Requested verifiability options.
908
+ # Corresponds to the JSON property `requestedVerifyOption`
890
909
  # @return [String]
891
- attr_accessor :finish_time
910
+ attr_accessor :requested_verify_option
892
911
 
893
- # URL to logs for this build in Google Cloud Logging.
894
- # @OutputOnly
895
- # Corresponds to the JSON property `logUrl`
912
+ def initialize(**args)
913
+ update!(**args)
914
+ end
915
+
916
+ # Update properties of this object
917
+ def update!(**args)
918
+ @source_provenance_hash = args[:source_provenance_hash] if args.key?(:source_provenance_hash)
919
+ @substitution_option = args[:substitution_option] if args.key?(:substitution_option)
920
+ @requested_verify_option = args[:requested_verify_option] if args.key?(:requested_verify_option)
921
+ end
922
+ end
923
+
924
+ # StorageSource describes the location of the source in an archive file in
925
+ # Google Cloud Storage.
926
+ class StorageSource
927
+ include Google::Apis::Core::Hashable
928
+
929
+ # Google Cloud Storage generation for the object. If the generation is
930
+ # omitted, the latest generation will be used.
931
+ # Corresponds to the JSON property `generation`
932
+ # @return [Fixnum]
933
+ attr_accessor :generation
934
+
935
+ # Google Cloud Storage bucket containing source (see
936
+ # [Bucket Name
937
+ # Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)
938
+ # ).
939
+ # Corresponds to the JSON property `bucket`
896
940
  # @return [String]
897
- attr_accessor :log_url
941
+ attr_accessor :bucket
898
942
 
899
- # Source describes the location of the source in a supported storage
900
- # service.
901
- # Corresponds to the JSON property `source`
902
- # @return [Google::Apis::CloudbuildV1::Source]
903
- attr_accessor :source
943
+ # Google Cloud Storage object containing source.
944
+ # This object must be a gzipped archive file (.tar.gz) containing source to
945
+ # build.
946
+ # Corresponds to the JSON property `object`
947
+ # @return [String]
948
+ attr_accessor :object
904
949
 
905
- # Optional arguments to enable specific features of builds.
906
- # Corresponds to the JSON property `options`
907
- # @return [Google::Apis::CloudbuildV1::BuildOptions]
908
- attr_accessor :options
950
+ def initialize(**args)
951
+ update!(**args)
952
+ end
953
+
954
+ # Update properties of this object
955
+ def update!(**args)
956
+ @generation = args[:generation] if args.key?(:generation)
957
+ @bucket = args[:bucket] if args.key?(:bucket)
958
+ @object = args[:object] if args.key?(:object)
959
+ end
960
+ end
961
+
962
+ # Results describes the artifacts created by the build pipeline.
963
+ class Results
964
+ include Google::Apis::Core::Hashable
965
+
966
+ # List of build step digests, in order corresponding to build step indices.
967
+ # Corresponds to the JSON property `buildStepImages`
968
+ # @return [Array<String>]
969
+ attr_accessor :build_step_images
970
+
971
+ # Images that were built as a part of the build.
972
+ # Corresponds to the JSON property `images`
973
+ # @return [Array<Google::Apis::CloudbuildV1::BuiltImage>]
974
+ attr_accessor :images
909
975
 
910
976
  def initialize(**args)
911
977
  update!(**args)
@@ -913,25 +979,8 @@ module Google
913
979
 
914
980
  # Update properties of this object
915
981
  def update!(**args)
916
- @status_detail = args[:status_detail] if args.key?(:status_detail)
917
- @status = args[:status] if args.key?(:status)
918
- @timeout = args[:timeout] if args.key?(:timeout)
919
- @logs_bucket = args[:logs_bucket] if args.key?(:logs_bucket)
920
- @results = args[:results] if args.key?(:results)
921
- @steps = args[:steps] if args.key?(:steps)
922
- @build_trigger_id = args[:build_trigger_id] if args.key?(:build_trigger_id)
923
- @tags = args[:tags] if args.key?(:tags)
924
- @id = args[:id] if args.key?(:id)
925
- @start_time = args[:start_time] if args.key?(:start_time)
926
- @substitutions = args[:substitutions] if args.key?(:substitutions)
927
- @create_time = args[:create_time] if args.key?(:create_time)
928
- @source_provenance = args[:source_provenance] if args.key?(:source_provenance)
982
+ @build_step_images = args[:build_step_images] if args.key?(:build_step_images)
929
983
  @images = args[:images] if args.key?(:images)
930
- @project_id = args[:project_id] if args.key?(:project_id)
931
- @finish_time = args[:finish_time] if args.key?(:finish_time)
932
- @log_url = args[:log_url] if args.key?(:log_url)
933
- @source = args[:source] if args.key?(:source)
934
- @options = args[:options] if args.key?(:options)
935
984
  end
936
985
  end
937
986
  end