SAS Portal API (Testing) . customers

Instance Methods

deployments()

Returns the deployments Resource.

devices()

Returns the devices Resource.

nodes()

Returns the nodes Resource.

close()

Close httplib2 connections.

create(body=None, x__xgafv=None)

Creates a new SAS customer.

delete(name, x__xgafv=None)

Deletes a customer.

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.
create(body=None, x__xgafv=None)
Creates a new SAS customer.

Args:
  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",
  ],
}

  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",
  ],
}
delete(name, x__xgafv=None)
Deletes a 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:

    { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.
}
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",
  ],
}