google-apis-cloudbuild_v2 0.17.0 → 0.19.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: d187a7434517f430d31a5e2adab0b13c439fd627386c4352600d9021194efb5d
4
- data.tar.gz: b852bdb5b9f9082d7d7989301d34e6eb218ce64cefa1ef73b8632fd0360b98be
3
+ metadata.gz: a6d00270e6c3ef87b8a379326bd026949db8a289994b39c721f6f08d6381c0c6
4
+ data.tar.gz: 938c7dfcf3d0402735571586882a9dc73c2177b0562a9b1161d933b85537e5af
5
5
  SHA512:
6
- metadata.gz: df7832a51d118acbcad1f704c95036a2ef670b6ef6fa205cf2b51f131a710706f78e656e32c879659f106ea5bcd3e1d7a328d6d40040e036fa0008cc9604d78d
7
- data.tar.gz: 9d6045374dea77172ff9fa1691d990117b573bff304e1f73562b848c6455c286d427f2ad451e922a581d22bde83e85937f7900a4523108256331b4c753577395
6
+ metadata.gz: 13c912828f1acb14408725942f4943cade9f1084ca69ca59bffb8e7406ad1b7133c0c5906a56f596a67b62c3234e31558cf2e23b60f06d13db7cc88a0b4b4ac0
7
+ data.tar.gz: e3ebb1ce272c18a47b01aa155101f209664f79c9201ec27c5cd1d6acb93b0bd57b11e97741034c69c49fc5a549c33272d5a8036bad98ef17e507a89a683903e3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-cloudbuild_v2
2
2
 
3
+ ### v0.19.0 (2024-05-26)
4
+
5
+ * Regenerated from discovery document revision 20240519
6
+ * Regenerated using generator version 0.15.0
7
+
8
+ ### v0.18.0 (2024-05-05)
9
+
10
+ * Regenerated from discovery document revision 20240427
11
+
3
12
  ### v0.17.0 (2024-04-21)
4
13
 
5
14
  * Regenerated from discovery document revision 20240411
@@ -283,7 +283,7 @@ module Google
283
283
  # @return [Google::Apis::CloudbuildV2::UserCredential]
284
284
  attr_accessor :authorizer_credential
285
285
 
286
- # Required. The URI of the Bitbucket Data Center instance or cluster this
286
+ # Optional. The URI of the Bitbucket Data Center instance or cluster this
287
287
  # connection is for.
288
288
  # Corresponds to the JSON property `hostUri`
289
289
  # @return [String]
@@ -415,7 +415,7 @@ module Google
415
415
  class Connection
416
416
  include Google::Apis::Core::Hashable
417
417
 
418
- # Allows clients to store small amounts of arbitrary data.
418
+ # Optional. Allows clients to store small amounts of arbitrary data.
419
419
  # Corresponds to the JSON property `annotations`
420
420
  # @return [Hash<String,String>]
421
421
  attr_accessor :annotations
@@ -435,9 +435,9 @@ module Google
435
435
  # @return [String]
436
436
  attr_accessor :create_time
437
437
 
438
- # If disabled is set to true, functionality is disabled for this connection.
439
- # Repository based API methods and webhooks processing for repositories in this
440
- # connection will be disabled.
438
+ # Optional. If disabled is set to true, functionality is disabled for this
439
+ # connection. Repository based API methods and webhooks processing for
440
+ # repositories in this connection will be disabled.
441
441
  # Corresponds to the JSON property `disabled`
442
442
  # @return [Boolean]
443
443
  attr_accessor :disabled
@@ -834,7 +834,7 @@ module Google
834
834
  class GitHubConfig
835
835
  include Google::Apis::Core::Hashable
836
836
 
837
- # GitHub App installation id.
837
+ # Optional. GitHub App installation id.
838
838
  # Corresponds to the JSON property `appInstallationId`
839
839
  # @return [Fixnum]
840
840
  attr_accessor :app_installation_id
