google-apis-cloudbuild_v1 0.11.0 → 0.12.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: '09592abbe48b024a1944d02de2c5f25bddcca6589561e993ec837f0ce74c334c'
4
- data.tar.gz: 10599468130bc2e05729afa5dbf6cd32abd0432d2bfa62e0cbe237b4f47a269b
3
+ metadata.gz: 2c725716abc02710eb56c63df004599aa4cedce2c1501d71f617bb9481b516b2
4
+ data.tar.gz: c6d13805990b81654bea8cb3157efc544cf10c84df187ef3000ad7f12224194d
5
5
  SHA512:
6
- metadata.gz: d313166b43e19a599c318941118129c38b6918a608b50cdd867ae66bfb65d7d9f5d5e9c0c19538fa1962ad654b893bc273fc1819422c52a771d41fa9114e1110
7
- data.tar.gz: fdce81118cd049d88a856b1c3b6692c2e2f64bb7a2fb77cd985d70ecb550b7fa8a71c07f4801263267ee2eea1e41f17fc19bc4cdd841ed0209eb81c07c85918a
6
+ metadata.gz: cd04a9de6f4e6cd7b0d7574926f259af4e224c9401d70c951d72c319cc27d6f9516b523bcb133295cf8b76979db6ff877aaf1c306cd90515a0d5dd93222f294a
7
+ data.tar.gz: 83ed1eed19e2ecf760034845f1edb029f5bffa45d2f8e38279e5d8eb3aa68f1957b2d58f1f26366b733853f7b963d3618cd0a363478d272e264807391dcd2000
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-cloudbuild_v1
2
2
 
3
+ ### v0.12.0 (2021-07-20)
4
+
5
+ * Regenerated from discovery document revision 20210715
6
+
3
7
  ### v0.11.0 (2021-07-13)
4
8
 
5
9
  * Regenerated from discovery document revision 20210709
@@ -151,6 +151,11 @@ module Google
151
151
  # @return [String]
152
152
  attr_accessor :create_time
153
153
 
154
+ # A fatal problem encountered during the execution of the build.
155
+ # Corresponds to the JSON property `failureInfo`
156
+ # @return [Google::Apis::CloudbuildV1::FailureInfo]
157
+ attr_accessor :failure_info
158
+
154
159
  # Output only. Time at which execution of the build was finished. The difference
155
160
  # between finish_time and start_time is the duration of the build's execution.
156
161
  # Corresponds to the JSON property `finishTime`
@@ -300,6 +305,7 @@ module Google
300
305
  @available_secrets = args[:available_secrets] if args.key?(:available_secrets)
301
306
  @build_trigger_id = args[:build_trigger_id] if args.key?(:build_trigger_id)
302
307
  @create_time = args[:create_time] if args.key?(:create_time)
308
+ @failure_info = args[:failure_info] if args.key?(:failure_info)
303
309
  @finish_time = args[:finish_time] if args.key?(:finish_time)
304
310
  @id = args[:id] if args.key?(:id)
305
311
  @images = args[:images] if args.key?(:images)
@@ -704,6 +710,11 @@ module Google
704
710
  # @return [String]
705
711
  attr_accessor :resource_name
706
712
 
713
+ # GitRepoSource describes a repo and ref of a code repository.
714
+ # Corresponds to the JSON property `sourceToBuild`
715
+ # @return [Google::Apis::CloudbuildV1::GitRepoSource]
716
+ attr_accessor :source_to_build
717
+
707
718
  # Substitutions for Build resource. The keys must match the following regular
708
719
  # expression: `^_[A-Z0-9_]+$`.
709
720
  # Corresponds to the JSON property `substitutions`
@@ -746,6 +757,7 @@ module Google
746
757
  @name = args[:name] if args.key?(:name)
747
758
  @pubsub_config = args[:pubsub_config] if args.key?(:pubsub_config)
748
759
  @resource_name = args[:resource_name] if args.key?(:resource_name)
760
+ @source_to_build = args[:source_to_build] if args.key?(:source_to_build)
749
761
  @substitutions = args[:substitutions] if args.key?(:substitutions)
750
762
  @tags = args[:tags] if args.key?(:tags)
751
763
  @trigger_template = args[:trigger_template] if args.key?(:trigger_template)
@@ -911,6 +923,31 @@ module Google
911
923
  end
912
924
  end
913
925
 
