SAS Portal API . customers

Instance Methods

deployments()

Returns the deployments Resource.

devices()

Returns the devices Resource.

nodes()

Returns the nodes Resource.

close()

Close httplib2 connections.

get(name, x__xgafv=None)

Returns a requested customer.

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

Returns a list of requested customers.

list_next(previous_request, previous_response)

Retrieves the next page of results.

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

Updates an existing customer.

Method Details

close()
Close httplib2 connections.
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.
  "displayName": "A String", # Required. Name of the organization that the customer entity represents.
  "name": "A String", # Output only. Resource name of the customer.
  "sasUserIds": [ # User IDs used by the devices belonging to this customer.
    "A String",
  ],
}
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 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.
      "displayName": "A String", # Required. Name of the organization that the customer entity represents.
      "name": "A String", # Output only. Resource name of the customer.
      "sasUserIds": [ # User IDs used by the devices belonging to this customer.
        "A String",
      ],
    },
  ],
  "nextPageToken": "A String", # A pagination token returned from a previous call to ListCustomers 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.
  "displayName": "A String", # Required. Name of the organization that the customer entity represents.
  "name": "A String", # Output only. Resource name of the customer.
  "sasUserIds": [ # User IDs used by the devices belonging to this customer.
    "A String",
  ],
}

  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.
  "displayName": "A String", # Required. Name of the organization that the customer entity represents.
  "name": "A String", # Output only. Resource name of the customer.
  "sasUserIds": [ # User IDs used by the devices belonging to this customer.
    "A String",
  ],
}