# SAS Portal API (Testing) . customers

## Instance Methods

Returns the devices Resource.

Returns the nodes Resource.

Returns a requested customer.

Returns a list of requested customers.

Retrieves the next page of results.

Updates an existing customer.

### Method Details

`get(name, x__xgafv=None)`

    Returns a requested customer.

    Args:
      name: string, Required. The name of the customer. (required)
      x__xgafv: string, V1 error format.
        Allowed values
          1 - v1 error format
          2 - v2 error format

    Returns:
      An object of the form:

        { # Entity representing a SAS customer.
          "sasUserIds": [ # User IDs used by the devices belonging to this customer.
            "A String",
          ],
          "displayName": "A String", # Required. Name of the organization that the customer entity represents.
          "name": "A String", # Output only. Resource name of the customer.
        }

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

    Returns a list of requested customers.

    Args:
      pageSize: integer, The maximum number of customers
    to return in the response.
      pageToken: string, A pagination token returned from a previous call to ListCustomers method 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 `ListCustomers`.
        "customers": [ # The list of customers that
            # match the request.
          { # Entity representing a SAS customer.
              "sasUserIds": [ # User IDs used by the devices belonging to this customer.
                "A String",
              ],
              "displayName": "A String", # Required. Name of the organization that the customer entity represents.
              "name": "A String", # Output only. Resource name of the customer.
            },
        ],
        "nextPageToken": "A String", # A pagination token returned from a previous call to ListCustomers method that indicates from
            # where listing should continue. If the field is missing or empty, it means
            # there are no more customers.
      }

`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.

`patch(name, body=None, updateMask=None, x__xgafv=None)`

    Updates an existing customer.

    Args:
      name: string, Output only. Resource name of the customer. (required)
      body: object, The request body.
        The object takes the form of:

    { # Entity representing a SAS customer.
        "sasUserIds": [ # User IDs used by the devices belonging to this customer.
          "A String",
        ],
        "displayName": "A String", # Required. Name of the organization that the customer entity represents.
        "name": "A String", # Output only. Resource name of the customer.
      }

      updateMask: string, Fields to be updated.
      x__xgafv: string, V1 error format.
        Allowed values
          1 - v1 error format
          2 - v2 error format

    Returns:
      An object of the form:

        { # Entity representing a SAS customer.
          "sasUserIds": [ # User IDs used by the devices belonging to this customer.
            "A String",
          ],
          "displayName": "A String", # Required. Name of the organization that the customer entity represents.
          "name": "A String", # Output only. Resource name of the customer.
        }