@@ -915,17 +915,17 @@ module Google
915
915
  # @return [String]
916
916
  attr_accessor :api_key
917
917
 
918
- # Id of the GitHub App created from the manifest.
918
+ # Optional. Id of the GitHub App created from the manifest.
919
919
  # Corresponds to the JSON property `appId`
920
920
  # @return [Fixnum]
921
921
  attr_accessor :app_id
922
922
 
923
- # ID of the installation of the GitHub App.
923
+ # Optional. ID of the installation of the GitHub App.
924
924
  # Corresponds to the JSON property `appInstallationId`
925
925
  # @return [Fixnum]
926
926
  attr_accessor :app_installation_id
927
927
 
928
- # The URL-friendly name of the GitHub App.
928
+ # Optional. The URL-friendly name of the GitHub App.
929
929
  # Corresponds to the JSON property `appSlug`
930
930
  # @return [String]
931
931
  attr_accessor :app_slug
@@ -935,8 +935,8 @@ module Google
935
935
  # @return [String]
936
936
  attr_accessor :host_uri
937
937
 
938
- # SecretManager resource containing the private key of the GitHub App, formatted
939
- # as `projects/*/secrets/*/versions/*`.
938
+ # Optional. SecretManager resource containing the private key of the GitHub App,
939
+ # formatted as `projects/*/secrets/*/versions/*`.
940
940
  # Corresponds to the JSON property `privateKeySecretVersion`
941
941
  # @return [String]
942
942
  attr_accessor :private_key_secret_version
@@ -952,13 +952,13 @@ module Google
952
952
  # @return [Google::Apis::CloudbuildV2::GoogleDevtoolsCloudbuildV2ServiceDirectoryConfig]
953
953
  attr_accessor :service_directory_config
954
954
 
955
- # SSL certificate to use for requests to GitHub Enterprise.
955
+ # Optional. SSL certificate to use for requests to GitHub Enterprise.
956
956
  # Corresponds to the JSON property `sslCa`
957
957
  # @return [String]
958
958
  attr_accessor :ssl_ca
959
959
 
960
- # SecretManager resource containing the webhook secret of the GitHub App,
961
- # formatted as `projects/*/secrets/*/versions/*`.
960
+ # Optional. SecretManager resource containing the webhook secret of the GitHub
961
+ # App, formatted as `projects/*/secrets/*/versions/*`.
962
962
  # Corresponds to the JSON property `webhookSecretSecretVersion`
963
963
  # @return [String]
964
964
  attr_accessor :webhook_secret_secret_version
@@ -993,8 +993,8 @@ module Google
993
993
  # @return [Google::Apis::CloudbuildV2::UserCredential]
994
994
  attr_accessor :authorizer_credential
995
995
 
996
- # The URI of the GitLab Enterprise host this connection is for. If not specified,
997
- # the default value is https://gitlab.com.
996
+ # Optional. The URI of the GitLab Enterprise host this connection is for. If not
997
+ # specified, the default value is https://gitlab.com.
998
998
  # Corresponds to the JSON property `hostUri`
999
999
  # @return [String]
1000
1000
  attr_accessor :host_uri
@@ -1016,7 +1016,7 @@ module Google
1016
1016
  # @return [Google::Apis::CloudbuildV2::GoogleDevtoolsCloudbuildV2ServiceDirectoryConfig]
1017
1017
  attr_accessor :service_directory_config
1018
1018
 
1019
- # SSL certificate to use for requests to GitLab Enterprise.
1019
+ # Optional. SSL certificate to use for requests to GitLab Enterprise.
1020
1020
  # Corresponds to the JSON property `sslCa`
1021
1021
  # @return [String]
1022
1022
  attr_accessor :ssl_ca
@@ -1332,8 +1332,8 @@ module Google
1332
1332
  class OAuthCredential
1333
1333
  include Google::Apis::Core::Hashable
1334
1334
 
