generated/google-apis-firebaserules_v1/lib/google/apis/firebaserules_v1/service.rb
# List the `Release` values for a project. This list may optionally be filtered
# by `Release` name, `Ruleset` name, `TestSuite` name, or any combination
# thereof.
# @param [String] name
#   Required. Resource name for the project. Format: `projects/`project_id``
# @param [String] filter
#   `Release` filter. The list method supports filters with restrictions on the `
#   Release.name`, and `Release.ruleset_name`. Example 1: A filter of 'name=prod*'
#   might return `Release`s with names within 'projects/foo' prefixed with 'prod':
#   Name -> Ruleset Name: * projects/foo/releases/prod -> projects/foo/rulesets/
#   uuid1234 * projects/foo/releases/prod/v1 -> projects/foo/rulesets/uuid1234 *
#   projects/foo/releases/prod/v2 -> projects/foo/rulesets/uuid8888 Example 2: A
#   filter of `name=prod* ruleset_name=uuid1234` would return only `Release`
#   instances for 'projects/foo' with names prefixed with 'prod' referring to the
#   same `Ruleset` name of 'uuid1234': Name -> Ruleset Name: * projects/foo/
#   releases/prod -> projects/foo/rulesets/1234 * projects/foo/releases/prod/v1 ->
#   projects/foo/rulesets/1234 In the examples, the filter parameters refer to the
#   search filters are relative to the project. Fully qualified prefixed may also
#   be used.
# @param [Fixnum] page_size
#   Page size to load. Maximum of 100. Defaults to 10. Note: `page_size` is just a
#   hint and the service may choose to load fewer than `page_size` results due to
#   the size of the output. To traverse all of the releases, the caller should
#   iterate until the `page_token` on the response is empty.
# @param [String] page_token
#   Next page token for the next batch of `Release` instances.
# @param [String] fields
#   Selector specifying which fields to include in a partial response.
# @param [String] quota_user
#   Available to use for quota purposes for server-side applications. Can be any
#   arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
#   Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::FirebaserulesV1::ListReleasesResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::FirebaserulesV1::ListReleasesResponse]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
List the `Release` values for a project.
List the ` Release ` values for a project .
def list_project_releases(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
          command = make_simple_command(:get, 'v1/{+name}/releases', options)
          command.response_representation = Google::Apis::FirebaserulesV1::ListReleasesResponse::Representation
          command.response_class = Google::Apis::FirebaserulesV1::ListReleasesResponse
          command.params['name'] = name unless name.nil?
          command.query['filter'] = filter unless filter.nil?
          command.query['pageSize'] = page_size unless page_size.nil?
          command.query['pageToken'] = page_token unless page_token.nil?
          command.query['fields'] = fields unless fields.nil?
          command.query['quotaUser'] = quota_user unless quota_user.nil?
          execute_or_queue_command(command, &block)
        end
def list_project_releases ( name , filter : nil , page_size : nil , page_token : nil , fields : nil , quota_user : nil , options : nil , & block ) command = make_simple_command ( :get , 'v1/{+name}/releases' , options ) command . response_representation = Google :: Apis :: FirebaserulesV1 :: ListReleasesResponse :: Representation command . response_class = Google :: Apis :: FirebaserulesV1 :: ListReleasesResponse command . params [ 'name' ] = name unless name . nil? command . query [ 'filter' ] = filter unless filter . nil? command . query [ 'pageSize' ] = page_size unless page_size . nil? command . query [ 'pageToken' ] = page_token unless page_token . nil? command . query [ 'fields' ] = fields unless fields . nil? command . query [ 'quotaUser' ] = quota_user unless quota_user . nil? execute_or_queue_command ( command , & block ) end
List the `Release` values for a project.
List the ` Release ` values for a project .
None
Google::Apis::FirebaserulesV1::ListReleasesResponse
[Google::Apis::ServerError] An error occurred on the server and the request can be retried
[ Google :: Apis :: ServerError ] An error occurred on the server and the request can be retried
[Google::Apis::ClientError] The request is invalid and should not be retried without modification
[ Google :: Apis :: ClientError ] The request is invalid and should not be retried without modification
[Google::Apis::AuthorizationError] Authorization is required
[ Google :: Apis :: AuthorizationError ] Authorization is required
name
filter
page_size
page_token
fields
quota_user
options
block
options Request-specific options
options Request - specific options
]
Result & error if block supplied
Result & error if block supplied
result
parsed result object
parsed result object
err
error object if request failed
error object if request failed