Close httplib2 connections.
list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)
Lists Flex Components in a 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 Flex Components in a given project and location.
Args:
parent: string, Required. Parent value for ListFlexComponentsRequest Format: projects/{project}/locations/{location} (required)
filter: string, Optional. An expression for filtering the results of the request. Only the `shape` field is supported in the following format: `shape="{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 FlexComponents
"flexComponents": [ # The list of FlexComponent
{ # Details of the Flex Component resource.
"name": "A String", # Identifier. Specifies the name of the Flex Component resource with the format: projects/{project}/locations/{region}/flexComponents/{flex_component}
"properties": { # The properties of the Flex Component. # Output only. The properties of the Flex Component.
"availableCoreCount": 42, # Output only. The maximum number of CPU cores that can be enabled on the DB system for this shape.
"availableDbNodeStoragePerNodeGb": 42, # Output only. The maximum storage that can be enabled on the Storage Server for this Flex Component.
"availableLocalStorageGb": 42, # Output only. The maximum local storage that can be enabled on the DB Server for this Flex Component.
"availableMemoryGb": 42, # Output only. The maximum memory size that can be enabled on the DB Server for this Flex Component.
"computeModel": "A String", # Output only. The compute model of the DB Server for this Flex Component.
"descriptionSummary": "A String", # Output only. The description summary for this Flex Component.
"hardwareType": "A String", # Output only. The hardware type of the DB (Compute) or Storage (Cell) Server for this Flex Component.
"minimumCoreCount": 42, # Output only. The minimum number of CPU cores that can be enabled on the DB Server for this Flex Component.
"name": "A String", # Output only. The name of the Flex Component used for the DB system.
"runtimeMinimumCoreCount": 42, # Output only. The runtime minimum number of CPU cores that can be enabled for this Flex Component.
"shape": "A String", # Output only. The name of the DB system shape for this Flex Component.
},
},
],
"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.