google-cloud-saas_platform-saas_service_mgmt-v1beta1 0.a → 0.2.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 (47) 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/saas_platform/saas_service_mgmt/v1beta1/bindings_override.rb +77 -0
  6. data/lib/google/cloud/saas_platform/saas_service_mgmt/v1beta1/rest.rb +41 -0
  7. data/lib/google/cloud/saas_platform/saas_service_mgmt/v1beta1/saas_deployments/client.rb +3785 -0
  8. data/lib/google/cloud/saas_platform/saas_service_mgmt/v1beta1/saas_deployments/credentials.rb +49 -0
  9. data/lib/google/cloud/saas_platform/saas_service_mgmt/v1beta1/saas_deployments/paths.rb +185 -0
  10. data/lib/google/cloud/saas_platform/saas_service_mgmt/v1beta1/saas_deployments/rest/client.rb +3557 -0
  11. data/lib/google/cloud/saas_platform/saas_service_mgmt/v1beta1/saas_deployments/rest/service_stub.rb +1925 -0
  12. data/lib/google/cloud/saas_platform/saas_service_mgmt/v1beta1/saas_deployments/rest.rb +55 -0
  13. data/lib/google/cloud/saas_platform/saas_service_mgmt/v1beta1/saas_deployments.rb +57 -0
  14. data/lib/google/cloud/saas_platform/saas_service_mgmt/v1beta1/saas_rollouts/client.rb +1517 -0
  15. data/lib/google/cloud/saas_platform/saas_service_mgmt/v1beta1/saas_rollouts/credentials.rb +49 -0
  16. data/lib/google/cloud/saas_platform/saas_service_mgmt/v1beta1/saas_rollouts/paths.rb +128 -0
  17. data/lib/google/cloud/saas_platform/saas_service_mgmt/v1beta1/saas_rollouts/rest/client.rb +1429 -0
  18. data/lib/google/cloud/saas_platform/saas_service_mgmt/v1beta1/saas_rollouts/rest/service_stub.rb +697 -0
  19. data/lib/google/cloud/saas_platform/saas_service_mgmt/v1beta1/saas_rollouts/rest.rb +55 -0
  20. data/lib/google/cloud/saas_platform/saas_service_mgmt/v1beta1/saas_rollouts.rb +57 -0
  21. data/lib/google/cloud/saas_platform/saas_service_mgmt/v1beta1/version.rb +7 -2
  22. data/lib/google/cloud/saas_platform/saas_service_mgmt/v1beta1.rb +48 -0
  23. data/lib/google/cloud/saasplatform/saasservicemgmt/v1beta1/common_pb.rb +58 -0
  24. data/lib/google/cloud/saasplatform/saasservicemgmt/v1beta1/deployments_resources_pb.rb +73 -0
  25. data/lib/google/cloud/saasplatform/saasservicemgmt/v1beta1/deployments_service_pb.rb +89 -0
  26. data/lib/google/cloud/saasplatform/saasservicemgmt/v1beta1/deployments_service_services_pb.rb +105 -0
  27. data/lib/google/cloud/saasplatform/saasservicemgmt/v1beta1/rollouts_resources_pb.rb +60 -0
  28. data/lib/google/cloud/saasplatform/saasservicemgmt/v1beta1/rollouts_service_pb.rb +65 -0
  29. data/lib/google/cloud/saasplatform/saasservicemgmt/v1beta1/rollouts_service_services_pb.rb +65 -0
  30. data/lib/google-cloud-saas_platform-saas_service_mgmt-v1beta1.rb +21 -0
  31. data/proto_docs/README.md +4 -0
  32. data/proto_docs/google/api/client.rb +473 -0
  33. data/proto_docs/google/api/field_behavior.rb +85 -0
  34. data/proto_docs/google/api/field_info.rb +88 -0
  35. data/proto_docs/google/api/launch_stage.rb +71 -0
  36. data/proto_docs/google/api/resource.rb +227 -0
  37. data/proto_docs/google/cloud/saasplatform/saasservicemgmt/v1beta1/common.rb +231 -0
  38. data/proto_docs/google/cloud/saasplatform/saasservicemgmt/v1beta1/deployments_resources.rb +837 -0
  39. data/proto_docs/google/cloud/saasplatform/saasservicemgmt/v1beta1/deployments_service.rb +976 -0
  40. data/proto_docs/google/cloud/saasplatform/saasservicemgmt/v1beta1/rollouts_resources.rb +389 -0
  41. data/proto_docs/google/cloud/saasplatform/saasservicemgmt/v1beta1/rollouts_service.rb +344 -0
  42. data/proto_docs/google/protobuf/any.rb +145 -0
  43. data/proto_docs/google/protobuf/duration.rb +98 -0
  44. data/proto_docs/google/protobuf/empty.rb +34 -0
  45. data/proto_docs/google/protobuf/field_mask.rb +229 -0
  46. data/proto_docs/google/protobuf/timestamp.rb +127 -0
  47. metadata +94 -9