926
+ # A fatal problem encountered during the execution of the build.
927
+ class FailureInfo
928
+ include Google::Apis::Core::Hashable
929
+
930
+ # Explains the failure issue in more detail using hard-coded text.
931
+ # Corresponds to the JSON property `detail`
932
+ # @return [String]
933
+ attr_accessor :detail
934
+
935
+ # The name of the failure.
936
+ # Corresponds to the JSON property `type`
937
+ # @return [String]
938
+ attr_accessor :type
939
+
940
+ def initialize(**args)
941
+ update!(**args)
942
+ end
943
+
944
+ # Update properties of this object
945
+ def update!(**args)
946
+ @detail = args[:detail] if args.key?(:detail)
947
+ @type = args[:type] if args.key?(:type)
948
+ end
949
+ end
950
+
914
951
  # Container message for hashes of byte content of files, used in
915
952
  # SourceProvenance messages to verify integrity of source input to the build.
916
953
  class FileHashes
@@ -977,6 +1014,96 @@ module Google
977
1014
  end
978
1015
  end
979
1016
 
1017
+ # GitRepoSource describes a repo and ref of a code repository.
1018
+ class GitRepoSource
1019
+ include Google::Apis::Core::Hashable
1020
+
1021
+ # The branch or tag to use. Must start with "refs/" (required).
1022
+ # Corresponds to the JSON property `ref`
1023
+ # @return [String]
1024
+ attr_accessor :ref
1025
+
1026
+ # See RepoType below.
1027
+ # Corresponds to the JSON property `repoType`
1028
+ # @return [String]
1029
+ attr_accessor :repo_type
1030
+
1031
+ # The URI of the repo (required).
1032
+ # Corresponds to the JSON property `uri`
1033
+ # @return [String]
1034
+ attr_accessor :uri
1035
+
1036
+ def initialize(**args)
1037
+ update!(**args)
1038
+ end
1039
+
1040
+ # Update properties of this object
1041
+ def update!(**args)
1042
+ @ref = args[:ref] if args.key?(:ref)
1043
+ @repo_type = args[:repo_type] if args.key?(:repo_type)
1044
+ @uri = args[:uri] if args.key?(:uri)
1045
+ end
1046
+ end
1047
+
1048
+ # Represents the metadata of the long-running operation.
1049
+ class GoogleDevtoolsCloudbuildV2OperationMetadata
1050
+ include Google::Apis::Core::Hashable
1051
+
1052
+ # Output only. API version used to start the operation.
1053
+ # Corresponds to the JSON property `apiVersion`
1054
+ # @return [String]
1055
+ attr_accessor :api_version
1056
+
1057
+ # Output only. The time the operation was created.
1058
+ # Corresponds to the JSON property `createTime`
1059
+ # @return [String]
1060
+ attr_accessor :create_time
1061
+
1062
+ # Output only. The time the operation finished running.
1063
+ # Corresponds to the JSON property `endTime`
1064
+ # @return [String]
1065
+ attr_accessor :end_time
1066
+
1067
+ # Output only. Identifies whether the user has requested cancellation of the
1068
+ # operation. Operations that have successfully been cancelled have Operation.
1069
+ # error value with a google.rpc.Status.code of 1, corresponding to `Code.
1070
+ # CANCELLED`.
1071
+ # Corresponds to the JSON property `requestedCancellation`
1072
+ # @return [Boolean]
1073
+ attr_accessor :requested_cancellation
1074
+ alias_method :requested_cancellation?, :requested_cancellation
1075
+
1076
+ # Output only. Human-readable status of the operation, if any.
1077
+ # Corresponds to the JSON property `statusMessage`
1078
+ # @return [String]
1079
+ attr_accessor :status_message
1080
+
1081
+ # Output only. Server-defined resource path for the target of the operation.
1082
+ # Corresponds to the JSON property `target`
1083
+ # @return [String]
1084
+ attr_accessor :target
1085
+
1086
+ # Output only. Name of the verb executed by the operation.
1087
+ # Corresponds to the JSON property `verb`
1088
+ # @return [String]
1089
+ attr_accessor :verb
1090
+
1091
+ def initialize(**args)
1092
+ update!(**args)
1093
+ end
1094
+
1095
+ # Update properties of this object
1096
+ def update!(**args)
1097
+ @api_version = args[:api_version] if args.key?(:api_version)
1098
+ @create_time = args[:create_time] if args.key?(:create_time)
1099
+ @end_time = args[:end_time] if args.key?(:end_time)
1100
+ @requested_cancellation = args[:requested_cancellation] if args.key?(:requested_cancellation)
1101
+ @status_message = args[:status_message] if args.key?(:status_message)
1102
+ @target = args[:target] if args.key?(:target)
1103
+ @verb = args[:verb] if args.key?(:verb)
1104
+ end
1105
+ end
1106
+
980
1107
  # HTTPDelivery is the delivery configuration for an HTTP notification.
