doc/SDM/RoleAttachments.html in strongdm-1.0.2 vs doc/SDM/RoleAttachments.html in strongdm-1.0.3

- old
+ new

@@ -9,12 +9,15 @@ <script type="text/javascript"> var rdoc_rel_prefix = "../"; var index_rel_prefix = "../"; </script> -<script src="../js/jquery.js"></script> -<script src="../js/darkfish.js"></script> +<script src="../js/navigation.js" defer></script> +<script src="../js/search.js" defer></script> +<script src="../js/search_index.js" defer></script> +<script src="../js/searcher.js" defer></script> +<script src="../js/darkfish.js" defer></script> <link href="../css/fonts.css" rel="stylesheet"> <link href="../css/rdoc.css" rel="stylesheet"> @@ -143,11 +146,11 @@ <span class="ruby-keyword">else</span> <span class="ruby-identifier">cred</span> = <span class="ruby-constant">GRPC</span><span class="ruby-operator">::</span><span class="ruby-constant">Core</span><span class="ruby-operator">::</span><span class="ruby-constant">ChannelCredentials</span>.<span class="ruby-identifier">new</span>() <span class="ruby-ivar">@stub</span> = <span class="ruby-constant">V1</span><span class="ruby-operator">::</span><span class="ruby-constant">RoleAttachments</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>) <span class="ruby-keyword">end</span> <span class="ruby-keyword">rescue</span> <span class="ruby-operator">=&gt;</span> <span class="ruby-identifier">exception</span> - <span class="ruby-identifier">raise</span> <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">error_to_porcelain</span>(<span class="ruby-identifier">exception</span>) + <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>) <span class="ruby-keyword">end</span> <span class="ruby-ivar">@parent</span> = <span class="ruby-identifier">parent</span> <span class="ruby-keyword">end</span></pre> </div> @@ -191,11 +194,11 @@ <span class="ruby-identifier">role_attachment</span> \ , <span class="ruby-value">deadline:</span><span class="ruby-keyword">nil</span>) <span class="ruby-identifier">req</span> = <span class="ruby-constant">V1</span><span class="ruby-operator">::</span><span class="ruby-constant">RoleAttachmentCreateRequest</span>.<span class="ruby-identifier">new</span>() - <span class="ruby-identifier">req</span>.<span class="ruby-identifier">role_attachment</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">role_attachment_to_plumbing</span>(<span class="ruby-identifier">role_attachment</span>) + <span class="ruby-identifier">req</span>.<span class="ruby-identifier">role_attachment</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">convert_role_attachment_to_plumbing</span>(<span class="ruby-identifier">role_attachment</span>) <span class="ruby-identifier">tries</span> = <span class="ruby-value">0</span> <span class="ruby-identifier">plumbing_response</span> = <span class="ruby-keyword">nil</span> <span class="ruby-identifier">loop</span> <span class="ruby-keyword">do</span> <span class="ruby-keyword">begin</span> <span class="ruby-identifier">plumbing_response</span> = <span class="ruby-ivar">@stub</span>.<span class="ruby-identifier">create</span>(<span class="ruby-identifier">req</span>, <span class="ruby-value">metadata:</span> <span class="ruby-ivar">@parent</span>.<span class="ruby-identifier">get_metadata</span>(<span class="ruby-string">&#39;RoleAttachments.Create&#39;</span>, <span class="ruby-identifier">req</span>), <span class="ruby-value">deadline:</span><span class="ruby-identifier">deadline</span>) @@ -203,20 +206,20 @@ <span class="ruby-keyword">if</span> (<span class="ruby-ivar">@parent</span>.<span class="ruby-identifier">shouldRetry</span>(<span class="ruby-identifier">tries</span>, <span class="ruby-identifier">exception</span>)) <span class="ruby-identifier">tries</span><span class="ruby-operator">+</span><span class="ruby-operator">+</span> <span class="ruby-ivar">@parent</span>.<span class="ruby-identifier">jitterSleep</span>(<span class="ruby-identifier">tries</span>) <span class="ruby-keyword">next</span> <span class="ruby-keyword">end</span> - <span class="ruby-identifier">raise</span> <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">error_to_porcelain</span>(<span class="ruby-identifier">exception</span>) + <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>) <span class="ruby-keyword">end</span> <span class="ruby-keyword">break</span> <span class="ruby-keyword">end</span> <span class="ruby-identifier">resp</span> = <span class="ruby-constant">RoleAttachmentCreateResponse</span>.<span class="ruby-identifier">new</span>() - <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">create_response_metadata_to_porcelain</span>(<span class="ruby-identifier">plumbing_response</span>.<span class="ruby-identifier">meta</span>) - <span class="ruby-identifier">resp</span>.<span class="ruby-identifier">role_attachment</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">role_attachment_to_porcelain</span>(<span class="ruby-identifier">plumbing_response</span>.<span class="ruby-identifier">role_attachment</span>) - <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">rate_limit_metadata_to_porcelain</span>(<span class="ruby-identifier">plumbing_response</span>.<span class="ruby-identifier">rate_limit</span>) + <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>) + <span class="ruby-identifier">resp</span>.<span class="ruby-identifier">role_attachment</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">convert_role_attachment_to_porcelain</span>(<span class="ruby-identifier">plumbing_response</span>.<span class="ruby-identifier">role_attachment</span>) + <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>) <span class="ruby-identifier">resp</span> <span class="ruby-keyword">end</span></pre> </div> </div> @@ -251,11 +254,11 @@ <span class="ruby-identifier">id</span> \ , <span class="ruby-value">deadline:</span><span class="ruby-keyword">nil</span>) <span class="ruby-identifier">req</span> = <span class="ruby-constant">V1</span><span class="ruby-operator">::</span><span class="ruby-constant">RoleAttachmentDeleteRequest</span>.<span class="ruby-identifier">new</span>() - <span class="ruby-identifier">req</span>.<span class="ruby-identifier">id</span> = <span class="ruby-identifier">id</span> + <span class="ruby-identifier">req</span>.<span class="ruby-identifier">id</span> = (<span class="ruby-identifier">id</span>) <span class="ruby-identifier">tries</span> = <span class="ruby-value">0</span> <span class="ruby-identifier">plumbing_response</span> = <span class="ruby-keyword">nil</span> <span class="ruby-identifier">loop</span> <span class="ruby-keyword">do</span> <span class="ruby-keyword">begin</span> <span class="ruby-identifier">plumbing_response</span> = <span class="ruby-ivar">@stub</span>.<span class="ruby-identifier">delete</span>(<span class="ruby-identifier">req</span>, <span class="ruby-value">metadata:</span> <span class="ruby-ivar">@parent</span>.<span class="ruby-identifier">get_metadata</span>(<span class="ruby-string">&#39;RoleAttachments.Delete&#39;</span>, <span class="ruby-identifier">req</span>), <span class="ruby-value">deadline:</span><span class="ruby-identifier">deadline</span>) @@ -263,19 +266,19 @@ <span class="ruby-keyword">if</span> (<span class="ruby-ivar">@parent</span>.<span class="ruby-identifier">shouldRetry</span>(<span class="ruby-identifier">tries</span>, <span class="ruby-identifier">exception</span>)) <span class="ruby-identifier">tries</span><span class="ruby-operator">+</span><span class="ruby-operator">+</span> <span class="ruby-ivar">@parent</span>.<span class="ruby-identifier">jitterSleep</span>(<span class="ruby-identifier">tries</span>) <span class="ruby-keyword">next</span> <span class="ruby-keyword">end</span> - <span class="ruby-identifier">raise</span> <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">error_to_porcelain</span>(<span class="ruby-identifier">exception</span>) + <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>) <span class="ruby-keyword">end</span> <span class="ruby-keyword">break</span> <span class="ruby-keyword">end</span> <span class="ruby-identifier">resp</span> = <span class="ruby-constant">RoleAttachmentDeleteResponse</span>.<span class="ruby-identifier">new</span>() - <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">delete_response_metadata_to_porcelain</span>(<span class="ruby-identifier">plumbing_response</span>.<span class="ruby-identifier">meta</span>) - <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">rate_limit_metadata_to_porcelain</span>(<span class="ruby-identifier">plumbing_response</span>.<span class="ruby-identifier">rate_limit</span>) + <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>) + <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>) <span class="ruby-identifier">resp</span> <span class="ruby-keyword">end</span></pre> </div> </div> @@ -310,11 +313,11 @@ <span class="ruby-identifier">id</span> \ , <span class="ruby-value">deadline:</span><span class="ruby-keyword">nil</span>) <span class="ruby-identifier">req</span> = <span class="ruby-constant">V1</span><span class="ruby-operator">::</span><span class="ruby-constant">RoleAttachmentGetRequest</span>.<span class="ruby-identifier">new</span>() - <span class="ruby-identifier">req</span>.<span class="ruby-identifier">id</span> = <span class="ruby-identifier">id</span> + <span class="ruby-identifier">req</span>.<span class="ruby-identifier">id</span> = (<span class="ruby-identifier">id</span>) <span class="ruby-identifier">tries</span> = <span class="ruby-value">0</span> <span class="ruby-identifier">plumbing_response</span> = <span class="ruby-keyword">nil</span> <span class="ruby-identifier">loop</span> <span class="ruby-keyword">do</span> <span class="ruby-keyword">begin</span> <span class="ruby-identifier">plumbing_response</span> = <span class="ruby-ivar">@stub</span>.<span class="ruby-identifier">get</span>(<span class="ruby-identifier">req</span>, <span class="ruby-value">metadata:</span> <span class="ruby-ivar">@parent</span>.<span class="ruby-identifier">get_metadata</span>(<span class="ruby-string">&#39;RoleAttachments.Get&#39;</span>, <span class="ruby-identifier">req</span>), <span class="ruby-value">deadline:</span><span class="ruby-identifier">deadline</span>) @@ -322,20 +325,20 @@ <span class="ruby-keyword">if</span> (<span class="ruby-ivar">@parent</span>.<span class="ruby-identifier">shouldRetry</span>(<span class="ruby-identifier">tries</span>, <span class="ruby-identifier">exception</span>)) <span class="ruby-identifier">tries</span><span class="ruby-operator">+</span><span class="ruby-operator">+</span> <span class="ruby-ivar">@parent</span>.<span class="ruby-identifier">jitterSleep</span>(<span class="ruby-identifier">tries</span>) <span class="ruby-keyword">next</span> <span class="ruby-keyword">end</span> - <span class="ruby-identifier">raise</span> <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">error_to_porcelain</span>(<span class="ruby-identifier">exception</span>) + <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>) <span class="ruby-keyword">end</span> <span class="ruby-keyword">break</span> <span class="ruby-keyword">end</span> <span class="ruby-identifier">resp</span> = <span class="ruby-constant">RoleAttachmentGetResponse</span>.<span class="ruby-identifier">new</span>() - <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">get_response_metadata_to_porcelain</span>(<span class="ruby-identifier">plumbing_response</span>.<span class="ruby-identifier">meta</span>) - <span class="ruby-identifier">resp</span>.<span class="ruby-identifier">role_attachment</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">role_attachment_to_porcelain</span>(<span class="ruby-identifier">plumbing_response</span>.<span class="ruby-identifier">role_attachment</span>) - <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">rate_limit_metadata_to_porcelain</span>(<span class="ruby-identifier">plumbing_response</span>.<span class="ruby-identifier">rate_limit</span>) + <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>) + <span class="ruby-identifier">resp</span>.<span class="ruby-identifier">role_attachment</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">convert_role_attachment_to_porcelain</span>(<span class="ruby-identifier">plumbing_response</span>.<span class="ruby-identifier">role_attachment</span>) + <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>) <span class="ruby-identifier">resp</span> <span class="ruby-keyword">end</span></pre> </div> </div> @@ -388,15 +391,15 @@ <span class="ruby-keyword">if</span> (<span class="ruby-ivar">@parent</span>.<span class="ruby-identifier">shouldRetry</span>(<span class="ruby-identifier">tries</span>, <span class="ruby-identifier">exception</span>)) <span class="ruby-identifier">tries</span><span class="ruby-operator">+</span><span class="ruby-operator">+</span> <span class="ruby-ivar">@parent</span>.<span class="ruby-identifier">jitterSleep</span>(<span class="ruby-identifier">tries</span>) <span class="ruby-keyword">next</span> <span class="ruby-keyword">end</span> - <span class="ruby-identifier">raise</span> <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">error_to_porcelain</span>(<span class="ruby-identifier">exception</span>) + <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>) <span class="ruby-keyword">end</span> <span class="ruby-identifier">tries</span> = <span class="ruby-value">0</span> <span class="ruby-identifier">plumbing_response</span>.<span class="ruby-identifier">role_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> - <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">role_attachment_to_porcelain</span>(<span class="ruby-identifier">plumbing_item</span>) + <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_role_attachment_to_porcelain</span>(<span class="ruby-identifier">plumbing_item</span>) <span class="ruby-keyword">end</span> <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">&quot;&quot;</span> <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> <span class="ruby-keyword">end</span> } @@ -419,9 +422,9 @@ </main> <footer id="validator-badges" role="contentinfo"> <p><a href="https://validator.w3.org/check/referer">Validate</a> - <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.1.0. + <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.1. <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>. </footer>