google-cloud-developer_connect-v1 1.0.1 → 1.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.
- checksums.yaml +4 -4
- data/lib/google/cloud/developer_connect/v1/developer_connect/client.rb +1087 -0
- data/lib/google/cloud/developer_connect/v1/developer_connect/paths.rb +40 -0
- data/lib/google/cloud/developer_connect/v1/developer_connect/rest/client.rb +1017 -0
- data/lib/google/cloud/developer_connect/v1/developer_connect/rest/service_stub.rb +613 -0
- data/lib/google/cloud/developer_connect/v1/rest.rb +1 -0
- data/lib/google/cloud/developer_connect/v1/version.rb +1 -1
- data/lib/google/cloud/developer_connect/v1.rb +1 -0
- data/lib/google/cloud/developerconnect/v1/developer_connect_pb.rb +22 -1
- data/lib/google/cloud/developerconnect/v1/developer_connect_services_pb.rb +20 -0
- data/lib/google/cloud/developerconnect/v1/insights_config_pb.rb +69 -0
- data/lib/google/cloud/developerconnect/v1/insights_config_service/client.rb +956 -0
- data/lib/google/cloud/developerconnect/v1/insights_config_service/credentials.rb +47 -0
- data/lib/google/cloud/developerconnect/v1/insights_config_service/operations.rb +813 -0
- data/lib/google/cloud/developerconnect/v1/insights_config_service/paths.rb +69 -0
- data/lib/google/cloud/developerconnect/v1/insights_config_service/rest/client.rb +903 -0
- data/lib/google/cloud/developerconnect/v1/insights_config_service/rest/operations.rb +914 -0
- data/lib/google/cloud/developerconnect/v1/insights_config_service/rest/service_stub.rb +388 -0
- data/lib/google/cloud/developerconnect/v1/insights_config_service/rest.rb +62 -0
- data/lib/google/cloud/developerconnect/v1/insights_config_service.rb +64 -0
- data/lib/google/cloud/developerconnect/v1/insights_config_services_pb.rb +61 -0
- data/proto_docs/google/cloud/developerconnect/v1/developer_connect.rb +515 -8
- data/proto_docs/google/cloud/developerconnect/v1/insights_config.rb +353 -0
- metadata +23 -23
@@ -24,6 +24,25 @@ module Google
|
|
24
24
|
module DeveloperConnect
|
25
25
|
# Path helper methods for the DeveloperConnect API.
|
26
26
|
module Paths
|
27
|
+
##
|
28
|
+
# Create a fully-qualified AccountConnector resource string.
|
29
|
+
#
|
30
|
+
# The resource will be in the following format:
|
31
|
+
#
|
32
|
+
# `projects/{project}/locations/{location}/accountConnectors/{account_connector}`
|
33
|
+
#
|
34
|
+
# @param project [String]
|
35
|
+
# @param location [String]
|
36
|
+
# @param account_connector [String]
|
37
|
+
#
|
38
|
+
# @return [::String]
|
39
|
+
def account_connector_path project:, location:, account_connector:
|
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}/accountConnectors/#{account_connector}"
|
44
|
+
end
|
45
|
+
|
27
46
|
##
|
28
47
|
# Create a fully-qualified Connection resource string.
|
29
48
|
#
|
@@ -142,6 +161,27 @@ module Google
|
|
142
161
|
"projects/#{project}/locations/#{location}/namespaces/#{namespace}/services/#{service}"
|
143
162
|
end
|
144
163
|
|
164
|
+
##
|
165
|
+
# Create a fully-qualified User resource string.
|
166
|
+
#
|
167
|
+
# The resource will be in the following format:
|
168
|
+
#
|
169
|
+
# `projects/{project}/locations/{location}/accountConnectors/{account_connector}/users/{user}`
|
170
|
+
#
|
171
|
+
# @param project [String]
|
172
|
+
# @param location [String]
|
173
|
+
# @param account_connector [String]
|
174
|
+
# @param user [String]
|
175
|
+
#
|
176
|
+
# @return [::String]
|
177
|
+
def user_path project:, location:, account_connector:, user:
|
178
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
179
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
180
|
+
raise ::ArgumentError, "account_connector cannot contain /" if account_connector.to_s.include? "/"
|
181
|
+
|
182
|
+
"projects/#{project}/locations/#{location}/accountConnectors/#{account_connector}/users/#{user}"
|
183
|
+
end
|
184
|
+
|
145
185
|
extend self
|
146
186
|
end
|
147
187
|
end
|