google-cloud-network_services-v1beta1 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.
- checksums.yaml +4 -4
- data/.yardopts +12 -0
- data/AUTHENTICATION.md +122 -0
- data/README.md +154 -8
- data/lib/google/cloud/network_services/v1beta1/bindings_override.rb +108 -0
- data/lib/google/cloud/network_services/v1beta1/dep_service/client.rb +2076 -0
- data/lib/google/cloud/network_services/v1beta1/dep_service/credentials.rb +47 -0
- data/lib/google/cloud/network_services/v1beta1/dep_service/operations.rb +843 -0
- data/lib/google/cloud/network_services/v1beta1/dep_service/paths.rb +107 -0
- data/lib/google/cloud/network_services/v1beta1/dep_service/rest/client.rb +1937 -0
- data/lib/google/cloud/network_services/v1beta1/dep_service/rest/operations.rb +927 -0
- data/lib/google/cloud/network_services/v1beta1/dep_service/rest/service_stub.rb +1002 -0
- data/lib/google/cloud/network_services/v1beta1/dep_service/rest.rb +54 -0
- data/lib/google/cloud/network_services/v1beta1/dep_service.rb +56 -0
- data/lib/google/cloud/network_services/v1beta1/network_services/client.rb +947 -0
- data/lib/google/cloud/network_services/v1beta1/network_services/credentials.rb +47 -0
- data/lib/google/cloud/network_services/v1beta1/network_services/operations.rb +843 -0
- data/lib/google/cloud/network_services/v1beta1/network_services/paths.rb +126 -0
- data/lib/google/cloud/network_services/v1beta1/network_services/rest/client.rb +878 -0
- data/lib/google/cloud/network_services/v1beta1/network_services/rest/operations.rb +927 -0
- data/lib/google/cloud/network_services/v1beta1/network_services/rest/service_stub.rb +388 -0
- data/lib/google/cloud/network_services/v1beta1/network_services/rest.rb +54 -0
- data/lib/google/cloud/network_services/v1beta1/network_services.rb +56 -0
- data/lib/google/cloud/network_services/v1beta1/rest.rb +39 -0
- data/lib/google/cloud/network_services/v1beta1/version.rb +7 -2
- data/lib/google/cloud/network_services/v1beta1.rb +46 -0
- data/lib/google/cloud/networkservices/v1beta1/common_pb.rb +29 -0
- data/lib/google/cloud/networkservices/v1beta1/dep_pb.rb +67 -0
- data/lib/google/cloud/networkservices/v1beta1/dep_services_pb.rb +74 -0
- data/lib/google/cloud/networkservices/v1beta1/endpoint_policy_pb.rb +34 -0
- data/lib/google/cloud/networkservices/v1beta1/network_services_pb.rb +25 -0
- data/lib/google/cloud/networkservices/v1beta1/network_services_services_pb.rb +53 -0
- data/lib/google-cloud-network_services-v1beta1.rb +21 -0
- data/proto_docs/README.md +4 -0
- data/proto_docs/google/api/client.rb +593 -0
- data/proto_docs/google/api/field_behavior.rb +85 -0
- data/proto_docs/google/api/field_info.rb +88 -0
- data/proto_docs/google/api/launch_stage.rb +71 -0
- data/proto_docs/google/api/resource.rb +227 -0
- data/proto_docs/google/cloud/networkservices/v1beta1/common.rb +147 -0
- data/proto_docs/google/cloud/networkservices/v1beta1/dep.rb +928 -0
- data/proto_docs/google/cloud/networkservices/v1beta1/endpoint_policy.rb +196 -0
- data/proto_docs/google/longrunning/operations.rb +191 -0
- data/proto_docs/google/protobuf/any.rb +145 -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 +128 -0
- data/proto_docs/google/rpc/status.rb +48 -0
- metadata +111 -9
|
@@ -0,0 +1,126 @@
|
|
|
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
|
+
|
|
20
|
+
module Google
|
|
21
|
+
module Cloud
|
|
22
|
+
module NetworkServices
|
|
23
|
+
module V1beta1
|
|
24
|
+
module NetworkServices
|
|
25
|
+
# Path helper methods for the NetworkServices API.
|
|
26
|
+
module Paths
|
|
27
|
+
##
|
|
28
|
+
# Create a fully-qualified AuthorizationPolicy resource string.
|
|
29
|
+
#
|
|
30
|
+
# The resource will be in the following format:
|
|
31
|
+
#
|
|
32
|
+
# `projects/{project}/locations/{location}/authorizationPolicies/{authorization_policy}`
|
|
33
|
+
#
|
|
34
|
+
# @param project [String]
|
|
35
|
+
# @param location [String]
|
|
36
|
+
# @param authorization_policy [String]
|
|
37
|
+
#
|
|
38
|
+
# @return [::String]
|
|
39
|
+
def authorization_policy_path project:, location:, authorization_policy:
|
|
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}/authorizationPolicies/#{authorization_policy}"
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
##
|
|
47
|
+
# Create a fully-qualified ClientTlsPolicy resource string.
|
|
48
|
+
#
|
|
49
|
+
# The resource will be in the following format:
|
|
50
|
+
#
|
|
51
|
+
# `projects/{project}/locations/{location}/clientTlsPolicies/{client_tls_policy}`
|
|
52
|
+
#
|
|
53
|
+
# @param project [String]
|
|
54
|
+
# @param location [String]
|
|
55
|
+
# @param client_tls_policy [String]
|
|
56
|
+
#
|
|
57
|
+
# @return [::String]
|
|
58
|
+
def client_tls_policy_path project:, location:, client_tls_policy:
|
|
59
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
|
60
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
|
61
|
+
|
|
62
|
+
"projects/#{project}/locations/#{location}/clientTlsPolicies/#{client_tls_policy}"
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
##
|
|
66
|
+
# Create a fully-qualified EndpointPolicy resource string.
|
|
67
|
+
#
|
|
68
|
+
# The resource will be in the following format:
|
|
69
|
+
#
|
|
70
|
+
# `projects/{project}/locations/{location}/endpointPolicies/{endpoint_policy}`
|
|
71
|
+
#
|
|
72
|
+
# @param project [String]
|
|
73
|
+
# @param location [String]
|
|
74
|
+
# @param endpoint_policy [String]
|
|
75
|
+
#
|
|
76
|
+
# @return [::String]
|
|
77
|
+
def endpoint_policy_path project:, location:, endpoint_policy:
|
|
78
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
|
79
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
|
80
|
+
|
|
81
|
+
"projects/#{project}/locations/#{location}/endpointPolicies/#{endpoint_policy}"
|
|
82
|
+
end
|
|
83
|
+
|
|
84
|
+
##
|
|
85
|
+
# Create a fully-qualified Location resource string.
|
|
86
|
+
#
|
|
87
|
+
# The resource will be in the following format:
|
|
88
|
+
#
|
|
89
|
+
# `projects/{project}/locations/{location}`
|
|
90
|
+
#
|
|
91
|
+
# @param project [String]
|
|
92
|
+
# @param location [String]
|
|
93
|
+
#
|
|
94
|
+
# @return [::String]
|
|
95
|
+
def location_path project:, location:
|
|
96
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
|
97
|
+
|
|
98
|
+
"projects/#{project}/locations/#{location}"
|
|
99
|
+
end
|
|
100
|
+
|
|
101
|
+
##
|
|
102
|
+
# Create a fully-qualified ServerTlsPolicy resource string.
|
|
103
|
+
#
|
|
104
|
+
# The resource will be in the following format:
|
|
105
|
+
#
|
|
106
|
+
# `projects/{project}/locations/{location}/serverTlsPolicies/{server_tls_policy}`
|
|
107
|
+
#
|
|
108
|
+
# @param project [String]
|
|
109
|
+
# @param location [String]
|
|
110
|
+
# @param server_tls_policy [String]
|
|
111
|
+
#
|
|
112
|
+
# @return [::String]
|
|
113
|
+
def server_tls_policy_path project:, location:, server_tls_policy:
|
|
114
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
|
115
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
|
116
|
+
|
|
117
|
+
"projects/#{project}/locations/#{location}/serverTlsPolicies/#{server_tls_policy}"
|
|
118
|
+
end
|
|
119
|
+
|
|
120
|
+
extend self
|
|
121
|
+
end
|
|
122
|
+
end
|
|
123
|
+
end
|
|
124
|
+
end
|
|
125
|
+
end
|
|
126
|
+
end
|