Close httplib2 connections.
list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)
Lists all the DbSystemComputePerformances for the given project and location.
list_next(previous_request, previous_response)
Retrieves the next page of results.
close()
Close httplib2 connections.
list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)
Lists all the DbSystemComputePerformances for the given project and location.
Args:
parent: string, Required. Parent value for ListDbSystemComputePerformancesRequest Format: projects/{project}/locations/{location} (required)
filter: string, Optional. An expression for filtering the results of the request. Only the `db_system_shape` field is supported in the following format: `db_system_shape="{db_system_shape}"`.
pageSize: integer, Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
pageToken: string, Optional. A token identifying a page of results the server should return.
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # Message for response to listing DbSystemComputePerformances
"dbSystemComputePerformances": [ # The list of DbSystemComputePerformance.
{ # Details of the DbSystem compute performance resource.
"computePerformances": [ # Output only. List of Compute performance details for the specified DB system shape.
{ # Parameters detailing the compute performance for a specified DB system shape.
"computeCount": 42, # Output only. The number of compute servers for the DB system.
"computeModel": "A String", # Output only. The compute model for Base Database Service.
"cpuCoreCount": 42, # Output only. The number of CPU cores available.
"memoryInGbs": 3.14, # Output only. The amount of memory allocated for the VMDB System in GBs.
},
],
"name": "A String", # Identifier. The name of the DbSystemComputePerformance resource with the format: projects/{project}/locations/{location}/dbSystemComputePerformances/{db_system_compute_performance}
"shape": "A String", # Output only. The shape of the DB system.
},
],
"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.
"unreachable": [ # Unordered list. Locations that could not be reached.
"A String",
],
}
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.