981
1108
  class HttpDelivery
982
1109
  include Google::Apis::Core::Hashable
@@ -1462,6 +1589,65 @@ module Google
1462
1589
  end
1463
1590
  end
1464
1591
 
1592
+ # Represents the metadata of the long-running operation.
1593
+ class OperationMetadata
1594
+ include Google::Apis::Core::Hashable
1595
+
1596
+ # Output only. API version used to start the operation.
1597
+ # Corresponds to the JSON property `apiVersion`
1598
+ # @return [String]
1599
+ attr_accessor :api_version
1600
+
1601
+ # Output only. Identifies whether the user has requested cancellation of the
1602
+ # operation. Operations that have successfully been cancelled have Operation.
1603
+ # error value with a google.rpc.Status.code of 1, corresponding to `Code.
1604
+ # CANCELLED`.
1605
+ # Corresponds to the JSON property `cancelRequested`
1606
+ # @return [Boolean]
1607
+ attr_accessor :cancel_requested
1608
+ alias_method :cancel_requested?, :cancel_requested
1609
+
1610
+ # Output only. The time the operation was created.
1611
+ # Corresponds to the JSON property `createTime`
1612
+ # @return [String]
1613
+ attr_accessor :create_time
1614
+
1615
+ # Output only. The time the operation finished running.
1616
+ # Corresponds to the JSON property `endTime`
1617
+ # @return [String]
1618
+ attr_accessor :end_time
1619
+
1620
+ # Output only. Human-readable status of the operation, if any.
1621
+ # Corresponds to the JSON property `statusDetail`
1622
+ # @return [String]
1623
+ attr_accessor :status_detail
1624
+
1625
+ # Output only. Server-defined resource path for the target of the operation.
1626
+ # Corresponds to the JSON property `target`
1627
+ # @return [String]
1628
+ attr_accessor :target
1629
+
1630
+ # Output only. Name of the verb executed by the operation.
1631
+ # Corresponds to the JSON property `verb`
1632
+ # @return [String]
1633
+ attr_accessor :verb
1634
+
1635
+ def initialize(**args)
1636
+ update!(**args)
1637
+ end
1638
+
1639
+ # Update properties of this object
1640
+ def update!(**args)
1641
+ @api_version = args[:api_version] if args.key?(:api_version)
1642
+ @cancel_requested = args[:cancel_requested] if args.key?(:cancel_requested)
1643
+ @create_time = args[:create_time] if args.key?(:create_time)
1644
+ @end_time = args[:end_time] if args.key?(:end_time)
1645
+ @status_detail = args[:status_detail] if args.key?(:status_detail)
1646
+ @target = args[:target] if args.key?(:target)
1647
+ @verb = args[:verb] if args.key?(:verb)
1648
+ end
1649
+ end
1650
+
1465
1651
  # Details about how a build should be executed on a `WorkerPool`. See [running
1466
1652
  # builds in a private pool](https://cloud.google.com/build/docs/private-pools/
1467
1653
  # run-builds-in-private-pool) for more information.
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module CloudbuildV1
18
18
  # Version of the google-apis-cloudbuild_v1 gem
19
- GEM_VERSION = "0.11.0"
19
+ GEM_VERSION = "0.12.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 = "20210715"
26
26
  end
27
27
  end
28
28
  end
@@ -106,6 +106,12 @@ module Google
106
106
  include Google::Apis::Core::JsonObjectSupport
107
107
  end
108
108
 
109
+ class FailureInfo
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
109
115
  class FileHashes
110
116
  class Representation < Google::Apis::Core::JsonRepresentation; end
111
117
 
@@ -118,6 +124,18 @@ module Google
118
124
  include Google::Apis::Core::JsonObjectSupport
119
125
  end
120
126
 
127
+ class GitRepoSource
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class GoogleDevtoolsCloudbuildV2OperationMetadata
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
121
139
  class HttpDelivery
122
140
  class Representation < Google::Apis::Core::JsonRepresentation; end
123
141
 
@@ -208,6 +226,12 @@ module Google
208
226
  include Google::Apis::Core::JsonObjectSupport