1335
- # A SecretManager resource containing the OAuth token that authorizes the Cloud
1336
- # Build connection. Format: `projects/*/secrets/*/versions/*`.
1335
+ # Optional. A SecretManager resource containing the OAuth token that authorizes
1336
+ # the Cloud Build connection. Format: `projects/*/secrets/*/versions/*`.
1337
1337
  # Corresponds to the JSON property `oauthTokenSecretVersion`
1338
1338
  # @return [String]
1339
1339
  attr_accessor :oauth_token_secret_version
@@ -2200,7 +2200,7 @@ module Google
2200
2200
  class Repository
2201
2201
  include Google::Apis::Core::Hashable
2202
2202
 
2203
- # Allows clients to store small amounts of arbitrary data.
2203
+ # Optional. Allows clients to store small amounts of arbitrary data.
2204
2204
  # Corresponds to the JSON property `annotations`
2205
2205
  # @return [Hash<String,String>]
2206
2206
  attr_accessor :annotations
@@ -2700,6 +2700,16 @@ module Google
2700
2700
  # @return [String]
2701
2701
  attr_accessor :name
2702
2702
 
2703
+ # Optional. Optional parameters passed to the StepAction.
2704
+ # Corresponds to the JSON property `params`
2705
+ # @return [Array<Google::Apis::CloudbuildV2::Param>]
2706
+ attr_accessor :params
2707
+
2708
+ # A reference to a remote Step, i.e. a StepAction.
2709
+ # Corresponds to the JSON property `ref`
2710
+ # @return [Google::Apis::CloudbuildV2::StepRef]
2711
+ attr_accessor :ref
2712
+
2703
2713
  # The contents of an executable file to execute.
2704
2714
  # Corresponds to the JSON property `script`
2705
2715
  # @return [String]
@@ -2736,6 +2746,8 @@ module Google
2736
2746
  @env = args[:env] if args.key?(:env)
2737
2747
  @image = args[:image] if args.key?(:image)
2738
2748
  @name = args[:name] if args.key?(:name)
2749
+ @params = args[:params] if args.key?(:params)
2750
+ @ref = args[:ref] if args.key?(:ref)
2739
2751
  @script = args[:script] if args.key?(:script)
2740
2752
  @security_context = args[:security_context] if args.key?(:security_context)
2741
2753
  @timeout = args[:timeout] if args.key?(:timeout)
@@ -2744,6 +2756,37 @@ module Google
2744
2756
  end
2745
2757
  end
2746
2758
 
2759
+ # A reference to a remote Step, i.e. a StepAction.
2760
+ class StepRef
2761
+ include Google::Apis::Core::Hashable
2762
+
2763
+ # Optional. Name of the step.
2764
+ # Corresponds to the JSON property `name`
2765
+ # @return [String]
2766
+ attr_accessor :name
2767
+
2768
+ # Optional. Parameters used to control the resolution.
2769
+ # Corresponds to the JSON property `params`
2770
+ # @return [Array<Google::Apis::CloudbuildV2::Param>]
2771
+ attr_accessor :params
2772
+
2773
+ # Optional. Type of the resolver.
2774
+ # Corresponds to the JSON property `resolver`
2775
+ # @return [String]
2776
+ attr_accessor :resolver
2777
+
2778
+ def initialize(**args)
2779
+ update!(**args)
2780
+ end
2781
+
2782
+ # Update properties of this object
2783
+ def update!(**args)
2784
+ @name = args[:name] if args.key?(:name)
2785
+ @params = args[:params] if args.key?(:params)
2786
+ @resolver = args[:resolver] if args.key?(:resolver)
2787
+ end
2788
+ end
2789
+
2747
2790
  # StepTemplate can be used as the basis for all step containers within the Task,
2748
2791
  # so that the steps inherit settings on the base container.
2749
2792
  class StepTemplate
@@ -2830,6 +2873,11 @@ module Google
2830
2873
  # @return [String]
