# Google Cloud Logging API . projects . logServices

## Instance Methods

Returns the indexes Resource.

Returns the sinks Resource.

Lists log services associated with log entries ingested for a project.

Retrieves the next page of results.

### Method Details

`list(projectsId, log=None, pageSize=None, pageToken=None, x__xgafv=None)`

    Lists log services associated with log entries ingested for a project.

    Args:
      projectsId: string, Part of `projectName`. The project resource whose services are to be listed. (required)
      log: string, The name of the log resource whose services are to be listed. log for which to list services. When empty, all services are listed.
      pageSize: integer, The maximum number of `LogService` objects to return in one operation.
      pageToken: string, An opaque token, returned as `nextPageToken` by a prior `ListLogServices` operation. If `pageToken` is supplied, then the other fields of this request are ignored, and instead the previous `ListLogServices` operation is continued.
      x__xgafv: string, V1 error format.

    Returns:
      An object of the form:

        { # Result returned from `ListLogServicesRequest`.
        "nextPageToken": "A String", # If there are more results, then `nextPageToken` is returned in the response. To get the next batch of services, use the value of `nextPageToken` as `pageToken` in the next call of `ListLogServices`. If `nextPageToken` is empty, then there are no more results.
        "logServices": [ # A list of log services.
          { # A log service object.
            "indexKeys": [ # Label keys used when labeling log entries for this service. The order of the keys is significant, with higher priority keys coming earlier in the list.
              "A String",
            ],
            "name": "A String", # The service's name.
          },
        ],
      }

`list_next(previous_request, previous_response)`

    Retrieves the next page of results.

    Args:
      previous_request: The request for the previous page. (required)
      previous_response: The response from the request for the previous page. (required)

    Returns:
      A request object that you can call 'execute()' on to request the next
      page. Returns None if there are no more items in the collection.