generated/google-apis-policysimulator_v1beta1/lib/google/apis/policysimulator_v1beta1/service.rb
# Lists the results of running a Replay.
# @param [String] parent
#   Required. The Replay whose results are listed, in the following format: ``
#   projects|folders|organizations`/`resource-id`/locations/global/replays/`replay-
#   id`` Example: `projects/my-project/locations/global/replays/506a5f7f-38ce-4d7d-
#   8e03-479ce1833c36`
# @param [Fixnum] page_size
#   The maximum number of ReplayResult objects to return. Defaults to 5000. The
#   maximum value is 5000; values above 5000 are rounded down to 5000.
# @param [String] page_token
#   A page token, received from a previous Simulator.ListReplayResults call.
#   Provide this token to retrieve the next page of results. When paginating, all
#   other parameters provided to [Simulator.ListReplayResults[] must match the
#   call that provided the page token.
# @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::PolicysimulatorV1beta1::GoogleCloudPolicysimulatorV1beta1ListReplayResultsResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::PolicysimulatorV1beta1::GoogleCloudPolicysimulatorV1beta1ListReplayResultsResponse]
#
# @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
Lists the results of running a Replay.
Lists the results of running a Replay .
def list_project_location_replay_results(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
          command = make_simple_command(:get, 'v1beta1/{+parent}/results', options)
          command.response_representation = Google::Apis::PolicysimulatorV1beta1::GoogleCloudPolicysimulatorV1beta1ListReplayResultsResponse::Representation
          command.response_class = Google::Apis::PolicysimulatorV1beta1::GoogleCloudPolicysimulatorV1beta1ListReplayResultsResponse
          command.params['parent'] = parent unless parent.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_location_replay_results ( parent , page_size : nil , page_token : nil , fields : nil , quota_user : nil , options : nil , & block ) command = make_simple_command ( :get , 'v1beta1/{+parent}/results' , options ) command . response_representation = Google :: Apis :: PolicysimulatorV1beta1 :: GoogleCloudPolicysimulatorV1beta1ListReplayResultsResponse :: Representation command . response_class = Google :: Apis :: PolicysimulatorV1beta1 :: GoogleCloudPolicysimulatorV1beta1ListReplayResultsResponse command . params [ 'parent' ] = parent unless parent . 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
Lists the results of running a Replay.
Lists the results of running a Replay .
None
Google::Apis::PolicysimulatorV1beta1::GoogleCloudPolicysimulatorV1beta1ListReplayResultsResponse
[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
parent
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