google-apis-cloudbuild_v1alpha1 0.9.0 → 0.13.0

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