Sha256: 4628f49c58a85e5c2e38f5b6133a171c1d70c68bd1735b3fac9d7971d73be4cb

Contents?: true

Size: 1.16 KB

Versions: 4

Compression:

Stored size: 1.16 KB

Contents

<%- assert_locals method -%>
# @overload <%= method.name %>(request, options = nil)
#   Pass arguments to `<%= method.name %>` via a request object, either of type
#   {<%= method.request_type %>} or an equivalent Hash.
#
#   @param request [<%= method.request_type %>, Hash]
#     A request object representing the call parameters. Required. To specify no
#     parameters, or to keep all the default parameter values, pass an empty Hash.
#   @param options [Gapic::CallOptions, Hash]
#     Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
<%-if method.arguments.any?-%>
#
<%- arg_list = method.arguments.map { |arg| "#{arg.name}: nil"}.join ", " -%>
# @overload <%= method.name %>(<%= arg_list %>)
#   Pass arguments to `<%= method.name %>` via keyword arguments. Note that at
#   least one keyword argument is required. To specify no parameters, or to keep all
#   the default parameter values, pass an empty Hash as a request object (see above).
#
<%- method.arguments.each do |arg| -%>
#   @param <%= arg.name %> [<%= arg.doc_types %>]
<%- if arg.doc_description -%>
<%= indent arg.doc_description, "#     " %>
<%- end -%>
<%- end -%>
<%- end -%>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
gapic-generator-0.4.0 templates/default/service/client/method/docs/_request_normal.erb
gapic-generator-0.3.3 templates/default/service/client/method/docs/_request_normal.erb
gapic-generator-0.3.1 templates/default/service/client/method/docs/_request_normal.erb
gapic-generator-0.3.0 templates/default/service/client/method/docs/_request_normal.erb