@@ -0,0 +1,49 @@
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
+ require "googleauth"
20
+
21
+ module Google
22
+ module Cloud
23
+ module SaasPlatform
24
+ module SaasServiceMgmt
25
+ module V1beta1
26
+ module SaasDeployments
27
+ # Credentials for the SaasDeployments API.
28
+ class Credentials < ::Google::Auth::Credentials
29
+ self.scope = [
30
+ "https://www.googleapis.com/auth/cloud-platform"
31
+ ]
32
+ self.env_vars = [
33
+ "GOOGLE_CLOUD_CREDENTIALS",
34
+ "GOOGLE_CLOUD_KEYFILE",
35
+ "GCLOUD_KEYFILE",
36
+ "GOOGLE_CLOUD_CREDENTIALS_JSON",
37
+ "GOOGLE_CLOUD_KEYFILE_JSON",
38
+ "GCLOUD_KEYFILE_JSON"
39
+ ]
40
+ self.paths = [
41
+ "~/.config/google_cloud/application_default_credentials.json"
42
+ ]
43
+ end
44
+ end
45
+ end
46
+ end
47
+ end
48
+ end
49
+ end
@@ -0,0 +1,185 @@
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 SaasPlatform
23
+ module SaasServiceMgmt
24
+ module V1beta1
25
+ module SaasDeployments
26
+ # Path helper methods for the SaasDeployments API.
27
+ module Paths
28
+ ##
29
+ # Create a fully-qualified Location resource string.
30
+ #
31
+ # The resource will be in the following format:
32
+ #
33
+ # `projects/{project}/locations/{location}`
34
+ #
35
+ # @param project [String]
36
+ # @param location [String]
37
+ #
38
+ # @return [::String]
39
+ def location_path project:, location:
40
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
41
+
42
+ "projects/#{project}/locations/#{location}"
43
+ end
44
+
45
+ ##
46
+ # Create a fully-qualified Release resource string.
47
+ #
48
+ # The resource will be in the following format:
49
+ #
50
+ # `projects/{project}/locations/{location}/releases/{release}`
51
+ #
52
+ # @param project [String]
53
+ # @param location [String]
54
+ # @param release [String]
55
+ #
56
+ # @return [::String]
57
+ def release_path project:, location:, release:
58
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
59
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
60
+
61
+ "projects/#{project}/locations/#{location}/releases/#{release}"
62
+ end
63
+
64
+ ##
65
+ # Create a fully-qualified Rollout resource string.
66
+ #
67
+ # The resource will be in the following format:
68
+ #
69
+ # `projects/{project}/locations/{location}/rollouts/{rollout_id}`
70
+ #
71
+ # @param project [String]
72
+ # @param location [String]
73
+ # @param rollout_id [String]
74
+ #
75
+ # @return [::String]
76
+ def rollout_path project:, location:, rollout_id:
77
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
78
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
79
+
80
+ "projects/#{project}/locations/#{location}/rollouts/#{rollout_id}"
81
+ end
82
+
83
+ ##
84
+ # Create a fully-qualified Saas resource string.
85
+ #
86
+ # The resource will be in the following format:
87
+ #
88
+ # `projects/{project}/locations/{location}/saas/{saas}`
89
+ #
90
+ # @param project [String]
91
+ # @param location [String]
92
+ # @param saas [String]
93
+ #
94
+ # @return [::String]
95
+ def saas_path project:, location:, saas:
96
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
97
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
98
+
99
+ "projects/#{project}/locations/#{location}/saas/#{saas}"
100
+ end
101
+
102
+ ##
103
+ # Create a fully-qualified Tenant resource string.
104
+ #
105
+ # The resource will be in the following format:
106
+ #
107
+ # `projects/{project}/locations/{location}/tenants/{tenant}`
108
+ #
109
+ # @param project [String]
110
+ # @param location [String]
111
+ # @param tenant [String]
112
+ #
113
+ # @return [::String]
114
+ def tenant_path project:, location:, tenant:
115
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
116
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
117
+
118
+ "projects/#{project}/locations/#{location}/tenants/#{tenant}"
119
+ end
120
+
121
+ ##
122
+ # Create a fully-qualified Unit resource string.
123
+ #
124
+ # The resource will be in the following format:
125
+ #
126
+ # `projects/{project}/locations/{location}/units/{unit}`
127
+ #
128
+ # @param project [String]
129
+ # @param location [String]
130
+ # @param unit [String]
131
+ #
132
+ # @return [::String]
133
+ def unit_path project:, location:, unit:
134
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
135
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
136
+
137
+ "projects/#{project}/locations/#{location}/units/#{unit}"
138
+ end
139
+
140
+ ##
141
+ # Create a fully-qualified UnitKind resource string.
142
+ #
143
+ # The resource will be in the following format:
144
+ #
145
+ # `projects/{project}/locations/{location}/unitKinds/{unit_kind}`
146
+ #
147
+ # @param project [String]
148
+ # @param location [String]
149
+ # @param unit_kind [String]
150
+ #
151
+ # @return [::String]
152
+ def unit_kind_path project:, location:, unit_kind:
153
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
154
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
155
+
156
+ "projects/#{project}/locations/#{location}/unitKinds/#{unit_kind}"
157
+ end
158
+
159
+ ##
160
+ # Create a fully-qualified UnitOperation resource string.
161
+ #
162
+ # The resource will be in the following format:
163
+ #
164
+ # `projects/{project}/locations/{location}/unitOperations/{unit_operation}`
165
+ #
166
+ # @param project [String]
167
+ # @param location [String]
168
+ # @param unit_operation [String]
169
+ #
170
+ # @return [::String]
171
+ def unit_operation_path project:, location:, unit_operation:
172
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
173
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
174
+
175
+ "projects/#{project}/locations/#{location}/unitOperations/#{unit_operation}"
176
+ end
177
+
178
+ extend self
179
+ end
180
+ end
181
+ end
182
+ end
183
+ end
184
+ end
185
+ end