strongdm 1.0.1 → 1.0.8
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/README.md +26 -7
- data/doc/LICENSE.html +1 -11
- data/doc/Object.html +1 -356
- data/doc/README_md.html +31 -20
- data/doc/SDM.html +1 -1
- data/doc/SDM/AKS.html +40 -4
- data/doc/SDM/AKSBasicAuth.html +40 -4
- data/doc/SDM/AKSServiceAccount.html +40 -4
- data/doc/SDM/AccountAttachment.html +3 -3
- data/doc/SDM/AccountAttachmentCreateResponse.html +3 -3
- data/doc/SDM/AccountAttachmentDeleteResponse.html +3 -3
- data/doc/SDM/AccountAttachmentGetResponse.html +3 -3
- data/doc/SDM/AccountAttachments.html +22 -24
- data/doc/SDM/AccountCreateResponse.html +3 -3
- data/doc/SDM/AccountDeleteResponse.html +3 -3
- data/doc/SDM/AccountGetResponse.html +3 -3
- data/doc/SDM/AccountGrant.html +3 -3
- data/doc/SDM/AccountGrantCreateResponse.html +3 -3
- data/doc/SDM/AccountGrantDeleteResponse.html +3 -3
- data/doc/SDM/AccountGrantGetResponse.html +3 -3
- data/doc/SDM/AccountGrants.html +24 -24
- data/doc/SDM/AccountUpdateResponse.html +3 -3
- data/doc/SDM/Accounts.html +30 -30
- data/doc/SDM/AlreadyExistsError.html +1 -1
- data/doc/SDM/AmazonEKS.html +58 -4
- data/doc/SDM/AmazonES.html +22 -4
- data/doc/SDM/Athena.html +22 -4
- data/doc/SDM/AuroraMysql.html +22 -4
- data/doc/SDM/AuroraPostgres.html +22 -4
- data/doc/SDM/AuthenticationError.html +1 -1
- data/doc/SDM/BadRequestError.html +1 -1
- data/doc/SDM/BigQuery.html +22 -4
- data/doc/SDM/Cassandra.html +22 -4
- data/doc/SDM/Citus.html +409 -0
- data/doc/SDM/Client.html +2 -2
- data/doc/SDM/Clustrix.html +22 -4
- data/doc/SDM/Cockroach.html +22 -4
- data/doc/SDM/CreateResponseMetadata.html +1 -1
- data/doc/SDM/DB2.html +391 -0
- data/doc/SDM/DB2LUW.html +391 -0
- data/doc/SDM/DB2i.html +391 -0
- data/doc/SDM/DeadlineExceededError.html +1 -1
- data/doc/SDM/DeleteResponseMetadata.html +1 -1
- data/doc/SDM/Druid.html +22 -4
- data/doc/SDM/DynamoDB.html +22 -4
- data/doc/SDM/Elastic.html +22 -4
- data/doc/SDM/ElasticacheRedis.html +22 -4
- data/doc/SDM/Gateway.html +22 -4
- data/doc/SDM/GetResponseMetadata.html +1 -1
- data/doc/SDM/GoogleGKE.html +40 -4
- data/doc/SDM/Greenplum.html +22 -4
- data/doc/SDM/HTTPAuth.html +22 -4
- data/doc/SDM/HTTPBasicAuth.html +22 -4
- data/doc/SDM/HTTPNoAuth.html +22 -4
- data/doc/SDM/InternalError.html +1 -1
- data/doc/SDM/Kubernetes.html +40 -4
- data/doc/SDM/KubernetesBasicAuth.html +40 -4
- data/doc/SDM/KubernetesServiceAccount.html +40 -4
- data/doc/SDM/Maria.html +22 -4
- data/doc/SDM/Memcached.html +22 -4
- data/doc/SDM/Memsql.html +22 -4
- data/doc/SDM/MongoHost.html +22 -4
- data/doc/SDM/MongoLegacyHost.html +22 -4
- data/doc/SDM/MongoLegacyReplicaset.html +22 -4
- data/doc/SDM/MongoReplicaSet.html +22 -4
- data/doc/SDM/Mysql.html +22 -4
- data/doc/SDM/NodeCreateResponse.html +3 -3
- data/doc/SDM/NodeDeleteResponse.html +3 -3
- data/doc/SDM/NodeGetResponse.html +3 -3
- data/doc/SDM/NodeUpdateResponse.html +3 -3
- data/doc/SDM/Nodes.html +30 -30
- data/doc/SDM/NotFoundError.html +1 -1
- data/doc/SDM/Oracle.html +22 -4
- data/doc/SDM/PermissionError.html +1 -1
- data/doc/SDM/Plumbing.html +4355 -3574
- data/doc/SDM/Postgres.html +22 -4
- data/doc/SDM/Presto.html +22 -4
- data/doc/SDM/RDP.html +22 -4
- data/doc/SDM/RPCError.html +1 -1
- data/doc/SDM/RateLimitError.html +1 -1
- data/doc/SDM/RateLimitMetadata.html +1 -1
- data/doc/SDM/Redis.html +22 -4
- data/doc/SDM/Redshift.html +22 -4
- data/doc/SDM/Relay.html +23 -5
- data/doc/SDM/ResourceCreateResponse.html +3 -3
- data/doc/SDM/ResourceDeleteResponse.html +3 -3
- data/doc/SDM/ResourceGetResponse.html +3 -3
- data/doc/SDM/ResourceUpdateResponse.html +3 -3
- data/doc/SDM/Resources.html +29 -29
- data/doc/SDM/Role.html +22 -4
- data/doc/SDM/RoleAttachment.html +3 -3
- data/doc/SDM/RoleAttachmentCreateResponse.html +3 -3
- data/doc/SDM/RoleAttachmentDeleteResponse.html +3 -3
- data/doc/SDM/RoleAttachmentGetResponse.html +3 -3
- data/doc/SDM/RoleAttachments.html +23 -23
- data/doc/SDM/RoleCreateResponse.html +3 -3
- data/doc/SDM/RoleDeleteResponse.html +3 -3
- data/doc/SDM/RoleGetResponse.html +3 -3
- data/doc/SDM/RoleGrant.html +3 -3
- data/doc/SDM/RoleGrantCreateResponse.html +3 -3
- data/doc/SDM/RoleGrantDeleteResponse.html +3 -3
- data/doc/SDM/RoleGrantGetResponse.html +3 -3
- data/doc/SDM/RoleGrants.html +23 -23
- data/doc/SDM/RoleUpdateResponse.html +3 -3
- data/doc/SDM/Roles.html +29 -29
- data/doc/SDM/SQLServer.html +22 -4
- data/doc/SDM/SSH.html +40 -4
- data/doc/SDM/SSHCert.html +373 -0
- data/doc/SDM/Service.html +22 -4
- data/doc/SDM/Snowflake.html +22 -4
- data/doc/SDM/Sybase.html +22 -4
- data/doc/SDM/SybaseIQ.html +22 -4
- data/doc/SDM/Teradata.html +22 -4
- data/doc/SDM/UpdateResponseMetadata.html +1 -1
- data/doc/SDM/User.html +22 -4
- data/doc/V1.html +31 -6
- data/doc/V1/AccountAttachments.html +1 -1
- data/doc/V1/AccountAttachments/Service.html +1 -1
- data/doc/V1/AccountGrants.html +1 -1
- data/doc/V1/AccountGrants/Service.html +2 -2
- data/doc/V1/Accounts.html +1 -1
- data/doc/V1/Accounts/Service.html +1 -1
- data/doc/V1/Nodes.html +1 -1
- data/doc/V1/Nodes/Service.html +1 -1
- data/doc/V1/Resources.html +1 -1
- data/doc/V1/Resources/Service.html +1 -1
- data/doc/V1/RoleAttachments.html +1 -1
- data/doc/V1/RoleAttachments/Service.html +1 -1
- data/doc/V1/RoleGrants.html +1 -1
- data/doc/V1/RoleGrants/Service.html +1 -1
- data/doc/V1/Roles.html +1 -1
- data/doc/V1/Roles/Service.html +1 -1
- data/doc/V1/Tags.html +113 -0
- data/doc/created.rid +35 -41
- data/doc/css/rdoc.css +13 -5
- data/doc/examples/Gemfile.html +1 -11
- data/doc/index.html +11 -13
- data/doc/js/navigation.js.gz +0 -0
- data/doc/js/search_index.js +1 -1
- data/doc/js/search_index.js.gz +0 -0
- data/doc/js/searcher.js.gz +0 -0
- data/doc/lib/version.html +3 -13
- data/doc/table_of_contents.html +1028 -933
- data/lib/grpc/account_attachments_pb.rb +0 -5
- data/lib/grpc/account_grants_services_pb.rb +1 -1
- data/lib/grpc/accounts_pb.rb +3 -0
- data/lib/grpc/drivers_pb.rb +111 -0
- data/lib/grpc/nodes_pb.rb +3 -0
- data/lib/grpc/options_pb.rb +11 -0
- data/lib/grpc/plumbing.rb +2024 -1682
- data/lib/grpc/roles_pb.rb +2 -0
- data/lib/grpc/spec_pb.rb +0 -1
- data/lib/grpc/tags_pb.rb +36 -0
- data/lib/models/porcelain.rb +670 -38
- data/lib/strongdm.rb +1 -1
- data/lib/svc.rb +159 -161
- data/lib/version +16 -2
- data/lib/version.rb +1 -1
- metadata +23 -24
- data/examples/Gemfile +0 -3
- data/examples/Gemfile.lock +0 -14
- data/examples/README.md +0 -5
- data/examples/listUsers.rb +0 -21
- data/examples/okta-sync/Gemfile +0 -4
- data/examples/okta-sync/Gemfile.lock +0 -38
- data/examples/okta-sync/matchers.yml +0 -11
- data/examples/okta-sync/oktaSync.rb +0 -173
- data/examples/panicButton.rb +0 -138
@@ -179,7 +179,7 @@
|
|
179
179
|
|
180
180
|
|
181
181
|
<div class="method-source-code" id="new-source">
|
182
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
182
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 122</span>
|
183
183
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(
|
184
184
|
<span class="ruby-value">meta:</span><span class="ruby-keyword">nil</span> \
|
185
185
|
,
|
@@ -234,7 +234,7 @@
|
|
234
234
|
|
235
235
|
|
236
236
|
<div class="method-source-code" id="to_json-source">
|
237
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
237
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 139</span>
|
238
238
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">to_json</span>(<span class="ruby-identifier">options</span>={})
|
239
239
|
<span class="ruby-identifier">hash</span> = {}
|
240
240
|
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">instance_variables</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">var</span><span class="ruby-operator">|</span>
|
@@ -261,7 +261,7 @@
|
|
261
261
|
|
262
262
|
<footer id="validator-badges" role="contentinfo">
|
263
263
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
264
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.1.
|
264
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.1.
|
265
265
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
266
266
|
</footer>
|
267
267
|
|
@@ -166,7 +166,7 @@
|
|
166
166
|
|
167
167
|
|
168
168
|
<div class="method-source-code" id="new-source">
|
169
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
169
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 186</span>
|
170
170
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(
|
171
171
|
<span class="ruby-value">meta:</span><span class="ruby-keyword">nil</span> \
|
172
172
|
,
|
@@ -216,7 +216,7 @@
|
|
216
216
|
|
217
217
|
|
218
218
|
<div class="method-source-code" id="to_json-source">
|
219
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
219
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 198</span>
|
220
220
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">to_json</span>(<span class="ruby-identifier">options</span>={})
|
221
221
|
<span class="ruby-identifier">hash</span> = {}
|
222
222
|
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">instance_variables</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">var</span><span class="ruby-operator">|</span>
|
@@ -243,7 +243,7 @@
|
|
243
243
|
|
244
244
|
<footer id="validator-badges" role="contentinfo">
|
245
245
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
246
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.1.
|
246
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.1.
|
247
247
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
248
248
|
</footer>
|
249
249
|
|
@@ -179,7 +179,7 @@
|
|
179
179
|
|
180
180
|
|
181
181
|
<div class="method-source-code" id="new-source">
|
182
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
182
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 155</span>
|
183
183
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(
|
184
184
|
<span class="ruby-value">meta:</span><span class="ruby-keyword">nil</span> \
|
185
185
|
,
|
@@ -234,7 +234,7 @@
|
|
234
234
|
|
235
235
|
|
236
236
|
<div class="method-source-code" id="to_json-source">
|
237
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
237
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 172</span>
|
238
238
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">to_json</span>(<span class="ruby-identifier">options</span>={})
|
239
239
|
<span class="ruby-identifier">hash</span> = {}
|
240
240
|
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">instance_variables</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">var</span><span class="ruby-operator">|</span>
|
@@ -261,7 +261,7 @@
|
|
261
261
|
|
262
262
|
<footer id="validator-badges" role="contentinfo">
|
263
263
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
264
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.1.
|
264
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.1.
|
265
265
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
266
266
|
</footer>
|
267
267
|
|
@@ -148,7 +148,7 @@
|
|
148
148
|
<span class="ruby-ivar">@stub</span> = <span class="ruby-constant">V1</span><span class="ruby-operator">::</span><span class="ruby-constant">AccountAttachments</span><span class="ruby-operator">::</span><span class="ruby-constant">Stub</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">host</span>, <span class="ruby-identifier">cred</span>)
|
149
149
|
<span class="ruby-keyword">end</span>
|
150
150
|
<span class="ruby-keyword">rescue</span> <span class="ruby-operator">=></span> <span class="ruby-identifier">exception</span>
|
151
|
-
<span class="ruby-identifier">raise</span> <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">
|
151
|
+
<span class="ruby-identifier">raise</span> <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">convert_error_to_porcelain</span>(<span class="ruby-identifier">exception</span>)
|
152
152
|
<span class="ruby-keyword">end</span>
|
153
153
|
<span class="ruby-ivar">@parent</span> = <span class="ruby-identifier">parent</span>
|
154
154
|
<span class="ruby-keyword">end</span></pre>
|
@@ -174,7 +174,7 @@
|
|
174
174
|
|
175
175
|
<div class="method-heading">
|
176
176
|
<span class="method-name">create</span><span
|
177
|
-
class="method-args">( account_attachment \ ,
|
177
|
+
class="method-args">( account_attachment \ , deadline:nil)</span>
|
178
178
|
|
179
179
|
<span class="method-click-advice">click to toggle source</span>
|
180
180
|
|
@@ -193,12 +193,10 @@
|
|
193
193
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">create</span>(
|
194
194
|
<span class="ruby-identifier">account_attachment</span> \
|
195
195
|
,
|
196
|
-
<span class="ruby-value">options:</span><span class="ruby-keyword">nil</span>,
|
197
196
|
<span class="ruby-value">deadline:</span><span class="ruby-keyword">nil</span>)
|
198
197
|
<span class="ruby-identifier">req</span> = <span class="ruby-constant">V1</span><span class="ruby-operator">::</span><span class="ruby-constant">AccountAttachmentCreateRequest</span>.<span class="ruby-identifier">new</span>()
|
199
198
|
|
200
|
-
<span class="ruby-identifier">req</span>.<span class="ruby-identifier">account_attachment</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">
|
201
|
-
<span class="ruby-identifier">req</span>.<span class="ruby-identifier">options</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">account_attachment_create_options_to_plumbing</span>(<span class="ruby-identifier">options</span>)
|
199
|
+
<span class="ruby-identifier">req</span>.<span class="ruby-identifier">account_attachment</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">convert_account_attachment_to_plumbing</span>(<span class="ruby-identifier">account_attachment</span>)
|
202
200
|
<span class="ruby-identifier">tries</span> = <span class="ruby-value">0</span>
|
203
201
|
<span class="ruby-identifier">plumbing_response</span> = <span class="ruby-keyword">nil</span>
|
204
202
|
<span class="ruby-identifier">loop</span> <span class="ruby-keyword">do</span>
|
@@ -210,16 +208,16 @@
|
|
210
208
|
<span class="ruby-ivar">@parent</span>.<span class="ruby-identifier">jitterSleep</span>(<span class="ruby-identifier">tries</span>)
|
211
209
|
<span class="ruby-keyword">next</span>
|
212
210
|
<span class="ruby-keyword">end</span>
|
213
|
-
<span class="ruby-identifier">raise</span> <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">
|
211
|
+
<span class="ruby-identifier">raise</span> <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">convert_error_to_porcelain</span>(<span class="ruby-identifier">exception</span>)
|
214
212
|
<span class="ruby-keyword">end</span>
|
215
213
|
<span class="ruby-keyword">break</span>
|
216
214
|
<span class="ruby-keyword">end</span>
|
217
215
|
|
218
216
|
|
219
217
|
<span class="ruby-identifier">resp</span> = <span class="ruby-constant">AccountAttachmentCreateResponse</span>.<span class="ruby-identifier">new</span>()
|
220
|
-
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">meta</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">
|
221
|
-
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">account_attachment</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">
|
222
|
-
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">rate_limit</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">
|
218
|
+
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">meta</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">convert_create_response_metadata_to_porcelain</span>(<span class="ruby-identifier">plumbing_response</span>.<span class="ruby-identifier">meta</span>)
|
219
|
+
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">account_attachment</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">convert_account_attachment_to_porcelain</span>(<span class="ruby-identifier">plumbing_response</span>.<span class="ruby-identifier">account_attachment</span>)
|
220
|
+
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">rate_limit</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">convert_rate_limit_metadata_to_porcelain</span>(<span class="ruby-identifier">plumbing_response</span>.<span class="ruby-identifier">rate_limit</span>)
|
223
221
|
<span class="ruby-identifier">resp</span>
|
224
222
|
<span class="ruby-keyword">end</span></pre>
|
225
223
|
</div>
|
@@ -251,14 +249,14 @@
|
|
251
249
|
|
252
250
|
|
253
251
|
<div class="method-source-code" id="delete-source">
|
254
|
-
<pre><span class="ruby-comment"># File lib/svc.rb, line
|
252
|
+
<pre><span class="ruby-comment"># File lib/svc.rb, line 105</span>
|
255
253
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">delete</span>(
|
256
254
|
<span class="ruby-identifier">id</span> \
|
257
255
|
,
|
258
256
|
<span class="ruby-value">deadline:</span><span class="ruby-keyword">nil</span>)
|
259
257
|
<span class="ruby-identifier">req</span> = <span class="ruby-constant">V1</span><span class="ruby-operator">::</span><span class="ruby-constant">AccountAttachmentDeleteRequest</span>.<span class="ruby-identifier">new</span>()
|
260
258
|
|
261
|
-
<span class="ruby-identifier">req</span>.<span class="ruby-identifier">id</span> = <span class="ruby-identifier">id</span>
|
259
|
+
<span class="ruby-identifier">req</span>.<span class="ruby-identifier">id</span> = (<span class="ruby-identifier">id</span>)
|
262
260
|
<span class="ruby-identifier">tries</span> = <span class="ruby-value">0</span>
|
263
261
|
<span class="ruby-identifier">plumbing_response</span> = <span class="ruby-keyword">nil</span>
|
264
262
|
<span class="ruby-identifier">loop</span> <span class="ruby-keyword">do</span>
|
@@ -270,15 +268,15 @@
|
|
270
268
|
<span class="ruby-ivar">@parent</span>.<span class="ruby-identifier">jitterSleep</span>(<span class="ruby-identifier">tries</span>)
|
271
269
|
<span class="ruby-keyword">next</span>
|
272
270
|
<span class="ruby-keyword">end</span>
|
273
|
-
<span class="ruby-identifier">raise</span> <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">
|
271
|
+
<span class="ruby-identifier">raise</span> <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">convert_error_to_porcelain</span>(<span class="ruby-identifier">exception</span>)
|
274
272
|
<span class="ruby-keyword">end</span>
|
275
273
|
<span class="ruby-keyword">break</span>
|
276
274
|
<span class="ruby-keyword">end</span>
|
277
275
|
|
278
276
|
|
279
277
|
<span class="ruby-identifier">resp</span> = <span class="ruby-constant">AccountAttachmentDeleteResponse</span>.<span class="ruby-identifier">new</span>()
|
280
|
-
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">meta</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">
|
281
|
-
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">rate_limit</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">
|
278
|
+
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">meta</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">convert_delete_response_metadata_to_porcelain</span>(<span class="ruby-identifier">plumbing_response</span>.<span class="ruby-identifier">meta</span>)
|
279
|
+
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">rate_limit</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">convert_rate_limit_metadata_to_porcelain</span>(<span class="ruby-identifier">plumbing_response</span>.<span class="ruby-identifier">rate_limit</span>)
|
282
280
|
<span class="ruby-identifier">resp</span>
|
283
281
|
<span class="ruby-keyword">end</span></pre>
|
284
282
|
</div>
|
@@ -310,14 +308,14 @@
|
|
310
308
|
|
311
309
|
|
312
310
|
<div class="method-source-code" id="get-source">
|
313
|
-
<pre><span class="ruby-comment"># File lib/svc.rb, line
|
311
|
+
<pre><span class="ruby-comment"># File lib/svc.rb, line 74</span>
|
314
312
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">get</span>(
|
315
313
|
<span class="ruby-identifier">id</span> \
|
316
314
|
,
|
317
315
|
<span class="ruby-value">deadline:</span><span class="ruby-keyword">nil</span>)
|
318
316
|
<span class="ruby-identifier">req</span> = <span class="ruby-constant">V1</span><span class="ruby-operator">::</span><span class="ruby-constant">AccountAttachmentGetRequest</span>.<span class="ruby-identifier">new</span>()
|
319
317
|
|
320
|
-
<span class="ruby-identifier">req</span>.<span class="ruby-identifier">id</span> = <span class="ruby-identifier">id</span>
|
318
|
+
<span class="ruby-identifier">req</span>.<span class="ruby-identifier">id</span> = (<span class="ruby-identifier">id</span>)
|
321
319
|
<span class="ruby-identifier">tries</span> = <span class="ruby-value">0</span>
|
322
320
|
<span class="ruby-identifier">plumbing_response</span> = <span class="ruby-keyword">nil</span>
|
323
321
|
<span class="ruby-identifier">loop</span> <span class="ruby-keyword">do</span>
|
@@ -329,16 +327,16 @@
|
|
329
327
|
<span class="ruby-ivar">@parent</span>.<span class="ruby-identifier">jitterSleep</span>(<span class="ruby-identifier">tries</span>)
|
330
328
|
<span class="ruby-keyword">next</span>
|
331
329
|
<span class="ruby-keyword">end</span>
|
332
|
-
<span class="ruby-identifier">raise</span> <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">
|
330
|
+
<span class="ruby-identifier">raise</span> <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">convert_error_to_porcelain</span>(<span class="ruby-identifier">exception</span>)
|
333
331
|
<span class="ruby-keyword">end</span>
|
334
332
|
<span class="ruby-keyword">break</span>
|
335
333
|
<span class="ruby-keyword">end</span>
|
336
334
|
|
337
335
|
|
338
336
|
<span class="ruby-identifier">resp</span> = <span class="ruby-constant">AccountAttachmentGetResponse</span>.<span class="ruby-identifier">new</span>()
|
339
|
-
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">meta</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">
|
340
|
-
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">account_attachment</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">
|
341
|
-
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">rate_limit</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">
|
337
|
+
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">meta</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">convert_get_response_metadata_to_porcelain</span>(<span class="ruby-identifier">plumbing_response</span>.<span class="ruby-identifier">meta</span>)
|
338
|
+
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">account_attachment</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">convert_account_attachment_to_porcelain</span>(<span class="ruby-identifier">plumbing_response</span>.<span class="ruby-identifier">account_attachment</span>)
|
339
|
+
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">rate_limit</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">convert_rate_limit_metadata_to_porcelain</span>(<span class="ruby-identifier">plumbing_response</span>.<span class="ruby-identifier">rate_limit</span>)
|
342
340
|
<span class="ruby-identifier">resp</span>
|
343
341
|
<span class="ruby-keyword">end</span></pre>
|
344
342
|
</div>
|
@@ -370,7 +368,7 @@
|
|
370
368
|
|
371
369
|
|
372
370
|
<div class="method-source-code" id="list-source">
|
373
|
-
<pre><span class="ruby-comment"># File lib/svc.rb, line
|
371
|
+
<pre><span class="ruby-comment"># File lib/svc.rb, line 135</span>
|
374
372
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">list</span>(
|
375
373
|
<span class="ruby-identifier">filter</span> \
|
376
374
|
,
|
@@ -395,11 +393,11 @@
|
|
395
393
|
<span class="ruby-ivar">@parent</span>.<span class="ruby-identifier">jitterSleep</span>(<span class="ruby-identifier">tries</span>)
|
396
394
|
<span class="ruby-keyword">next</span>
|
397
395
|
<span class="ruby-keyword">end</span>
|
398
|
-
<span class="ruby-identifier">raise</span> <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">
|
396
|
+
<span class="ruby-identifier">raise</span> <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">convert_error_to_porcelain</span>(<span class="ruby-identifier">exception</span>)
|
399
397
|
<span class="ruby-keyword">end</span>
|
400
398
|
<span class="ruby-identifier">tries</span> = <span class="ruby-value">0</span>
|
401
399
|
<span class="ruby-identifier">plumbing_response</span>.<span class="ruby-identifier">account_attachments</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">plumbing_item</span><span class="ruby-operator">|</span>
|
402
|
-
<span class="ruby-identifier">g</span>.<span class="ruby-identifier">yield</span> <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">
|
400
|
+
<span class="ruby-identifier">g</span>.<span class="ruby-identifier">yield</span> <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">convert_account_attachment_to_porcelain</span>(<span class="ruby-identifier">plumbing_item</span>)
|
403
401
|
<span class="ruby-keyword">end</span>
|
404
402
|
<span class="ruby-keyword">break</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">plumbing_response</span>.<span class="ruby-identifier">meta</span>.<span class="ruby-identifier">next_cursor</span> <span class="ruby-operator">==</span> <span class="ruby-string">""</span>
|
405
403
|
<span class="ruby-identifier">req</span>.<span class="ruby-identifier">meta</span>.<span class="ruby-identifier">cursor</span> = <span class="ruby-identifier">plumbing_response</span>.<span class="ruby-identifier">meta</span>.<span class="ruby-identifier">next_cursor</span>
|
@@ -426,7 +424,7 @@
|
|
426
424
|
|
427
425
|
<footer id="validator-badges" role="contentinfo">
|
428
426
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
429
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.1.
|
427
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.1.
|
430
428
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
431
429
|
</footer>
|
432
430
|
|
@@ -192,7 +192,7 @@
|
|
192
192
|
|
193
193
|
|
194
194
|
<div class="method-source-code" id="new-source">
|
195
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
195
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 391</span>
|
196
196
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(
|
197
197
|
<span class="ruby-value">meta:</span><span class="ruby-keyword">nil</span> \
|
198
198
|
,
|
@@ -252,7 +252,7 @@
|
|
252
252
|
|
253
253
|
|
254
254
|
<div class="method-source-code" id="to_json-source">
|
255
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
255
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 413</span>
|
256
256
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">to_json</span>(<span class="ruby-identifier">options</span>={})
|
257
257
|
<span class="ruby-identifier">hash</span> = {}
|
258
258
|
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">instance_variables</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">var</span><span class="ruby-operator">|</span>
|
@@ -279,7 +279,7 @@
|
|
279
279
|
|
280
280
|
<footer id="validator-badges" role="contentinfo">
|
281
281
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
282
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.1.
|
282
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.1.
|
283
283
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
284
284
|
</footer>
|
285
285
|
|
@@ -166,7 +166,7 @@
|
|
166
166
|
|
167
167
|
|
168
168
|
<div class="method-source-code" id="new-source">
|
169
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
169
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 494</span>
|
170
170
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(
|
171
171
|
<span class="ruby-value">meta:</span><span class="ruby-keyword">nil</span> \
|
172
172
|
,
|
@@ -216,7 +216,7 @@
|
|
216
216
|
|
217
217
|
|
218
218
|
<div class="method-source-code" id="to_json-source">
|
219
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
219
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 506</span>
|
220
220
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">to_json</span>(<span class="ruby-identifier">options</span>={})
|
221
221
|
<span class="ruby-identifier">hash</span> = {}
|
222
222
|
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">instance_variables</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">var</span><span class="ruby-operator">|</span>
|
@@ -243,7 +243,7 @@
|
|
243
243
|
|
244
244
|
<footer id="validator-badges" role="contentinfo">
|
245
245
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
246
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.1.
|
246
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.1.
|
247
247
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
248
248
|
</footer>
|
249
249
|
|
@@ -179,7 +179,7 @@
|
|
179
179
|
|
180
180
|
|
181
181
|
<div class="method-source-code" id="new-source">
|
182
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
182
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 429</span>
|
183
183
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(
|
184
184
|
<span class="ruby-value">meta:</span><span class="ruby-keyword">nil</span> \
|
185
185
|
,
|
@@ -234,7 +234,7 @@
|
|
234
234
|
|
235
235
|
|
236
236
|
<div class="method-source-code" id="to_json-source">
|
237
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
237
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 446</span>
|
238
238
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">to_json</span>(<span class="ruby-identifier">options</span>={})
|
239
239
|
<span class="ruby-identifier">hash</span> = {}
|
240
240
|
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">instance_variables</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">var</span><span class="ruby-operator">|</span>
|
@@ -261,7 +261,7 @@
|
|
261
261
|
|
262
262
|
<footer id="validator-badges" role="contentinfo">
|
263
263
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
264
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.1.
|
264
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.1.
|
265
265
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
266
266
|
</footer>
|
267
267
|
|
data/doc/SDM/AccountGrant.html
CHANGED
@@ -205,7 +205,7 @@
|
|
205
205
|
|
206
206
|
|
207
207
|
<div class="method-source-code" id="new-source">
|
208
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
208
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 345</span>
|
209
209
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(
|
210
210
|
<span class="ruby-value">id:</span><span class="ruby-keyword">nil</span> \
|
211
211
|
,
|
@@ -270,7 +270,7 @@
|
|
270
270
|
|
271
271
|
|
272
272
|
<div class="method-source-code" id="to_json-source">
|
273
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
273
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 372</span>
|
274
274
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">to_json</span>(<span class="ruby-identifier">options</span>={})
|
275
275
|
<span class="ruby-identifier">hash</span> = {}
|
276
276
|
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">instance_variables</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">var</span><span class="ruby-operator">|</span>
|
@@ -297,7 +297,7 @@
|
|
297
297
|
|
298
298
|
<footer id="validator-badges" role="contentinfo">
|
299
299
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
300
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.1.
|
300
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.1.
|
301
301
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
302
302
|
</footer>
|
303
303
|
|
@@ -179,7 +179,7 @@
|
|
179
179
|
|
180
180
|
|
181
181
|
<div class="method-source-code" id="new-source">
|
182
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
182
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 247</span>
|
183
183
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(
|
184
184
|
<span class="ruby-value">meta:</span><span class="ruby-keyword">nil</span> \
|
185
185
|
,
|
@@ -234,7 +234,7 @@
|
|
234
234
|
|
235
235
|
|
236
236
|
<div class="method-source-code" id="to_json-source">
|
237
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
237
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 264</span>
|
238
238
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">to_json</span>(<span class="ruby-identifier">options</span>={})
|
239
239
|
<span class="ruby-identifier">hash</span> = {}
|
240
240
|
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">instance_variables</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">var</span><span class="ruby-operator">|</span>
|
@@ -261,7 +261,7 @@
|
|
261
261
|
|
262
262
|
<footer id="validator-badges" role="contentinfo">
|
263
263
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
264
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.1.
|
264
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.1.
|
265
265
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
266
266
|
</footer>
|
267
267
|
|
@@ -166,7 +166,7 @@
|
|
166
166
|
|
167
167
|
|
168
168
|
<div class="method-source-code" id="new-source">
|
169
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
169
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 311</span>
|
170
170
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(
|
171
171
|
<span class="ruby-value">meta:</span><span class="ruby-keyword">nil</span> \
|
172
172
|
,
|
@@ -216,7 +216,7 @@
|
|
216
216
|
|
217
217
|
|
218
218
|
<div class="method-source-code" id="to_json-source">
|
219
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
219
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 323</span>
|
220
220
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">to_json</span>(<span class="ruby-identifier">options</span>={})
|
221
221
|
<span class="ruby-identifier">hash</span> = {}
|
222
222
|
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">instance_variables</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">var</span><span class="ruby-operator">|</span>
|
@@ -243,7 +243,7 @@
|
|
243
243
|
|
244
244
|
<footer id="validator-badges" role="contentinfo">
|
245
245
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
246
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.1.
|
246
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.1.
|
247
247
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
248
248
|
</footer>
|
249
249
|
|
@@ -179,7 +179,7 @@
|
|
179
179
|
|
180
180
|
|
181
181
|
<div class="method-source-code" id="new-source">
|
182
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
182
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 280</span>
|
183
183
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(
|
184
184
|
<span class="ruby-value">meta:</span><span class="ruby-keyword">nil</span> \
|
185
185
|
,
|
@@ -234,7 +234,7 @@
|
|
234
234
|
|
235
235
|
|
236
236
|
<div class="method-source-code" id="to_json-source">
|
237
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
237
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 297</span>
|
238
238
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">to_json</span>(<span class="ruby-identifier">options</span>={})
|
239
239
|
<span class="ruby-identifier">hash</span> = {}
|
240
240
|
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">instance_variables</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">var</span><span class="ruby-operator">|</span>
|
@@ -261,7 +261,7 @@
|
|
261
261
|
|
262
262
|
<footer id="validator-badges" role="contentinfo">
|
263
263
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
264
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.1.
|
264
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.1.
|
265
265
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
266
266
|
</footer>
|
267
267
|
|
data/doc/SDM/AccountGrants.html
CHANGED
@@ -98,7 +98,7 @@
|
|
98
98
|
|
99
99
|
<section class="description">
|
100
100
|
|
101
|
-
<p><a href="AccountGrants.html"><code>AccountGrants</code></a>
|
101
|
+
<p><a href="AccountGrants.html"><code>AccountGrants</code></a> assign a resource directly to an account, giving the account the permission to connect to that resource.</p>
|
102
102
|
|
103
103
|
</section>
|
104
104
|
|
@@ -138,7 +138,7 @@
|
|
138
138
|
|
139
139
|
|
140
140
|
<div class="method-source-code" id="new-source">
|
141
|
-
<pre><span class="ruby-comment"># File lib/svc.rb, line
|
141
|
+
<pre><span class="ruby-comment"># File lib/svc.rb, line 174</span>
|
142
142
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(<span class="ruby-identifier">host</span>, <span class="ruby-identifier">insecure</span>, <span class="ruby-identifier">parent</span>)
|
143
143
|
<span class="ruby-keyword">begin</span>
|
144
144
|
<span class="ruby-keyword">if</span> <span class="ruby-identifier">insecure</span>
|
@@ -148,7 +148,7 @@
|
|
148
148
|
<span class="ruby-ivar">@stub</span> = <span class="ruby-constant">V1</span><span class="ruby-operator">::</span><span class="ruby-constant">AccountGrants</span><span class="ruby-operator">::</span><span class="ruby-constant">Stub</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">host</span>, <span class="ruby-identifier">cred</span>)
|
149
149
|
<span class="ruby-keyword">end</span>
|
150
150
|
<span class="ruby-keyword">rescue</span> <span class="ruby-operator">=></span> <span class="ruby-identifier">exception</span>
|
151
|
-
<span class="ruby-identifier">raise</span> <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">
|
151
|
+
<span class="ruby-identifier">raise</span> <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">convert_error_to_porcelain</span>(<span class="ruby-identifier">exception</span>)
|
152
152
|
<span class="ruby-keyword">end</span>
|
153
153
|
<span class="ruby-ivar">@parent</span> = <span class="ruby-identifier">parent</span>
|
154
154
|
<span class="ruby-keyword">end</span></pre>
|
@@ -189,14 +189,14 @@
|
|
189
189
|
|
190
190
|
|
191
191
|
<div class="method-source-code" id="create-source">
|
192
|
-
<pre><span class="ruby-comment"># File lib/svc.rb, line
|
192
|
+
<pre><span class="ruby-comment"># File lib/svc.rb, line 188</span>
|
193
193
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">create</span>(
|
194
194
|
<span class="ruby-identifier">account_grant</span> \
|
195
195
|
,
|
196
196
|
<span class="ruby-value">deadline:</span><span class="ruby-keyword">nil</span>)
|
197
197
|
<span class="ruby-identifier">req</span> = <span class="ruby-constant">V1</span><span class="ruby-operator">::</span><span class="ruby-constant">AccountGrantCreateRequest</span>.<span class="ruby-identifier">new</span>()
|
198
198
|
|
199
|
-
<span class="ruby-identifier">req</span>.<span class="ruby-identifier">account_grant</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">
|
199
|
+
<span class="ruby-identifier">req</span>.<span class="ruby-identifier">account_grant</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">convert_account_grant_to_plumbing</span>(<span class="ruby-identifier">account_grant</span>)
|
200
200
|
<span class="ruby-identifier">tries</span> = <span class="ruby-value">0</span>
|
201
201
|
<span class="ruby-identifier">plumbing_response</span> = <span class="ruby-keyword">nil</span>
|
202
202
|
<span class="ruby-identifier">loop</span> <span class="ruby-keyword">do</span>
|
@@ -208,16 +208,16 @@
|
|
208
208
|
<span class="ruby-ivar">@parent</span>.<span class="ruby-identifier">jitterSleep</span>(<span class="ruby-identifier">tries</span>)
|
209
209
|
<span class="ruby-keyword">next</span>
|
210
210
|
<span class="ruby-keyword">end</span>
|
211
|
-
<span class="ruby-identifier">raise</span> <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">
|
211
|
+
<span class="ruby-identifier">raise</span> <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">convert_error_to_porcelain</span>(<span class="ruby-identifier">exception</span>)
|
212
212
|
<span class="ruby-keyword">end</span>
|
213
213
|
<span class="ruby-keyword">break</span>
|
214
214
|
<span class="ruby-keyword">end</span>
|
215
215
|
|
216
216
|
|
217
217
|
<span class="ruby-identifier">resp</span> = <span class="ruby-constant">AccountGrantCreateResponse</span>.<span class="ruby-identifier">new</span>()
|
218
|
-
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">meta</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">
|
219
|
-
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">account_grant</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">
|
220
|
-
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">rate_limit</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">
|
218
|
+
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">meta</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">convert_create_response_metadata_to_porcelain</span>(<span class="ruby-identifier">plumbing_response</span>.<span class="ruby-identifier">meta</span>)
|
219
|
+
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">account_grant</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">convert_account_grant_to_porcelain</span>(<span class="ruby-identifier">plumbing_response</span>.<span class="ruby-identifier">account_grant</span>)
|
220
|
+
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">rate_limit</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">convert_rate_limit_metadata_to_porcelain</span>(<span class="ruby-identifier">plumbing_response</span>.<span class="ruby-identifier">rate_limit</span>)
|
221
221
|
<span class="ruby-identifier">resp</span>
|
222
222
|
<span class="ruby-keyword">end</span></pre>
|
223
223
|
</div>
|
@@ -249,14 +249,14 @@
|
|
249
249
|
|
250
250
|
|
251
251
|
<div class="method-source-code" id="delete-source">
|
252
|
-
<pre><span class="ruby-comment"># File lib/svc.rb, line
|
252
|
+
<pre><span class="ruby-comment"># File lib/svc.rb, line 250</span>
|
253
253
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">delete</span>(
|
254
254
|
<span class="ruby-identifier">id</span> \
|
255
255
|
,
|
256
256
|
<span class="ruby-value">deadline:</span><span class="ruby-keyword">nil</span>)
|
257
257
|
<span class="ruby-identifier">req</span> = <span class="ruby-constant">V1</span><span class="ruby-operator">::</span><span class="ruby-constant">AccountGrantDeleteRequest</span>.<span class="ruby-identifier">new</span>()
|
258
258
|
|
259
|
-
<span class="ruby-identifier">req</span>.<span class="ruby-identifier">id</span> = <span class="ruby-identifier">id</span>
|
259
|
+
<span class="ruby-identifier">req</span>.<span class="ruby-identifier">id</span> = (<span class="ruby-identifier">id</span>)
|
260
260
|
<span class="ruby-identifier">tries</span> = <span class="ruby-value">0</span>
|
261
261
|
<span class="ruby-identifier">plumbing_response</span> = <span class="ruby-keyword">nil</span>
|
262
262
|
<span class="ruby-identifier">loop</span> <span class="ruby-keyword">do</span>
|
@@ -268,15 +268,15 @@
|
|
268
268
|
<span class="ruby-ivar">@parent</span>.<span class="ruby-identifier">jitterSleep</span>(<span class="ruby-identifier">tries</span>)
|
269
269
|
<span class="ruby-keyword">next</span>
|
270
270
|
<span class="ruby-keyword">end</span>
|
271
|
-
<span class="ruby-identifier">raise</span> <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">
|
271
|
+
<span class="ruby-identifier">raise</span> <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">convert_error_to_porcelain</span>(<span class="ruby-identifier">exception</span>)
|
272
272
|
<span class="ruby-keyword">end</span>
|
273
273
|
<span class="ruby-keyword">break</span>
|
274
274
|
<span class="ruby-keyword">end</span>
|
275
275
|
|
276
276
|
|
277
277
|
<span class="ruby-identifier">resp</span> = <span class="ruby-constant">AccountGrantDeleteResponse</span>.<span class="ruby-identifier">new</span>()
|
278
|
-
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">meta</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">
|
279
|
-
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">rate_limit</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">
|
278
|
+
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">meta</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">convert_delete_response_metadata_to_porcelain</span>(<span class="ruby-identifier">plumbing_response</span>.<span class="ruby-identifier">meta</span>)
|
279
|
+
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">rate_limit</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">convert_rate_limit_metadata_to_porcelain</span>(<span class="ruby-identifier">plumbing_response</span>.<span class="ruby-identifier">rate_limit</span>)
|
280
280
|
<span class="ruby-identifier">resp</span>
|
281
281
|
<span class="ruby-keyword">end</span></pre>
|
282
282
|
</div>
|
@@ -308,14 +308,14 @@
|
|
308
308
|
|
309
309
|
|
310
310
|
<div class="method-source-code" id="get-source">
|
311
|
-
<pre><span class="ruby-comment"># File lib/svc.rb, line
|
311
|
+
<pre><span class="ruby-comment"># File lib/svc.rb, line 219</span>
|
312
312
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">get</span>(
|
313
313
|
<span class="ruby-identifier">id</span> \
|
314
314
|
,
|
315
315
|
<span class="ruby-value">deadline:</span><span class="ruby-keyword">nil</span>)
|
316
316
|
<span class="ruby-identifier">req</span> = <span class="ruby-constant">V1</span><span class="ruby-operator">::</span><span class="ruby-constant">AccountGrantGetRequest</span>.<span class="ruby-identifier">new</span>()
|
317
317
|
|
318
|
-
<span class="ruby-identifier">req</span>.<span class="ruby-identifier">id</span> = <span class="ruby-identifier">id</span>
|
318
|
+
<span class="ruby-identifier">req</span>.<span class="ruby-identifier">id</span> = (<span class="ruby-identifier">id</span>)
|
319
319
|
<span class="ruby-identifier">tries</span> = <span class="ruby-value">0</span>
|
320
320
|
<span class="ruby-identifier">plumbing_response</span> = <span class="ruby-keyword">nil</span>
|
321
321
|
<span class="ruby-identifier">loop</span> <span class="ruby-keyword">do</span>
|
@@ -327,16 +327,16 @@
|
|
327
327
|
<span class="ruby-ivar">@parent</span>.<span class="ruby-identifier">jitterSleep</span>(<span class="ruby-identifier">tries</span>)
|
328
328
|
<span class="ruby-keyword">next</span>
|
329
329
|
<span class="ruby-keyword">end</span>
|
330
|
-
<span class="ruby-identifier">raise</span> <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">
|
330
|
+
<span class="ruby-identifier">raise</span> <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">convert_error_to_porcelain</span>(<span class="ruby-identifier">exception</span>)
|
331
331
|
<span class="ruby-keyword">end</span>
|
332
332
|
<span class="ruby-keyword">break</span>
|
333
333
|
<span class="ruby-keyword">end</span>
|
334
334
|
|
335
335
|
|
336
336
|
<span class="ruby-identifier">resp</span> = <span class="ruby-constant">AccountGrantGetResponse</span>.<span class="ruby-identifier">new</span>()
|
337
|
-
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">meta</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">
|
338
|
-
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">account_grant</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">
|
339
|
-
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">rate_limit</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">
|
337
|
+
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">meta</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">convert_get_response_metadata_to_porcelain</span>(<span class="ruby-identifier">plumbing_response</span>.<span class="ruby-identifier">meta</span>)
|
338
|
+
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">account_grant</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">convert_account_grant_to_porcelain</span>(<span class="ruby-identifier">plumbing_response</span>.<span class="ruby-identifier">account_grant</span>)
|
339
|
+
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">rate_limit</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">convert_rate_limit_metadata_to_porcelain</span>(<span class="ruby-identifier">plumbing_response</span>.<span class="ruby-identifier">rate_limit</span>)
|
340
340
|
<span class="ruby-identifier">resp</span>
|
341
341
|
<span class="ruby-keyword">end</span></pre>
|
342
342
|
</div>
|
@@ -368,7 +368,7 @@
|
|
368
368
|
|
369
369
|
|
370
370
|
<div class="method-source-code" id="list-source">
|
371
|
-
<pre><span class="ruby-comment"># File lib/svc.rb, line
|
371
|
+
<pre><span class="ruby-comment"># File lib/svc.rb, line 280</span>
|
372
372
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">list</span>(
|
373
373
|
<span class="ruby-identifier">filter</span> \
|
374
374
|
,
|
@@ -393,11 +393,11 @@
|
|
393
393
|
<span class="ruby-ivar">@parent</span>.<span class="ruby-identifier">jitterSleep</span>(<span class="ruby-identifier">tries</span>)
|
394
394
|
<span class="ruby-keyword">next</span>
|
395
395
|
<span class="ruby-keyword">end</span>
|
396
|
-
<span class="ruby-identifier">raise</span> <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">
|
396
|
+
<span class="ruby-identifier">raise</span> <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">convert_error_to_porcelain</span>(<span class="ruby-identifier">exception</span>)
|
397
397
|
<span class="ruby-keyword">end</span>
|
398
398
|
<span class="ruby-identifier">tries</span> = <span class="ruby-value">0</span>
|
399
399
|
<span class="ruby-identifier">plumbing_response</span>.<span class="ruby-identifier">account_grants</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">plumbing_item</span><span class="ruby-operator">|</span>
|
400
|
-
<span class="ruby-identifier">g</span>.<span class="ruby-identifier">yield</span> <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">
|
400
|
+
<span class="ruby-identifier">g</span>.<span class="ruby-identifier">yield</span> <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">convert_account_grant_to_porcelain</span>(<span class="ruby-identifier">plumbing_item</span>)
|
401
401
|
<span class="ruby-keyword">end</span>
|
402
402
|
<span class="ruby-keyword">break</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">plumbing_response</span>.<span class="ruby-identifier">meta</span>.<span class="ruby-identifier">next_cursor</span> <span class="ruby-operator">==</span> <span class="ruby-string">""</span>
|
403
403
|
<span class="ruby-identifier">req</span>.<span class="ruby-identifier">meta</span>.<span class="ruby-identifier">cursor</span> = <span class="ruby-identifier">plumbing_response</span>.<span class="ruby-identifier">meta</span>.<span class="ruby-identifier">next_cursor</span>
|
@@ -424,7 +424,7 @@
|
|
424
424
|
|
425
425
|
<footer id="validator-badges" role="contentinfo">
|
426
426
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
427
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.1.
|
427
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.1.
|
428
428
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
429
429
|
</footer>
|
430
430
|
|