Close httplib2 connections.
create(parent, body=None, x__xgafv=None)
Creates a new node.
list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)
Lists nodes.
Retrieves the next page of results.
close()
Close httplib2 connections.
create(parent, body=None, x__xgafv=None)
Creates a new node.
Args:
parent: string, Required. The parent resource name where the node is to be created. (required)
body: object, The request body.
The object takes the form of:
{ # The Node.
"displayName": "A String", # The node's display name.
"name": "A String", # Output only. Resource name.
"sasUserIds": [ # User ids used by the devices belonging to this node.
"A String",
],
}
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # The Node.
"displayName": "A String", # The node's display name.
"name": "A String", # Output only. Resource name.
"sasUserIds": [ # User ids used by the devices belonging to this node.
"A String",
],
}
list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)
Lists nodes.
Args:
parent: string, Required. The parent resource name, for example, "nodes/1". (required)
filter: string, The filter expression. The filter should have the following format: "DIRECT_CHILDREN" or format: "direct_children". The filter is case insensitive. If empty, then no nodes are filtered.
pageSize: integer, The maximum number of nodes to return in the response.
pageToken: string, A pagination token returned from a previous call to ListNodes that indicates where this listing should continue from.
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # Response for ListNodes.
"nextPageToken": "A String", # A pagination token returned from a previous call to ListNodes that indicates from where listing should continue. If the field is missing or empty, it means there is no more nodes.
"nodes": [ # The nodes that match the request.
{ # The Node.
"displayName": "A String", # The node's display name.
"name": "A String", # Output only. Resource name.
"sasUserIds": [ # User ids used by the devices belonging to this node.
"A String",
],
},
],
}
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.