google-cloud-build-v2 0.14.1 → 0.14.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +0 -4
  3. data/lib/google/cloud/build/v2/bindings_override.rb +86 -0
  4. data/lib/google/cloud/build/v2/repository_manager/client.rb +1 -1
  5. data/lib/google/cloud/build/v2/repository_manager/credentials.rb +1 -1
  6. data/lib/google/cloud/build/v2/repository_manager/operations.rb +1 -1
  7. data/lib/google/cloud/build/v2/repository_manager/paths.rb +1 -1
  8. data/lib/google/cloud/build/v2/repository_manager/rest/client.rb +1778 -0
  9. data/lib/google/cloud/build/v2/repository_manager/rest/operations.rb +927 -0
  10. data/lib/google/cloud/build/v2/repository_manager/rest/service_stub.rb +941 -0
  11. data/lib/google/cloud/build/v2/repository_manager/rest.rb +54 -0
  12. data/lib/google/cloud/build/v2/repository_manager.rb +7 -1
  13. data/lib/google/cloud/build/v2/rest.rb +38 -0
  14. data/lib/google/cloud/build/v2/version.rb +1 -1
  15. data/lib/google/cloud/build/v2.rb +6 -1
  16. data/lib/google/devtools/cloudbuild/v2/repositories_services_pb.rb +1 -1
  17. data/lib/google-cloud-build-v2.rb +1 -1
  18. data/proto_docs/google/api/client.rb +1 -1
  19. data/proto_docs/google/api/field_behavior.rb +1 -1
  20. data/proto_docs/google/api/httpbody.rb +1 -1
  21. data/proto_docs/google/api/launch_stage.rb +1 -1
  22. data/proto_docs/google/api/resource.rb +1 -1
  23. data/proto_docs/google/devtools/cloudbuild/v2/cloudbuild.rb +1 -1
  24. data/proto_docs/google/devtools/cloudbuild/v2/repositories.rb +1 -1
  25. data/proto_docs/google/longrunning/operations.rb +1 -1
  26. data/proto_docs/google/protobuf/any.rb +1 -1
  27. data/proto_docs/google/protobuf/duration.rb +1 -1
  28. data/proto_docs/google/protobuf/empty.rb +1 -1
  29. data/proto_docs/google/protobuf/field_mask.rb +1 -1
  30. data/proto_docs/google/protobuf/timestamp.rb +8 -7
  31. data/proto_docs/google/rpc/status.rb +1 -1
  32. metadata +8 -6
  33. data/proto_docs/google/type/expr.rb +0 -75
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8c1f185b54668941ba8cc1348e3cd3cb87acf54494cd044e651324037bb68057
4
- data.tar.gz: d770f3e72c9fcb1e70d4b4431712feff5aebb715f457d5230360eedbee7aae41
3
+ metadata.gz: 5575448894c4c23635a7a741cfb58d7c30bfa949bd1c4f0f51ab632e0cd35d8b
4
+ data.tar.gz: bb6b38f6fa40f3b21ef1441644c080a1ce893f6184abaa77b13e8a9e899ca8f1
5
5
  SHA512:
6
- metadata.gz: bec171577da3be859f7604d20528ae215cd7939a7bed66c15eeb61e4be34075ba55f140fbd38eacdd443c333d0c3d4165f9489064e80188ec6a2c13ac45303cf
7
- data.tar.gz: eab6b9c1e1ce915d51b0d801a5ded8abdc07d0089395b60786d34a6f81b02d3913bd9f354a8d7a1a3b2f0bbb22c61c8aba1205b78fbeef2d92212ddd507a1014
6
+ metadata.gz: 8a1e259a0c9c6c8c512111c3c3dc46e6fb67a8f47814810b7099926fab1e1231df47499d23c8ede66ed8fb77f085c27165d5cb9060b0754d3622492c26456cee
7
+ data.tar.gz: d64e038ddba751768f32447d87fdf823e2233a5fe0fb7e50fc78c3fe5e6c4db4e919933603e4ed517e2780088bc3c360a027cfe7bd4d33b0bbde20461d1b10b9
data/README.md CHANGED
@@ -2,7 +2,6 @@
2
2
 
3
3
  Creates and manages builds on Google Cloud Platform.
4
4
 
5
- Cloud Build is a service that executes your builds on Google Cloud Platform infrastructure. Cloud Build can import source code from Google Cloud Storage, Cloud Source Repositories, GitHub, or Bitbucket, execute a build to your specifications, and produce artifacts such as Docker containers or Java archives.
6
5
 
7
6
  https://github.com/googleapis/google-cloud-ruby
8
7
 
@@ -40,9 +39,6 @@ response = client.create_connection request
40
39
  View the [Client Library Documentation](https://cloud.google.com/ruby/docs/reference/google-cloud-build-v2/latest)
41
40
  for class and method documentation.
42
41
 
43
- See also the [Product Documentation](https://cloud.google.com/build/docs)
44
- for general usage information.
45
-
46
42
  ## Debug Logging
47
43
 
48
44
  This library comes with opt-in Debug Logging that can help you troubleshoot
@@ -0,0 +1,86 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2026 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+ require "gapic/rest"
20
+
21
+ module Google
22
+ module Cloud
23
+ module Build
24
+ ##
25
+ # @example Loading just the REST part of this package, including all its services, and instantiating a REST client
26
+ #
27
+ # require "google/cloud/build/v2/rest"
28
+ # client = ::Google::Cloud::Build::V2::RepositoryManager::Rest::Client.new
29
+ #
30
+ module V2
31
+ ##
32
+ # @private
33
+ # Initialize the mixin bindings configuration
34
+ #
35
+ def self.configure
36
+ @configure ||= begin
37
+ namespace = ["Google", "Cloud", "Build"]
38
+ parent_config = while namespace.any?
39
+ parent_name = namespace.join "::"
40
+ parent_const = const_get parent_name
41
+ break parent_const.configure if parent_const.respond_to? :configure
42
+ namespace.pop
43
+ end
44
+
45
+ default_config = ::Gapic::Rest::HttpBindingOverrideConfiguration.new parent_config
46
+ default_config.bindings_override["google.iam.v1.IAMPolicy.GetIamPolicy"] = [
47
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
48
+ uri_method: :get,
49
+ uri_template: "/v2/{resource}:getIamPolicy",
50
+ matches: [
51
+ ["resource", %r{^projects/[^/]+/locations/[^/]+/connections/[^/]+/?$}, false]
52
+ ],
53
+ body: nil
54
+ )
55
+ ]
56
+ default_config.bindings_override["google.iam.v1.IAMPolicy.SetIamPolicy"] = [
57
+
58
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
59
+ uri_method: :post,
60
+ uri_template: "/v2/{resource}:setIamPolicy",
61
+ matches: [
62
+ ["resource", %r{^projects/[^/]+/locations/[^/]+/connections/[^/]+/?$}, false]
63
+ ],
64
+ body: "*"
65
+ )
66
+ ]
67
+ default_config.bindings_override["google.iam.v1.IAMPolicy.TestIamPermissions"] = [
68
+
69
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
70
+ uri_method: :post,
71
+ uri_template: "/v2/{resource}:testIamPermissions",
72
+ matches: [
73
+ ["resource", %r{^projects/[^/]+/locations/[^/]+/connections/[^/]+/?$}, false]
74
+ ],
75
+ body: "*"
76
+ )
77
+ ]
78
+ default_config
79
+ end
80
+ yield @configure if block_given?
81
+ @configure
82
+ end
83
+ end
84
+ end
85
+ end
86
+ end
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2023 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2023 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2023 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2023 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.