google-cloud-config_delivery-v1 0.a → 0.1.0

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 (35) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +12 -0
  3. data/AUTHENTICATION.md +122 -0
  4. data/README.md +154 -8
  5. data/lib/google/cloud/config_delivery/v1/bindings_override.rb +102 -0
  6. data/lib/google/cloud/config_delivery/v1/config_delivery/client.rb +3222 -0
  7. data/lib/google/cloud/config_delivery/v1/config_delivery/credentials.rb +47 -0
  8. data/lib/google/cloud/config_delivery/v1/config_delivery/operations.rb +813 -0
  9. data/lib/google/cloud/config_delivery/v1/config_delivery/paths.rb +188 -0
  10. data/lib/google/cloud/config_delivery/v1/config_delivery/rest/client.rb +3029 -0
  11. data/lib/google/cloud/config_delivery/v1/config_delivery/rest/operations.rb +914 -0
  12. data/lib/google/cloud/config_delivery/v1/config_delivery/rest/service_stub.rb +1617 -0
  13. data/lib/google/cloud/config_delivery/v1/config_delivery/rest.rb +55 -0
  14. data/lib/google/cloud/config_delivery/v1/config_delivery.rb +57 -0
  15. data/lib/google/cloud/config_delivery/v1/rest.rb +38 -0
  16. data/lib/google/cloud/config_delivery/v1/version.rb +7 -2
  17. data/lib/google/cloud/config_delivery/v1.rb +45 -0
  18. data/lib/google/cloud/configdelivery/v1/config_delivery_pb.rb +115 -0
  19. data/lib/google/cloud/configdelivery/v1/config_delivery_services_pb.rb +95 -0
  20. data/lib/google-cloud-config_delivery-v1.rb +21 -0
  21. data/proto_docs/README.md +4 -0
  22. data/proto_docs/google/api/client.rb +473 -0
  23. data/proto_docs/google/api/field_behavior.rb +85 -0
  24. data/proto_docs/google/api/field_info.rb +88 -0
  25. data/proto_docs/google/api/launch_stage.rb +71 -0
  26. data/proto_docs/google/api/resource.rb +227 -0
  27. data/proto_docs/google/cloud/configdelivery/v1/config_delivery.rb +1384 -0
  28. data/proto_docs/google/longrunning/operations.rb +173 -0
  29. data/proto_docs/google/protobuf/any.rb +145 -0
  30. data/proto_docs/google/protobuf/duration.rb +98 -0
  31. data/proto_docs/google/protobuf/empty.rb +34 -0
  32. data/proto_docs/google/protobuf/field_mask.rb +229 -0
  33. data/proto_docs/google/protobuf/timestamp.rb +127 -0
  34. data/proto_docs/google/rpc/status.rb +48 -0
  35. metadata +82 -9
