Recommender API . recommenders

Instance Methods

close()

Close httplib2 connections.

list(pageSize=None, pageToken=None, x__xgafv=None)

Lists all available Recommenders. No IAM permissions are required.

list_next()

Retrieves the next page of results.

Method Details

close()
Close httplib2 connections.
list(pageSize=None, pageToken=None, x__xgafv=None)
Lists all available Recommenders. No IAM permissions are required.

Args:
  pageSize: integer, Optional. The number of RecommenderTypes to return per page. The service may return fewer than this value.
  pageToken: string, Optional. A page token, received from a previous `ListRecommenders` call. Provide this to retrieve the subsequent page.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Response for the `ListRecommender` method. Next ID: 3
  "nextPageToken": "A String", # A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
  "recommenders": [ # The set of recommenders available
    { # The type of a recommender.
      "name": "A String", # The recommender's name in format RecommenderTypes/{recommender_type} eg: recommenderTypes/google.iam.policy.Recommender
    },
  ],
}
list_next()
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.