209
227
  end
210
228
 
229
+ class OperationMetadata
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
211
235
  class PoolOption
212
236
  class Representation < Google::Apis::Core::JsonRepresentation; end
213
237
 
@@ -407,6 +431,8 @@ module Google
407
431
 
408
432
  property :build_trigger_id, as: 'buildTriggerId'
409
433
  property :create_time, as: 'createTime'
434
+ property :failure_info, as: 'failureInfo', class: Google::Apis::CloudbuildV1::FailureInfo, decorator: Google::Apis::CloudbuildV1::FailureInfo::Representation
435
+
410
436
  property :finish_time, as: 'finishTime'
411
437
  property :id, as: 'id'
412
438
  collection :images, as: 'images'
@@ -512,6 +538,8 @@ module Google
512
538
  property :pubsub_config, as: 'pubsubConfig', class: Google::Apis::CloudbuildV1::PubsubConfig, decorator: Google::Apis::CloudbuildV1::PubsubConfig::Representation
513
539
 
514
540
  property :resource_name, as: 'resourceName'
541
+ property :source_to_build, as: 'sourceToBuild', class: Google::Apis::CloudbuildV1::GitRepoSource, decorator: Google::Apis::CloudbuildV1::GitRepoSource::Representation
542
+
515
543
  hash :substitutions, as: 'substitutions'
516
544
  collection :tags, as: 'tags'
517
545
  property :trigger_template, as: 'triggerTemplate', class: Google::Apis::CloudbuildV1::RepoSource, decorator: Google::Apis::CloudbuildV1::RepoSource::Representation
@@ -570,6 +598,14 @@ module Google
570
598
  end
571
599
  end
572
600
 
601
+ class FailureInfo
602
+ # @private
603
+ class Representation < Google::Apis::Core::JsonRepresentation
604
+ property :detail, as: 'detail'
605
+ property :type, as: 'type'
606
+ end
607
+ end
608
+
573
609
  class FileHashes
574
610
  # @private
575
611
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -591,6 +627,28 @@ module Google
591
627
  end
592
628
  end
593
629
 
630
+ class GitRepoSource
631
+ # @private
632
+ class Representation < Google::Apis::Core::JsonRepresentation
633
+ property :ref, as: 'ref'
634
+ property :repo_type, as: 'repoType'
635
+ property :uri, as: 'uri'
636
+ end
637
+ end
638
+
639
+ class GoogleDevtoolsCloudbuildV2OperationMetadata
640
+ # @private
641
+ class Representation < Google::Apis::Core::JsonRepresentation
642
+ property :api_version, as: 'apiVersion'
643
+ property :create_time, as: 'createTime'
644
+ property :end_time, as: 'endTime'
645
+ property :requested_cancellation, as: 'requestedCancellation'
646
+ property :status_message, as: 'statusMessage'
647
+ property :target, as: 'target'
648
+ property :verb, as: 'verb'
649
+ end
650
+ end
651
+
594
652
  class HttpDelivery
595
653
  # @private
596
654
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -729,6 +787,19 @@ module Google
729
787
  end
730
788
  end
731
789
 
790
+ class OperationMetadata
791
+ # @private
792
+ class Representation < Google::Apis::Core::JsonRepresentation
793
+ property :api_version, as: 'apiVersion'
794
+ property :cancel_requested, as: 'cancelRequested'
795
+ property :create_time, as: 'createTime'
796
+ property :end_time, as: 'endTime'
797
+ property :status_detail, as: 'statusDetail'
798
+ property :target, as: 'target'
799
+ property :verb, as: 'verb'
800
+ end
801
+ end
802
+
732
803
  class PoolOption
733
804
  # @private
734
805
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1005,7 +1005,7 @@ module Google
1005
1005
  # Lists `WorkerPool`s.
1006
1006
  # @param [String] parent
1007
1007
  # Required. The parent of the collection of `WorkerPools`. Format: `projects/`
1008
- # project`/locations/location`.
1008
+ # project`/locations/`location``.
1009
1009
  # @param [Fixnum] page_size
1010
1010
  # The maximum number of `WorkerPool`s to return. The service may return fewer
1011
1011
  # than this value. If omitted, the server will use a sensible default.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudbuild_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.12.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-07-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-cloudbuild_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1/v0.11.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1/v0.12.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-cloudbuild_v1
63
63
  post_install_message:
64
64
  rdoc_options: []