@@ -0,0 +1,188 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2025 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
+
20
+ module Google
21
+ module Cloud
22
+ module ConfigDelivery
23
+ module V1
24
+ module ConfigDelivery
25
+ # Path helper methods for the ConfigDelivery API.
26
+ module Paths
27
+ ##
28
+ # Create a fully-qualified FleetPackage resource string.
29
+ #
30
+ # The resource will be in the following format:
31
+ #
32
+ # `projects/{project}/locations/{location}/fleetPackages/{fleet_package}`
33
+ #
34
+ # @param project [String]
35
+ # @param location [String]
36
+ # @param fleet_package [String]
37
+ #
38
+ # @return [::String]
39
+ def fleet_package_path project:, location:, fleet_package:
40
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
41
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
42
+
43
+ "projects/#{project}/locations/#{location}/fleetPackages/#{fleet_package}"
44
+ end
45
+
46
+ ##
47
+ # Create a fully-qualified Location resource string.
48
+ #
49
+ # The resource will be in the following format:
50
+ #
51
+ # `projects/{project}/locations/{location}`
52
+ #
53
+ # @param project [String]
54
+ # @param location [String]
55
+ #
56
+ # @return [::String]
57
+ def location_path project:, location:
58
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
59
+
60
+ "projects/#{project}/locations/#{location}"
61
+ end
62
+
63
+ ##
64
+ # Create a fully-qualified Project resource string.
65
+ #
66
+ # The resource will be in the following format:
67
+ #
68
+ # `projects/{project}`
69
+ #
70
+ # @param project [String]
71
+ #
72
+ # @return [::String]
73
+ def project_path project:
74
+ "projects/#{project}"
75
+ end
76
+
77
+ ##
78
+ # Create a fully-qualified Release resource string.
79
+ #
80
+ # The resource will be in the following format:
81
+ #
82
+ # `projects/{project}/locations/{location}/resourceBundles/{resource_bundle}/releases/{release}`
83
+ #
84
+ # @param project [String]
85
+ # @param location [String]
86
+ # @param resource_bundle [String]
87
+ # @param release [String]
88
+ #
89
+ # @return [::String]
90
+ def release_path project:, location:, resource_bundle:, release:
91
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
92
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
93
+ raise ::ArgumentError, "resource_bundle cannot contain /" if resource_bundle.to_s.include? "/"
94
+
95
+ "projects/#{project}/locations/#{location}/resourceBundles/#{resource_bundle}/releases/#{release}"
96
+ end
97
+
98
+ ##
99
+ # Create a fully-qualified Repository resource string.
100
+ #
101
+ # The resource will be in the following format:
102
+ #
103
+ # `projects/{project}/locations/{location}/connections/{connection}/repositories/{repository}`
104
+ #
105
+ # @param project [String]
106
+ # @param location [String]
107
+ # @param connection [String]
108
+ # @param repository [String]
109
+ #
110
+ # @return [::String]
111
+ def repository_path project:, location:, connection:, repository:
112
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
113
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
114
+ raise ::ArgumentError, "connection cannot contain /" if connection.to_s.include? "/"
115
+
116
+ "projects/#{project}/locations/#{location}/connections/#{connection}/repositories/#{repository}"
117
+ end
118
+
119
+ ##
120
+ # Create a fully-qualified ResourceBundle resource string.
121
+ #
122
+ # The resource will be in the following format:
123
+ #
124
+ # `projects/{project}/locations/{location}/resourceBundles/{resource_bundle}`
125
+ #
126
+ # @param project [String]
127
+ # @param location [String]
128
+ # @param resource_bundle [String]
129
+ #
130
+ # @return [::String]
131
+ def resource_bundle_path project:, location:, resource_bundle:
132
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
133
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
134
+
135
+ "projects/#{project}/locations/#{location}/resourceBundles/#{resource_bundle}"
136
+ end
137
+
138
+ ##
139
+ # Create a fully-qualified Rollout resource string.
140
+ #
141
+ # The resource will be in the following format:
142
+ #
143
+ # `projects/{project}/locations/{location}/fleetPackages/{fleet_package}/rollouts/{rollout}`
144
+ #
145
+ # @param project [String]
146
+ # @param location [String]
147
+ # @param fleet_package [String]
148
+ # @param rollout [String]
149
+ #
150
+ # @return [::String]
151
+ def rollout_path project:, location:, fleet_package:, rollout:
152
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
153
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
154
+ raise ::ArgumentError, "fleet_package cannot contain /" if fleet_package.to_s.include? "/"
155
+
156
+ "projects/#{project}/locations/#{location}/fleetPackages/#{fleet_package}/rollouts/#{rollout}"
157
+ end
158
+
159
+ ##
160
+ # Create a fully-qualified Variant resource string.
161
+ #
162
+ # The resource will be in the following format:
163
+ #
164
+ # `projects/{project}/locations/{location}/resourceBundles/{resource_bundle}/releases/{release}/variants/{variant}`
165
+ #
166
+ # @param project [String]
167
+ # @param location [String]
168
+ # @param resource_bundle [String]
169
+ # @param release [String]
170
+ # @param variant [String]
171
+ #
172
+ # @return [::String]
173
+ def variant_path project:, location:, resource_bundle:, release:, variant:
174
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
175
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
176
+ raise ::ArgumentError, "resource_bundle cannot contain /" if resource_bundle.to_s.include? "/"
177
+ raise ::ArgumentError, "release cannot contain /" if release.to_s.include? "/"
178
+
179
+ "projects/#{project}/locations/#{location}/resourceBundles/#{resource_bundle}/releases/#{release}/variants/#{variant}"
180
+ end
181
+
182
+ extend self
183
+ end
184
+ end
185
+ end
186
+ end
187
+ end
188
+ end