gestione documentale avanzata 1 parte

This commit is contained in:
2026-05-28 09:34:28 +02:00
parent 3471befb1a
commit f2b0833b90
34482 changed files with 4312269 additions and 546 deletions
@@ -0,0 +1,170 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Sasportal\Resource;
use Google\Service\Sasportal\SasPortalCustomer;
use Google\Service\Sasportal\SasPortalListCustomersResponse;
use Google\Service\Sasportal\SasPortalListGcpProjectDeploymentsResponse;
use Google\Service\Sasportal\SasPortalListLegacyOrganizationsResponse;
use Google\Service\Sasportal\SasPortalMigrateOrganizationRequest;
use Google\Service\Sasportal\SasPortalOperation;
use Google\Service\Sasportal\SasPortalProvisionDeploymentRequest;
use Google\Service\Sasportal\SasPortalProvisionDeploymentResponse;
use Google\Service\Sasportal\SasPortalSetupSasAnalyticsRequest;
/**
* The "customers" collection of methods.
* Typical usage is:
* <code>
* $sasportalService = new Google\Service\Sasportal(...);
* $customers = $sasportalService->customers;
* </code>
*/
class Customers extends \Google\Service\Resource
{
/**
* Returns a requested customer. (customers.get)
*
* @param string $name Required. The name of the customer.
* @param array $optParams Optional parameters.
* @return SasPortalCustomer
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], SasPortalCustomer::class);
}
/**
* Returns a list of requested customers. (customers.listCustomers)
*
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize The maximum number of customers to return in the
* response.
* @opt_param string pageToken A pagination token returned from a previous call
* to ListCustomers that indicates where this listing should continue from.
* @return SasPortalListCustomersResponse
* @throws \Google\Service\Exception
*/
public function listCustomers($optParams = [])
{
$params = [];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], SasPortalListCustomersResponse::class);
}
/**
* Returns a list of SAS deployments associated with current GCP project.
* Includes whether SAS analytics has been enabled or not.
* (customers.listGcpProjectDeployments)
*
* @param array $optParams Optional parameters.
* @return SasPortalListGcpProjectDeploymentsResponse
* @throws \Google\Service\Exception
*/
public function listGcpProjectDeployments($optParams = [])
{
$params = [];
$params = array_merge($params, $optParams);
return $this->call('listGcpProjectDeployments', [$params], SasPortalListGcpProjectDeploymentsResponse::class);
}
/**
* Returns a list of legacy organizations. (customers.listLegacyOrganizations)
*
* @param array $optParams Optional parameters.
* @return SasPortalListLegacyOrganizationsResponse
* @throws \Google\Service\Exception
*/
public function listLegacyOrganizations($optParams = [])
{
$params = [];
$params = array_merge($params, $optParams);
return $this->call('listLegacyOrganizations', [$params], SasPortalListLegacyOrganizationsResponse::class);
}
/**
* 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)
*
* @param SasPortalMigrateOrganizationRequest $postBody
* @param array $optParams Optional parameters.
* @return SasPortalOperation
* @throws \Google\Service\Exception
*/
public function migrateOrganization(SasPortalMigrateOrganizationRequest $postBody, $optParams = [])
{
$params = ['postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('migrateOrganization', [$params], SasPortalOperation::class);
}
/**
* Updates an existing customer. (customers.patch)
*
* @param string $name Output only. Resource name of the customer.
* @param SasPortalCustomer $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Fields to be updated.
* @return SasPortalCustomer
* @throws \Google\Service\Exception
*/
public function patch($name, SasPortalCustomer $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], SasPortalCustomer::class);
}
/**
* Creates a new SAS deployment through the GCP workflow. Creates a SAS
* organization if an organization match is not found.
* (customers.provisionDeployment)
*
* @param SasPortalProvisionDeploymentRequest $postBody
* @param array $optParams Optional parameters.
* @return SasPortalProvisionDeploymentResponse
* @throws \Google\Service\Exception
*/
public function provisionDeployment(SasPortalProvisionDeploymentRequest $postBody, $optParams = [])
{
$params = ['postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('provisionDeployment', [$params], SasPortalProvisionDeploymentResponse::class);
}
/**
* 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)
*
* @param SasPortalSetupSasAnalyticsRequest $postBody
* @param array $optParams Optional parameters.
* @return SasPortalOperation
* @throws \Google\Service\Exception
*/
public function setupSasAnalytics(SasPortalSetupSasAnalyticsRequest $postBody, $optParams = [])
{
$params = ['postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('setupSasAnalytics', [$params], SasPortalOperation::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Customers::class, 'Google_Service_Sasportal_Resource_Customers');
@@ -0,0 +1,138 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Sasportal\Resource;
use Google\Service\Sasportal\SasPortalDeployment;
use Google\Service\Sasportal\SasPortalEmpty;
use Google\Service\Sasportal\SasPortalListDeploymentsResponse;
use Google\Service\Sasportal\SasPortalMoveDeploymentRequest;
use Google\Service\Sasportal\SasPortalOperation;
/**
* The "deployments" collection of methods.
* Typical usage is:
* <code>
* $sasportalService = new Google\Service\Sasportal(...);
* $deployments = $sasportalService->customers_deployments;
* </code>
*/
class CustomersDeployments extends \Google\Service\Resource
{
/**
* Creates a new deployment. (deployments.create)
*
* @param string $parent Required. The parent resource name where the deployment
* is to be created.
* @param SasPortalDeployment $postBody
* @param array $optParams Optional parameters.
* @return SasPortalDeployment
* @throws \Google\Service\Exception
*/
public function create($parent, SasPortalDeployment $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], SasPortalDeployment::class);
}
/**
* Deletes a deployment. (deployments.delete)
*
* @param string $name Required. The name of the deployment.
* @param array $optParams Optional parameters.
* @return SasPortalEmpty
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], SasPortalEmpty::class);
}
/**
* Returns a requested deployment. (deployments.get)
*
* @param string $name Required. The name of the deployment.
* @param array $optParams Optional parameters.
* @return SasPortalDeployment
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], SasPortalDeployment::class);
}
/**
* Lists deployments. (deployments.listCustomersDeployments)
*
* @param string $parent Required. The parent resource name, for example,
* "nodes/1", customer/1/nodes/2.
* @param array $optParams Optional parameters.
*
* @opt_param string filter 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 deployments are filtered.
* @opt_param int pageSize The maximum number of deployments to return in the
* response.
* @opt_param string pageToken A pagination token returned from a previous call
* to ListDeployments that indicates where this listing should continue from.
* @return SasPortalListDeploymentsResponse
* @throws \Google\Service\Exception
*/
public function listCustomersDeployments($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], SasPortalListDeploymentsResponse::class);
}
/**
* Moves a deployment under another node or customer. (deployments.move)
*
* @param string $name Required. The name of the deployment to move.
* @param SasPortalMoveDeploymentRequest $postBody
* @param array $optParams Optional parameters.
* @return SasPortalOperation
* @throws \Google\Service\Exception
*/
public function move($name, SasPortalMoveDeploymentRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('move', [$params], SasPortalOperation::class);
}
/**
* Updates an existing deployment. (deployments.patch)
*
* @param string $name Output only. Resource name.
* @param SasPortalDeployment $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Fields to be updated.
* @return SasPortalDeployment
* @throws \Google\Service\Exception
*/
public function patch($name, SasPortalDeployment $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], SasPortalDeployment::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CustomersDeployments::class, 'Google_Service_Sasportal_Resource_CustomersDeployments');
@@ -0,0 +1,91 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Sasportal\Resource;
use Google\Service\Sasportal\SasPortalCreateSignedDeviceRequest;
use Google\Service\Sasportal\SasPortalDevice;
use Google\Service\Sasportal\SasPortalListDevicesResponse;
/**
* The "devices" collection of methods.
* Typical usage is:
* <code>
* $sasportalService = new Google\Service\Sasportal(...);
* $devices = $sasportalService->customers_deployments_devices;
* </code>
*/
class CustomersDeploymentsDevices extends \Google\Service\Resource
{
/**
* Creates a device under a node or customer. (devices.create)
*
* @param string $parent Required. The name of the parent resource.
* @param SasPortalDevice $postBody
* @param array $optParams Optional parameters.
* @return SasPortalDevice
* @throws \Google\Service\Exception
*/
public function create($parent, SasPortalDevice $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], SasPortalDevice::class);
}
/**
* Creates a signed device under a node or customer. (devices.createSigned)
*
* @param string $parent Required. The name of the parent resource.
* @param SasPortalCreateSignedDeviceRequest $postBody
* @param array $optParams Optional parameters.
* @return SasPortalDevice
* @throws \Google\Service\Exception
*/
public function createSigned($parent, SasPortalCreateSignedDeviceRequest $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('createSigned', [$params], SasPortalDevice::class);
}
/**
* Lists devices under a node or customer.
* (devices.listCustomersDeploymentsDevices)
*
* @param string $parent Required. The name of the parent resource.
* @param array $optParams Optional parameters.
*
* @opt_param string filter The filter expression. The filter should have one of
* the following formats: "sn=123454" or "display_name=MyDevice". sn corresponds
* to serial number of the device. The filter is case insensitive.
* @opt_param int pageSize The maximum number of devices to return in the
* response. If empty or zero, all devices will be listed. Must be in the range
* [0, 1000].
* @opt_param string pageToken A pagination token returned from a previous call
* to ListDevices that indicates where this listing should continue from.
* @return SasPortalListDevicesResponse
* @throws \Google\Service\Exception
*/
public function listCustomersDeploymentsDevices($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], SasPortalListDevicesResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CustomersDeploymentsDevices::class, 'Google_Service_Sasportal_Resource_CustomersDeploymentsDevices');
@@ -0,0 +1,185 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Sasportal\Resource;
use Google\Service\Sasportal\SasPortalCreateSignedDeviceRequest;
use Google\Service\Sasportal\SasPortalDevice;
use Google\Service\Sasportal\SasPortalEmpty;
use Google\Service\Sasportal\SasPortalListDevicesResponse;
use Google\Service\Sasportal\SasPortalMoveDeviceRequest;
use Google\Service\Sasportal\SasPortalOperation;
use Google\Service\Sasportal\SasPortalSignDeviceRequest;
use Google\Service\Sasportal\SasPortalUpdateSignedDeviceRequest;
/**
* The "devices" collection of methods.
* Typical usage is:
* <code>
* $sasportalService = new Google\Service\Sasportal(...);
* $devices = $sasportalService->customers_devices;
* </code>
*/
class CustomersDevices extends \Google\Service\Resource
{
/**
* Creates a device under a node or customer. (devices.create)
*
* @param string $parent Required. The name of the parent resource.
* @param SasPortalDevice $postBody
* @param array $optParams Optional parameters.
* @return SasPortalDevice
* @throws \Google\Service\Exception
*/
public function create($parent, SasPortalDevice $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], SasPortalDevice::class);
}
/**
* Creates a signed device under a node or customer. (devices.createSigned)
*
* @param string $parent Required. The name of the parent resource.
* @param SasPortalCreateSignedDeviceRequest $postBody
* @param array $optParams Optional parameters.
* @return SasPortalDevice
* @throws \Google\Service\Exception
*/
public function createSigned($parent, SasPortalCreateSignedDeviceRequest $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('createSigned', [$params], SasPortalDevice::class);
}
/**
* Deletes a device. (devices.delete)
*
* @param string $name Required. The name of the device.
* @param array $optParams Optional parameters.
* @return SasPortalEmpty
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], SasPortalEmpty::class);
}
/**
* Gets details about a device. (devices.get)
*
* @param string $name Required. The name of the device.
* @param array $optParams Optional parameters.
* @return SasPortalDevice
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], SasPortalDevice::class);
}
/**
* Lists devices under a node or customer. (devices.listCustomersDevices)
*
* @param string $parent Required. The name of the parent resource.
* @param array $optParams Optional parameters.
*
* @opt_param string filter The filter expression. The filter should have one of
* the following formats: "sn=123454" or "display_name=MyDevice". sn corresponds
* to serial number of the device. The filter is case insensitive.
* @opt_param int pageSize The maximum number of devices to return in the
* response. If empty or zero, all devices will be listed. Must be in the range
* [0, 1000].
* @opt_param string pageToken A pagination token returned from a previous call
* to ListDevices that indicates where this listing should continue from.
* @return SasPortalListDevicesResponse
* @throws \Google\Service\Exception
*/
public function listCustomersDevices($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], SasPortalListDevicesResponse::class);
}
/**
* Moves a device under another node or customer. (devices.move)
*
* @param string $name Required. The name of the device to move.
* @param SasPortalMoveDeviceRequest $postBody
* @param array $optParams Optional parameters.
* @return SasPortalOperation
* @throws \Google\Service\Exception
*/
public function move($name, SasPortalMoveDeviceRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('move', [$params], SasPortalOperation::class);
}
/**
* Updates a device. (devices.patch)
*
* @param string $name Output only. The resource path name.
* @param SasPortalDevice $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Fields to be updated.
* @return SasPortalDevice
* @throws \Google\Service\Exception
*/
public function patch($name, SasPortalDevice $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], SasPortalDevice::class);
}
/**
* Signs a device. (devices.signDevice)
*
* @param string $name Output only. The resource path name.
* @param SasPortalSignDeviceRequest $postBody
* @param array $optParams Optional parameters.
* @return SasPortalEmpty
* @throws \Google\Service\Exception
*/
public function signDevice($name, SasPortalSignDeviceRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('signDevice', [$params], SasPortalEmpty::class);
}
/**
* Updates a signed device. (devices.updateSigned)
*
* @param string $name Required. The name of the device to update.
* @param SasPortalUpdateSignedDeviceRequest $postBody
* @param array $optParams Optional parameters.
* @return SasPortalDevice
* @throws \Google\Service\Exception
*/
public function updateSigned($name, SasPortalUpdateSignedDeviceRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('updateSigned', [$params], SasPortalDevice::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CustomersDevices::class, 'Google_Service_Sasportal_Resource_CustomersDevices');
@@ -0,0 +1,138 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Sasportal\Resource;
use Google\Service\Sasportal\SasPortalEmpty;
use Google\Service\Sasportal\SasPortalListNodesResponse;
use Google\Service\Sasportal\SasPortalMoveNodeRequest;
use Google\Service\Sasportal\SasPortalNode;
use Google\Service\Sasportal\SasPortalOperation;
/**
* The "nodes" collection of methods.
* Typical usage is:
* <code>
* $sasportalService = new Google\Service\Sasportal(...);
* $nodes = $sasportalService->customers_nodes;
* </code>
*/
class CustomersNodes extends \Google\Service\Resource
{
/**
* Creates a new node. (nodes.create)
*
* @param string $parent Required. The parent resource name where the node is to
* be created.
* @param SasPortalNode $postBody
* @param array $optParams Optional parameters.
* @return SasPortalNode
* @throws \Google\Service\Exception
*/
public function create($parent, SasPortalNode $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], SasPortalNode::class);
}
/**
* Deletes a node. (nodes.delete)
*
* @param string $name Required. The name of the node.
* @param array $optParams Optional parameters.
* @return SasPortalEmpty
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], SasPortalEmpty::class);
}
/**
* Returns a requested node. (nodes.get)
*
* @param string $name Required. The name of the node.
* @param array $optParams Optional parameters.
* @return SasPortalNode
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], SasPortalNode::class);
}
/**
* Lists nodes. (nodes.listCustomersNodes)
*
* @param string $parent Required. The parent resource name, for example,
* "nodes/1".
* @param array $optParams Optional parameters.
*
* @opt_param string filter 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.
* @opt_param int pageSize The maximum number of nodes to return in the
* response.
* @opt_param string pageToken A pagination token returned from a previous call
* to ListNodes that indicates where this listing should continue from.
* @return SasPortalListNodesResponse
* @throws \Google\Service\Exception
*/
public function listCustomersNodes($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], SasPortalListNodesResponse::class);
}
/**
* Moves a node under another node or customer. (nodes.move)
*
* @param string $name Required. The name of the node to move.
* @param SasPortalMoveNodeRequest $postBody
* @param array $optParams Optional parameters.
* @return SasPortalOperation
* @throws \Google\Service\Exception
*/
public function move($name, SasPortalMoveNodeRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('move', [$params], SasPortalOperation::class);
}
/**
* Updates an existing node. (nodes.patch)
*
* @param string $name Output only. Resource name.
* @param SasPortalNode $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Fields to be updated.
* @return SasPortalNode
* @throws \Google\Service\Exception
*/
public function patch($name, SasPortalNode $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], SasPortalNode::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CustomersNodes::class, 'Google_Service_Sasportal_Resource_CustomersNodes');
@@ -0,0 +1,75 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Sasportal\Resource;
use Google\Service\Sasportal\SasPortalDeployment;
use Google\Service\Sasportal\SasPortalListDeploymentsResponse;
/**
* The "deployments" collection of methods.
* Typical usage is:
* <code>
* $sasportalService = new Google\Service\Sasportal(...);
* $deployments = $sasportalService->customers_nodes_deployments;
* </code>
*/
class CustomersNodesDeployments extends \Google\Service\Resource
{
/**
* Creates a new deployment. (deployments.create)
*
* @param string $parent Required. The parent resource name where the deployment
* is to be created.
* @param SasPortalDeployment $postBody
* @param array $optParams Optional parameters.
* @return SasPortalDeployment
* @throws \Google\Service\Exception
*/
public function create($parent, SasPortalDeployment $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], SasPortalDeployment::class);
}
/**
* Lists deployments. (deployments.listCustomersNodesDeployments)
*
* @param string $parent Required. The parent resource name, for example,
* "nodes/1", customer/1/nodes/2.
* @param array $optParams Optional parameters.
*
* @opt_param string filter 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 deployments are filtered.
* @opt_param int pageSize The maximum number of deployments to return in the
* response.
* @opt_param string pageToken A pagination token returned from a previous call
* to ListDeployments that indicates where this listing should continue from.
* @return SasPortalListDeploymentsResponse
* @throws \Google\Service\Exception
*/
public function listCustomersNodesDeployments($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], SasPortalListDeploymentsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CustomersNodesDeployments::class, 'Google_Service_Sasportal_Resource_CustomersNodesDeployments');
@@ -0,0 +1,90 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Sasportal\Resource;
use Google\Service\Sasportal\SasPortalCreateSignedDeviceRequest;
use Google\Service\Sasportal\SasPortalDevice;
use Google\Service\Sasportal\SasPortalListDevicesResponse;
/**
* The "devices" collection of methods.
* Typical usage is:
* <code>
* $sasportalService = new Google\Service\Sasportal(...);
* $devices = $sasportalService->customers_nodes_devices;
* </code>
*/
class CustomersNodesDevices extends \Google\Service\Resource
{
/**
* Creates a device under a node or customer. (devices.create)
*
* @param string $parent Required. The name of the parent resource.
* @param SasPortalDevice $postBody
* @param array $optParams Optional parameters.
* @return SasPortalDevice
* @throws \Google\Service\Exception
*/
public function create($parent, SasPortalDevice $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], SasPortalDevice::class);
}
/**
* Creates a signed device under a node or customer. (devices.createSigned)
*
* @param string $parent Required. The name of the parent resource.
* @param SasPortalCreateSignedDeviceRequest $postBody
* @param array $optParams Optional parameters.
* @return SasPortalDevice
* @throws \Google\Service\Exception
*/
public function createSigned($parent, SasPortalCreateSignedDeviceRequest $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('createSigned', [$params], SasPortalDevice::class);
}
/**
* Lists devices under a node or customer. (devices.listCustomersNodesDevices)
*
* @param string $parent Required. The name of the parent resource.
* @param array $optParams Optional parameters.
*
* @opt_param string filter The filter expression. The filter should have one of
* the following formats: "sn=123454" or "display_name=MyDevice". sn corresponds
* to serial number of the device. The filter is case insensitive.
* @opt_param int pageSize The maximum number of devices to return in the
* response. If empty or zero, all devices will be listed. Must be in the range
* [0, 1000].
* @opt_param string pageToken A pagination token returned from a previous call
* to ListDevices that indicates where this listing should continue from.
* @return SasPortalListDevicesResponse
* @throws \Google\Service\Exception
*/
public function listCustomersNodesDevices($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], SasPortalListDevicesResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CustomersNodesDevices::class, 'Google_Service_Sasportal_Resource_CustomersNodesDevices');
@@ -0,0 +1,75 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Sasportal\Resource;
use Google\Service\Sasportal\SasPortalListNodesResponse;
use Google\Service\Sasportal\SasPortalNode;
/**
* The "nodes" collection of methods.
* Typical usage is:
* <code>
* $sasportalService = new Google\Service\Sasportal(...);
* $nodes = $sasportalService->customers_nodes_nodes;
* </code>
*/
class CustomersNodesNodes extends \Google\Service\Resource
{
/**
* Creates a new node. (nodes.create)
*
* @param string $parent Required. The parent resource name where the node is to
* be created.
* @param SasPortalNode $postBody
* @param array $optParams Optional parameters.
* @return SasPortalNode
* @throws \Google\Service\Exception
*/
public function create($parent, SasPortalNode $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], SasPortalNode::class);
}
/**
* Lists nodes. (nodes.listCustomersNodesNodes)
*
* @param string $parent Required. The parent resource name, for example,
* "nodes/1".
* @param array $optParams Optional parameters.
*
* @opt_param string filter 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.
* @opt_param int pageSize The maximum number of nodes to return in the
* response.
* @opt_param string pageToken A pagination token returned from a previous call
* to ListNodes that indicates where this listing should continue from.
* @return SasPortalListNodesResponse
* @throws \Google\Service\Exception
*/
public function listCustomersNodesNodes($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], SasPortalListNodesResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CustomersNodesNodes::class, 'Google_Service_Sasportal_Resource_CustomersNodesNodes');
@@ -0,0 +1,49 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Sasportal\Resource;
use Google\Service\Sasportal\SasPortalDeployment;
/**
* The "deployments" collection of methods.
* Typical usage is:
* <code>
* $sasportalService = new Google\Service\Sasportal(...);
* $deployments = $sasportalService->deployments;
* </code>
*/
class Deployments extends \Google\Service\Resource
{
/**
* Returns a requested deployment. (deployments.get)
*
* @param string $name Required. The name of the deployment.
* @param array $optParams Optional parameters.
* @return SasPortalDeployment
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], SasPortalDeployment::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Deployments::class, 'Google_Service_Sasportal_Resource_Deployments');
@@ -0,0 +1,130 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Sasportal\Resource;
use Google\Service\Sasportal\SasPortalDevice;
use Google\Service\Sasportal\SasPortalEmpty;
use Google\Service\Sasportal\SasPortalMoveDeviceRequest;
use Google\Service\Sasportal\SasPortalOperation;
use Google\Service\Sasportal\SasPortalSignDeviceRequest;
use Google\Service\Sasportal\SasPortalUpdateSignedDeviceRequest;
/**
* The "devices" collection of methods.
* Typical usage is:
* <code>
* $sasportalService = new Google\Service\Sasportal(...);
* $devices = $sasportalService->deployments_devices;
* </code>
*/
class DeploymentsDevices extends \Google\Service\Resource
{
/**
* Deletes a device. (devices.delete)
*
* @param string $name Required. The name of the device.
* @param array $optParams Optional parameters.
* @return SasPortalEmpty
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], SasPortalEmpty::class);
}
/**
* Gets details about a device. (devices.get)
*
* @param string $name Required. The name of the device.
* @param array $optParams Optional parameters.
* @return SasPortalDevice
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], SasPortalDevice::class);
}
/**
* Moves a device under another node or customer. (devices.move)
*
* @param string $name Required. The name of the device to move.
* @param SasPortalMoveDeviceRequest $postBody
* @param array $optParams Optional parameters.
* @return SasPortalOperation
* @throws \Google\Service\Exception
*/
public function move($name, SasPortalMoveDeviceRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('move', [$params], SasPortalOperation::class);
}
/**
* Updates a device. (devices.patch)
*
* @param string $name Output only. The resource path name.
* @param SasPortalDevice $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Fields to be updated.
* @return SasPortalDevice
* @throws \Google\Service\Exception
*/
public function patch($name, SasPortalDevice $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], SasPortalDevice::class);
}
/**
* Signs a device. (devices.signDevice)
*
* @param string $name Output only. The resource path name.
* @param SasPortalSignDeviceRequest $postBody
* @param array $optParams Optional parameters.
* @return SasPortalEmpty
* @throws \Google\Service\Exception
*/
public function signDevice($name, SasPortalSignDeviceRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('signDevice', [$params], SasPortalEmpty::class);
}
/**
* Updates a signed device. (devices.updateSigned)
*
* @param string $name Required. The name of the device to update.
* @param SasPortalUpdateSignedDeviceRequest $postBody
* @param array $optParams Optional parameters.
* @return SasPortalDevice
* @throws \Google\Service\Exception
*/
public function updateSigned($name, SasPortalUpdateSignedDeviceRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('updateSigned', [$params], SasPortalDevice::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DeploymentsDevices::class, 'Google_Service_Sasportal_Resource_DeploymentsDevices');
@@ -0,0 +1,68 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Sasportal\Resource;
use Google\Service\Sasportal\SasPortalGenerateSecretRequest;
use Google\Service\Sasportal\SasPortalGenerateSecretResponse;
use Google\Service\Sasportal\SasPortalValidateInstallerRequest;
use Google\Service\Sasportal\SasPortalValidateInstallerResponse;
/**
* The "installer" collection of methods.
* Typical usage is:
* <code>
* $sasportalService = new Google\Service\Sasportal(...);
* $installer = $sasportalService->installer;
* </code>
*/
class Installer extends \Google\Service\Resource
{
/**
* Generates a secret to be used with the ValidateInstaller.
* (installer.generateSecret)
*
* @param SasPortalGenerateSecretRequest $postBody
* @param array $optParams Optional parameters.
* @return SasPortalGenerateSecretResponse
* @throws \Google\Service\Exception
*/
public function generateSecret(SasPortalGenerateSecretRequest $postBody, $optParams = [])
{
$params = ['postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('generateSecret', [$params], SasPortalGenerateSecretResponse::class);
}
/**
* Validates the identity of a Certified Professional Installer (CPI).
* (installer.validate)
*
* @param SasPortalValidateInstallerRequest $postBody
* @param array $optParams Optional parameters.
* @return SasPortalValidateInstallerResponse
* @throws \Google\Service\Exception
*/
public function validate(SasPortalValidateInstallerRequest $postBody, $optParams = [])
{
$params = ['postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('validate', [$params], SasPortalValidateInstallerResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Installer::class, 'Google_Service_Sasportal_Resource_Installer');
@@ -0,0 +1,49 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Sasportal\Resource;
use Google\Service\Sasportal\SasPortalNode;
/**
* The "nodes" collection of methods.
* Typical usage is:
* <code>
* $sasportalService = new Google\Service\Sasportal(...);
* $nodes = $sasportalService->nodes;
* </code>
*/
class Nodes extends \Google\Service\Resource
{
/**
* Returns a requested node. (nodes.get)
*
* @param string $name Required. The name of the node.
* @param array $optParams Optional parameters.
* @return SasPortalNode
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], SasPortalNode::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Nodes::class, 'Google_Service_Sasportal_Resource_Nodes');
@@ -0,0 +1,122 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Sasportal\Resource;
use Google\Service\Sasportal\SasPortalDeployment;
use Google\Service\Sasportal\SasPortalEmpty;
use Google\Service\Sasportal\SasPortalListDeploymentsResponse;
use Google\Service\Sasportal\SasPortalMoveDeploymentRequest;
use Google\Service\Sasportal\SasPortalOperation;
/**
* The "deployments" collection of methods.
* Typical usage is:
* <code>
* $sasportalService = new Google\Service\Sasportal(...);
* $deployments = $sasportalService->nodes_deployments;
* </code>
*/
class NodesDeployments extends \Google\Service\Resource
{
/**
* Deletes a deployment. (deployments.delete)
*
* @param string $name Required. The name of the deployment.
* @param array $optParams Optional parameters.
* @return SasPortalEmpty
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], SasPortalEmpty::class);
}
/**
* Returns a requested deployment. (deployments.get)
*
* @param string $name Required. The name of the deployment.
* @param array $optParams Optional parameters.
* @return SasPortalDeployment
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], SasPortalDeployment::class);
}
/**
* Lists deployments. (deployments.listNodesDeployments)
*
* @param string $parent Required. The parent resource name, for example,
* "nodes/1", customer/1/nodes/2.
* @param array $optParams Optional parameters.
*
* @opt_param string filter 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 deployments are filtered.
* @opt_param int pageSize The maximum number of deployments to return in the
* response.
* @opt_param string pageToken A pagination token returned from a previous call
* to ListDeployments that indicates where this listing should continue from.
* @return SasPortalListDeploymentsResponse
* @throws \Google\Service\Exception
*/
public function listNodesDeployments($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], SasPortalListDeploymentsResponse::class);
}
/**
* Moves a deployment under another node or customer. (deployments.move)
*
* @param string $name Required. The name of the deployment to move.
* @param SasPortalMoveDeploymentRequest $postBody
* @param array $optParams Optional parameters.
* @return SasPortalOperation
* @throws \Google\Service\Exception
*/
public function move($name, SasPortalMoveDeploymentRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('move', [$params], SasPortalOperation::class);
}
/**
* Updates an existing deployment. (deployments.patch)
*
* @param string $name Output only. Resource name.
* @param SasPortalDeployment $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Fields to be updated.
* @return SasPortalDeployment
* @throws \Google\Service\Exception
*/
public function patch($name, SasPortalDeployment $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], SasPortalDeployment::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(NodesDeployments::class, 'Google_Service_Sasportal_Resource_NodesDeployments');
@@ -0,0 +1,90 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Sasportal\Resource;
use Google\Service\Sasportal\SasPortalCreateSignedDeviceRequest;
use Google\Service\Sasportal\SasPortalDevice;
use Google\Service\Sasportal\SasPortalListDevicesResponse;
/**
* The "devices" collection of methods.
* Typical usage is:
* <code>
* $sasportalService = new Google\Service\Sasportal(...);
* $devices = $sasportalService->nodes_deployments_devices;
* </code>
*/
class NodesDeploymentsDevices extends \Google\Service\Resource
{
/**
* Creates a device under a node or customer. (devices.create)
*
* @param string $parent Required. The name of the parent resource.
* @param SasPortalDevice $postBody
* @param array $optParams Optional parameters.
* @return SasPortalDevice
* @throws \Google\Service\Exception
*/
public function create($parent, SasPortalDevice $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], SasPortalDevice::class);
}
/**
* Creates a signed device under a node or customer. (devices.createSigned)
*
* @param string $parent Required. The name of the parent resource.
* @param SasPortalCreateSignedDeviceRequest $postBody
* @param array $optParams Optional parameters.
* @return SasPortalDevice
* @throws \Google\Service\Exception
*/
public function createSigned($parent, SasPortalCreateSignedDeviceRequest $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('createSigned', [$params], SasPortalDevice::class);
}
/**
* Lists devices under a node or customer. (devices.listNodesDeploymentsDevices)
*
* @param string $parent Required. The name of the parent resource.
* @param array $optParams Optional parameters.
*
* @opt_param string filter The filter expression. The filter should have one of
* the following formats: "sn=123454" or "display_name=MyDevice". sn corresponds
* to serial number of the device. The filter is case insensitive.
* @opt_param int pageSize The maximum number of devices to return in the
* response. If empty or zero, all devices will be listed. Must be in the range
* [0, 1000].
* @opt_param string pageToken A pagination token returned from a previous call
* to ListDevices that indicates where this listing should continue from.
* @return SasPortalListDevicesResponse
* @throws \Google\Service\Exception
*/
public function listNodesDeploymentsDevices($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], SasPortalListDevicesResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(NodesDeploymentsDevices::class, 'Google_Service_Sasportal_Resource_NodesDeploymentsDevices');
@@ -0,0 +1,185 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Sasportal\Resource;
use Google\Service\Sasportal\SasPortalCreateSignedDeviceRequest;
use Google\Service\Sasportal\SasPortalDevice;
use Google\Service\Sasportal\SasPortalEmpty;
use Google\Service\Sasportal\SasPortalListDevicesResponse;
use Google\Service\Sasportal\SasPortalMoveDeviceRequest;
use Google\Service\Sasportal\SasPortalOperation;
use Google\Service\Sasportal\SasPortalSignDeviceRequest;
use Google\Service\Sasportal\SasPortalUpdateSignedDeviceRequest;
/**
* The "devices" collection of methods.
* Typical usage is:
* <code>
* $sasportalService = new Google\Service\Sasportal(...);
* $devices = $sasportalService->nodes_devices;
* </code>
*/
class NodesDevices extends \Google\Service\Resource
{
/**
* Creates a device under a node or customer. (devices.create)
*
* @param string $parent Required. The name of the parent resource.
* @param SasPortalDevice $postBody
* @param array $optParams Optional parameters.
* @return SasPortalDevice
* @throws \Google\Service\Exception
*/
public function create($parent, SasPortalDevice $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], SasPortalDevice::class);
}
/**
* Creates a signed device under a node or customer. (devices.createSigned)
*
* @param string $parent Required. The name of the parent resource.
* @param SasPortalCreateSignedDeviceRequest $postBody
* @param array $optParams Optional parameters.
* @return SasPortalDevice
* @throws \Google\Service\Exception
*/
public function createSigned($parent, SasPortalCreateSignedDeviceRequest $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('createSigned', [$params], SasPortalDevice::class);
}
/**
* Deletes a device. (devices.delete)
*
* @param string $name Required. The name of the device.
* @param array $optParams Optional parameters.
* @return SasPortalEmpty
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], SasPortalEmpty::class);
}
/**
* Gets details about a device. (devices.get)
*
* @param string $name Required. The name of the device.
* @param array $optParams Optional parameters.
* @return SasPortalDevice
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], SasPortalDevice::class);
}
/**
* Lists devices under a node or customer. (devices.listNodesDevices)
*
* @param string $parent Required. The name of the parent resource.
* @param array $optParams Optional parameters.
*
* @opt_param string filter The filter expression. The filter should have one of
* the following formats: "sn=123454" or "display_name=MyDevice". sn corresponds
* to serial number of the device. The filter is case insensitive.
* @opt_param int pageSize The maximum number of devices to return in the
* response. If empty or zero, all devices will be listed. Must be in the range
* [0, 1000].
* @opt_param string pageToken A pagination token returned from a previous call
* to ListDevices that indicates where this listing should continue from.
* @return SasPortalListDevicesResponse
* @throws \Google\Service\Exception
*/
public function listNodesDevices($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], SasPortalListDevicesResponse::class);
}
/**
* Moves a device under another node or customer. (devices.move)
*
* @param string $name Required. The name of the device to move.
* @param SasPortalMoveDeviceRequest $postBody
* @param array $optParams Optional parameters.
* @return SasPortalOperation
* @throws \Google\Service\Exception
*/
public function move($name, SasPortalMoveDeviceRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('move', [$params], SasPortalOperation::class);
}
/**
* Updates a device. (devices.patch)
*
* @param string $name Output only. The resource path name.
* @param SasPortalDevice $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Fields to be updated.
* @return SasPortalDevice
* @throws \Google\Service\Exception
*/
public function patch($name, SasPortalDevice $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], SasPortalDevice::class);
}
/**
* Signs a device. (devices.signDevice)
*
* @param string $name Output only. The resource path name.
* @param SasPortalSignDeviceRequest $postBody
* @param array $optParams Optional parameters.
* @return SasPortalEmpty
* @throws \Google\Service\Exception
*/
public function signDevice($name, SasPortalSignDeviceRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('signDevice', [$params], SasPortalEmpty::class);
}
/**
* Updates a signed device. (devices.updateSigned)
*
* @param string $name Required. The name of the device to update.
* @param SasPortalUpdateSignedDeviceRequest $postBody
* @param array $optParams Optional parameters.
* @return SasPortalDevice
* @throws \Google\Service\Exception
*/
public function updateSigned($name, SasPortalUpdateSignedDeviceRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('updateSigned', [$params], SasPortalDevice::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(NodesDevices::class, 'Google_Service_Sasportal_Resource_NodesDevices');
@@ -0,0 +1,138 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Sasportal\Resource;
use Google\Service\Sasportal\SasPortalEmpty;
use Google\Service\Sasportal\SasPortalListNodesResponse;
use Google\Service\Sasportal\SasPortalMoveNodeRequest;
use Google\Service\Sasportal\SasPortalNode;
use Google\Service\Sasportal\SasPortalOperation;
/**
* The "nodes" collection of methods.
* Typical usage is:
* <code>
* $sasportalService = new Google\Service\Sasportal(...);
* $nodes = $sasportalService->nodes_nodes;
* </code>
*/
class NodesNodes extends \Google\Service\Resource
{
/**
* Creates a new node. (nodes.create)
*
* @param string $parent Required. The parent resource name where the node is to
* be created.
* @param SasPortalNode $postBody
* @param array $optParams Optional parameters.
* @return SasPortalNode
* @throws \Google\Service\Exception
*/
public function create($parent, SasPortalNode $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], SasPortalNode::class);
}
/**
* Deletes a node. (nodes.delete)
*
* @param string $name Required. The name of the node.
* @param array $optParams Optional parameters.
* @return SasPortalEmpty
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], SasPortalEmpty::class);
}
/**
* Returns a requested node. (nodes.get)
*
* @param string $name Required. The name of the node.
* @param array $optParams Optional parameters.
* @return SasPortalNode
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], SasPortalNode::class);
}
/**
* Lists nodes. (nodes.listNodesNodes)
*
* @param string $parent Required. The parent resource name, for example,
* "nodes/1".
* @param array $optParams Optional parameters.
*
* @opt_param string filter 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.
* @opt_param int pageSize The maximum number of nodes to return in the
* response.
* @opt_param string pageToken A pagination token returned from a previous call
* to ListNodes that indicates where this listing should continue from.
* @return SasPortalListNodesResponse
* @throws \Google\Service\Exception
*/
public function listNodesNodes($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], SasPortalListNodesResponse::class);
}
/**
* Moves a node under another node or customer. (nodes.move)
*
* @param string $name Required. The name of the node to move.
* @param SasPortalMoveNodeRequest $postBody
* @param array $optParams Optional parameters.
* @return SasPortalOperation
* @throws \Google\Service\Exception
*/
public function move($name, SasPortalMoveNodeRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('move', [$params], SasPortalOperation::class);
}
/**
* Updates an existing node. (nodes.patch)
*
* @param string $name Output only. Resource name.
* @param SasPortalNode $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Fields to be updated.
* @return SasPortalNode
* @throws \Google\Service\Exception
*/
public function patch($name, SasPortalNode $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], SasPortalNode::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(NodesNodes::class, 'Google_Service_Sasportal_Resource_NodesNodes');
@@ -0,0 +1,75 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Sasportal\Resource;
use Google\Service\Sasportal\SasPortalDeployment;
use Google\Service\Sasportal\SasPortalListDeploymentsResponse;
/**
* The "deployments" collection of methods.
* Typical usage is:
* <code>
* $sasportalService = new Google\Service\Sasportal(...);
* $deployments = $sasportalService->nodes_nodes_deployments;
* </code>
*/
class NodesNodesDeployments extends \Google\Service\Resource
{
/**
* Creates a new deployment. (deployments.create)
*
* @param string $parent Required. The parent resource name where the deployment
* is to be created.
* @param SasPortalDeployment $postBody
* @param array $optParams Optional parameters.
* @return SasPortalDeployment
* @throws \Google\Service\Exception
*/
public function create($parent, SasPortalDeployment $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], SasPortalDeployment::class);
}
/**
* Lists deployments. (deployments.listNodesNodesDeployments)
*
* @param string $parent Required. The parent resource name, for example,
* "nodes/1", customer/1/nodes/2.
* @param array $optParams Optional parameters.
*
* @opt_param string filter 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 deployments are filtered.
* @opt_param int pageSize The maximum number of deployments to return in the
* response.
* @opt_param string pageToken A pagination token returned from a previous call
* to ListDeployments that indicates where this listing should continue from.
* @return SasPortalListDeploymentsResponse
* @throws \Google\Service\Exception
*/
public function listNodesNodesDeployments($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], SasPortalListDeploymentsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(NodesNodesDeployments::class, 'Google_Service_Sasportal_Resource_NodesNodesDeployments');
@@ -0,0 +1,90 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Sasportal\Resource;
use Google\Service\Sasportal\SasPortalCreateSignedDeviceRequest;
use Google\Service\Sasportal\SasPortalDevice;
use Google\Service\Sasportal\SasPortalListDevicesResponse;
/**
* The "devices" collection of methods.
* Typical usage is:
* <code>
* $sasportalService = new Google\Service\Sasportal(...);
* $devices = $sasportalService->nodes_nodes_devices;
* </code>
*/
class NodesNodesDevices extends \Google\Service\Resource
{
/**
* Creates a device under a node or customer. (devices.create)
*
* @param string $parent Required. The name of the parent resource.
* @param SasPortalDevice $postBody
* @param array $optParams Optional parameters.
* @return SasPortalDevice
* @throws \Google\Service\Exception
*/
public function create($parent, SasPortalDevice $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], SasPortalDevice::class);
}
/**
* Creates a signed device under a node or customer. (devices.createSigned)
*
* @param string $parent Required. The name of the parent resource.
* @param SasPortalCreateSignedDeviceRequest $postBody
* @param array $optParams Optional parameters.
* @return SasPortalDevice
* @throws \Google\Service\Exception
*/
public function createSigned($parent, SasPortalCreateSignedDeviceRequest $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('createSigned', [$params], SasPortalDevice::class);
}
/**
* Lists devices under a node or customer. (devices.listNodesNodesDevices)
*
* @param string $parent Required. The name of the parent resource.
* @param array $optParams Optional parameters.
*
* @opt_param string filter The filter expression. The filter should have one of
* the following formats: "sn=123454" or "display_name=MyDevice". sn corresponds
* to serial number of the device. The filter is case insensitive.
* @opt_param int pageSize The maximum number of devices to return in the
* response. If empty or zero, all devices will be listed. Must be in the range
* [0, 1000].
* @opt_param string pageToken A pagination token returned from a previous call
* to ListDevices that indicates where this listing should continue from.
* @return SasPortalListDevicesResponse
* @throws \Google\Service\Exception
*/
public function listNodesNodesDevices($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], SasPortalListDevicesResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(NodesNodesDevices::class, 'Google_Service_Sasportal_Resource_NodesNodesDevices');
@@ -0,0 +1,75 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Sasportal\Resource;
use Google\Service\Sasportal\SasPortalListNodesResponse;
use Google\Service\Sasportal\SasPortalNode;
/**
* The "nodes" collection of methods.
* Typical usage is:
* <code>
* $sasportalService = new Google\Service\Sasportal(...);
* $nodes = $sasportalService->nodes_nodes_nodes;
* </code>
*/
class NodesNodesNodes extends \Google\Service\Resource
{
/**
* Creates a new node. (nodes.create)
*
* @param string $parent Required. The parent resource name where the node is to
* be created.
* @param SasPortalNode $postBody
* @param array $optParams Optional parameters.
* @return SasPortalNode
* @throws \Google\Service\Exception
*/
public function create($parent, SasPortalNode $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], SasPortalNode::class);
}
/**
* Lists nodes. (nodes.listNodesNodesNodes)
*
* @param string $parent Required. The parent resource name, for example,
* "nodes/1".
* @param array $optParams Optional parameters.
*
* @opt_param string filter 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.
* @opt_param int pageSize The maximum number of nodes to return in the
* response.
* @opt_param string pageToken A pagination token returned from a previous call
* to ListNodes that indicates where this listing should continue from.
* @return SasPortalListNodesResponse
* @throws \Google\Service\Exception
*/
public function listNodesNodesNodes($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], SasPortalListNodesResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(NodesNodesNodes::class, 'Google_Service_Sasportal_Resource_NodesNodesNodes');
@@ -0,0 +1,84 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Sasportal\Resource;
use Google\Service\Sasportal\SasPortalGetPolicyRequest;
use Google\Service\Sasportal\SasPortalPolicy;
use Google\Service\Sasportal\SasPortalSetPolicyRequest;
use Google\Service\Sasportal\SasPortalTestPermissionsRequest;
use Google\Service\Sasportal\SasPortalTestPermissionsResponse;
/**
* The "policies" collection of methods.
* Typical usage is:
* <code>
* $sasportalService = new Google\Service\Sasportal(...);
* $policies = $sasportalService->policies;
* </code>
*/
class Policies extends \Google\Service\Resource
{
/**
* Gets the access control policy for a resource. Returns an empty policy if the
* resource exists and does not have a policy set. (policies.get)
*
* @param SasPortalGetPolicyRequest $postBody
* @param array $optParams Optional parameters.
* @return SasPortalPolicy
* @throws \Google\Service\Exception
*/
public function get(SasPortalGetPolicyRequest $postBody, $optParams = [])
{
$params = ['postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], SasPortalPolicy::class);
}
/**
* Sets the access control policy on the specified resource. Replaces any
* existing policy. (policies.set)
*
* @param SasPortalSetPolicyRequest $postBody
* @param array $optParams Optional parameters.
* @return SasPortalPolicy
* @throws \Google\Service\Exception
*/
public function set(SasPortalSetPolicyRequest $postBody, $optParams = [])
{
$params = ['postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('set', [$params], SasPortalPolicy::class);
}
/**
* Returns permissions that a caller has on the specified resource.
* (policies.test)
*
* @param SasPortalTestPermissionsRequest $postBody
* @param array $optParams Optional parameters.
* @return SasPortalTestPermissionsResponse
* @throws \Google\Service\Exception
*/
public function test(SasPortalTestPermissionsRequest $postBody, $optParams = [])
{
$params = ['postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('test', [$params], SasPortalTestPermissionsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Policies::class, 'Google_Service_Sasportal_Resource_Policies');
@@ -0,0 +1,77 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Sasportal;
class SasPortalAssignment extends \Google\Collection
{
protected $collection_key = 'members';
/**
* The identities the role is assigned to. It can have the following values: *
* `{user_email}`: An email address that represents a specific Google account.
* For example: `alice@gmail.com`. * `{group_email}`: An email address that
* represents a Google group. For example, `viewers@gmail.com`.
*
* @var string[]
*/
public $members;
/**
* Required. Role that is assigned to `members`.
*
* @var string
*/
public $role;
/**
* The identities the role is assigned to. It can have the following values: *
* `{user_email}`: An email address that represents a specific Google account.
* For example: `alice@gmail.com`. * `{group_email}`: An email address that
* represents a Google group. For example, `viewers@gmail.com`.
*
* @param string[] $members
*/
public function setMembers($members)
{
$this->members = $members;
}
/**
* @return string[]
*/
public function getMembers()
{
return $this->members;
}
/**
* Required. Role that is assigned to `members`.
*
* @param string $role
*/
public function setRole($role)
{
$this->role = $role;
}
/**
* @return string
*/
public function getRole()
{
return $this->role;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SasPortalAssignment::class, 'Google_Service_Sasportal_SasPortalAssignment');
@@ -0,0 +1,58 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Sasportal;
class SasPortalChannelWithScore extends \Google\Model
{
protected $frequencyRangeType = SasPortalFrequencyRange::class;
protected $frequencyRangeDataType = '';
/**
* The channel score, normalized to be in the range [0,100].
*
* @var
*/
public $score;
/**
* The frequency range of the channel.
*
* @param SasPortalFrequencyRange $frequencyRange
*/
public function setFrequencyRange(SasPortalFrequencyRange $frequencyRange)
{
$this->frequencyRange = $frequencyRange;
}
/**
* @return SasPortalFrequencyRange
*/
public function getFrequencyRange()
{
return $this->frequencyRange;
}
public function setScore($score)
{
$this->score = $score;
}
public function getScore()
{
return $this->score;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SasPortalChannelWithScore::class, 'Google_Service_Sasportal_SasPortalChannelWithScore');
@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Sasportal;
class SasPortalCheckHasProvisionedDeploymentResponse extends \Google\Model
{
/**
* @var bool
*/
public $hasProvisionedDeployment;
/**
* @param bool
*/
public function setHasProvisionedDeployment($hasProvisionedDeployment)
{
$this->hasProvisionedDeployment = $hasProvisionedDeployment;
}
/**
* @return bool
*/
public function getHasProvisionedDeployment()
{
return $this->hasProvisionedDeployment;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SasPortalCheckHasProvisionedDeploymentResponse::class, 'Google_Service_Sasportal_SasPortalCheckHasProvisionedDeploymentResponse');
@@ -0,0 +1,74 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Sasportal;
class SasPortalCreateSignedDeviceRequest extends \Google\Model
{
/**
* Required. JSON Web Token signed using a CPI private key. Payload must be
* the JSON encoding of the device. The user_id field must be set.
*
* @var string
*/
public $encodedDevice;
/**
* Required. Unique installer id (CPI ID) from the Certified Professional
* Installers database.
*
* @var string
*/
public $installerId;
/**
* Required. JSON Web Token signed using a CPI private key. Payload must be
* the JSON encoding of the device. The user_id field must be set.
*
* @param string $encodedDevice
*/
public function setEncodedDevice($encodedDevice)
{
$this->encodedDevice = $encodedDevice;
}
/**
* @return string
*/
public function getEncodedDevice()
{
return $this->encodedDevice;
}
/**
* Required. Unique installer id (CPI ID) from the Certified Professional
* Installers database.
*
* @param string $installerId
*/
public function setInstallerId($installerId)
{
$this->installerId = $installerId;
}
/**
* @return string
*/
public function getInstallerId()
{
return $this->installerId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SasPortalCreateSignedDeviceRequest::class, 'Google_Service_Sasportal_SasPortalCreateSignedDeviceRequest');
@@ -0,0 +1,93 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Sasportal;
class SasPortalCustomer extends \Google\Collection
{
protected $collection_key = 'sasUserIds';
/**
* Required. Name of the organization that the customer entity represents.
*
* @var string
*/
public $displayName;
/**
* Output only. Resource name of the customer.
*
* @var string
*/
public $name;
/**
* User IDs used by the devices belonging to this customer.
*
* @var string[]
*/
public $sasUserIds;
/**
* Required. Name of the organization that the customer entity represents.
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* Output only. Resource name of the customer.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* User IDs used by the devices belonging to this customer.
*
* @param string[] $sasUserIds
*/
public function setSasUserIds($sasUserIds)
{
$this->sasUserIds = $sasUserIds;
}
/**
* @return string[]
*/
public function getSasUserIds()
{
return $this->sasUserIds;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SasPortalCustomer::class, 'Google_Service_Sasportal_SasPortalCustomer');
@@ -0,0 +1,119 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Sasportal;
class SasPortalDeployment extends \Google\Collection
{
protected $collection_key = 'sasUserIds';
/**
* The deployment's display name.
*
* @var string
*/
public $displayName;
/**
* Output only. The FCC Registration Numbers (FRNs) copied from its direct
* parent.
*
* @var string[]
*/
public $frns;
/**
* Output only. Resource name.
*
* @var string
*/
public $name;
/**
* User ID used by the devices belonging to this deployment. Each deployment
* should be associated with one unique user ID.
*
* @var string[]
*/
public $sasUserIds;
/**
* The deployment's display name.
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* Output only. The FCC Registration Numbers (FRNs) copied from its direct
* parent.
*
* @param string[] $frns
*/
public function setFrns($frns)
{
$this->frns = $frns;
}
/**
* @return string[]
*/
public function getFrns()
{
return $this->frns;
}
/**
* Output only. Resource name.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* User ID used by the devices belonging to this deployment. Each deployment
* should be associated with one unique user ID.
*
* @param string[] $sasUserIds
*/
public function setSasUserIds($sasUserIds)
{
$this->sasUserIds = $sasUserIds;
}
/**
* @return string[]
*/
public function getSasUserIds()
{
return $this->sasUserIds;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SasPortalDeployment::class, 'Google_Service_Sasportal_SasPortalDeployment');
@@ -0,0 +1,70 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Sasportal;
class SasPortalDeploymentAssociation extends \Google\Model
{
/**
* GCP project id of the associated project.
*
* @var string
*/
public $gcpProjectId;
/**
* User id of the deployment.
*
* @var string
*/
public $userId;
/**
* GCP project id of the associated project.
*
* @param string $gcpProjectId
*/
public function setGcpProjectId($gcpProjectId)
{
$this->gcpProjectId = $gcpProjectId;
}
/**
* @return string
*/
public function getGcpProjectId()
{
return $this->gcpProjectId;
}
/**
* User id of the deployment.
*
* @param string $userId
*/
public function setUserId($userId)
{
$this->userId = $userId;
}
/**
* @return string
*/
public function getUserId()
{
return $this->userId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SasPortalDeploymentAssociation::class, 'Google_Service_Sasportal_SasPortalDeploymentAssociation');
@@ -0,0 +1,271 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Sasportal;
class SasPortalDevice extends \Google\Collection
{
/**
* Unspecified state.
*/
public const STATE_DEVICE_STATE_UNSPECIFIED = 'DEVICE_STATE_UNSPECIFIED';
/**
* Device created in the SAS Portal, however, not yet registered with SAS.
*/
public const STATE_RESERVED = 'RESERVED';
/**
* Device registered with SAS.
*/
public const STATE_REGISTERED = 'REGISTERED';
/**
* Device de-registered with SAS.
*/
public const STATE_DEREGISTERED = 'DEREGISTERED';
protected $collection_key = 'grants';
protected $activeConfigType = SasPortalDeviceConfig::class;
protected $activeConfigDataType = '';
protected $currentChannelsType = SasPortalChannelWithScore::class;
protected $currentChannelsDataType = 'array';
protected $deviceMetadataType = SasPortalDeviceMetadata::class;
protected $deviceMetadataDataType = '';
/**
* Device display name.
*
* @var string
*/
public $displayName;
/**
* The FCC identifier of the device. Refer to https://www.fcc.gov/oet/ea/fccid
* for FccID format. Accept underscores and periods because some test-SAS
* customers use them.
*
* @var string
*/
public $fccId;
protected $grantRangeAllowlistsType = SasPortalFrequencyRange::class;
protected $grantRangeAllowlistsDataType = 'array';
protected $grantsType = SasPortalDeviceGrant::class;
protected $grantsDataType = 'array';
/**
* Output only. The resource path name.
*
* @var string
*/
public $name;
protected $preloadedConfigType = SasPortalDeviceConfig::class;
protected $preloadedConfigDataType = '';
/**
* A serial number assigned to the device by the device manufacturer.
*
* @var string
*/
public $serialNumber;
/**
* Output only. Device state.
*
* @var string
*/
public $state;
/**
* Output only. Current configuration of the device as registered to the SAS.
*
* @param SasPortalDeviceConfig $activeConfig
*/
public function setActiveConfig(SasPortalDeviceConfig $activeConfig)
{
$this->activeConfig = $activeConfig;
}
/**
* @return SasPortalDeviceConfig
*/
public function getActiveConfig()
{
return $this->activeConfig;
}
/**
* Output only. Current channels with scores.
*
* @deprecated
* @param SasPortalChannelWithScore[] $currentChannels
*/
public function setCurrentChannels($currentChannels)
{
$this->currentChannels = $currentChannels;
}
/**
* @deprecated
* @return SasPortalChannelWithScore[]
*/
public function getCurrentChannels()
{
return $this->currentChannels;
}
/**
* Device parameters that can be overridden by both SAS Portal and SAS
* registration requests.
*
* @param SasPortalDeviceMetadata $deviceMetadata
*/
public function setDeviceMetadata(SasPortalDeviceMetadata $deviceMetadata)
{
$this->deviceMetadata = $deviceMetadata;
}
/**
* @return SasPortalDeviceMetadata
*/
public function getDeviceMetadata()
{
return $this->deviceMetadata;
}
/**
* Device display name.
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* The FCC identifier of the device. Refer to https://www.fcc.gov/oet/ea/fccid
* for FccID format. Accept underscores and periods because some test-SAS
* customers use them.
*
* @param string $fccId
*/
public function setFccId($fccId)
{
$this->fccId = $fccId;
}
/**
* @return string
*/
public function getFccId()
{
return $this->fccId;
}
/**
* Only ranges that are within the allowlists are available for new grants.
*
* @param SasPortalFrequencyRange[] $grantRangeAllowlists
*/
public function setGrantRangeAllowlists($grantRangeAllowlists)
{
$this->grantRangeAllowlists = $grantRangeAllowlists;
}
/**
* @return SasPortalFrequencyRange[]
*/
public function getGrantRangeAllowlists()
{
return $this->grantRangeAllowlists;
}
/**
* Output only. Grants held by the device.
*
* @param SasPortalDeviceGrant[] $grants
*/
public function setGrants($grants)
{
$this->grants = $grants;
}
/**
* @return SasPortalDeviceGrant[]
*/
public function getGrants()
{
return $this->grants;
}
/**
* Output only. The resource path name.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Configuration of the device, as specified via SAS Portal API.
*
* @param SasPortalDeviceConfig $preloadedConfig
*/
public function setPreloadedConfig(SasPortalDeviceConfig $preloadedConfig)
{
$this->preloadedConfig = $preloadedConfig;
}
/**
* @return SasPortalDeviceConfig
*/
public function getPreloadedConfig()
{
return $this->preloadedConfig;
}
/**
* A serial number assigned to the device by the device manufacturer.
*
* @param string $serialNumber
*/
public function setSerialNumber($serialNumber)
{
$this->serialNumber = $serialNumber;
}
/**
* @return string
*/
public function getSerialNumber()
{
return $this->serialNumber;
}
/**
* Output only. Device state.
*
* Accepted values: DEVICE_STATE_UNSPECIFIED, RESERVED, REGISTERED,
* DEREGISTERED
*
* @param self::STATE_* $state
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return self::STATE_*
*/
public function getState()
{
return $this->state;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SasPortalDevice::class, 'Google_Service_Sasportal_SasPortalDevice');
@@ -0,0 +1,89 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Sasportal;
class SasPortalDeviceAirInterface extends \Google\Model
{
public const RADIO_TECHNOLOGY_RADIO_TECHNOLOGY_UNSPECIFIED = 'RADIO_TECHNOLOGY_UNSPECIFIED';
public const RADIO_TECHNOLOGY_E_UTRA = 'E_UTRA';
public const RADIO_TECHNOLOGY_CAMBIUM_NETWORKS = 'CAMBIUM_NETWORKS';
public const RADIO_TECHNOLOGY_FOUR_G_BBW_SAA_1 = 'FOUR_G_BBW_SAA_1';
public const RADIO_TECHNOLOGY_NR = 'NR';
public const RADIO_TECHNOLOGY_DOODLE_CBRS = 'DOODLE_CBRS';
public const RADIO_TECHNOLOGY_CW = 'CW';
public const RADIO_TECHNOLOGY_REDLINE = 'REDLINE';
public const RADIO_TECHNOLOGY_TARANA_WIRELESS = 'TARANA_WIRELESS';
public const RADIO_TECHNOLOGY_FAROS = 'FAROS';
/**
* Conditional. This field specifies the radio access technology that is used
* for the CBSD.
*
* @var string
*/
public $radioTechnology;
/**
* Optional. This field is related to the `radioTechnology` and provides the
* air interface specification that the CBSD is compliant with at the time of
* registration.
*
* @var string
*/
public $supportedSpec;
/**
* Conditional. This field specifies the radio access technology that is used
* for the CBSD.
*
* Accepted values: RADIO_TECHNOLOGY_UNSPECIFIED, E_UTRA, CAMBIUM_NETWORKS,
* FOUR_G_BBW_SAA_1, NR, DOODLE_CBRS, CW, REDLINE, TARANA_WIRELESS, FAROS
*
* @param self::RADIO_TECHNOLOGY_* $radioTechnology
*/
public function setRadioTechnology($radioTechnology)
{
$this->radioTechnology = $radioTechnology;
}
/**
* @return self::RADIO_TECHNOLOGY_*
*/
public function getRadioTechnology()
{
return $this->radioTechnology;
}
/**
* Optional. This field is related to the `radioTechnology` and provides the
* air interface specification that the CBSD is compliant with at the time of
* registration.
*
* @param string $supportedSpec
*/
public function setSupportedSpec($supportedSpec)
{
$this->supportedSpec = $supportedSpec;
}
/**
* @return string
*/
public function getSupportedSpec()
{
return $this->supportedSpec;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SasPortalDeviceAirInterface::class, 'Google_Service_Sasportal_SasPortalDeviceAirInterface');
@@ -0,0 +1,255 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Sasportal;
class SasPortalDeviceConfig extends \Google\Collection
{
/**
* Unspecified device category.
*/
public const CATEGORY_DEVICE_CATEGORY_UNSPECIFIED = 'DEVICE_CATEGORY_UNSPECIFIED';
/**
* Category A.
*/
public const CATEGORY_DEVICE_CATEGORY_A = 'DEVICE_CATEGORY_A';
/**
* Category B.
*/
public const CATEGORY_DEVICE_CATEGORY_B = 'DEVICE_CATEGORY_B';
public const STATE_DEVICE_CONFIG_STATE_UNSPECIFIED = 'DEVICE_CONFIG_STATE_UNSPECIFIED';
public const STATE_DRAFT = 'DRAFT';
public const STATE_FINAL = 'FINAL';
protected $collection_key = 'measurementCapabilities';
protected $airInterfaceType = SasPortalDeviceAirInterface::class;
protected $airInterfaceDataType = '';
/**
* The call sign of the device operator.
*
* @var string
*/
public $callSign;
/**
* FCC category of the device.
*
* @var string
*/
public $category;
protected $installationParamsType = SasPortalInstallationParams::class;
protected $installationParamsDataType = '';
/**
* Output only. Whether the configuration has been signed by a CPI.
*
* @var bool
*/
public $isSigned;
/**
* Measurement reporting capabilities of the device.
*
* @var string[]
*/
public $measurementCapabilities;
protected $modelType = SasPortalDeviceModel::class;
protected $modelDataType = '';
/**
* State of the configuration.
*
* @var string
*/
public $state;
/**
* Output only. The last time the device configuration was edited.
*
* @var string
*/
public $updateTime;
/**
* The identifier of a device user.
*
* @var string
*/
public $userId;
/**
* Information about this device's air interface.
*
* @param SasPortalDeviceAirInterface $airInterface
*/
public function setAirInterface(SasPortalDeviceAirInterface $airInterface)
{
$this->airInterface = $airInterface;
}
/**
* @return SasPortalDeviceAirInterface
*/
public function getAirInterface()
{
return $this->airInterface;
}
/**
* The call sign of the device operator.
*
* @param string $callSign
*/
public function setCallSign($callSign)
{
$this->callSign = $callSign;
}
/**
* @return string
*/
public function getCallSign()
{
return $this->callSign;
}
/**
* FCC category of the device.
*
* Accepted values: DEVICE_CATEGORY_UNSPECIFIED, DEVICE_CATEGORY_A,
* DEVICE_CATEGORY_B
*
* @param self::CATEGORY_* $category
*/
public function setCategory($category)
{
$this->category = $category;
}
/**
* @return self::CATEGORY_*
*/
public function getCategory()
{
return $this->category;
}
/**
* Installation parameters for the device.
*
* @param SasPortalInstallationParams $installationParams
*/
public function setInstallationParams(SasPortalInstallationParams $installationParams)
{
$this->installationParams = $installationParams;
}
/**
* @return SasPortalInstallationParams
*/
public function getInstallationParams()
{
return $this->installationParams;
}
/**
* Output only. Whether the configuration has been signed by a CPI.
*
* @param bool $isSigned
*/
public function setIsSigned($isSigned)
{
$this->isSigned = $isSigned;
}
/**
* @return bool
*/
public function getIsSigned()
{
return $this->isSigned;
}
/**
* Measurement reporting capabilities of the device.
*
* @param string[] $measurementCapabilities
*/
public function setMeasurementCapabilities($measurementCapabilities)
{
$this->measurementCapabilities = $measurementCapabilities;
}
/**
* @return string[]
*/
public function getMeasurementCapabilities()
{
return $this->measurementCapabilities;
}
/**
* Information about this device model.
*
* @param SasPortalDeviceModel $model
*/
public function setModel(SasPortalDeviceModel $model)
{
$this->model = $model;
}
/**
* @return SasPortalDeviceModel
*/
public function getModel()
{
return $this->model;
}
/**
* State of the configuration.
*
* Accepted values: DEVICE_CONFIG_STATE_UNSPECIFIED, DRAFT, FINAL
*
* @param self::STATE_* $state
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return self::STATE_*
*/
public function getState()
{
return $this->state;
}
/**
* Output only. The last time the device configuration was edited.
*
* @param string $updateTime
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
/**
* The identifier of a device user.
*
* @param string $userId
*/
public function setUserId($userId)
{
$this->userId = $userId;
}
/**
* @return string
*/
public function getUserId()
{
return $this->userId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SasPortalDeviceConfig::class, 'Google_Service_Sasportal_SasPortalDeviceConfig');
@@ -0,0 +1,243 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Sasportal;
class SasPortalDeviceGrant extends \Google\Collection
{
public const CHANNEL_TYPE_CHANNEL_TYPE_UNSPECIFIED = 'CHANNEL_TYPE_UNSPECIFIED';
public const CHANNEL_TYPE_CHANNEL_TYPE_GAA = 'CHANNEL_TYPE_GAA';
public const CHANNEL_TYPE_CHANNEL_TYPE_PAL = 'CHANNEL_TYPE_PAL';
public const STATE_GRANT_STATE_UNSPECIFIED = 'GRANT_STATE_UNSPECIFIED';
/**
* The grant has been granted but the device is not heartbeating on it.
*/
public const STATE_GRANT_STATE_GRANTED = 'GRANT_STATE_GRANTED';
/**
* The grant has been terminated by the SAS.
*/
public const STATE_GRANT_STATE_TERMINATED = 'GRANT_STATE_TERMINATED';
/**
* The grant has been suspended by the SAS.
*/
public const STATE_GRANT_STATE_SUSPENDED = 'GRANT_STATE_SUSPENDED';
/**
* The device is currently transmitting.
*/
public const STATE_GRANT_STATE_AUTHORIZED = 'GRANT_STATE_AUTHORIZED';
/**
* The grant has expired.
*/
public const STATE_GRANT_STATE_EXPIRED = 'GRANT_STATE_EXPIRED';
protected $collection_key = 'suspensionReason';
/**
* Type of channel used.
*
* @var string
*/
public $channelType;
/**
* The expiration time of the grant.
*
* @var string
*/
public $expireTime;
protected $frequencyRangeType = SasPortalFrequencyRange::class;
protected $frequencyRangeDataType = '';
/**
* Grant Id.
*
* @var string
*/
public $grantId;
/**
* The transmit expiration time of the last heartbeat.
*
* @var string
*/
public $lastHeartbeatTransmitExpireTime;
/**
* Maximum Equivalent Isotropically Radiated Power (EIRP) permitted by the
* grant. The maximum EIRP is in units of dBm/MHz. The value of `maxEirp`
* represents the average (RMS) EIRP that would be measured by the procedure
* defined in FCC part 96.41(e)(3).
*
* @var
*/
public $maxEirp;
protected $moveListType = SasPortalDpaMoveList::class;
protected $moveListDataType = 'array';
/**
* State of the grant.
*
* @var string
*/
public $state;
/**
* If the grant is suspended, the reason(s) for suspension.
*
* @var string[]
*/
public $suspensionReason;
/**
* Type of channel used.
*
* Accepted values: CHANNEL_TYPE_UNSPECIFIED, CHANNEL_TYPE_GAA,
* CHANNEL_TYPE_PAL
*
* @param self::CHANNEL_TYPE_* $channelType
*/
public function setChannelType($channelType)
{
$this->channelType = $channelType;
}
/**
* @return self::CHANNEL_TYPE_*
*/
public function getChannelType()
{
return $this->channelType;
}
/**
* The expiration time of the grant.
*
* @param string $expireTime
*/
public function setExpireTime($expireTime)
{
$this->expireTime = $expireTime;
}
/**
* @return string
*/
public function getExpireTime()
{
return $this->expireTime;
}
/**
* The transmission frequency range.
*
* @param SasPortalFrequencyRange $frequencyRange
*/
public function setFrequencyRange(SasPortalFrequencyRange $frequencyRange)
{
$this->frequencyRange = $frequencyRange;
}
/**
* @return SasPortalFrequencyRange
*/
public function getFrequencyRange()
{
return $this->frequencyRange;
}
/**
* Grant Id.
*
* @param string $grantId
*/
public function setGrantId($grantId)
{
$this->grantId = $grantId;
}
/**
* @return string
*/
public function getGrantId()
{
return $this->grantId;
}
/**
* The transmit expiration time of the last heartbeat.
*
* @param string $lastHeartbeatTransmitExpireTime
*/
public function setLastHeartbeatTransmitExpireTime($lastHeartbeatTransmitExpireTime)
{
$this->lastHeartbeatTransmitExpireTime = $lastHeartbeatTransmitExpireTime;
}
/**
* @return string
*/
public function getLastHeartbeatTransmitExpireTime()
{
return $this->lastHeartbeatTransmitExpireTime;
}
public function setMaxEirp($maxEirp)
{
$this->maxEirp = $maxEirp;
}
public function getMaxEirp()
{
return $this->maxEirp;
}
/**
* The DPA move lists on which this grant appears.
*
* @param SasPortalDpaMoveList[] $moveList
*/
public function setMoveList($moveList)
{
$this->moveList = $moveList;
}
/**
* @return SasPortalDpaMoveList[]
*/
public function getMoveList()
{
return $this->moveList;
}
/**
* State of the grant.
*
* Accepted values: GRANT_STATE_UNSPECIFIED, GRANT_STATE_GRANTED,
* GRANT_STATE_TERMINATED, GRANT_STATE_SUSPENDED, GRANT_STATE_AUTHORIZED,
* GRANT_STATE_EXPIRED
*
* @param self::STATE_* $state
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return self::STATE_*
*/
public function getState()
{
return $this->state;
}
/**
* If the grant is suspended, the reason(s) for suspension.
*
* @param string[] $suspensionReason
*/
public function setSuspensionReason($suspensionReason)
{
$this->suspensionReason = $suspensionReason;
}
/**
* @return string[]
*/
public function getSuspensionReason()
{
return $this->suspensionReason;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SasPortalDeviceGrant::class, 'Google_Service_Sasportal_SasPortalDeviceGrant');
@@ -0,0 +1,151 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Sasportal;
class SasPortalDeviceMetadata extends \Google\Model
{
/**
* If populated, the Antenna Model Pattern to use. Format is:
* `RecordCreatorId:PatternId`
*
* @var string
*/
public $antennaModel;
/**
* Common Channel Group (CCG). A group of CBSDs in the same ICG requesting a
* common primary channel assignment. For more details, see [CBRSA-TS-2001
* V3.0.0](https://ongoalliance.org/wp-content/uploads/2020/02/CBRSA-
* TS-2001-V3.0.0_Approved-for-publication.pdf).
*
* @var string
*/
public $commonChannelGroup;
/**
* Interference Coordination Group (ICG). A group of CBSDs that manage their
* own interference with the group. For more details, see [CBRSA-TS-2001
* V3.0.0](https://ongoalliance.org/wp-content/uploads/2020/02/CBRSA-
* TS-2001-V3.0.0_Approved-for-publication.pdf).
*
* @var string
*/
public $interferenceCoordinationGroup;
/**
* Output only. Set to `true` if a CPI has validated that they have
* coordinated with the National Quiet Zone office.
*
* @deprecated
* @var bool
*/
public $nrqzValidated;
protected $nrqzValidationType = SasPortalNrqzValidation::class;
protected $nrqzValidationDataType = '';
/**
* If populated, the Antenna Model Pattern to use. Format is:
* `RecordCreatorId:PatternId`
*
* @param string $antennaModel
*/
public function setAntennaModel($antennaModel)
{
$this->antennaModel = $antennaModel;
}
/**
* @return string
*/
public function getAntennaModel()
{
return $this->antennaModel;
}
/**
* Common Channel Group (CCG). A group of CBSDs in the same ICG requesting a
* common primary channel assignment. For more details, see [CBRSA-TS-2001
* V3.0.0](https://ongoalliance.org/wp-content/uploads/2020/02/CBRSA-
* TS-2001-V3.0.0_Approved-for-publication.pdf).
*
* @param string $commonChannelGroup
*/
public function setCommonChannelGroup($commonChannelGroup)
{
$this->commonChannelGroup = $commonChannelGroup;
}
/**
* @return string
*/
public function getCommonChannelGroup()
{
return $this->commonChannelGroup;
}
/**
* Interference Coordination Group (ICG). A group of CBSDs that manage their
* own interference with the group. For more details, see [CBRSA-TS-2001
* V3.0.0](https://ongoalliance.org/wp-content/uploads/2020/02/CBRSA-
* TS-2001-V3.0.0_Approved-for-publication.pdf).
*
* @param string $interferenceCoordinationGroup
*/
public function setInterferenceCoordinationGroup($interferenceCoordinationGroup)
{
$this->interferenceCoordinationGroup = $interferenceCoordinationGroup;
}
/**
* @return string
*/
public function getInterferenceCoordinationGroup()
{
return $this->interferenceCoordinationGroup;
}
/**
* Output only. Set to `true` if a CPI has validated that they have
* coordinated with the National Quiet Zone office.
*
* @deprecated
* @param bool $nrqzValidated
*/
public function setNrqzValidated($nrqzValidated)
{
$this->nrqzValidated = $nrqzValidated;
}
/**
* @deprecated
* @return bool
*/
public function getNrqzValidated()
{
return $this->nrqzValidated;
}
/**
* Output only. National Radio Quiet Zone validation info.
*
* @param SasPortalNrqzValidation $nrqzValidation
*/
public function setNrqzValidation(SasPortalNrqzValidation $nrqzValidation)
{
$this->nrqzValidation = $nrqzValidation;
}
/**
* @return SasPortalNrqzValidation
*/
public function getNrqzValidation()
{
return $this->nrqzValidation;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SasPortalDeviceMetadata::class, 'Google_Service_Sasportal_SasPortalDeviceMetadata');
@@ -0,0 +1,136 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Sasportal;
class SasPortalDeviceModel extends \Google\Model
{
/**
* The firmware version of the device.
*
* @var string
*/
public $firmwareVersion;
/**
* The hardware version of the device.
*
* @var string
*/
public $hardwareVersion;
/**
* The name of the device model.
*
* @var string
*/
public $name;
/**
* The software version of the device.
*
* @var string
*/
public $softwareVersion;
/**
* The name of the device vendor.
*
* @var string
*/
public $vendor;
/**
* The firmware version of the device.
*
* @param string $firmwareVersion
*/
public function setFirmwareVersion($firmwareVersion)
{
$this->firmwareVersion = $firmwareVersion;
}
/**
* @return string
*/
public function getFirmwareVersion()
{
return $this->firmwareVersion;
}
/**
* The hardware version of the device.
*
* @param string $hardwareVersion
*/
public function setHardwareVersion($hardwareVersion)
{
$this->hardwareVersion = $hardwareVersion;
}
/**
* @return string
*/
public function getHardwareVersion()
{
return $this->hardwareVersion;
}
/**
* The name of the device model.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* The software version of the device.
*
* @param string $softwareVersion
*/
public function setSoftwareVersion($softwareVersion)
{
$this->softwareVersion = $softwareVersion;
}
/**
* @return string
*/
public function getSoftwareVersion()
{
return $this->softwareVersion;
}
/**
* The name of the device vendor.
*
* @param string $vendor
*/
public function setVendor($vendor)
{
$this->vendor = $vendor;
}
/**
* @return string
*/
public function getVendor()
{
return $this->vendor;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SasPortalDeviceModel::class, 'Google_Service_Sasportal_SasPortalDeviceModel');
@@ -0,0 +1,66 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Sasportal;
class SasPortalDpaMoveList extends \Google\Model
{
/**
* The ID of the DPA.
*
* @var string
*/
public $dpaId;
protected $frequencyRangeType = SasPortalFrequencyRange::class;
protected $frequencyRangeDataType = '';
/**
* The ID of the DPA.
*
* @param string $dpaId
*/
public function setDpaId($dpaId)
{
$this->dpaId = $dpaId;
}
/**
* @return string
*/
public function getDpaId()
{
return $this->dpaId;
}
/**
* The frequency range that the move list affects.
*
* @param SasPortalFrequencyRange $frequencyRange
*/
public function setFrequencyRange(SasPortalFrequencyRange $frequencyRange)
{
$this->frequencyRange = $frequencyRange;
}
/**
* @return SasPortalFrequencyRange
*/
public function getFrequencyRange()
{
return $this->frequencyRange;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SasPortalDpaMoveList::class, 'Google_Service_Sasportal_SasPortalDpaMoveList');
@@ -0,0 +1,25 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Sasportal;
class SasPortalEmpty extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SasPortalEmpty::class, 'Google_Service_Sasportal_SasPortalEmpty');
@@ -0,0 +1,54 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Sasportal;
class SasPortalFrequencyRange extends \Google\Model
{
/**
* The highest frequency of the frequency range in MHz.
*
* @var
*/
public $highFrequencyMhz;
/**
* The lowest frequency of the frequency range in MHz.
*
* @var
*/
public $lowFrequencyMhz;
public function setHighFrequencyMhz($highFrequencyMhz)
{
$this->highFrequencyMhz = $highFrequencyMhz;
}
public function getHighFrequencyMhz()
{
return $this->highFrequencyMhz;
}
public function setLowFrequencyMhz($lowFrequencyMhz)
{
$this->lowFrequencyMhz = $lowFrequencyMhz;
}
public function getLowFrequencyMhz()
{
return $this->lowFrequencyMhz;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SasPortalFrequencyRange::class, 'Google_Service_Sasportal_SasPortalFrequencyRange');
@@ -0,0 +1,66 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Sasportal;
class SasPortalGcpProjectDeployment extends \Google\Model
{
protected $deploymentType = SasPortalDeployment::class;
protected $deploymentDataType = '';
/**
* Whether SAS analytics has been enabled.
*
* @var bool
*/
public $hasEnabledAnalytics;
/**
* Deployment associated with the GCP project.
*
* @param SasPortalDeployment $deployment
*/
public function setDeployment(SasPortalDeployment $deployment)
{
$this->deployment = $deployment;
}
/**
* @return SasPortalDeployment
*/
public function getDeployment()
{
return $this->deployment;
}
/**
* Whether SAS analytics has been enabled.
*
* @param bool $hasEnabledAnalytics
*/
public function setHasEnabledAnalytics($hasEnabledAnalytics)
{
$this->hasEnabledAnalytics = $hasEnabledAnalytics;
}
/**
* @return bool
*/
public function getHasEnabledAnalytics()
{
return $this->hasEnabledAnalytics;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SasPortalGcpProjectDeployment::class, 'Google_Service_Sasportal_SasPortalGcpProjectDeployment');
@@ -0,0 +1,25 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Sasportal;
class SasPortalGenerateSecretRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SasPortalGenerateSecretRequest::class, 'Google_Service_Sasportal_SasPortalGenerateSecretRequest');
@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Sasportal;
class SasPortalGenerateSecretResponse extends \Google\Model
{
/**
* The secret generated by the string and used by ValidateInstaller.
*
* @var string
*/
public $secret;
/**
* The secret generated by the string and used by ValidateInstaller.
*
* @param string $secret
*/
public function setSecret($secret)
{
$this->secret = $secret;
}
/**
* @return string
*/
public function getSecret()
{
return $this->secret;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SasPortalGenerateSecretResponse::class, 'Google_Service_Sasportal_SasPortalGenerateSecretResponse');
@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Sasportal;
class SasPortalGetPolicyRequest extends \Google\Model
{
/**
* Required. The resource for which the policy is being requested.
*
* @var string
*/
public $resource;
/**
* Required. The resource for which the policy is being requested.
*
* @param string $resource
*/
public function setResource($resource)
{
$this->resource = $resource;
}
/**
* @return string
*/
public function getResource()
{
return $this->resource;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SasPortalGetPolicyRequest::class, 'Google_Service_Sasportal_SasPortalGetPolicyRequest');
@@ -0,0 +1,345 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Sasportal;
class SasPortalInstallationParams extends \Google\Model
{
/**
* Unspecified height type.
*/
public const HEIGHT_TYPE_HEIGHT_TYPE_UNSPECIFIED = 'HEIGHT_TYPE_UNSPECIFIED';
/**
* AGL height is measured relative to the ground level.
*/
public const HEIGHT_TYPE_HEIGHT_TYPE_AGL = 'HEIGHT_TYPE_AGL';
/**
* AMSL height is measured relative to the mean sea level.
*/
public const HEIGHT_TYPE_HEIGHT_TYPE_AMSL = 'HEIGHT_TYPE_AMSL';
/**
* Boresight direction of the horizontal plane of the antenna in degrees with
* respect to true north. The value of this parameter is an integer with a
* value between 0 and 359 inclusive. A value of 0 degrees means true north; a
* value of 90 degrees means east. This parameter is optional for Category A
* devices and conditional for Category B devices.
*
* @var int
*/
public $antennaAzimuth;
/**
* 3-dB antenna beamwidth of the antenna in the horizontal-plane in degrees.
* This parameter is an unsigned integer having a value between 0 and 360
* (degrees) inclusive; it is optional for Category A devices and conditional
* for Category B devices.
*
* @var int
*/
public $antennaBeamwidth;
/**
* Antenna downtilt in degrees and is an integer with a value between -90 and
* +90 inclusive; a negative value means the antenna is tilted up (above
* horizontal). This parameter is optional for Category A devices and
* conditional for Category B devices.
*
* @var int
*/
public $antennaDowntilt;
/**
* Peak antenna gain in dBi. This parameter is a double with a value between
* -127 and +128 (dBi) inclusive. Part of Release 2 to support floating-point
* value
*
* @var
*/
public $antennaGain;
/**
* If an external antenna is used, the antenna model is optionally provided in
* this field. The string has a maximum length of 128 octets.
*
* @var string
*/
public $antennaModel;
/**
* If present, this parameter specifies whether the CBSD is a CPE-CBSD or not.
*
* @var bool
*/
public $cpeCbsdIndication;
/**
* This parameter is the maximum device EIRP in units of dBm/10MHz and is an
* integer with a value between -127 and +47 (dBm/10 MHz) inclusive. If not
* included, SAS interprets it as maximum allowable EIRP in units of dBm/10MHz
* for device category.
*
* @var int
*/
public $eirpCapability;
/**
* Device antenna height in meters. When the `heightType` parameter value is
* "AGL", the antenna height should be given relative to ground level. When
* the `heightType` parameter value is "AMSL", it is given with respect to
* WGS84 datum.
*
* @var
*/
public $height;
/**
* Specifies how the height is measured.
*
* @var string
*/
public $heightType;
/**
* A positive number in meters to indicate accuracy of the device antenna
* horizontal location. This optional parameter should only be present if its
* value is less than the FCC requirement of 50 meters.
*
* @var
*/
public $horizontalAccuracy;
/**
* Whether the device antenna is indoor or not. `true`: indoor. `false`:
* outdoor.
*
* @var bool
*/
public $indoorDeployment;
/**
* Latitude of the device antenna location in degrees relative to the WGS 84
* datum. The allowed range is from -90.000000 to +90.000000. Positive values
* represent latitudes north of the equator; negative values south of the
* equator.
*
* @var
*/
public $latitude;
/**
* Longitude of the device antenna location in degrees relative to the WGS 84
* datum. The allowed range is from -180.000000 to +180.000000. Positive
* values represent longitudes east of the prime meridian; negative values
* west of the prime meridian.
*
* @var
*/
public $longitude;
/**
* A positive number in meters to indicate accuracy of the device antenna
* vertical location. This optional parameter should only be present if its
* value is less than the FCC requirement of 3 meters.
*
* @var
*/
public $verticalAccuracy;
/**
* Boresight direction of the horizontal plane of the antenna in degrees with
* respect to true north. The value of this parameter is an integer with a
* value between 0 and 359 inclusive. A value of 0 degrees means true north; a
* value of 90 degrees means east. This parameter is optional for Category A
* devices and conditional for Category B devices.
*
* @param int $antennaAzimuth
*/
public function setAntennaAzimuth($antennaAzimuth)
{
$this->antennaAzimuth = $antennaAzimuth;
}
/**
* @return int
*/
public function getAntennaAzimuth()
{
return $this->antennaAzimuth;
}
/**
* 3-dB antenna beamwidth of the antenna in the horizontal-plane in degrees.
* This parameter is an unsigned integer having a value between 0 and 360
* (degrees) inclusive; it is optional for Category A devices and conditional
* for Category B devices.
*
* @param int $antennaBeamwidth
*/
public function setAntennaBeamwidth($antennaBeamwidth)
{
$this->antennaBeamwidth = $antennaBeamwidth;
}
/**
* @return int
*/
public function getAntennaBeamwidth()
{
return $this->antennaBeamwidth;
}
/**
* Antenna downtilt in degrees and is an integer with a value between -90 and
* +90 inclusive; a negative value means the antenna is tilted up (above
* horizontal). This parameter is optional for Category A devices and
* conditional for Category B devices.
*
* @param int $antennaDowntilt
*/
public function setAntennaDowntilt($antennaDowntilt)
{
$this->antennaDowntilt = $antennaDowntilt;
}
/**
* @return int
*/
public function getAntennaDowntilt()
{
return $this->antennaDowntilt;
}
public function setAntennaGain($antennaGain)
{
$this->antennaGain = $antennaGain;
}
public function getAntennaGain()
{
return $this->antennaGain;
}
/**
* If an external antenna is used, the antenna model is optionally provided in
* this field. The string has a maximum length of 128 octets.
*
* @param string $antennaModel
*/
public function setAntennaModel($antennaModel)
{
$this->antennaModel = $antennaModel;
}
/**
* @return string
*/
public function getAntennaModel()
{
return $this->antennaModel;
}
/**
* If present, this parameter specifies whether the CBSD is a CPE-CBSD or not.
*
* @param bool $cpeCbsdIndication
*/
public function setCpeCbsdIndication($cpeCbsdIndication)
{
$this->cpeCbsdIndication = $cpeCbsdIndication;
}
/**
* @return bool
*/
public function getCpeCbsdIndication()
{
return $this->cpeCbsdIndication;
}
/**
* This parameter is the maximum device EIRP in units of dBm/10MHz and is an
* integer with a value between -127 and +47 (dBm/10 MHz) inclusive. If not
* included, SAS interprets it as maximum allowable EIRP in units of dBm/10MHz
* for device category.
*
* @param int $eirpCapability
*/
public function setEirpCapability($eirpCapability)
{
$this->eirpCapability = $eirpCapability;
}
/**
* @return int
*/
public function getEirpCapability()
{
return $this->eirpCapability;
}
public function setHeight($height)
{
$this->height = $height;
}
public function getHeight()
{
return $this->height;
}
/**
* Specifies how the height is measured.
*
* Accepted values: HEIGHT_TYPE_UNSPECIFIED, HEIGHT_TYPE_AGL, HEIGHT_TYPE_AMSL
*
* @param self::HEIGHT_TYPE_* $heightType
*/
public function setHeightType($heightType)
{
$this->heightType = $heightType;
}
/**
* @return self::HEIGHT_TYPE_*
*/
public function getHeightType()
{
return $this->heightType;
}
public function setHorizontalAccuracy($horizontalAccuracy)
{
$this->horizontalAccuracy = $horizontalAccuracy;
}
public function getHorizontalAccuracy()
{
return $this->horizontalAccuracy;
}
/**
* Whether the device antenna is indoor or not. `true`: indoor. `false`:
* outdoor.
*
* @param bool $indoorDeployment
*/
public function setIndoorDeployment($indoorDeployment)
{
$this->indoorDeployment = $indoorDeployment;
}
/**
* @return bool
*/
public function getIndoorDeployment()
{
return $this->indoorDeployment;
}
public function setLatitude($latitude)
{
$this->latitude = $latitude;
}
public function getLatitude()
{
return $this->latitude;
}
public function setLongitude($longitude)
{
$this->longitude = $longitude;
}
public function getLongitude()
{
return $this->longitude;
}
public function setVerticalAccuracy($verticalAccuracy)
{
$this->verticalAccuracy = $verticalAccuracy;
}
public function getVerticalAccuracy()
{
return $this->verticalAccuracy;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SasPortalInstallationParams::class, 'Google_Service_Sasportal_SasPortalInstallationParams');
@@ -0,0 +1,71 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Sasportal;
class SasPortalListCustomersResponse extends \Google\Collection
{
protected $collection_key = 'customers';
protected $customersType = SasPortalCustomer::class;
protected $customersDataType = 'array';
/**
* 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.
*
* @var string
*/
public $nextPageToken;
/**
* The list of customers that match the request.
*
* @param SasPortalCustomer[] $customers
*/
public function setCustomers($customers)
{
$this->customers = $customers;
}
/**
* @return SasPortalCustomer[]
*/
public function getCustomers()
{
return $this->customers;
}
/**
* 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.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SasPortalListCustomersResponse::class, 'Google_Service_Sasportal_SasPortalListCustomersResponse');
@@ -0,0 +1,71 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Sasportal;
class SasPortalListDeploymentsResponse extends \Google\Collection
{
protected $collection_key = 'deployments';
protected $deploymentsType = SasPortalDeployment::class;
protected $deploymentsDataType = 'array';
/**
* A pagination token returned from a previous call to ListDeployments that
* indicates from where listing should continue. If the field is missing or
* empty, it means there are no more deployments.
*
* @var string
*/
public $nextPageToken;
/**
* The deployments that match the request.
*
* @param SasPortalDeployment[] $deployments
*/
public function setDeployments($deployments)
{
$this->deployments = $deployments;
}
/**
* @return SasPortalDeployment[]
*/
public function getDeployments()
{
return $this->deployments;
}
/**
* A pagination token returned from a previous call to ListDeployments that
* indicates from where listing should continue. If the field is missing or
* empty, it means there are no more deployments.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SasPortalListDeploymentsResponse::class, 'Google_Service_Sasportal_SasPortalListDeploymentsResponse');
@@ -0,0 +1,71 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Sasportal;
class SasPortalListDevicesResponse extends \Google\Collection
{
protected $collection_key = 'devices';
protected $devicesType = SasPortalDevice::class;
protected $devicesDataType = 'array';
/**
* A pagination token returned from a previous call to ListDevices that
* indicates from where listing should continue. If the field is missing or
* empty, it means there is no more devices.
*
* @var string
*/
public $nextPageToken;
/**
* The devices that match the request.
*
* @param SasPortalDevice[] $devices
*/
public function setDevices($devices)
{
$this->devices = $devices;
}
/**
* @return SasPortalDevice[]
*/
public function getDevices()
{
return $this->devices;
}
/**
* A pagination token returned from a previous call to ListDevices that
* indicates from where listing should continue. If the field is missing or
* empty, it means there is no more devices.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SasPortalListDevicesResponse::class, 'Google_Service_Sasportal_SasPortalListDevicesResponse');
@@ -0,0 +1,45 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Sasportal;
class SasPortalListGcpProjectDeploymentsResponse extends \Google\Collection
{
protected $collection_key = 'deployments';
protected $deploymentsType = SasPortalGcpProjectDeployment::class;
protected $deploymentsDataType = 'array';
/**
* Optional. Deployments associated with the GCP project
*
* @param SasPortalGcpProjectDeployment[] $deployments
*/
public function setDeployments($deployments)
{
$this->deployments = $deployments;
}
/**
* @return SasPortalGcpProjectDeployment[]
*/
public function getDeployments()
{
return $this->deployments;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SasPortalListGcpProjectDeploymentsResponse::class, 'Google_Service_Sasportal_SasPortalListGcpProjectDeploymentsResponse');
@@ -0,0 +1,45 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Sasportal;
class SasPortalListLegacyOrganizationsResponse extends \Google\Collection
{
protected $collection_key = 'organizations';
protected $organizationsType = SasPortalOrganization::class;
protected $organizationsDataType = 'array';
/**
* Optional. Legacy SAS organizations.
*
* @param SasPortalOrganization[] $organizations
*/
public function setOrganizations($organizations)
{
$this->organizations = $organizations;
}
/**
* @return SasPortalOrganization[]
*/
public function getOrganizations()
{
return $this->organizations;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SasPortalListLegacyOrganizationsResponse::class, 'Google_Service_Sasportal_SasPortalListLegacyOrganizationsResponse');
@@ -0,0 +1,71 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Sasportal;
class SasPortalListNodesResponse extends \Google\Collection
{
protected $collection_key = 'nodes';
/**
* 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.
*
* @var string
*/
public $nextPageToken;
protected $nodesType = SasPortalNode::class;
protected $nodesDataType = 'array';
/**
* 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.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* The nodes that match the request.
*
* @param SasPortalNode[] $nodes
*/
public function setNodes($nodes)
{
$this->nodes = $nodes;
}
/**
* @return SasPortalNode[]
*/
public function getNodes()
{
return $this->nodes;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SasPortalListNodesResponse::class, 'Google_Service_Sasportal_SasPortalListNodesResponse');
@@ -0,0 +1,71 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Sasportal;
class SasPortalMigrateOrganizationMetadata extends \Google\Model
{
/**
* Unspecified.
*/
public const OPERATION_STATE_OPERATION_STATE_UNSPECIFIED = 'OPERATION_STATE_UNSPECIFIED';
/**
* Pending (Not started).
*/
public const OPERATION_STATE_OPERATION_STATE_PENDING = 'OPERATION_STATE_PENDING';
/**
* In-progress.
*/
public const OPERATION_STATE_OPERATION_STATE_RUNNING = 'OPERATION_STATE_RUNNING';
/**
* Done successfully.
*/
public const OPERATION_STATE_OPERATION_STATE_SUCCEEDED = 'OPERATION_STATE_SUCCEEDED';
/**
* Done with errors.
*/
public const OPERATION_STATE_OPERATION_STATE_FAILED = 'OPERATION_STATE_FAILED';
/**
* Output only. Current operation state
*
* @var string
*/
public $operationState;
/**
* Output only. Current operation state
*
* Accepted values: OPERATION_STATE_UNSPECIFIED, OPERATION_STATE_PENDING,
* OPERATION_STATE_RUNNING, OPERATION_STATE_SUCCEEDED, OPERATION_STATE_FAILED
*
* @param self::OPERATION_STATE_* $operationState
*/
public function setOperationState($operationState)
{
$this->operationState = $operationState;
}
/**
* @return self::OPERATION_STATE_*
*/
public function getOperationState()
{
return $this->operationState;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SasPortalMigrateOrganizationMetadata::class, 'Google_Service_Sasportal_SasPortalMigrateOrganizationMetadata');
@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Sasportal;
class SasPortalMigrateOrganizationRequest extends \Google\Model
{
/**
* Required. Id of the SAS organization to be migrated.
*
* @var string
*/
public $organizationId;
/**
* Required. Id of the SAS organization to be migrated.
*
* @param string $organizationId
*/
public function setOrganizationId($organizationId)
{
$this->organizationId = $organizationId;
}
/**
* @return string
*/
public function getOrganizationId()
{
return $this->organizationId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SasPortalMigrateOrganizationRequest::class, 'Google_Service_Sasportal_SasPortalMigrateOrganizationRequest');
@@ -0,0 +1,46 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Sasportal;
class SasPortalMigrateOrganizationResponse extends \Google\Collection
{
protected $collection_key = 'deploymentAssociation';
protected $deploymentAssociationType = SasPortalDeploymentAssociation::class;
protected $deploymentAssociationDataType = 'array';
/**
* Optional. A list of deployment association that were created for the
* migration, or current associations if they already exist.
*
* @param SasPortalDeploymentAssociation[] $deploymentAssociation
*/
public function setDeploymentAssociation($deploymentAssociation)
{
$this->deploymentAssociation = $deploymentAssociation;
}
/**
* @return SasPortalDeploymentAssociation[]
*/
public function getDeploymentAssociation()
{
return $this->deploymentAssociation;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SasPortalMigrateOrganizationResponse::class, 'Google_Service_Sasportal_SasPortalMigrateOrganizationResponse');
@@ -0,0 +1,50 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Sasportal;
class SasPortalMoveDeploymentRequest extends \Google\Model
{
/**
* Required. The name of the new parent resource node or customer to reparent
* the deployment under.
*
* @var string
*/
public $destination;
/**
* Required. The name of the new parent resource node or customer to reparent
* the deployment under.
*
* @param string $destination
*/
public function setDestination($destination)
{
$this->destination = $destination;
}
/**
* @return string
*/
public function getDestination()
{
return $this->destination;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SasPortalMoveDeploymentRequest::class, 'Google_Service_Sasportal_SasPortalMoveDeploymentRequest');
@@ -0,0 +1,50 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Sasportal;
class SasPortalMoveDeviceRequest extends \Google\Model
{
/**
* Required. The name of the new parent resource node or customer to reparent
* the device under.
*
* @var string
*/
public $destination;
/**
* Required. The name of the new parent resource node or customer to reparent
* the device under.
*
* @param string $destination
*/
public function setDestination($destination)
{
$this->destination = $destination;
}
/**
* @return string
*/
public function getDestination()
{
return $this->destination;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SasPortalMoveDeviceRequest::class, 'Google_Service_Sasportal_SasPortalMoveDeviceRequest');
@@ -0,0 +1,50 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Sasportal;
class SasPortalMoveNodeRequest extends \Google\Model
{
/**
* Required. The name of the new parent resource node or customer to reparent
* the node under.
*
* @var string
*/
public $destination;
/**
* Required. The name of the new parent resource node or customer to reparent
* the node under.
*
* @param string $destination
*/
public function setDestination($destination)
{
$this->destination = $destination;
}
/**
* @return string
*/
public function getDestination()
{
return $this->destination;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SasPortalMoveNodeRequest::class, 'Google_Service_Sasportal_SasPortalMoveNodeRequest');
@@ -0,0 +1,93 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Sasportal;
class SasPortalNode extends \Google\Collection
{
protected $collection_key = 'sasUserIds';
/**
* The node's display name.
*
* @var string
*/
public $displayName;
/**
* Output only. Resource name.
*
* @var string
*/
public $name;
/**
* User ids used by the devices belonging to this node.
*
* @var string[]
*/
public $sasUserIds;
/**
* The node's display name.
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* Output only. Resource name.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* User ids used by the devices belonging to this node.
*
* @param string[] $sasUserIds
*/
public function setSasUserIds($sasUserIds)
{
$this->sasUserIds = $sasUserIds;
}
/**
* @return string[]
*/
public function getSasUserIds()
{
return $this->sasUserIds;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SasPortalNode::class, 'Google_Service_Sasportal_SasPortalNode');
@@ -0,0 +1,134 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Sasportal;
class SasPortalNrqzValidation extends \Google\Model
{
/**
* Unspecified state.
*/
public const STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
/**
* Draft state.
*/
public const STATE_DRAFT = 'DRAFT';
/**
* Final state.
*/
public const STATE_FINAL = 'FINAL';
/**
* Validation case ID.
*
* @var string
*/
public $caseId;
/**
* CPI who signed the validation.
*
* @var string
*/
public $cpiId;
/**
* Device latitude that's associated with the validation.
*
* @var
*/
public $latitude;
/**
* Device longitude that's associated with the validation.
*
* @var
*/
public $longitude;
/**
* State of the NRQZ validation info.
*
* @var string
*/
public $state;
/**
* Validation case ID.
*
* @param string $caseId
*/
public function setCaseId($caseId)
{
$this->caseId = $caseId;
}
/**
* @return string
*/
public function getCaseId()
{
return $this->caseId;
}
/**
* CPI who signed the validation.
*
* @param string $cpiId
*/
public function setCpiId($cpiId)
{
$this->cpiId = $cpiId;
}
/**
* @return string
*/
public function getCpiId()
{
return $this->cpiId;
}
public function setLatitude($latitude)
{
$this->latitude = $latitude;
}
public function getLatitude()
{
return $this->latitude;
}
public function setLongitude($longitude)
{
$this->longitude = $longitude;
}
public function getLongitude()
{
return $this->longitude;
}
/**
* State of the NRQZ validation info.
*
* Accepted values: STATE_UNSPECIFIED, DRAFT, FINAL
*
* @param self::STATE_* $state
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return self::STATE_*
*/
public function getState()
{
return $this->state;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SasPortalNrqzValidation::class, 'Google_Service_Sasportal_SasPortalNrqzValidation');
@@ -0,0 +1,158 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Sasportal;
class SasPortalOperation extends \Google\Model
{
/**
* If the value is `false`, it means the operation is still in progress. If
* `true`, the operation is completed, and either `error` or `response` is
* available.
*
* @var bool
*/
public $done;
protected $errorType = SasPortalStatus::class;
protected $errorDataType = '';
/**
* Service-specific metadata associated with the operation. It typically
* contains progress information and common metadata such as create time. Some
* services might not provide such metadata. Any method that returns a long-
* running operation should document the metadata type, if any.
*
* @var array[]
*/
public $metadata;
/**
* The server-assigned name, which is only unique within the same service that
* originally returns it. If you use the default HTTP mapping, the `name`
* should be a resource name ending with `operations/{unique_id}`.
*
* @var string
*/
public $name;
/**
* The normal, successful response of the operation. If the original method
* returns no data on success, such as `Delete`, the response is
* `google.protobuf.Empty`. If the original method is standard
* `Get`/`Create`/`Update`, the response should be the resource. For other
* methods, the response should have the type `XxxResponse`, where `Xxx` is
* the original method name. For example, if the original method name is
* `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
*
* @var array[]
*/
public $response;
/**
* If the value is `false`, it means the operation is still in progress. If
* `true`, the operation is completed, and either `error` or `response` is
* available.
*
* @param bool $done
*/
public function setDone($done)
{
$this->done = $done;
}
/**
* @return bool
*/
public function getDone()
{
return $this->done;
}
/**
* The error result of the operation in case of failure or cancellation.
*
* @param SasPortalStatus $error
*/
public function setError(SasPortalStatus $error)
{
$this->error = $error;
}
/**
* @return SasPortalStatus
*/
public function getError()
{
return $this->error;
}
/**
* Service-specific metadata associated with the operation. It typically
* contains progress information and common metadata such as create time. Some
* services might not provide such metadata. Any method that returns a long-
* running operation should document the metadata type, if any.
*
* @param array[] $metadata
*/
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
/**
* @return array[]
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* The server-assigned name, which is only unique within the same service that
* originally returns it. If you use the default HTTP mapping, the `name`
* should be a resource name ending with `operations/{unique_id}`.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* The normal, successful response of the operation. If the original method
* returns no data on success, such as `Delete`, the response is
* `google.protobuf.Empty`. If the original method is standard
* `Get`/`Create`/`Update`, the response should be the resource. For other
* methods, the response should have the type `XxxResponse`, where `Xxx` is
* the original method name. For example, if the original method name is
* `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
*
* @param array[] $response
*/
public function setResponse($response)
{
$this->response = $response;
}
/**
* @return array[]
*/
public function getResponse()
{
return $this->response;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SasPortalOperation::class, 'Google_Service_Sasportal_SasPortalOperation');
@@ -0,0 +1,70 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Sasportal;
class SasPortalOrganization extends \Google\Model
{
/**
* Name of organization
*
* @var string
*/
public $displayName;
/**
* Id of organization
*
* @var string
*/
public $id;
/**
* Name of organization
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* Id of organization
*
* @param string $id
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SasPortalOrganization::class, 'Google_Service_Sasportal_SasPortalOrganization');
@@ -0,0 +1,81 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Sasportal;
class SasPortalPolicy extends \Google\Collection
{
protected $collection_key = 'assignments';
protected $assignmentsType = SasPortalAssignment::class;
protected $assignmentsDataType = 'array';
/**
* The etag is used for optimistic concurrency control as a way to help
* prevent simultaneous updates of a policy from overwriting each other. It is
* strongly suggested that systems make use of the etag in the read-modify-
* write cycle to perform policy updates in order to avoid race conditions: An
* etag is returned in the response to GetPolicy, and systems are expected to
* put that etag in the request to SetPolicy to ensure that their change will
* be applied to the same version of the policy. If no etag is provided in the
* call to GetPolicy, then the existing policy is overwritten blindly.
*
* @var string
*/
public $etag;
/**
* List of assignments
*
* @param SasPortalAssignment[] $assignments
*/
public function setAssignments($assignments)
{
$this->assignments = $assignments;
}
/**
* @return SasPortalAssignment[]
*/
public function getAssignments()
{
return $this->assignments;
}
/**
* The etag is used for optimistic concurrency control as a way to help
* prevent simultaneous updates of a policy from overwriting each other. It is
* strongly suggested that systems make use of the etag in the read-modify-
* write cycle to perform policy updates in order to avoid race conditions: An
* etag is returned in the response to GetPolicy, and systems are expected to
* put that etag in the request to SetPolicy to ensure that their change will
* be applied to the same version of the policy. If no etag is provided in the
* call to GetPolicy, then the existing policy is overwritten blindly.
*
* @param string $etag
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SasPortalPolicy::class, 'Google_Service_Sasportal_SasPortalPolicy');
@@ -0,0 +1,98 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Sasportal;
class SasPortalProvisionDeploymentRequest extends \Google\Model
{
/**
* Optional. If this field is set, and a new SAS Portal Deployment needs to be
* created, its display name will be set to the value of this field.
*
* @var string
*/
public $newDeploymentDisplayName;
/**
* Optional. If this field is set, and a new SAS Portal Organization needs to
* be created, its display name will be set to the value of this field.
*
* @var string
*/
public $newOrganizationDisplayName;
/**
* Optional. If this field is set then a new deployment will be created under
* the organization specified by this id.
*
* @var string
*/
public $organizationId;
/**
* Optional. If this field is set, and a new SAS Portal Deployment needs to be
* created, its display name will be set to the value of this field.
*
* @param string $newDeploymentDisplayName
*/
public function setNewDeploymentDisplayName($newDeploymentDisplayName)
{
$this->newDeploymentDisplayName = $newDeploymentDisplayName;
}
/**
* @return string
*/
public function getNewDeploymentDisplayName()
{
return $this->newDeploymentDisplayName;
}
/**
* Optional. If this field is set, and a new SAS Portal Organization needs to
* be created, its display name will be set to the value of this field.
*
* @param string $newOrganizationDisplayName
*/
public function setNewOrganizationDisplayName($newOrganizationDisplayName)
{
$this->newOrganizationDisplayName = $newOrganizationDisplayName;
}
/**
* @return string
*/
public function getNewOrganizationDisplayName()
{
return $this->newOrganizationDisplayName;
}
/**
* Optional. If this field is set then a new deployment will be created under
* the organization specified by this id.
*
* @param string $organizationId
*/
public function setOrganizationId($organizationId)
{
$this->organizationId = $organizationId;
}
/**
* @return string
*/
public function getOrganizationId()
{
return $this->organizationId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SasPortalProvisionDeploymentRequest::class, 'Google_Service_Sasportal_SasPortalProvisionDeploymentRequest');
@@ -0,0 +1,50 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Sasportal;
class SasPortalProvisionDeploymentResponse extends \Google\Model
{
/**
* Optional. Optional error message if the provisioning request is not
* successful.
*
* @var string
*/
public $errorMessage;
/**
* Optional. Optional error message if the provisioning request is not
* successful.
*
* @param string $errorMessage
*/
public function setErrorMessage($errorMessage)
{
$this->errorMessage = $errorMessage;
}
/**
* @return string
*/
public function getErrorMessage()
{
return $this->errorMessage;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SasPortalProvisionDeploymentResponse::class, 'Google_Service_Sasportal_SasPortalProvisionDeploymentResponse');
@@ -0,0 +1,90 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Sasportal;
class SasPortalSetPolicyRequest extends \Google\Model
{
/**
* Optional. Set the field as `true` to disable the onboarding notification.
*
* @var bool
*/
public $disableNotification;
protected $policyType = SasPortalPolicy::class;
protected $policyDataType = '';
/**
* Required. The resource for which the policy is being specified. This policy
* replaces any existing policy.
*
* @var string
*/
public $resource;
/**
* Optional. Set the field as `true` to disable the onboarding notification.
*
* @param bool $disableNotification
*/
public function setDisableNotification($disableNotification)
{
$this->disableNotification = $disableNotification;
}
/**
* @return bool
*/
public function getDisableNotification()
{
return $this->disableNotification;
}
/**
* Required. The policy to be applied to the `resource`.
*
* @param SasPortalPolicy $policy
*/
public function setPolicy(SasPortalPolicy $policy)
{
$this->policy = $policy;
}
/**
* @return SasPortalPolicy
*/
public function getPolicy()
{
return $this->policy;
}
/**
* Required. The resource for which the policy is being specified. This policy
* replaces any existing policy.
*
* @param string $resource
*/
public function setResource($resource)
{
$this->resource = $resource;
}
/**
* @return string
*/
public function getResource()
{
return $this->resource;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SasPortalSetPolicyRequest::class, 'Google_Service_Sasportal_SasPortalSetPolicyRequest');
@@ -0,0 +1,25 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Sasportal;
class SasPortalSetupSasAnalyticsMetadata extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SasPortalSetupSasAnalyticsMetadata::class, 'Google_Service_Sasportal_SasPortalSetupSasAnalyticsMetadata');
@@ -0,0 +1,50 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Sasportal;
class SasPortalSetupSasAnalyticsRequest extends \Google\Model
{
/**
* Optional. User id to setup analytics for, if not provided the user id
* associated with the project is used. optional
*
* @var string
*/
public $userId;
/**
* Optional. User id to setup analytics for, if not provided the user id
* associated with the project is used. optional
*
* @param string $userId
*/
public function setUserId($userId)
{
$this->userId = $userId;
}
/**
* @return string
*/
public function getUserId()
{
return $this->userId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SasPortalSetupSasAnalyticsRequest::class, 'Google_Service_Sasportal_SasPortalSetupSasAnalyticsRequest');
@@ -0,0 +1,25 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Sasportal;
class SasPortalSetupSasAnalyticsResponse extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SasPortalSetupSasAnalyticsResponse::class, 'Google_Service_Sasportal_SasPortalSetupSasAnalyticsResponse');
@@ -0,0 +1,45 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Sasportal;
class SasPortalSignDeviceRequest extends \Google\Model
{
protected $deviceType = SasPortalDevice::class;
protected $deviceDataType = '';
/**
* Required. The device to sign. The device fields name, fcc_id and
* serial_number must be set. The user_id field must be set.
*
* @param SasPortalDevice $device
*/
public function setDevice(SasPortalDevice $device)
{
$this->device = $device;
}
/**
* @return SasPortalDevice
*/
public function getDevice()
{
return $this->device;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SasPortalSignDeviceRequest::class, 'Google_Service_Sasportal_SasPortalSignDeviceRequest');
@@ -0,0 +1,99 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Sasportal;
class SasPortalStatus extends \Google\Collection
{
protected $collection_key = 'details';
/**
* The status code, which should be an enum value of google.rpc.Code.
*
* @var int
*/
public $code;
/**
* A list of messages that carry the error details. There is a common set of
* message types for APIs to use.
*
* @var array[]
*/
public $details;
/**
* A developer-facing error message, which should be in English. Any user-
* facing error message should be localized and sent in the
* google.rpc.Status.details field, or localized by the client.
*
* @var string
*/
public $message;
/**
* The status code, which should be an enum value of google.rpc.Code.
*
* @param int $code
*/
public function setCode($code)
{
$this->code = $code;
}
/**
* @return int
*/
public function getCode()
{
return $this->code;
}
/**
* A list of messages that carry the error details. There is a common set of
* message types for APIs to use.
*
* @param array[] $details
*/
public function setDetails($details)
{
$this->details = $details;
}
/**
* @return array[]
*/
public function getDetails()
{
return $this->details;
}
/**
* A developer-facing error message, which should be in English. Any user-
* facing error message should be localized and sent in the
* google.rpc.Status.details field, or localized by the client.
*
* @param string $message
*/
public function setMessage($message)
{
$this->message = $message;
}
/**
* @return string
*/
public function getMessage()
{
return $this->message;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SasPortalStatus::class, 'Google_Service_Sasportal_SasPortalStatus');
@@ -0,0 +1,71 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Sasportal;
class SasPortalTestPermissionsRequest extends \Google\Collection
{
protected $collection_key = 'permissions';
/**
* The set of permissions to check for the `resource`.
*
* @var string[]
*/
public $permissions;
/**
* Required. The resource for which the permissions are being requested.
*
* @var string
*/
public $resource;
/**
* The set of permissions to check for the `resource`.
*
* @param string[] $permissions
*/
public function setPermissions($permissions)
{
$this->permissions = $permissions;
}
/**
* @return string[]
*/
public function getPermissions()
{
return $this->permissions;
}
/**
* Required. The resource for which the permissions are being requested.
*
* @param string $resource
*/
public function setResource($resource)
{
$this->resource = $resource;
}
/**
* @return string
*/
public function getResource()
{
return $this->resource;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SasPortalTestPermissionsRequest::class, 'Google_Service_Sasportal_SasPortalTestPermissionsRequest');
@@ -0,0 +1,49 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Sasportal;
class SasPortalTestPermissionsResponse extends \Google\Collection
{
protected $collection_key = 'permissions';
/**
* A set of permissions that the caller is allowed.
*
* @var string[]
*/
public $permissions;
/**
* A set of permissions that the caller is allowed.
*
* @param string[] $permissions
*/
public function setPermissions($permissions)
{
$this->permissions = $permissions;
}
/**
* @return string[]
*/
public function getPermissions()
{
return $this->permissions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SasPortalTestPermissionsResponse::class, 'Google_Service_Sasportal_SasPortalTestPermissionsResponse');
@@ -0,0 +1,74 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Sasportal;
class SasPortalUpdateSignedDeviceRequest extends \Google\Model
{
/**
* Required. The JSON Web Token signed using a CPI private key. Payload must
* be the JSON encoding of the device. The user_id field must be set.
*
* @var string
*/
public $encodedDevice;
/**
* Required. Unique installer ID (CPI ID) from the Certified Professional
* Installers database.
*
* @var string
*/
public $installerId;
/**
* Required. The JSON Web Token signed using a CPI private key. Payload must
* be the JSON encoding of the device. The user_id field must be set.
*
* @param string $encodedDevice
*/
public function setEncodedDevice($encodedDevice)
{
$this->encodedDevice = $encodedDevice;
}
/**
* @return string
*/
public function getEncodedDevice()
{
return $this->encodedDevice;
}
/**
* Required. Unique installer ID (CPI ID) from the Certified Professional
* Installers database.
*
* @param string $installerId
*/
public function setInstallerId($installerId)
{
$this->installerId = $installerId;
}
/**
* @return string
*/
public function getInstallerId()
{
return $this->installerId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SasPortalUpdateSignedDeviceRequest::class, 'Google_Service_Sasportal_SasPortalUpdateSignedDeviceRequest');
@@ -0,0 +1,96 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Sasportal;
class SasPortalValidateInstallerRequest extends \Google\Model
{
/**
* Required. JSON Web Token signed using a CPI private key. Payload must
* include a "secret" claim whose value is the secret.
*
* @var string
*/
public $encodedSecret;
/**
* Required. Unique installer id (CPI ID) from the Certified Professional
* Installers database.
*
* @var string
*/
public $installerId;
/**
* Required. Secret returned by the GenerateSecret.
*
* @var string
*/
public $secret;
/**
* Required. JSON Web Token signed using a CPI private key. Payload must
* include a "secret" claim whose value is the secret.
*
* @param string $encodedSecret
*/
public function setEncodedSecret($encodedSecret)
{
$this->encodedSecret = $encodedSecret;
}
/**
* @return string
*/
public function getEncodedSecret()
{
return $this->encodedSecret;
}
/**
* Required. Unique installer id (CPI ID) from the Certified Professional
* Installers database.
*
* @param string $installerId
*/
public function setInstallerId($installerId)
{
$this->installerId = $installerId;
}
/**
* @return string
*/
public function getInstallerId()
{
return $this->installerId;
}
/**
* Required. Secret returned by the GenerateSecret.
*
* @param string $secret
*/
public function setSecret($secret)
{
$this->secret = $secret;
}
/**
* @return string
*/
public function getSecret()
{
return $this->secret;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SasPortalValidateInstallerRequest::class, 'Google_Service_Sasportal_SasPortalValidateInstallerRequest');
@@ -0,0 +1,25 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Sasportal;
class SasPortalValidateInstallerResponse extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SasPortalValidateInstallerResponse::class, 'Google_Service_Sasportal_SasPortalValidateInstallerResponse');