2831
2874
  attr_accessor :type
2832
2875
 
2876
+ # Parameter value.
2877
+ # Corresponds to the JSON property `value`
2878
+ # @return [Google::Apis::CloudbuildV2::ParamValue]
2879
+ attr_accessor :value
2880
+
2833
2881
  def initialize(**args)
2834
2882
  update!(**args)
2835
2883
  end
@@ -2840,6 +2888,7 @@ module Google
2840
2888
  @name = args[:name] if args.key?(:name)
2841
2889
  @properties = args[:properties] if args.key?(:properties)
2842
2890
  @type = args[:type] if args.key?(:type)
2891
+ @value = args[:value] if args.key?(:value)
2843
2892
  end
2844
2893
  end
2845
2894
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module CloudbuildV2
18
18
  # Version of the google-apis-cloudbuild_v2 gem
19
- GEM_VERSION = "0.17.0"
19
+ GEM_VERSION = "0.19.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.14.0"
22
+ GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240411"
25
+ REVISION = "20240519"
26
26
  end
27
27
  end
28
28
  end
@@ -406,6 +406,12 @@ module Google
406
406
  include Google::Apis::Core::JsonObjectSupport
407
407
  end
408
408
 
409
+ class StepRef
410
+ class Representation < Google::Apis::Core::JsonRepresentation; end
411
+
412
+ include Google::Apis::Core::JsonObjectSupport
413
+ end
414
+
409
415
  class StepTemplate
410
416
  class Representation < Google::Apis::Core::JsonRepresentation; end
411
417
 
@@ -1193,6 +1199,10 @@ module Google
1193
1199
 
1194
1200
  property :image, as: 'image'
1195
1201
  property :name, as: 'name'
1202
+ collection :params, as: 'params', class: Google::Apis::CloudbuildV2::Param, decorator: Google::Apis::CloudbuildV2::Param::Representation
1203
+
1204
+ property :ref, as: 'ref', class: Google::Apis::CloudbuildV2::StepRef, decorator: Google::Apis::CloudbuildV2::StepRef::Representation
1205
+
1196
1206
  property :script, as: 'script'
1197
1207
  property :security_context, as: 'securityContext', class: Google::Apis::CloudbuildV2::SecurityContext, decorator: Google::Apis::CloudbuildV2::SecurityContext::Representation
1198
1208
 
@@ -1203,6 +1213,16 @@ module Google
1203
1213
  end
1204
1214
  end
1205
1215
 
1216
+ class StepRef
1217
+ # @private
1218
+ class Representation < Google::Apis::Core::JsonRepresentation
1219
+ property :name, as: 'name'
1220
+ collection :params, as: 'params', class: Google::Apis::CloudbuildV2::Param, decorator: Google::Apis::CloudbuildV2::Param::Representation
1221
+
1222
+ property :resolver, as: 'resolver'
1223
+ end
1224
+ end
1225
+
1206
1226
  class StepTemplate
1207
1227
  # @private
1208
1228
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1231,6 +1251,8 @@ module Google
1231
1251
  hash :properties, as: 'properties', class: Google::Apis::CloudbuildV2::PropertySpec, decorator: Google::Apis::CloudbuildV2::PropertySpec::Representation
1232
1252
 
1233
1253
  property :type, as: 'type'
1254
+ property :value, as: 'value', class: Google::Apis::CloudbuildV2::ParamValue, decorator: Google::Apis::CloudbuildV2::ParamValue::Representation
1255
+
1234
1256
  end
1235
1257
  end
1236
1258
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudbuild_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.0
4
+ version: 0.19.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: 2024-04-21 00:00:00.000000000 Z
11
+ date: 2024-05-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.14.0
19
+ version: 0.15.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.14.0
29
+ version: 0.15.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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/main/generated/google-apis-cloudbuild_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v2/v0.17.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v2/v0.19.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudbuild_v2
63
63
  post_install_message:
64
64
  rdoc_options: []