google-cloud-telco_automation-v1 0.a → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.yardopts +12 -0
- data/AUTHENTICATION.md +149 -0
- data/README.md +144 -8
- data/lib/google/cloud/telco_automation/v1/bindings_override.rb +102 -0
- data/lib/google/cloud/telco_automation/v1/rest.rb +38 -0
- data/lib/google/cloud/telco_automation/v1/telco_automation/client.rb +3946 -0
- data/lib/google/cloud/telco_automation/v1/telco_automation/credentials.rb +47 -0
- data/lib/google/cloud/telco_automation/v1/telco_automation/operations.rb +779 -0
- data/lib/google/cloud/telco_automation/v1/telco_automation/paths.rb +172 -0
- data/lib/google/cloud/telco_automation/v1/telco_automation/rest/client.rb +3671 -0
- data/lib/google/cloud/telco_automation/v1/telco_automation/rest/operations.rb +870 -0
- data/lib/google/cloud/telco_automation/v1/telco_automation/rest/service_stub.rb +2188 -0
- data/lib/google/cloud/telco_automation/v1/telco_automation/rest.rb +58 -0
- data/lib/google/cloud/telco_automation/v1/telco_automation.rb +60 -0
- data/lib/google/cloud/telco_automation/v1/version.rb +7 -2
- data/lib/google/cloud/telco_automation/v1.rb +45 -0
- data/lib/google/cloud/telcoautomation/v1/telcoautomation_pb.rb +131 -0
- data/lib/google/cloud/telcoautomation/v1/telcoautomation_services_pb.rb +126 -0
- data/lib/google-cloud-telco_automation-v1.rb +21 -0
- data/proto_docs/README.md +4 -0
- data/proto_docs/google/api/client.rb +394 -0
- data/proto_docs/google/api/field_behavior.rb +85 -0
- data/proto_docs/google/api/launch_stage.rb +71 -0
- data/proto_docs/google/api/resource.rb +222 -0
- data/proto_docs/google/cloud/telcoautomation/v1/telcoautomation.rb +1534 -0
- data/proto_docs/google/longrunning/operations.rb +164 -0
- data/proto_docs/google/protobuf/any.rb +144 -0
- data/proto_docs/google/protobuf/duration.rb +98 -0
- data/proto_docs/google/protobuf/empty.rb +34 -0
- data/proto_docs/google/protobuf/field_mask.rb +229 -0
- data/proto_docs/google/protobuf/timestamp.rb +127 -0
- data/proto_docs/google/rpc/status.rb +48 -0
- metadata +209 -13
@@ -0,0 +1,172 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2023 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 TelcoAutomation
|
23
|
+
module V1
|
24
|
+
module TelcoAutomation
|
25
|
+
# Path helper methods for the TelcoAutomation API.
|
26
|
+
module Paths
|
27
|
+
##
|
28
|
+
# Create a fully-qualified Blueprint resource string.
|
29
|
+
#
|
30
|
+
# The resource will be in the following format:
|
31
|
+
#
|
32
|
+
# `projects/{project}/locations/{location}/orchestrationClusters/{orchestration_cluster}/blueprints/{blueprint}`
|
33
|
+
#
|
34
|
+
# @param project [String]
|
35
|
+
# @param location [String]
|
36
|
+
# @param orchestration_cluster [String]
|
37
|
+
# @param blueprint [String]
|
38
|
+
#
|
39
|
+
# @return [::String]
|
40
|
+
def blueprint_path project:, location:, orchestration_cluster:, blueprint:
|
41
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
42
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
43
|
+
raise ::ArgumentError, "orchestration_cluster cannot contain /" if orchestration_cluster.to_s.include? "/"
|
44
|
+
|
45
|
+
"projects/#{project}/locations/#{location}/orchestrationClusters/#{orchestration_cluster}/blueprints/#{blueprint}"
|
46
|
+
end
|
47
|
+
|
48
|
+
##
|
49
|
+
# Create a fully-qualified Deployment resource string.
|
50
|
+
#
|
51
|
+
# The resource will be in the following format:
|
52
|
+
#
|
53
|
+
# `projects/{project}/locations/{location}/orchestrationClusters/{orchestration_cluster}/deployments/{deployment}`
|
54
|
+
#
|
55
|
+
# @param project [String]
|
56
|
+
# @param location [String]
|
57
|
+
# @param orchestration_cluster [String]
|
58
|
+
# @param deployment [String]
|
59
|
+
#
|
60
|
+
# @return [::String]
|
61
|
+
def deployment_path project:, location:, orchestration_cluster:, deployment:
|
62
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
63
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
64
|
+
raise ::ArgumentError, "orchestration_cluster cannot contain /" if orchestration_cluster.to_s.include? "/"
|
65
|
+
|
66
|
+
"projects/#{project}/locations/#{location}/orchestrationClusters/#{orchestration_cluster}/deployments/#{deployment}"
|
67
|
+
end
|
68
|
+
|
69
|
+
##
|
70
|
+
# Create a fully-qualified EdgeSlm resource string.
|
71
|
+
#
|
72
|
+
# The resource will be in the following format:
|
73
|
+
#
|
74
|
+
# `projects/{project}/locations/{location}/edgeSlms/{edge_slm}`
|
75
|
+
#
|
76
|
+
# @param project [String]
|
77
|
+
# @param location [String]
|
78
|
+
# @param edge_slm [String]
|
79
|
+
#
|
80
|
+
# @return [::String]
|
81
|
+
def edge_slm_path project:, location:, edge_slm:
|
82
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
83
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
84
|
+
|
85
|
+
"projects/#{project}/locations/#{location}/edgeSlms/#{edge_slm}"
|
86
|
+
end
|
87
|
+
|
88
|
+
##
|
89
|
+
# Create a fully-qualified HydratedDeployment resource string.
|
90
|
+
#
|
91
|
+
# The resource will be in the following format:
|
92
|
+
#
|
93
|
+
# `projects/{project}/locations/{location}/orchestrationClusters/{orchestration_cluster}/deployments/{deployment}/hydratedDeployments/{hydrated_deployment}`
|
94
|
+
#
|
95
|
+
# @param project [String]
|
96
|
+
# @param location [String]
|
97
|
+
# @param orchestration_cluster [String]
|
98
|
+
# @param deployment [String]
|
99
|
+
# @param hydrated_deployment [String]
|
100
|
+
#
|
101
|
+
# @return [::String]
|
102
|
+
def hydrated_deployment_path project:, location:, orchestration_cluster:, deployment:, hydrated_deployment:
|
103
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
104
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
105
|
+
raise ::ArgumentError, "orchestration_cluster cannot contain /" if orchestration_cluster.to_s.include? "/"
|
106
|
+
raise ::ArgumentError, "deployment cannot contain /" if deployment.to_s.include? "/"
|
107
|
+
|
108
|
+
"projects/#{project}/locations/#{location}/orchestrationClusters/#{orchestration_cluster}/deployments/#{deployment}/hydratedDeployments/#{hydrated_deployment}"
|
109
|
+
end
|
110
|
+
|
111
|
+
##
|
112
|
+
# Create a fully-qualified Location resource string.
|
113
|
+
#
|
114
|
+
# The resource will be in the following format:
|
115
|
+
#
|
116
|
+
# `projects/{project}/locations/{location}`
|
117
|
+
#
|
118
|
+
# @param project [String]
|
119
|
+
# @param location [String]
|
120
|
+
#
|
121
|
+
# @return [::String]
|
122
|
+
def location_path project:, location:
|
123
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
124
|
+
|
125
|
+
"projects/#{project}/locations/#{location}"
|
126
|
+
end
|
127
|
+
|
128
|
+
##
|
129
|
+
# Create a fully-qualified OrchestrationCluster resource string.
|
130
|
+
#
|
131
|
+
# The resource will be in the following format:
|
132
|
+
#
|
133
|
+
# `projects/{project}/locations/{location}/orchestrationClusters/{orchestration_cluster}`
|
134
|
+
#
|
135
|
+
# @param project [String]
|
136
|
+
# @param location [String]
|
137
|
+
# @param orchestration_cluster [String]
|
138
|
+
#
|
139
|
+
# @return [::String]
|
140
|
+
def orchestration_cluster_path project:, location:, orchestration_cluster:
|
141
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
142
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
143
|
+
|
144
|
+
"projects/#{project}/locations/#{location}/orchestrationClusters/#{orchestration_cluster}"
|
145
|
+
end
|
146
|
+
|
147
|
+
##
|
148
|
+
# Create a fully-qualified PublicBlueprint resource string.
|
149
|
+
#
|
150
|
+
# The resource will be in the following format:
|
151
|
+
#
|
152
|
+
# `projects/{project}/locations/{location}/publicBlueprints/{public_lueprint}`
|
153
|
+
#
|
154
|
+
# @param project [String]
|
155
|
+
# @param location [String]
|
156
|
+
# @param public_lueprint [String]
|
157
|
+
#
|
158
|
+
# @return [::String]
|
159
|
+
def public_blueprint_path project:, location:, public_lueprint:
|
160
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
161
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
162
|
+
|
163
|
+
"projects/#{project}/locations/#{location}/publicBlueprints/#{public_lueprint}"
|
164
|
+
end
|
165
|
+
|
166
|
+
extend self
|
167
|
+
end
|
168
|
+
end
|
169
|
+
end
|
170
|
+
end
|
171
|
+
end
|
172
|
+
end
|