class Customers extends Resource (View source)

The "customers" collection of methods.

Typical usage is:

 $sasportalService = new Google\Service\Sasportal(...);
 $customers = $sasportalService->customers;

Methods

get(string $name, array $optParams = [])

Returns a requested customer. (customers.get)

listCustomers(array $optParams = [])

Returns a list of requested customers. (customers.listCustomers)

listGcpProjectDeployments(array $optParams = [])

Returns a list of SAS deployments associated with current GCP project.

listLegacyOrganizations(array $optParams = [])

Returns a list of legacy organizations. (customers.listLegacyOrganizations)

migrateOrganization(SasPortalMigrateOrganizationRequest $postBody, array $optParams = [])

Migrates a SAS organization to the cloud. This will create GCP projects for each deployment and associate them. The SAS Organization is linked to the gcp project that called the command. go/sas-legacy-customer-migration (customers.migrateOrganization)

patch(string $name, SasPortalCustomer $postBody, array $optParams = [])

Updates an existing customer. (customers.patch)

provisionDeployment(SasPortalProvisionDeploymentRequest $postBody, array $optParams = [])

Creates a new SAS deployment through the GCP workflow. Creates a SAS organization if an organization match is not found.

setupSasAnalytics(SasPortalSetupSasAnalyticsRequest $postBody, array $optParams = [])

Setups the a GCP Project to receive SAS Analytics messages via GCP Pub/Sub with a subscription to BigQuery. All the Pub/Sub topics and BigQuery tables are created automatically as part of this service.

Details

SasPortalCustomer get(string $name, array $optParams = [])

Returns a requested customer. (customers.get)

Parameters

string $name

Required. The name of the customer.

array $optParams

Optional parameters.

Return Value

SasPortalCustomer

Exceptions

Exception

SasPortalListCustomersResponse listCustomers(array $optParams = [])

Returns a list of requested customers. (customers.listCustomers)

Parameters

array $optParams

Optional parameters.

Return Value

SasPortalListCustomersResponse

Exceptions

Exception

SasPortalListGcpProjectDeploymentsResponse listGcpProjectDeployments(array $optParams = [])

Returns a list of SAS deployments associated with current GCP project.

Includes whether SAS analytics has been enabled or not. (customers.listGcpProjectDeployments)

Parameters

array $optParams

Optional parameters.

Return Value

SasPortalListGcpProjectDeploymentsResponse

Exceptions

Exception

SasPortalListLegacyOrganizationsResponse listLegacyOrganizations(array $optParams = [])

Returns a list of legacy organizations. (customers.listLegacyOrganizations)

Parameters

array $optParams

Optional parameters.

Return Value

SasPortalListLegacyOrganizationsResponse

Exceptions

Exception

SasPortalOperation migrateOrganization(SasPortalMigrateOrganizationRequest $postBody, array $optParams = [])

Migrates a SAS organization to the cloud. This will create GCP projects for each deployment and associate them. The SAS Organization is linked to the gcp project that called the command. go/sas-legacy-customer-migration (customers.migrateOrganization)

Parameters

SasPortalMigrateOrganizationRequest $postBody
array $optParams

Optional parameters.

Return Value

SasPortalOperation

Exceptions

Exception

SasPortalCustomer patch(string $name, SasPortalCustomer $postBody, array $optParams = [])

Updates an existing customer. (customers.patch)

Parameters

string $name

Output only. Resource name of the customer.

SasPortalCustomer $postBody
array $optParams

Optional parameters.

Return Value

SasPortalCustomer

Exceptions

Exception

SasPortalProvisionDeploymentResponse provisionDeployment(SasPortalProvisionDeploymentRequest $postBody, array $optParams = [])

Creates a new SAS deployment through the GCP workflow. Creates a SAS organization if an organization match is not found.

(customers.provisionDeployment)

Parameters

SasPortalProvisionDeploymentRequest $postBody
array $optParams

Optional parameters.

Return Value

SasPortalProvisionDeploymentResponse

Exceptions

Exception

SasPortalOperation setupSasAnalytics(SasPortalSetupSasAnalyticsRequest $postBody, array $optParams = [])

Setups the a GCP Project to receive SAS Analytics messages via GCP Pub/Sub with a subscription to BigQuery. All the Pub/Sub topics and BigQuery tables are created automatically as part of this service.

(customers.setupSasAnalytics)

Parameters

SasPortalSetupSasAnalyticsRequest $postBody
array $optParams

Optional parameters.

Return Value

SasPortalOperation

Exceptions

Exception