generated/google-apis-servicemanagement_v1/lib/google/apis/servicemanagement_v1/service.rb
# Lists the history of the service configuration rollouts for a managed service,
# from the newest to the oldest.
# @param [String] service_name
#   Required. The name of the service. See the [overview](/service-management/
#   overview) for naming requirements. For example: `example.googleapis.com`.
# @param [String] filter
#   Required. Use `filter` to return subset of rollouts. The following filters are
#   supported: -- To limit the results to only those in [status](google.api.
#   servicemanagement.v1.RolloutStatus) 'SUCCESS', use filter='status=SUCCESS' --
#   To limit the results to those in [status](google.api.servicemanagement.v1.
#   RolloutStatus) 'CANCELLED' or 'FAILED', use filter='status=CANCELLED OR status=
#   FAILED'
# @param [Fixnum] page_size
#   The max number of items to include in the response list. Page size is 50 if
#   not specified. Maximum value is 100.
# @param [String] page_token
#   The token of the page to retrieve.
# @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::ServicemanagementV1::ListServiceRolloutsResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ServicemanagementV1::ListServiceRolloutsResponse]
#
# @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 history of the service configuration rollouts for a managed service,
from the newest to the oldest.
Lists the history of the service configuration rollouts for a managed service from the newest to the oldest .
def list_service_rollouts(service_name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
          command = make_simple_command(:get, 'v1/services/{serviceName}/rollouts', options)
          command.response_representation = Google::Apis::ServicemanagementV1::ListServiceRolloutsResponse::Representation
          command.response_class = Google::Apis::ServicemanagementV1::ListServiceRolloutsResponse
          command.params['serviceName'] = service_name unless service_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_service_rollouts ( service_name , filter : nil , page_size : nil , page_token : nil , fields : nil , quota_user : nil , options : nil , & block ) command = make_simple_command ( :get , 'v1/services/{serviceName}/rollouts' , options ) command . response_representation = Google :: Apis :: ServicemanagementV1 :: ListServiceRolloutsResponse :: Representation command . response_class = Google :: Apis :: ServicemanagementV1 :: ListServiceRolloutsResponse command . params [ 'serviceName' ] = service_name unless service_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
Lists the history of the service configuration rollouts for a managed service,
from the newest to the oldest.
Lists the history of the service configuration rollouts for a managed service from the newest to the oldest .
None
Google::Apis::ServicemanagementV1::ListServiceRolloutsResponse
[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
service_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