Initial commit

This commit is contained in:
Local Administrator
2025-04-18 10:32:42 +02:00
commit b83134aca3
29643 changed files with 3045897 additions and 0 deletions

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -0,0 +1,63 @@
<?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';
/**
* @var string[]
*/
public $members;
/**
* @var string
*/
public $role;
/**
* @param string[]
*/
public function setMembers($members)
{
$this->members = $members;
}
/**
* @return string[]
*/
public function getMembers()
{
return $this->members;
}
/**
* @param string
*/
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');

View File

@@ -0,0 +1,51 @@
<?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 = '';
public $score;
/**
* @param SasPortalFrequencyRange
*/
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');

View File

@@ -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');

View File

@@ -0,0 +1,62 @@
<?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
{
/**
* @var string
*/
public $encodedDevice;
/**
* @var string
*/
public $installerId;
/**
* @param string
*/
public function setEncodedDevice($encodedDevice)
{
$this->encodedDevice = $encodedDevice;
}
/**
* @return string
*/
public function getEncodedDevice()
{
return $this->encodedDevice;
}
/**
* @param string
*/
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');

View File

@@ -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 SasPortalCustomer extends \Google\Collection
{
protected $collection_key = 'sasUserIds';
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $name;
/**
* @var string[]
*/
public $sasUserIds;
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string[]
*/
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');

View File

@@ -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 SasPortalDeployment extends \Google\Collection
{
protected $collection_key = 'sasUserIds';
/**
* @var string
*/
public $displayName;
/**
* @var string[]
*/
public $frns;
/**
* @var string
*/
public $name;
/**
* @var string[]
*/
public $sasUserIds;
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string[]
*/
public function setFrns($frns)
{
$this->frns = $frns;
}
/**
* @return string[]
*/
public function getFrns()
{
return $this->frns;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string[]
*/
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');

View File

@@ -0,0 +1,62 @@
<?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
{
/**
* @var string
*/
public $gcpProjectId;
/**
* @var string
*/
public $userId;
/**
* @param string
*/
public function setGcpProjectId($gcpProjectId)
{
$this->gcpProjectId = $gcpProjectId;
}
/**
* @return string
*/
public function getGcpProjectId()
{
return $this->gcpProjectId;
}
/**
* @param string
*/
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');

View File

@@ -0,0 +1,213 @@
<?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
{
protected $collection_key = 'grants';
protected $activeConfigType = SasPortalDeviceConfig::class;
protected $activeConfigDataType = '';
protected $currentChannelsType = SasPortalChannelWithScore::class;
protected $currentChannelsDataType = 'array';
protected $deviceMetadataType = SasPortalDeviceMetadata::class;
protected $deviceMetadataDataType = '';
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $fccId;
protected $grantRangeAllowlistsType = SasPortalFrequencyRange::class;
protected $grantRangeAllowlistsDataType = 'array';
protected $grantsType = SasPortalDeviceGrant::class;
protected $grantsDataType = 'array';
/**
* @var string
*/
public $name;
protected $preloadedConfigType = SasPortalDeviceConfig::class;
protected $preloadedConfigDataType = '';
/**
* @var string
*/
public $serialNumber;
/**
* @var string
*/
public $state;
/**
* @param SasPortalDeviceConfig
*/
public function setActiveConfig(SasPortalDeviceConfig $activeConfig)
{
$this->activeConfig = $activeConfig;
}
/**
* @return SasPortalDeviceConfig
*/
public function getActiveConfig()
{
return $this->activeConfig;
}
/**
* @param SasPortalChannelWithScore[]
*/
public function setCurrentChannels($currentChannels)
{
$this->currentChannels = $currentChannels;
}
/**
* @return SasPortalChannelWithScore[]
*/
public function getCurrentChannels()
{
return $this->currentChannels;
}
/**
* @param SasPortalDeviceMetadata
*/
public function setDeviceMetadata(SasPortalDeviceMetadata $deviceMetadata)
{
$this->deviceMetadata = $deviceMetadata;
}
/**
* @return SasPortalDeviceMetadata
*/
public function getDeviceMetadata()
{
return $this->deviceMetadata;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setFccId($fccId)
{
$this->fccId = $fccId;
}
/**
* @return string
*/
public function getFccId()
{
return $this->fccId;
}
/**
* @param SasPortalFrequencyRange[]
*/
public function setGrantRangeAllowlists($grantRangeAllowlists)
{
$this->grantRangeAllowlists = $grantRangeAllowlists;
}
/**
* @return SasPortalFrequencyRange[]
*/
public function getGrantRangeAllowlists()
{
return $this->grantRangeAllowlists;
}
/**
* @param SasPortalDeviceGrant[]
*/
public function setGrants($grants)
{
$this->grants = $grants;
}
/**
* @return SasPortalDeviceGrant[]
*/
public function getGrants()
{
return $this->grants;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param SasPortalDeviceConfig
*/
public function setPreloadedConfig(SasPortalDeviceConfig $preloadedConfig)
{
$this->preloadedConfig = $preloadedConfig;
}
/**
* @return SasPortalDeviceConfig
*/
public function getPreloadedConfig()
{
return $this->preloadedConfig;
}
/**
* @param string
*/
public function setSerialNumber($serialNumber)
{
$this->serialNumber = $serialNumber;
}
/**
* @return string
*/
public function getSerialNumber()
{
return $this->serialNumber;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
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');

View File

@@ -0,0 +1,62 @@
<?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
{
/**
* @var string
*/
public $radioTechnology;
/**
* @var string
*/
public $supportedSpec;
/**
* @param string
*/
public function setRadioTechnology($radioTechnology)
{
$this->radioTechnology = $radioTechnology;
}
/**
* @return string
*/
public function getRadioTechnology()
{
return $this->radioTechnology;
}
/**
* @param string
*/
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');

View File

@@ -0,0 +1,201 @@
<?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
{
protected $collection_key = 'measurementCapabilities';
protected $airInterfaceType = SasPortalDeviceAirInterface::class;
protected $airInterfaceDataType = '';
/**
* @var string
*/
public $callSign;
/**
* @var string
*/
public $category;
protected $installationParamsType = SasPortalInstallationParams::class;
protected $installationParamsDataType = '';
/**
* @var bool
*/
public $isSigned;
/**
* @var string[]
*/
public $measurementCapabilities;
protected $modelType = SasPortalDeviceModel::class;
protected $modelDataType = '';
/**
* @var string
*/
public $state;
/**
* @var string
*/
public $updateTime;
/**
* @var string
*/
public $userId;
/**
* @param SasPortalDeviceAirInterface
*/
public function setAirInterface(SasPortalDeviceAirInterface $airInterface)
{
$this->airInterface = $airInterface;
}
/**
* @return SasPortalDeviceAirInterface
*/
public function getAirInterface()
{
return $this->airInterface;
}
/**
* @param string
*/
public function setCallSign($callSign)
{
$this->callSign = $callSign;
}
/**
* @return string
*/
public function getCallSign()
{
return $this->callSign;
}
/**
* @param string
*/
public function setCategory($category)
{
$this->category = $category;
}
/**
* @return string
*/
public function getCategory()
{
return $this->category;
}
/**
* @param SasPortalInstallationParams
*/
public function setInstallationParams(SasPortalInstallationParams $installationParams)
{
$this->installationParams = $installationParams;
}
/**
* @return SasPortalInstallationParams
*/
public function getInstallationParams()
{
return $this->installationParams;
}
/**
* @param bool
*/
public function setIsSigned($isSigned)
{
$this->isSigned = $isSigned;
}
/**
* @return bool
*/
public function getIsSigned()
{
return $this->isSigned;
}
/**
* @param string[]
*/
public function setMeasurementCapabilities($measurementCapabilities)
{
$this->measurementCapabilities = $measurementCapabilities;
}
/**
* @return string[]
*/
public function getMeasurementCapabilities()
{
return $this->measurementCapabilities;
}
/**
* @param SasPortalDeviceModel
*/
public function setModel(SasPortalDeviceModel $model)
{
$this->model = $model;
}
/**
* @return SasPortalDeviceModel
*/
public function getModel()
{
return $this->model;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param string
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
/**
* @param string
*/
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');

View File

@@ -0,0 +1,176 @@
<?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
{
protected $collection_key = 'suspensionReason';
/**
* @var string
*/
public $channelType;
/**
* @var string
*/
public $expireTime;
protected $frequencyRangeType = SasPortalFrequencyRange::class;
protected $frequencyRangeDataType = '';
/**
* @var string
*/
public $grantId;
/**
* @var string
*/
public $lastHeartbeatTransmitExpireTime;
public $maxEirp;
protected $moveListType = SasPortalDpaMoveList::class;
protected $moveListDataType = 'array';
/**
* @var string
*/
public $state;
/**
* @var string[]
*/
public $suspensionReason;
/**
* @param string
*/
public function setChannelType($channelType)
{
$this->channelType = $channelType;
}
/**
* @return string
*/
public function getChannelType()
{
return $this->channelType;
}
/**
* @param string
*/
public function setExpireTime($expireTime)
{
$this->expireTime = $expireTime;
}
/**
* @return string
*/
public function getExpireTime()
{
return $this->expireTime;
}
/**
* @param SasPortalFrequencyRange
*/
public function setFrequencyRange(SasPortalFrequencyRange $frequencyRange)
{
$this->frequencyRange = $frequencyRange;
}
/**
* @return SasPortalFrequencyRange
*/
public function getFrequencyRange()
{
return $this->frequencyRange;
}
/**
* @param string
*/
public function setGrantId($grantId)
{
$this->grantId = $grantId;
}
/**
* @return string
*/
public function getGrantId()
{
return $this->grantId;
}
/**
* @param string
*/
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;
}
/**
* @param SasPortalDpaMoveList[]
*/
public function setMoveList($moveList)
{
$this->moveList = $moveList;
}
/**
* @return SasPortalDpaMoveList[]
*/
public function getMoveList()
{
return $this->moveList;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param string[]
*/
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');

View File

@@ -0,0 +1,114 @@
<?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
{
/**
* @var string
*/
public $antennaModel;
/**
* @var string
*/
public $commonChannelGroup;
/**
* @var string
*/
public $interferenceCoordinationGroup;
/**
* @var bool
*/
public $nrqzValidated;
protected $nrqzValidationType = SasPortalNrqzValidation::class;
protected $nrqzValidationDataType = '';
/**
* @param string
*/
public function setAntennaModel($antennaModel)
{
$this->antennaModel = $antennaModel;
}
/**
* @return string
*/
public function getAntennaModel()
{
return $this->antennaModel;
}
/**
* @param string
*/
public function setCommonChannelGroup($commonChannelGroup)
{
$this->commonChannelGroup = $commonChannelGroup;
}
/**
* @return string
*/
public function getCommonChannelGroup()
{
return $this->commonChannelGroup;
}
/**
* @param string
*/
public function setInterferenceCoordinationGroup($interferenceCoordinationGroup)
{
$this->interferenceCoordinationGroup = $interferenceCoordinationGroup;
}
/**
* @return string
*/
public function getInterferenceCoordinationGroup()
{
return $this->interferenceCoordinationGroup;
}
/**
* @param bool
*/
public function setNrqzValidated($nrqzValidated)
{
$this->nrqzValidated = $nrqzValidated;
}
/**
* @return bool
*/
public function getNrqzValidated()
{
return $this->nrqzValidated;
}
/**
* @param SasPortalNrqzValidation
*/
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');

View File

@@ -0,0 +1,116 @@
<?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
{
/**
* @var string
*/
public $firmwareVersion;
/**
* @var string
*/
public $hardwareVersion;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $softwareVersion;
/**
* @var string
*/
public $vendor;
/**
* @param string
*/
public function setFirmwareVersion($firmwareVersion)
{
$this->firmwareVersion = $firmwareVersion;
}
/**
* @return string
*/
public function getFirmwareVersion()
{
return $this->firmwareVersion;
}
/**
* @param string
*/
public function setHardwareVersion($hardwareVersion)
{
$this->hardwareVersion = $hardwareVersion;
}
/**
* @return string
*/
public function getHardwareVersion()
{
return $this->hardwareVersion;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setSoftwareVersion($softwareVersion)
{
$this->softwareVersion = $softwareVersion;
}
/**
* @return string
*/
public function getSoftwareVersion()
{
return $this->softwareVersion;
}
/**
* @param string
*/
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');

View File

@@ -0,0 +1,60 @@
<?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
{
/**
* @var string
*/
public $dpaId;
protected $frequencyRangeType = SasPortalFrequencyRange::class;
protected $frequencyRangeDataType = '';
/**
* @param string
*/
public function setDpaId($dpaId)
{
$this->dpaId = $dpaId;
}
/**
* @return string
*/
public function getDpaId()
{
return $this->dpaId;
}
/**
* @param SasPortalFrequencyRange
*/
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');

View File

@@ -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');

View File

@@ -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 SasPortalFrequencyRange extends \Google\Model
{
public $highFrequencyMhz;
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');

View File

@@ -0,0 +1,60 @@
<?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 = '';
/**
* @var bool
*/
public $hasEnabledAnalytics;
/**
* @param SasPortalDeployment
*/
public function setDeployment(SasPortalDeployment $deployment)
{
$this->deployment = $deployment;
}
/**
* @return SasPortalDeployment
*/
public function getDeployment()
{
return $this->deployment;
}
/**
* @param bool
*/
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');

View File

@@ -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');

View File

@@ -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 SasPortalGenerateSecretResponse extends \Google\Model
{
/**
* @var string
*/
public $secret;
/**
* @param string
*/
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');

View File

@@ -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 SasPortalGetPolicyRequest extends \Google\Model
{
/**
* @var string
*/
public $resource;
/**
* @param string
*/
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');

View File

@@ -0,0 +1,224 @@
<?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
{
/**
* @var int
*/
public $antennaAzimuth;
/**
* @var int
*/
public $antennaBeamwidth;
/**
* @var int
*/
public $antennaDowntilt;
public $antennaGain;
/**
* @var string
*/
public $antennaModel;
/**
* @var bool
*/
public $cpeCbsdIndication;
/**
* @var int
*/
public $eirpCapability;
public $height;
/**
* @var string
*/
public $heightType;
public $horizontalAccuracy;
/**
* @var bool
*/
public $indoorDeployment;
public $latitude;
public $longitude;
public $verticalAccuracy;
/**
* @param int
*/
public function setAntennaAzimuth($antennaAzimuth)
{
$this->antennaAzimuth = $antennaAzimuth;
}
/**
* @return int
*/
public function getAntennaAzimuth()
{
return $this->antennaAzimuth;
}
/**
* @param int
*/
public function setAntennaBeamwidth($antennaBeamwidth)
{
$this->antennaBeamwidth = $antennaBeamwidth;
}
/**
* @return int
*/
public function getAntennaBeamwidth()
{
return $this->antennaBeamwidth;
}
/**
* @param int
*/
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;
}
/**
* @param string
*/
public function setAntennaModel($antennaModel)
{
$this->antennaModel = $antennaModel;
}
/**
* @return string
*/
public function getAntennaModel()
{
return $this->antennaModel;
}
/**
* @param bool
*/
public function setCpeCbsdIndication($cpeCbsdIndication)
{
$this->cpeCbsdIndication = $cpeCbsdIndication;
}
/**
* @return bool
*/
public function getCpeCbsdIndication()
{
return $this->cpeCbsdIndication;
}
/**
* @param int
*/
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;
}
/**
* @param string
*/
public function setHeightType($heightType)
{
$this->heightType = $heightType;
}
/**
* @return string
*/
public function getHeightType()
{
return $this->heightType;
}
public function setHorizontalAccuracy($horizontalAccuracy)
{
$this->horizontalAccuracy = $horizontalAccuracy;
}
public function getHorizontalAccuracy()
{
return $this->horizontalAccuracy;
}
/**
* @param bool
*/
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');

View File

@@ -0,0 +1,61 @@
<?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';
/**
* @var string
*/
public $nextPageToken;
/**
* @param SasPortalCustomer[]
*/
public function setCustomers($customers)
{
$this->customers = $customers;
}
/**
* @return SasPortalCustomer[]
*/
public function getCustomers()
{
return $this->customers;
}
/**
* @param string
*/
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');

View File

@@ -0,0 +1,61 @@
<?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';
/**
* @var string
*/
public $nextPageToken;
/**
* @param SasPortalDeployment[]
*/
public function setDeployments($deployments)
{
$this->deployments = $deployments;
}
/**
* @return SasPortalDeployment[]
*/
public function getDeployments()
{
return $this->deployments;
}
/**
* @param string
*/
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');

View File

@@ -0,0 +1,61 @@
<?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';
/**
* @var string
*/
public $nextPageToken;
/**
* @param SasPortalDevice[]
*/
public function setDevices($devices)
{
$this->devices = $devices;
}
/**
* @return SasPortalDevice[]
*/
public function getDevices()
{
return $this->devices;
}
/**
* @param string
*/
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');

View File

@@ -0,0 +1,43 @@
<?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';
/**
* @param SasPortalGcpProjectDeployment[]
*/
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');

View File

@@ -0,0 +1,43 @@
<?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';
/**
* @param SasPortalOrganization[]
*/
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');

View File

@@ -0,0 +1,61 @@
<?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';
/**
* @var string
*/
public $nextPageToken;
protected $nodesType = SasPortalNode::class;
protected $nodesDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param SasPortalNode[]
*/
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');

View File

@@ -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 SasPortalMigrateOrganizationMetadata extends \Google\Model
{
/**
* @var string
*/
public $operationState;
/**
* @param string
*/
public function setOperationState($operationState)
{
$this->operationState = $operationState;
}
/**
* @return string
*/
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');

View File

@@ -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 SasPortalMigrateOrganizationRequest extends \Google\Model
{
/**
* @var string
*/
public $organizationId;
/**
* @param string
*/
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');

View File

@@ -0,0 +1,43 @@
<?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';
/**
* @param SasPortalDeploymentAssociation[]
*/
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');

View File

@@ -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 SasPortalMoveDeploymentRequest extends \Google\Model
{
/**
* @var string
*/
public $destination;
/**
* @param string
*/
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');

View File

@@ -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 SasPortalMoveDeviceRequest extends \Google\Model
{
/**
* @var string
*/
public $destination;
/**
* @param string
*/
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');

View File

@@ -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 SasPortalMoveNodeRequest extends \Google\Model
{
/**
* @var string
*/
public $destination;
/**
* @param string
*/
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');

View File

@@ -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 SasPortalNode extends \Google\Collection
{
protected $collection_key = 'sasUserIds';
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $name;
/**
* @var string[]
*/
public $sasUserIds;
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string[]
*/
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');

View File

@@ -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 SasPortalNrqzValidation extends \Google\Model
{
/**
* @var string
*/
public $caseId;
/**
* @var string
*/
public $cpiId;
public $latitude;
public $longitude;
/**
* @var string
*/
public $state;
/**
* @param string
*/
public function setCaseId($caseId)
{
$this->caseId = $caseId;
}
/**
* @return string
*/
public function getCaseId()
{
return $this->caseId;
}
/**
* @param string
*/
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;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
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');

View File

@@ -0,0 +1,114 @@
<?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
{
/**
* @var bool
*/
public $done;
protected $errorType = SasPortalStatus::class;
protected $errorDataType = '';
/**
* @var array[]
*/
public $metadata;
/**
* @var string
*/
public $name;
/**
* @var array[]
*/
public $response;
/**
* @param bool
*/
public function setDone($done)
{
$this->done = $done;
}
/**
* @return bool
*/
public function getDone()
{
return $this->done;
}
/**
* @param SasPortalStatus
*/
public function setError(SasPortalStatus $error)
{
$this->error = $error;
}
/**
* @return SasPortalStatus
*/
public function getError()
{
return $this->error;
}
/**
* @param array[]
*/
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
/**
* @return array[]
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param array[]
*/
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');

View File

@@ -0,0 +1,62 @@
<?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
{
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $id;
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
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');

View File

@@ -0,0 +1,61 @@
<?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';
/**
* @var string
*/
public $etag;
/**
* @param SasPortalAssignment[]
*/
public function setAssignments($assignments)
{
$this->assignments = $assignments;
}
/**
* @return SasPortalAssignment[]
*/
public function getAssignments()
{
return $this->assignments;
}
/**
* @param string
*/
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');

View File

@@ -0,0 +1,80 @@
<?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
{
/**
* @var string
*/
public $newDeploymentDisplayName;
/**
* @var string
*/
public $newOrganizationDisplayName;
/**
* @var string
*/
public $organizationId;
/**
* @param string
*/
public function setNewDeploymentDisplayName($newDeploymentDisplayName)
{
$this->newDeploymentDisplayName = $newDeploymentDisplayName;
}
/**
* @return string
*/
public function getNewDeploymentDisplayName()
{
return $this->newDeploymentDisplayName;
}
/**
* @param string
*/
public function setNewOrganizationDisplayName($newOrganizationDisplayName)
{
$this->newOrganizationDisplayName = $newOrganizationDisplayName;
}
/**
* @return string
*/
public function getNewOrganizationDisplayName()
{
return $this->newOrganizationDisplayName;
}
/**
* @param string
*/
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');

View File

@@ -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 SasPortalProvisionDeploymentResponse extends \Google\Model
{
/**
* @var string
*/
public $errorMessage;
/**
* @param string
*/
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');

View File

@@ -0,0 +1,78 @@
<?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
{
/**
* @var bool
*/
public $disableNotification;
protected $policyType = SasPortalPolicy::class;
protected $policyDataType = '';
/**
* @var string
*/
public $resource;
/**
* @param bool
*/
public function setDisableNotification($disableNotification)
{
$this->disableNotification = $disableNotification;
}
/**
* @return bool
*/
public function getDisableNotification()
{
return $this->disableNotification;
}
/**
* @param SasPortalPolicy
*/
public function setPolicy(SasPortalPolicy $policy)
{
$this->policy = $policy;
}
/**
* @return SasPortalPolicy
*/
public function getPolicy()
{
return $this->policy;
}
/**
* @param string
*/
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');

View File

@@ -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');

View File

@@ -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 SasPortalSetupSasAnalyticsRequest extends \Google\Model
{
/**
* @var string
*/
public $userId;
/**
* @param string
*/
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');

View File

@@ -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');

View File

@@ -0,0 +1,42 @@
<?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 = '';
/**
* @param SasPortalDevice
*/
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');

View File

@@ -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 SasPortalStatus extends \Google\Collection
{
protected $collection_key = 'details';
/**
* @var int
*/
public $code;
/**
* @var array[]
*/
public $details;
/**
* @var string
*/
public $message;
/**
* @param int
*/
public function setCode($code)
{
$this->code = $code;
}
/**
* @return int
*/
public function getCode()
{
return $this->code;
}
/**
* @param array[]
*/
public function setDetails($details)
{
$this->details = $details;
}
/**
* @return array[]
*/
public function getDetails()
{
return $this->details;
}
/**
* @param string
*/
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');

View File

@@ -0,0 +1,63 @@
<?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';
/**
* @var string[]
*/
public $permissions;
/**
* @var string
*/
public $resource;
/**
* @param string[]
*/
public function setPermissions($permissions)
{
$this->permissions = $permissions;
}
/**
* @return string[]
*/
public function getPermissions()
{
return $this->permissions;
}
/**
* @param string
*/
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');

View File

@@ -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 SasPortalTestPermissionsResponse extends \Google\Collection
{
protected $collection_key = 'permissions';
/**
* @var string[]
*/
public $permissions;
/**
* @param string[]
*/
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');

View File

@@ -0,0 +1,62 @@
<?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
{
/**
* @var string
*/
public $encodedDevice;
/**
* @var string
*/
public $installerId;
/**
* @param string
*/
public function setEncodedDevice($encodedDevice)
{
$this->encodedDevice = $encodedDevice;
}
/**
* @return string
*/
public function getEncodedDevice()
{
return $this->encodedDevice;
}
/**
* @param string
*/
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');

View File

@@ -0,0 +1,80 @@
<?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
{
/**
* @var string
*/
public $encodedSecret;
/**
* @var string
*/
public $installerId;
/**
* @var string
*/
public $secret;
/**
* @param string
*/
public function setEncodedSecret($encodedSecret)
{
$this->encodedSecret = $encodedSecret;
}
/**
* @return string
*/
public function getEncodedSecret()
{
return $this->encodedSecret;
}
/**
* @param string
*/
public function setInstallerId($installerId)
{
$this->installerId = $installerId;
}
/**
* @return string
*/
public function getInstallerId()
{
return $this->installerId;
}
/**
* @param string
*/
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');

View File

@@ -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');