Close httplib2 connections.
list(pageSize=None, pageToken=None, x__xgafv=None)
Lists available InsightTypes. No IAM permissions are required.
Retrieves the next page of results.
close()
Close httplib2 connections.
list(pageSize=None, pageToken=None, x__xgafv=None)
Lists available InsightTypes. No IAM permissions are required.
Args:
pageSize: integer, Optional. The number of InsightTypes 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 `ListInsightTypes` method. Next ID: 3
"insightTypes": [ # The set of recommenders available
{ # The type of insight.
"name": "A String", # The insight_type's name in format insightTypes/{insight_type} eg: insightTypes/google.iam.policy.Insight
},
],
"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.
}
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.