gestione documentale avanzata 1 parte

This commit is contained in:
2026-05-28 09:34:28 +02:00
parent 3471befb1a
commit f2b0833b90
34482 changed files with 4312269 additions and 546 deletions
@@ -0,0 +1,70 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CCAIPlatform;
class AdminUser extends \Google\Model
{
/**
* Optional. Last/family name of the first admin user.
*
* @var string
*/
public $familyName;
/**
* Optional. First/given name of the first admin user.
*
* @var string
*/
public $givenName;
/**
* Optional. Last/family name of the first admin user.
*
* @param string $familyName
*/
public function setFamilyName($familyName)
{
$this->familyName = $familyName;
}
/**
* @return string
*/
public function getFamilyName()
{
return $this->familyName;
}
/**
* Optional. First/given name of the first admin user.
*
* @param string $givenName
*/
public function setGivenName($givenName)
{
$this->givenName = $givenName;
}
/**
* @return string
*/
public function getGivenName()
{
return $this->givenName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AdminUser::class, 'Google_Service_CCAIPlatform_AdminUser');
@@ -0,0 +1,76 @@
<?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\CCAIPlatform;
class AuthenticationConfig extends \Google\Model
{
protected $basicAuthSettingType = BasicAuthConfig::class;
protected $basicAuthSettingDataType = '';
/**
* @var string
*/
public $name;
protected $samlSettingType = SamlConfig::class;
protected $samlSettingDataType = '';
/**
* @param BasicAuthConfig
*/
public function setBasicAuthSetting(BasicAuthConfig $basicAuthSetting)
{
$this->basicAuthSetting = $basicAuthSetting;
}
/**
* @return BasicAuthConfig
*/
public function getBasicAuthSetting()
{
return $this->basicAuthSetting;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param SamlConfig
*/
public function setSamlSetting(SamlConfig $samlSetting)
{
$this->samlSetting = $samlSetting;
}
/**
* @return SamlConfig
*/
public function getSamlSetting()
{
return $this->samlSetting;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AuthenticationConfig::class, 'Google_Service_CCAIPlatform_AuthenticationConfig');
@@ -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\CCAIPlatform;
class BasicAuthConfig extends \Google\Model
{
/**
* @var bool
*/
public $enabled;
/**
* @param bool
*/
public function setEnabled($enabled)
{
$this->enabled = $enabled;
}
/**
* @return bool
*/
public function getEnabled()
{
return $this->enabled;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BasicAuthConfig::class, 'Google_Service_CCAIPlatform_BasicAuthConfig');
@@ -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\CCAIPlatform;
class CancelOperationRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CancelOperationRequest::class, 'Google_Service_CCAIPlatform_CancelOperationRequest');
@@ -0,0 +1,77 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CCAIPlatform;
class Component extends \Google\Collection
{
protected $collection_key = 'serviceAttachmentNames';
/**
* Name of the component.
*
* @var string
*/
public $name;
/**
* Associated service attachments. The service attachment names that will be
* used for sending private traffic to the CCAIP tenant project. Example
* service attachment name: "projects/${TENANT_PROJECT_ID}/regions/${REGION}/s
* erviceAttachments/ingress-default".
*
* @var string[]
*/
public $serviceAttachmentNames;
/**
* Name of the component.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Associated service attachments. The service attachment names that will be
* used for sending private traffic to the CCAIP tenant project. Example
* service attachment name: "projects/${TENANT_PROJECT_ID}/regions/${REGION}/s
* erviceAttachments/ingress-default".
*
* @param string[] $serviceAttachmentNames
*/
public function setServiceAttachmentNames($serviceAttachmentNames)
{
$this->serviceAttachmentNames = $serviceAttachmentNames;
}
/**
* @return string[]
*/
public function getServiceAttachmentNames()
{
return $this->serviceAttachmentNames;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Component::class, 'Google_Service_CCAIPlatform_Component');
@@ -0,0 +1,608 @@
<?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\CCAIPlatform;
class ContactCenter extends \Google\Collection
{
/**
* The default value. This value is used if the state is omitted.
*/
public const STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
/**
* State DEPLOYING
*/
public const STATE_STATE_DEPLOYING = 'STATE_DEPLOYING';
/**
* State DEPLOYED
*/
public const STATE_STATE_DEPLOYED = 'STATE_DEPLOYED';
/**
* State TERMINATING
*/
public const STATE_STATE_TERMINATING = 'STATE_TERMINATING';
/**
* State FAILED
*/
public const STATE_STATE_FAILED = 'STATE_FAILED';
/**
* State TERMINATING_FAILED
*/
public const STATE_STATE_TERMINATING_FAILED = 'STATE_TERMINATING_FAILED';
/**
* Reused for soft-deleted state because semantically equivalent to `DELETED`
* as implied by go/aip/164.
*/
public const STATE_STATE_TERMINATED = 'STATE_TERMINATED';
/**
* State IN_GRACE_PERIOD
*/
public const STATE_STATE_IN_GRACE_PERIOD = 'STATE_IN_GRACE_PERIOD';
/**
* State in STATE_FAILING_OVER. This State must ONLY be used by Multiregional
* Instances when a failover was triggered. Customers are not able to update
* instances in this state.
*/
public const STATE_STATE_FAILING_OVER = 'STATE_FAILING_OVER';
/**
* State DEGRADED. This State must ONLY be used by Multiregional Instances
* after a failover was executed successfully. Customers are not able to
* update instances in this state.
*/
public const STATE_STATE_DEGRADED = 'STATE_DEGRADED';
/**
* State REPAIRING. This State must ONLY be used by Multiregional Instances
* after a fallback was triggered. Customers are not able to update instancs
* in this state.
*/
public const STATE_STATE_REPAIRING = 'STATE_REPAIRING';
/**
* Flagged by an automation as soon to be expired.
*/
public const STATE_STATE_EXPIRING = 'STATE_EXPIRING';
protected $collection_key = 'privateComponents';
protected $adminUserType = AdminUser::class;
protected $adminUserDataType = '';
/**
* Optional. Whether the advanced reporting feature is enabled.
*
* @var bool
*/
public $advancedReportingEnabled;
/**
* Optional. Whether to enable users to be created in the CCAIP-instance
* concurrently to having users in Cloud identity
*
* @var bool
*/
public $ccaipManagedUsers;
/**
* Output only. [Output only] Create time stamp
*
* @var string
*/
public $createTime;
protected $criticalType = Critical::class;
protected $criticalDataType = '';
/**
* Required. Immutable. At least 2 and max 16 char long, must conform to [RFC
* 1035](https://www.ietf.org/rfc/rfc1035.txt).
*
* @var string
*/
public $customerDomainPrefix;
/**
* Output only. Timestamp in UTC of when this resource was soft-deleted.
*
* @var string
*/
public $deleteTime;
/**
* Required. A user friendly name for the ContactCenter.
*
* @var string
*/
public $displayName;
protected $earlyType = Early::class;
protected $earlyDataType = '';
/**
* Output only. Timestamp in UTC of when this resource is considered expired.
*
* @var string
*/
public $expireTime;
protected $featureConfigType = FeatureConfig::class;
protected $featureConfigDataType = '';
protected $instanceConfigType = InstanceConfig::class;
protected $instanceConfigDataType = '';
/**
* Immutable. The KMS key name to encrypt the user input (`ContactCenter`).
*
* @var string
*/
public $kmsKey;
/**
* Labels as key value pairs
*
* @var string[]
*/
public $labels;
/**
* name of resource
*
* @var string
*/
public $name;
protected $normalType = Normal::class;
protected $normalDataType = '';
protected $privateAccessType = PrivateAccess::class;
protected $privateAccessDataType = '';
/**
* Output only. TODO(b/283407860) Deprecate this field.
*
* @var string[]
*/
public $privateComponents;
/**
* Output only. Timestamp in UTC of when this resource is going to be hard-
* deleted.
*
* @var string
*/
public $purgeTime;
/**
* Output only. UJET release version, unique for each new release.
*
* @var string
*/
public $releaseVersion;
protected $samlParamsType = SAMLParams::class;
protected $samlParamsDataType = '';
/**
* Output only. The state of this contact center.
*
* @var string
*/
public $state;
/**
* Output only. [Output only] Update time stamp
*
* @var string
*/
public $updateTime;
protected $urisType = URIs::class;
protected $urisDataType = '';
/**
* Optional. Email address of the first admin user.
*
* @var string
*/
public $userEmail;
/**
* Optional. Info about the first admin user, such as given name and family
* name.
*
* @param AdminUser $adminUser
*/
public function setAdminUser(AdminUser $adminUser)
{
$this->adminUser = $adminUser;
}
/**
* @return AdminUser
*/
public function getAdminUser()
{
return $this->adminUser;
}
/**
* Optional. Whether the advanced reporting feature is enabled.
*
* @param bool $advancedReportingEnabled
*/
public function setAdvancedReportingEnabled($advancedReportingEnabled)
{
$this->advancedReportingEnabled = $advancedReportingEnabled;
}
/**
* @return bool
*/
public function getAdvancedReportingEnabled()
{
return $this->advancedReportingEnabled;
}
/**
* Optional. Whether to enable users to be created in the CCAIP-instance
* concurrently to having users in Cloud identity
*
* @param bool $ccaipManagedUsers
*/
public function setCcaipManagedUsers($ccaipManagedUsers)
{
$this->ccaipManagedUsers = $ccaipManagedUsers;
}
/**
* @return bool
*/
public function getCcaipManagedUsers()
{
return $this->ccaipManagedUsers;
}
/**
* Output only. [Output only] Create time stamp
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Optional. Critical release channel.
*
* @param Critical $critical
*/
public function setCritical(Critical $critical)
{
$this->critical = $critical;
}
/**
* @return Critical
*/
public function getCritical()
{
return $this->critical;
}
/**
* Required. Immutable. At least 2 and max 16 char long, must conform to [RFC
* 1035](https://www.ietf.org/rfc/rfc1035.txt).
*
* @param string $customerDomainPrefix
*/
public function setCustomerDomainPrefix($customerDomainPrefix)
{
$this->customerDomainPrefix = $customerDomainPrefix;
}
/**
* @return string
*/
public function getCustomerDomainPrefix()
{
return $this->customerDomainPrefix;
}
/**
* Output only. Timestamp in UTC of when this resource was soft-deleted.
*
* @param string $deleteTime
*/
public function setDeleteTime($deleteTime)
{
$this->deleteTime = $deleteTime;
}
/**
* @return string
*/
public function getDeleteTime()
{
return $this->deleteTime;
}
/**
* Required. A user friendly name for the ContactCenter.
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* Optional. Early release channel.
*
* @param Early $early
*/
public function setEarly(Early $early)
{
$this->early = $early;
}
/**
* @return Early
*/
public function getEarly()
{
return $this->early;
}
/**
* Output only. Timestamp in UTC of when this resource is considered expired.
*
* @param string $expireTime
*/
public function setExpireTime($expireTime)
{
$this->expireTime = $expireTime;
}
/**
* @return string
*/
public function getExpireTime()
{
return $this->expireTime;
}
/**
* Optional. Feature configuration to populate the feature flags.
*
* @param FeatureConfig $featureConfig
*/
public function setFeatureConfig(FeatureConfig $featureConfig)
{
$this->featureConfig = $featureConfig;
}
/**
* @return FeatureConfig
*/
public function getFeatureConfig()
{
return $this->featureConfig;
}
/**
* The configuration of this instance, it is currently immutable once created.
*
* @param InstanceConfig $instanceConfig
*/
public function setInstanceConfig(InstanceConfig $instanceConfig)
{
$this->instanceConfig = $instanceConfig;
}
/**
* @return InstanceConfig
*/
public function getInstanceConfig()
{
return $this->instanceConfig;
}
/**
* Immutable. The KMS key name to encrypt the user input (`ContactCenter`).
*
* @param string $kmsKey
*/
public function setKmsKey($kmsKey)
{
$this->kmsKey = $kmsKey;
}
/**
* @return string
*/
public function getKmsKey()
{
return $this->kmsKey;
}
/**
* Labels as key value pairs
*
* @param string[] $labels
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* name of resource
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Optional. Normal release channel.
*
* @param Normal $normal
*/
public function setNormal(Normal $normal)
{
$this->normal = $normal;
}
/**
* @return Normal
*/
public function getNormal()
{
return $this->normal;
}
/**
* Optional. VPC-SC related networking configuration.
*
* @param PrivateAccess $privateAccess
*/
public function setPrivateAccess(PrivateAccess $privateAccess)
{
$this->privateAccess = $privateAccess;
}
/**
* @return PrivateAccess
*/
public function getPrivateAccess()
{
return $this->privateAccess;
}
/**
* Output only. TODO(b/283407860) Deprecate this field.
*
* @param string[] $privateComponents
*/
public function setPrivateComponents($privateComponents)
{
$this->privateComponents = $privateComponents;
}
/**
* @return string[]
*/
public function getPrivateComponents()
{
return $this->privateComponents;
}
/**
* Output only. Timestamp in UTC of when this resource is going to be hard-
* deleted.
*
* @param string $purgeTime
*/
public function setPurgeTime($purgeTime)
{
$this->purgeTime = $purgeTime;
}
/**
* @return string
*/
public function getPurgeTime()
{
return $this->purgeTime;
}
/**
* Output only. UJET release version, unique for each new release.
*
* @param string $releaseVersion
*/
public function setReleaseVersion($releaseVersion)
{
$this->releaseVersion = $releaseVersion;
}
/**
* @return string
*/
public function getReleaseVersion()
{
return $this->releaseVersion;
}
/**
* Optional. Params that sets up Google as IdP.
*
* @param SAMLParams $samlParams
*/
public function setSamlParams(SAMLParams $samlParams)
{
$this->samlParams = $samlParams;
}
/**
* @return SAMLParams
*/
public function getSamlParams()
{
return $this->samlParams;
}
/**
* Output only. The state of this contact center.
*
* Accepted values: STATE_UNSPECIFIED, STATE_DEPLOYING, STATE_DEPLOYED,
* STATE_TERMINATING, STATE_FAILED, STATE_TERMINATING_FAILED,
* STATE_TERMINATED, STATE_IN_GRACE_PERIOD, STATE_FAILING_OVER,
* STATE_DEGRADED, STATE_REPAIRING, STATE_EXPIRING
*
* @param self::STATE_* $state
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return self::STATE_*
*/
public function getState()
{
return $this->state;
}
/**
* Output only. [Output only] Update time stamp
*
* @param string $updateTime
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
/**
* Output only. URIs to access the deployed ContactCenters.
*
* @param URIs $uris
*/
public function setUris(URIs $uris)
{
$this->uris = $uris;
}
/**
* @return URIs
*/
public function getUris()
{
return $this->uris;
}
/**
* Optional. Email address of the first admin user.
*
* @param string $userEmail
*/
public function setUserEmail($userEmail)
{
$this->userEmail = $userEmail;
}
/**
* @return string
*/
public function getUserEmail()
{
return $this->userEmail;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ContactCenter::class, 'Google_Service_CCAIPlatform_ContactCenter');
@@ -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\CCAIPlatform;
class ContactCenterQuota extends \Google\Collection
{
protected $collection_key = 'quotas';
/**
* Deprecated: Use the Quota fields instead. Reflects the count limit of
* contact centers on a billing account.
*
* @deprecated
* @var int
*/
public $contactCenterCountLimit;
/**
* Deprecated: Use the Quota fields instead. Reflects the count sum of contact
* centers on a billing account.
*
* @deprecated
* @var int
*/
public $contactCenterCountSum;
protected $quotasType = Quota::class;
protected $quotasDataType = 'array';
/**
* Deprecated: Use the Quota fields instead. Reflects the count limit of
* contact centers on a billing account.
*
* @deprecated
* @param int $contactCenterCountLimit
*/
public function setContactCenterCountLimit($contactCenterCountLimit)
{
$this->contactCenterCountLimit = $contactCenterCountLimit;
}
/**
* @deprecated
* @return int
*/
public function getContactCenterCountLimit()
{
return $this->contactCenterCountLimit;
}
/**
* Deprecated: Use the Quota fields instead. Reflects the count sum of contact
* centers on a billing account.
*
* @deprecated
* @param int $contactCenterCountSum
*/
public function setContactCenterCountSum($contactCenterCountSum)
{
$this->contactCenterCountSum = $contactCenterCountSum;
}
/**
* @deprecated
* @return int
*/
public function getContactCenterCountSum()
{
return $this->contactCenterCountSum;
}
/**
* Quota details per contact center instance type.
*
* @param Quota[] $quotas
*/
public function setQuotas($quotas)
{
$this->quotas = $quotas;
}
/**
* @return Quota[]
*/
public function getQuotas()
{
return $this->quotas;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ContactCenterQuota::class, 'Google_Service_CCAIPlatform_ContactCenterQuota');
@@ -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\CCAIPlatform;
class ContactcenteraiplatformEmpty extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ContactcenteraiplatformEmpty::class, 'Google_Service_CCAIPlatform_ContactcenteraiplatformEmpty');
@@ -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\CCAIPlatform;
class Critical extends \Google\Collection
{
protected $collection_key = 'peakHours';
protected $peakHoursType = WeeklySchedule::class;
protected $peakHoursDataType = 'array';
/**
* Required. Hours during which the instance should not be updated.
*
* @param WeeklySchedule[] $peakHours
*/
public function setPeakHours($peakHours)
{
$this->peakHours = $peakHours;
}
/**
* @return WeeklySchedule[]
*/
public function getPeakHours()
{
return $this->peakHours;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Critical::class, 'Google_Service_CCAIPlatform_Critical');
@@ -0,0 +1,100 @@
<?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\CCAIPlatform;
class Date extends \Google\Model
{
/**
* Day of a month. Must be from 1 to 31 and valid for the year and month, or 0
* to specify a year by itself or a year and month where the day isn't
* significant.
*
* @var int
*/
public $day;
/**
* Month of a year. Must be from 1 to 12, or 0 to specify a year without a
* month and day.
*
* @var int
*/
public $month;
/**
* Year of the date. Must be from 1 to 9999, or 0 to specify a date without a
* year.
*
* @var int
*/
public $year;
/**
* Day of a month. Must be from 1 to 31 and valid for the year and month, or 0
* to specify a year by itself or a year and month where the day isn't
* significant.
*
* @param int $day
*/
public function setDay($day)
{
$this->day = $day;
}
/**
* @return int
*/
public function getDay()
{
return $this->day;
}
/**
* Month of a year. Must be from 1 to 12, or 0 to specify a year without a
* month and day.
*
* @param int $month
*/
public function setMonth($month)
{
$this->month = $month;
}
/**
* @return int
*/
public function getMonth()
{
return $this->month;
}
/**
* Year of the date. Must be from 1 to 9999, or 0 to specify a date without a
* year.
*
* @param int $year
*/
public function setYear($year)
{
$this->year = $year;
}
/**
* @return int
*/
public function getYear()
{
return $this->year;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Date::class, 'Google_Service_CCAIPlatform_Date');
@@ -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\CCAIPlatform;
class DateList extends \Google\Collection
{
protected $collection_key = 'values';
protected $valuesType = Date::class;
protected $valuesDataType = 'array';
/**
* Optional. Values in the list.
*
* @param Date[] $values
*/
public function setValues($values)
{
$this->values = $values;
}
/**
* @return Date[]
*/
public function getValues()
{
return $this->values;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DateList::class, 'Google_Service_CCAIPlatform_DateList');
@@ -0,0 +1,236 @@
<?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\CCAIPlatform;
class DateTime extends \Google\Model
{
/**
* Optional. Day of month. Must be from 1 to 31 and valid for the year and
* month, or 0 if specifying a datetime without a day.
*
* @var int
*/
public $day;
/**
* Optional. Hours of day in 24 hour format. Should be from 0 to 23, defaults
* to 0 (midnight). An API may choose to allow the value "24:00:00" for
* scenarios like business closing time.
*
* @var int
*/
public $hours;
/**
* Optional. Minutes of hour of day. Must be from 0 to 59, defaults to 0.
*
* @var int
*/
public $minutes;
/**
* Optional. Month of year. Must be from 1 to 12, or 0 if specifying a
* datetime without a month.
*
* @var int
*/
public $month;
/**
* Optional. Fractions of seconds in nanoseconds. Must be from 0 to
* 999,999,999, defaults to 0.
*
* @var int
*/
public $nanos;
/**
* Optional. Seconds of minutes of the time. Must normally be from 0 to 59,
* defaults to 0. An API may allow the value 60 if it allows leap-seconds.
*
* @var int
*/
public $seconds;
protected $timeZoneType = TimeZone::class;
protected $timeZoneDataType = '';
/**
* UTC offset. Must be whole seconds, between -18 hours and +18 hours. For
* example, a UTC offset of -4:00 would be represented as { seconds: -14400 }.
*
* @var string
*/
public $utcOffset;
/**
* Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a
* datetime without a year.
*
* @var int
*/
public $year;
/**
* Optional. Day of month. Must be from 1 to 31 and valid for the year and
* month, or 0 if specifying a datetime without a day.
*
* @param int $day
*/
public function setDay($day)
{
$this->day = $day;
}
/**
* @return int
*/
public function getDay()
{
return $this->day;
}
/**
* Optional. Hours of day in 24 hour format. Should be from 0 to 23, defaults
* to 0 (midnight). An API may choose to allow the value "24:00:00" for
* scenarios like business closing time.
*
* @param int $hours
*/
public function setHours($hours)
{
$this->hours = $hours;
}
/**
* @return int
*/
public function getHours()
{
return $this->hours;
}
/**
* Optional. Minutes of hour of day. Must be from 0 to 59, defaults to 0.
*
* @param int $minutes
*/
public function setMinutes($minutes)
{
$this->minutes = $minutes;
}
/**
* @return int
*/
public function getMinutes()
{
return $this->minutes;
}
/**
* Optional. Month of year. Must be from 1 to 12, or 0 if specifying a
* datetime without a month.
*
* @param int $month
*/
public function setMonth($month)
{
$this->month = $month;
}
/**
* @return int
*/
public function getMonth()
{
return $this->month;
}
/**
* Optional. Fractions of seconds in nanoseconds. Must be from 0 to
* 999,999,999, defaults to 0.
*
* @param int $nanos
*/
public function setNanos($nanos)
{
$this->nanos = $nanos;
}
/**
* @return int
*/
public function getNanos()
{
return $this->nanos;
}
/**
* Optional. Seconds of minutes of the time. Must normally be from 0 to 59,
* defaults to 0. An API may allow the value 60 if it allows leap-seconds.
*
* @param int $seconds
*/
public function setSeconds($seconds)
{
$this->seconds = $seconds;
}
/**
* @return int
*/
public function getSeconds()
{
return $this->seconds;
}
/**
* Time zone.
*
* @param TimeZone $timeZone
*/
public function setTimeZone(TimeZone $timeZone)
{
$this->timeZone = $timeZone;
}
/**
* @return TimeZone
*/
public function getTimeZone()
{
return $this->timeZone;
}
/**
* UTC offset. Must be whole seconds, between -18 hours and +18 hours. For
* example, a UTC offset of -4:00 would be represented as { seconds: -14400 }.
*
* @param string $utcOffset
*/
public function setUtcOffset($utcOffset)
{
$this->utcOffset = $utcOffset;
}
/**
* @return string
*/
public function getUtcOffset()
{
return $this->utcOffset;
}
/**
* Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a
* datetime without a year.
*
* @param int $year
*/
public function setYear($year)
{
$this->year = $year;
}
/**
* @return int
*/
public function getYear()
{
return $this->year;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DateTime::class, 'Google_Service_CCAIPlatform_DateTime');
@@ -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\CCAIPlatform;
class Early extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Early::class, 'Google_Service_CCAIPlatform_Early');
@@ -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\CCAIPlatform;
class EmployeeInfo extends \Google\Collection
{
protected $collection_key = 'unwantedEventIntervals';
/**
* Required. Unique ID of this employee.
*
* @var string
*/
public $id;
protected $unwantedEventIntervalsType = UnwantedEventInterval::class;
protected $unwantedEventIntervalsDataType = 'array';
/**
* Required. Unique ID of this employee.
*
* @param string $id
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* Optional. A list of unwanted event intervals for this employee. The start
* time of the interval must be in the planning horizon.
*
* @param UnwantedEventInterval[] $unwantedEventIntervals
*/
public function setUnwantedEventIntervals($unwantedEventIntervals)
{
$this->unwantedEventIntervals = $unwantedEventIntervals;
}
/**
* @return UnwantedEventInterval[]
*/
public function getUnwantedEventIntervals()
{
return $this->unwantedEventIntervals;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EmployeeInfo::class, 'Google_Service_CCAIPlatform_EmployeeInfo');
@@ -0,0 +1,150 @@
<?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\CCAIPlatform;
class EventTemplate extends \Google\Model
{
/**
* Required. Fixed duration in minutes of this event.
*
* @var int
*/
public $durationMinutes;
/**
* Required. Unique ID of this template.
*
* @var string
*/
public $id;
/**
* Optional. Maximum number of minutes after the beginning of a shift that
* this event can start.
*
* @var int
*/
public $maximumMinutesAfterShiftStart;
/**
* Optional. Minimum number of minutes after the beginning of a shift that
* this event can start.
*
* @var int
*/
public $minimumMinutesAfterShiftStart;
/**
* Required. The time increment (in minutes) used to generate the set of
* possible event start times between `minimum_minutes_after_shift_start` and
* `maximum_minutes_after_shift_start`. For example, if the minimum minutes
* after shift start are 30, maximum minutes after shift start are 45, and the
* start time increment is 5 minutes, the event can take place 30, 35, 40, or
* 45 minutes after the start of the shift.
*
* @var int
*/
public $startTimeIncrementMinutes;
/**
* Required. Fixed duration in minutes of this event.
*
* @param int $durationMinutes
*/
public function setDurationMinutes($durationMinutes)
{
$this->durationMinutes = $durationMinutes;
}
/**
* @return int
*/
public function getDurationMinutes()
{
return $this->durationMinutes;
}
/**
* Required. Unique ID of this template.
*
* @param string $id
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* Optional. Maximum number of minutes after the beginning of a shift that
* this event can start.
*
* @param int $maximumMinutesAfterShiftStart
*/
public function setMaximumMinutesAfterShiftStart($maximumMinutesAfterShiftStart)
{
$this->maximumMinutesAfterShiftStart = $maximumMinutesAfterShiftStart;
}
/**
* @return int
*/
public function getMaximumMinutesAfterShiftStart()
{
return $this->maximumMinutesAfterShiftStart;
}
/**
* Optional. Minimum number of minutes after the beginning of a shift that
* this event can start.
*
* @param int $minimumMinutesAfterShiftStart
*/
public function setMinimumMinutesAfterShiftStart($minimumMinutesAfterShiftStart)
{
$this->minimumMinutesAfterShiftStart = $minimumMinutesAfterShiftStart;
}
/**
* @return int
*/
public function getMinimumMinutesAfterShiftStart()
{
return $this->minimumMinutesAfterShiftStart;
}
/**
* Required. The time increment (in minutes) used to generate the set of
* possible event start times between `minimum_minutes_after_shift_start` and
* `maximum_minutes_after_shift_start`. For example, if the minimum minutes
* after shift start are 30, maximum minutes after shift start are 45, and the
* start time increment is 5 minutes, the event can take place 30, 35, 40, or
* 45 minutes after the start of the shift.
*
* @param int $startTimeIncrementMinutes
*/
public function setStartTimeIncrementMinutes($startTimeIncrementMinutes)
{
$this->startTimeIncrementMinutes = $startTimeIncrementMinutes;
}
/**
* @return int
*/
public function getStartTimeIncrementMinutes()
{
return $this->startTimeIncrementMinutes;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EventTemplate::class, 'Google_Service_CCAIPlatform_EventTemplate');
@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CCAIPlatform;
class FeatureConfig extends \Google\Model
{
/**
* Optional. If true - enables the agent desktop feature. Default is false.
*
* @var bool
*/
public $agentDesktopEnabled;
/**
* Optional. If true - enables the agent desktop feature. Default is false.
*
* @param bool $agentDesktopEnabled
*/
public function setAgentDesktopEnabled($agentDesktopEnabled)
{
$this->agentDesktopEnabled = $agentDesktopEnabled;
}
/**
* @return bool
*/
public function getAgentDesktopEnabled()
{
return $this->agentDesktopEnabled;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FeatureConfig::class, 'Google_Service_CCAIPlatform_FeatureConfig');
@@ -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\CCAIPlatform;
class GenerateShiftsRequest extends \Google\Collection
{
protected $collection_key = 'shiftTemplates';
protected $employeeInfoType = EmployeeInfo::class;
protected $employeeInfoDataType = 'array';
protected $planningHorizonType = PlanningHorizon::class;
protected $planningHorizonDataType = '';
protected $shiftTemplatesType = ShiftTemplate::class;
protected $shiftTemplatesDataType = 'array';
protected $solverConfigType = SolverConfig::class;
protected $solverConfigDataType = '';
protected $workforceDemandsType = WorkforceDemandList::class;
protected $workforceDemandsDataType = '';
/**
* Optional. Employee information that should be considered when generating
* shifts.
*
* @param EmployeeInfo[] $employeeInfo
*/
public function setEmployeeInfo($employeeInfo)
{
$this->employeeInfo = $employeeInfo;
}
/**
* @return EmployeeInfo[]
*/
public function getEmployeeInfo()
{
return $this->employeeInfo;
}
/**
* Required. The solver will generate the maximum number of shifts per shift
* template.
*
* @param PlanningHorizon $planningHorizon
*/
public function setPlanningHorizon(PlanningHorizon $planningHorizon)
{
$this->planningHorizon = $planningHorizon;
}
/**
* @return PlanningHorizon
*/
public function getPlanningHorizon()
{
return $this->planningHorizon;
}
/**
* Required. Set of shift templates specifying rules for generating shifts. A
* shift template can be used for generating multiple shifts.
*
* @param ShiftTemplate[] $shiftTemplates
*/
public function setShiftTemplates($shiftTemplates)
{
$this->shiftTemplates = $shiftTemplates;
}
/**
* @return ShiftTemplate[]
*/
public function getShiftTemplates()
{
return $this->shiftTemplates;
}
/**
* Required. Parameters for the solver.
*
* @param SolverConfig $solverConfig
*/
public function setSolverConfig(SolverConfig $solverConfig)
{
$this->solverConfig = $solverConfig;
}
/**
* @return SolverConfig
*/
public function getSolverConfig()
{
return $this->solverConfig;
}
/**
* Required. All the workforce demands that the generated shifts need to
* cover. The planning horizon is defined between the earliest start time and
* the latest end time across all the entries. This field cannot be empty.
*
* @param WorkforceDemandList $workforceDemands
*/
public function setWorkforceDemands(WorkforceDemandList $workforceDemands)
{
$this->workforceDemands = $workforceDemands;
}
/**
* @return WorkforceDemandList
*/
public function getWorkforceDemands()
{
return $this->workforceDemands;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GenerateShiftsRequest::class, 'Google_Service_CCAIPlatform_GenerateShiftsRequest');
@@ -0,0 +1,186 @@
<?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\CCAIPlatform;
class GoogleCloudCommonOperationMetadata extends \Google\Model
{
/**
* Output only. API version used to start the operation.
*
* @var string
*/
public $apiVersion;
/**
* Output only. Identifies whether the user has requested cancellation of the
* operation. Operations that have been cancelled successfully have
* google.longrunning.Operation.error value with a google.rpc.Status.code of
* `1`, corresponding to `Code.CANCELLED`.
*
* @var bool
*/
public $cancelRequested;
/**
* Output only. The time the operation was created.
*
* @var string
*/
public $createTime;
/**
* Output only. The time the operation finished running.
*
* @var string
*/
public $endTime;
/**
* Output only. Human-readable status of the operation, if any.
*
* @var string
*/
public $statusDetail;
/**
* Output only. Server-defined resource path for the target of the operation.
*
* @var string
*/
public $target;
/**
* Output only. Name of the verb executed by the operation.
*
* @var string
*/
public $verb;
/**
* Output only. API version used to start the operation.
*
* @param string $apiVersion
*/
public function setApiVersion($apiVersion)
{
$this->apiVersion = $apiVersion;
}
/**
* @return string
*/
public function getApiVersion()
{
return $this->apiVersion;
}
/**
* Output only. Identifies whether the user has requested cancellation of the
* operation. Operations that have been cancelled successfully have
* google.longrunning.Operation.error value with a google.rpc.Status.code of
* `1`, corresponding to `Code.CANCELLED`.
*
* @param bool $cancelRequested
*/
public function setCancelRequested($cancelRequested)
{
$this->cancelRequested = $cancelRequested;
}
/**
* @return bool
*/
public function getCancelRequested()
{
return $this->cancelRequested;
}
/**
* Output only. The time the operation was created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Output only. The time the operation finished running.
*
* @param string $endTime
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* Output only. Human-readable status of the operation, if any.
*
* @param string $statusDetail
*/
public function setStatusDetail($statusDetail)
{
$this->statusDetail = $statusDetail;
}
/**
* @return string
*/
public function getStatusDetail()
{
return $this->statusDetail;
}
/**
* Output only. Server-defined resource path for the target of the operation.
*
* @param string $target
*/
public function setTarget($target)
{
$this->target = $target;
}
/**
* @return string
*/
public function getTarget()
{
return $this->target;
}
/**
* Output only. Name of the verb executed by the operation.
*
* @param string $verb
*/
public function setVerb($verb)
{
$this->verb = $verb;
}
/**
* @return string
*/
public function getVerb()
{
return $this->verb;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudCommonOperationMetadata::class, 'Google_Service_CCAIPlatform_GoogleCloudCommonOperationMetadata');
@@ -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\CCAIPlatform;
class InstanceConfig extends \Google\Model
{
/**
* The default value. This value is used if the state is omitted.
*/
public const INSTANCE_SIZE_INSTANCE_SIZE_UNSPECIFIED = 'INSTANCE_SIZE_UNSPECIFIED';
/**
* Instance Size STANDARD_SMALL.
*/
public const INSTANCE_SIZE_STANDARD_SMALL = 'STANDARD_SMALL';
/**
* Instance Size STANDARD_MEDIUM.
*/
public const INSTANCE_SIZE_STANDARD_MEDIUM = 'STANDARD_MEDIUM';
/**
* Instance Size STANDARD_LARGE.
*/
public const INSTANCE_SIZE_STANDARD_LARGE = 'STANDARD_LARGE';
/**
* Instance Size STANDARD_XLARGE.
*/
public const INSTANCE_SIZE_STANDARD_XLARGE = 'STANDARD_XLARGE';
/**
* Instance Size STANDARD_2XLARGE.
*/
public const INSTANCE_SIZE_STANDARD_2XLARGE = 'STANDARD_2XLARGE';
/**
* Instance Size STANDARD_3XLARGE.
*/
public const INSTANCE_SIZE_STANDARD_3XLARGE = 'STANDARD_3XLARGE';
/**
* Instance Size MULTIREGION_SMALL
*/
public const INSTANCE_SIZE_MULTIREGION_SMALL = 'MULTIREGION_SMALL';
/**
* Instance Size MULTIREGION_MEDIUM
*/
public const INSTANCE_SIZE_MULTIREGION_MEDIUM = 'MULTIREGION_MEDIUM';
/**
* Instance Size MULTIREGION_LARGE
*/
public const INSTANCE_SIZE_MULTIREGION_LARGE = 'MULTIREGION_LARGE';
/**
* Instance Size MULTIREGION_XLARGE
*/
public const INSTANCE_SIZE_MULTIREGION_XLARGE = 'MULTIREGION_XLARGE';
/**
* Instance Size MULTIREGION_2XLARGE.
*/
public const INSTANCE_SIZE_MULTIREGION_2XLARGE = 'MULTIREGION_2XLARGE';
/**
* Instance Size MULTIREGION_3XLARGE.
*/
public const INSTANCE_SIZE_MULTIREGION_3XLARGE = 'MULTIREGION_3XLARGE';
/**
* Instance Size DEV_SMALL
*/
public const INSTANCE_SIZE_DEV_SMALL = 'DEV_SMALL';
/**
* Instance Size SANDBOX_SMALL
*/
public const INSTANCE_SIZE_SANDBOX_SMALL = 'SANDBOX_SMALL';
/**
* Instance Size TRIAL_SMALL
*/
public const INSTANCE_SIZE_TRIAL_SMALL = 'TRIAL_SMALL';
/**
* Instance Size TIME_LIMITED_TRIAL_SMALL
*/
public const INSTANCE_SIZE_TIME_LIMITED_TRIAL_SMALL = 'TIME_LIMITED_TRIAL_SMALL';
/**
* The instance size of this the instance configuration.
*
* @var string
*/
public $instanceSize;
/**
* The instance size of this the instance configuration.
*
* Accepted values: INSTANCE_SIZE_UNSPECIFIED, STANDARD_SMALL,
* STANDARD_MEDIUM, STANDARD_LARGE, STANDARD_XLARGE, STANDARD_2XLARGE,
* STANDARD_3XLARGE, MULTIREGION_SMALL, MULTIREGION_MEDIUM, MULTIREGION_LARGE,
* MULTIREGION_XLARGE, MULTIREGION_2XLARGE, MULTIREGION_3XLARGE, DEV_SMALL,
* SANDBOX_SMALL, TRIAL_SMALL, TIME_LIMITED_TRIAL_SMALL
*
* @param self::INSTANCE_SIZE_* $instanceSize
*/
public function setInstanceSize($instanceSize)
{
$this->instanceSize = $instanceSize;
}
/**
* @return self::INSTANCE_SIZE_*
*/
public function getInstanceSize()
{
return $this->instanceSize;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(InstanceConfig::class, 'Google_Service_CCAIPlatform_InstanceConfig');
@@ -0,0 +1,89 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CCAIPlatform;
class ListContactCentersResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
protected $contactCentersType = ContactCenter::class;
protected $contactCentersDataType = 'array';
/**
* A token identifying a page of results the server should return.
*
* @var string
*/
public $nextPageToken;
/**
* Locations that could not be reached.
*
* @var string[]
*/
public $unreachable;
/**
* The list of ContactCenter
*
* @param ContactCenter[] $contactCenters
*/
public function setContactCenters($contactCenters)
{
$this->contactCenters = $contactCenters;
}
/**
* @return ContactCenter[]
*/
public function getContactCenters()
{
return $this->contactCenters;
}
/**
* A token identifying a page of results the server should return.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* Locations that could not be reached.
*
* @param string[] $unreachable
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListContactCentersResponse::class, 'Google_Service_CCAIPlatform_ListContactCentersResponse');
@@ -0,0 +1,67 @@
<?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\CCAIPlatform;
class ListLocationsResponse extends \Google\Collection
{
protected $collection_key = 'locations';
protected $locationsType = Location::class;
protected $locationsDataType = 'array';
/**
* The standard List next-page token.
*
* @var string
*/
public $nextPageToken;
/**
* A list of locations that matches the specified filter in the request.
*
* @param Location[] $locations
*/
public function setLocations($locations)
{
$this->locations = $locations;
}
/**
* @return Location[]
*/
public function getLocations()
{
return $this->locations;
}
/**
* The standard List next-page token.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListLocationsResponse::class, 'Google_Service_CCAIPlatform_ListLocationsResponse');
@@ -0,0 +1,95 @@
<?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\CCAIPlatform;
class ListOperationsResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
/**
* The standard List next-page token.
*
* @var string
*/
public $nextPageToken;
protected $operationsType = Operation::class;
protected $operationsDataType = 'array';
/**
* Unordered list. Unreachable resources. Populated when the request sets
* `ListOperationsRequest.return_partial_success` and reads across
* collections. For example, when attempting to list all resources across all
* supported locations.
*
* @var string[]
*/
public $unreachable;
/**
* The standard List next-page token.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* A list of operations that matches the specified filter in the request.
*
* @param Operation[] $operations
*/
public function setOperations($operations)
{
$this->operations = $operations;
}
/**
* @return Operation[]
*/
public function getOperations()
{
return $this->operations;
}
/**
* Unordered list. Unreachable resources. Populated when the request sets
* `ListOperationsRequest.return_partial_success` and reads across
* collections. For example, when attempting to list all resources across all
* supported locations.
*
* @param string[] $unreachable
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListOperationsResponse::class, 'Google_Service_CCAIPlatform_ListOperationsResponse');
@@ -0,0 +1,144 @@
<?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\CCAIPlatform;
class Location extends \Google\Model
{
/**
* The friendly name for this location, typically a nearby city name. For
* example, "Tokyo".
*
* @var string
*/
public $displayName;
/**
* Cross-service attributes for the location. For example
* {"cloud.googleapis.com/region": "us-east1"}
*
* @var string[]
*/
public $labels;
/**
* The canonical id for this location. For example: `"us-east1"`.
*
* @var string
*/
public $locationId;
/**
* Service-specific metadata. For example the available capacity at the given
* location.
*
* @var array[]
*/
public $metadata;
/**
* Resource name for the location, which may vary between implementations. For
* example: `"projects/example-project/locations/us-east1"`
*
* @var string
*/
public $name;
/**
* The friendly name for this location, typically a nearby city name. For
* example, "Tokyo".
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* Cross-service attributes for the location. For example
* {"cloud.googleapis.com/region": "us-east1"}
*
* @param string[] $labels
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* The canonical id for this location. For example: `"us-east1"`.
*
* @param string $locationId
*/
public function setLocationId($locationId)
{
$this->locationId = $locationId;
}
/**
* @return string
*/
public function getLocationId()
{
return $this->locationId;
}
/**
* Service-specific metadata. For example the available capacity at the given
* location.
*
* @param array[] $metadata
*/
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
/**
* @return array[]
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* Resource name for the location, which may vary between implementations. For
* example: `"projects/example-project/locations/us-east1"`
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Location::class, 'Google_Service_CCAIPlatform_Location');
@@ -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\CCAIPlatform;
class Normal extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Normal::class, 'Google_Service_CCAIPlatform_Normal');
@@ -0,0 +1,158 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CCAIPlatform;
class Operation extends \Google\Model
{
/**
* If the value is `false`, it means the operation is still in progress. If
* `true`, the operation is completed, and either `error` or `response` is
* available.
*
* @var bool
*/
public $done;
protected $errorType = Status::class;
protected $errorDataType = '';
/**
* Service-specific metadata associated with the operation. It typically
* contains progress information and common metadata such as create time. Some
* services might not provide such metadata. Any method that returns a long-
* running operation should document the metadata type, if any.
*
* @var array[]
*/
public $metadata;
/**
* The server-assigned name, which is only unique within the same service that
* originally returns it. If you use the default HTTP mapping, the `name`
* should be a resource name ending with `operations/{unique_id}`.
*
* @var string
*/
public $name;
/**
* The normal, successful response of the operation. If the original method
* returns no data on success, such as `Delete`, the response is
* `google.protobuf.Empty`. If the original method is standard
* `Get`/`Create`/`Update`, the response should be the resource. For other
* methods, the response should have the type `XxxResponse`, where `Xxx` is
* the original method name. For example, if the original method name is
* `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
*
* @var array[]
*/
public $response;
/**
* If the value is `false`, it means the operation is still in progress. If
* `true`, the operation is completed, and either `error` or `response` is
* available.
*
* @param bool $done
*/
public function setDone($done)
{
$this->done = $done;
}
/**
* @return bool
*/
public function getDone()
{
return $this->done;
}
/**
* The error result of the operation in case of failure or cancellation.
*
* @param Status $error
*/
public function setError(Status $error)
{
$this->error = $error;
}
/**
* @return Status
*/
public function getError()
{
return $this->error;
}
/**
* Service-specific metadata associated with the operation. It typically
* contains progress information and common metadata such as create time. Some
* services might not provide such metadata. Any method that returns a long-
* running operation should document the metadata type, if any.
*
* @param array[] $metadata
*/
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
/**
* @return array[]
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* The server-assigned name, which is only unique within the same service that
* originally returns it. If you use the default HTTP mapping, the `name`
* should be a resource name ending with `operations/{unique_id}`.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* The normal, successful response of the operation. If the original method
* returns no data on success, such as `Delete`, the response is
* `google.protobuf.Empty`. If the original method is standard
* `Get`/`Create`/`Update`, the response should be the resource. For other
* methods, the response should have the type `XxxResponse`, where `Xxx` is
* the original method name. For example, if the original method name is
* `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
*
* @param array[] $response
*/
public function setResponse($response)
{
$this->response = $response;
}
/**
* @return array[]
*/
public function getResponse()
{
return $this->response;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Operation::class, 'Google_Service_CCAIPlatform_Operation');
@@ -0,0 +1,204 @@
<?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\CCAIPlatform;
class OperationMetadata extends \Google\Model
{
/**
* Output only. API version used to start the operation.
*
* @var string
*/
public $apiVersion;
protected $contactCenterType = ContactCenter::class;
protected $contactCenterDataType = '';
/**
* Output only. The time the operation was created.
*
* @var string
*/
public $createTime;
/**
* Output only. The time the operation finished running.
*
* @var string
*/
public $endTime;
/**
* Output only. Identifies whether the user has requested cancellation of the
* operation. Operations that have been cancelled successfully have
* Operation.error value with a google.rpc.Status.code of 1, corresponding to
* `Code.CANCELLED`.
*
* @var bool
*/
public $requestedCancellation;
/**
* Output only. Human-readable status of the operation, if any.
*
* @var string
*/
public $statusMessage;
/**
* Output only. Server-defined resource path for the target of the operation.
*
* @var string
*/
public $target;
/**
* Output only. Name of the verb executed by the operation.
*
* @var string
*/
public $verb;
/**
* Output only. API version used to start the operation.
*
* @param string $apiVersion
*/
public function setApiVersion($apiVersion)
{
$this->apiVersion = $apiVersion;
}
/**
* @return string
*/
public function getApiVersion()
{
return $this->apiVersion;
}
/**
* Contact center information for this request
*
* @param ContactCenter $contactCenter
*/
public function setContactCenter(ContactCenter $contactCenter)
{
$this->contactCenter = $contactCenter;
}
/**
* @return ContactCenter
*/
public function getContactCenter()
{
return $this->contactCenter;
}
/**
* Output only. The time the operation was created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Output only. The time the operation finished running.
*
* @param string $endTime
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* Output only. Identifies whether the user has requested cancellation of the
* operation. Operations that have been cancelled successfully have
* Operation.error value with a google.rpc.Status.code of 1, corresponding to
* `Code.CANCELLED`.
*
* @param bool $requestedCancellation
*/
public function setRequestedCancellation($requestedCancellation)
{
$this->requestedCancellation = $requestedCancellation;
}
/**
* @return bool
*/
public function getRequestedCancellation()
{
return $this->requestedCancellation;
}
/**
* Output only. Human-readable status of the operation, if any.
*
* @param string $statusMessage
*/
public function setStatusMessage($statusMessage)
{
$this->statusMessage = $statusMessage;
}
/**
* @return string
*/
public function getStatusMessage()
{
return $this->statusMessage;
}
/**
* Output only. Server-defined resource path for the target of the operation.
*
* @param string $target
*/
public function setTarget($target)
{
$this->target = $target;
}
/**
* @return string
*/
public function getTarget()
{
return $this->target;
}
/**
* Output only. Name of the verb executed by the operation.
*
* @param string $verb
*/
public function setVerb($verb)
{
$this->verb = $verb;
}
/**
* @return string
*/
public function getVerb()
{
return $this->verb;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(OperationMetadata::class, 'Google_Service_CCAIPlatform_OperationMetadata');
@@ -0,0 +1,66 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CCAIPlatform;
class PlanningHorizon extends \Google\Model
{
protected $endTimeType = DateTime::class;
protected $endTimeDataType = '';
protected $startTimeType = DateTime::class;
protected $startTimeDataType = '';
/**
* Required. End of the time interval for the given demand (exclusive). These
* values are read down to the minute; seconds and all smaller units are
* ignored.
*
* @param DateTime $endTime
*/
public function setEndTime(DateTime $endTime)
{
$this->endTime = $endTime;
}
/**
* @return DateTime
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* Required. Start of the time interval for the given demand (inclusive).
* These values are read down to the minute; seconds and all smaller units are
* ignored.
*
* @param DateTime $startTime
*/
public function setStartTime(DateTime $startTime)
{
$this->startTime = $startTime;
}
/**
* @return DateTime
*/
public function getStartTime()
{
return $this->startTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PlanningHorizon::class, 'Google_Service_CCAIPlatform_PlanningHorizon');
@@ -0,0 +1,83 @@
<?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\CCAIPlatform;
class PrivateAccess extends \Google\Collection
{
protected $collection_key = 'ingressSettings';
protected $egressSettingsType = Component::class;
protected $egressSettingsDataType = 'array';
protected $ingressSettingsType = Component::class;
protected $ingressSettingsDataType = 'array';
protected $pscSettingType = PscSetting::class;
protected $pscSettingDataType = '';
/**
* List of egress components that should not be accessed via the Internet. For
* more information see go/ccaip-private-path-v2.
*
* @param Component[] $egressSettings
*/
public function setEgressSettings($egressSettings)
{
$this->egressSettings = $egressSettings;
}
/**
* @return Component[]
*/
public function getEgressSettings()
{
return $this->egressSettings;
}
/**
* List of ingress components that should not be accessed via the Internet.
* For more information see go/ccaip-private-path-v2.
*
* @param Component[] $ingressSettings
*/
public function setIngressSettings($ingressSettings)
{
$this->ingressSettings = $ingressSettings;
}
/**
* @return Component[]
*/
public function getIngressSettings()
{
return $this->ingressSettings;
}
/**
* Private service connect settings.
*
* @param PscSetting $pscSetting
*/
public function setPscSetting(PscSetting $pscSetting)
{
$this->pscSetting = $pscSetting;
}
/**
* @return PscSetting
*/
public function getPscSetting()
{
return $this->pscSetting;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PrivateAccess::class, 'Google_Service_CCAIPlatform_PrivateAccess');
@@ -0,0 +1,73 @@
<?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\CCAIPlatform;
class PscSetting extends \Google\Collection
{
protected $collection_key = 'producerProjectIds';
/**
* The list of project ids that are allowed to send traffic to the service
* attachment. This field should be filled only for the ingress components.
*
* @var string[]
*/
public $allowedConsumerProjectIds;
/**
* Output only. The CCAIP tenant project ids.
*
* @var string[]
*/
public $producerProjectIds;
/**
* The list of project ids that are allowed to send traffic to the service
* attachment. This field should be filled only for the ingress components.
*
* @param string[] $allowedConsumerProjectIds
*/
public function setAllowedConsumerProjectIds($allowedConsumerProjectIds)
{
$this->allowedConsumerProjectIds = $allowedConsumerProjectIds;
}
/**
* @return string[]
*/
public function getAllowedConsumerProjectIds()
{
return $this->allowedConsumerProjectIds;
}
/**
* Output only. The CCAIP tenant project ids.
*
* @param string[] $producerProjectIds
*/
public function setProducerProjectIds($producerProjectIds)
{
$this->producerProjectIds = $producerProjectIds;
}
/**
* @return string[]
*/
public function getProducerProjectIds()
{
return $this->producerProjectIds;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PscSetting::class, 'Google_Service_CCAIPlatform_PscSetting');
@@ -0,0 +1,166 @@
<?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\CCAIPlatform;
class Quota extends \Google\Model
{
/**
* The default value. This value is used if the state is omitted.
*/
public const CONTACT_CENTER_INSTANCE_SIZE_INSTANCE_SIZE_UNSPECIFIED = 'INSTANCE_SIZE_UNSPECIFIED';
/**
* Instance Size STANDARD_SMALL.
*/
public const CONTACT_CENTER_INSTANCE_SIZE_STANDARD_SMALL = 'STANDARD_SMALL';
/**
* Instance Size STANDARD_MEDIUM.
*/
public const CONTACT_CENTER_INSTANCE_SIZE_STANDARD_MEDIUM = 'STANDARD_MEDIUM';
/**
* Instance Size STANDARD_LARGE.
*/
public const CONTACT_CENTER_INSTANCE_SIZE_STANDARD_LARGE = 'STANDARD_LARGE';
/**
* Instance Size STANDARD_XLARGE.
*/
public const CONTACT_CENTER_INSTANCE_SIZE_STANDARD_XLARGE = 'STANDARD_XLARGE';
/**
* Instance Size STANDARD_2XLARGE.
*/
public const CONTACT_CENTER_INSTANCE_SIZE_STANDARD_2XLARGE = 'STANDARD_2XLARGE';
/**
* Instance Size STANDARD_3XLARGE.
*/
public const CONTACT_CENTER_INSTANCE_SIZE_STANDARD_3XLARGE = 'STANDARD_3XLARGE';
/**
* Instance Size MULTIREGION_SMALL
*/
public const CONTACT_CENTER_INSTANCE_SIZE_MULTIREGION_SMALL = 'MULTIREGION_SMALL';
/**
* Instance Size MULTIREGION_MEDIUM
*/
public const CONTACT_CENTER_INSTANCE_SIZE_MULTIREGION_MEDIUM = 'MULTIREGION_MEDIUM';
/**
* Instance Size MULTIREGION_LARGE
*/
public const CONTACT_CENTER_INSTANCE_SIZE_MULTIREGION_LARGE = 'MULTIREGION_LARGE';
/**
* Instance Size MULTIREGION_XLARGE
*/
public const CONTACT_CENTER_INSTANCE_SIZE_MULTIREGION_XLARGE = 'MULTIREGION_XLARGE';
/**
* Instance Size MULTIREGION_2XLARGE.
*/
public const CONTACT_CENTER_INSTANCE_SIZE_MULTIREGION_2XLARGE = 'MULTIREGION_2XLARGE';
/**
* Instance Size MULTIREGION_3XLARGE.
*/
public const CONTACT_CENTER_INSTANCE_SIZE_MULTIREGION_3XLARGE = 'MULTIREGION_3XLARGE';
/**
* Instance Size DEV_SMALL
*/
public const CONTACT_CENTER_INSTANCE_SIZE_DEV_SMALL = 'DEV_SMALL';
/**
* Instance Size SANDBOX_SMALL
*/
public const CONTACT_CENTER_INSTANCE_SIZE_SANDBOX_SMALL = 'SANDBOX_SMALL';
/**
* Instance Size TRIAL_SMALL
*/
public const CONTACT_CENTER_INSTANCE_SIZE_TRIAL_SMALL = 'TRIAL_SMALL';
/**
* Instance Size TIME_LIMITED_TRIAL_SMALL
*/
public const CONTACT_CENTER_INSTANCE_SIZE_TIME_LIMITED_TRIAL_SMALL = 'TIME_LIMITED_TRIAL_SMALL';
/**
* Reflects the count limit of contact centers on a billing account.
*
* @var int
*/
public $contactCenterCountLimit;
/**
* Reflects the count sum of contact centers on a billing account.
*
* @var int
*/
public $contactCenterCountSum;
/**
* Contact center instance type.
*
* @var string
*/
public $contactCenterInstanceSize;
/**
* Reflects the count limit of contact centers on a billing account.
*
* @param int $contactCenterCountLimit
*/
public function setContactCenterCountLimit($contactCenterCountLimit)
{
$this->contactCenterCountLimit = $contactCenterCountLimit;
}
/**
* @return int
*/
public function getContactCenterCountLimit()
{
return $this->contactCenterCountLimit;
}
/**
* Reflects the count sum of contact centers on a billing account.
*
* @param int $contactCenterCountSum
*/
public function setContactCenterCountSum($contactCenterCountSum)
{
$this->contactCenterCountSum = $contactCenterCountSum;
}
/**
* @return int
*/
public function getContactCenterCountSum()
{
return $this->contactCenterCountSum;
}
/**
* Contact center instance type.
*
* Accepted values: INSTANCE_SIZE_UNSPECIFIED, STANDARD_SMALL,
* STANDARD_MEDIUM, STANDARD_LARGE, STANDARD_XLARGE, STANDARD_2XLARGE,
* STANDARD_3XLARGE, MULTIREGION_SMALL, MULTIREGION_MEDIUM, MULTIREGION_LARGE,
* MULTIREGION_XLARGE, MULTIREGION_2XLARGE, MULTIREGION_3XLARGE, DEV_SMALL,
* SANDBOX_SMALL, TRIAL_SMALL, TIME_LIMITED_TRIAL_SMALL
*
* @param self::CONTACT_CENTER_INSTANCE_SIZE_* $contactCenterInstanceSize
*/
public function setContactCenterInstanceSize($contactCenterInstanceSize)
{
$this->contactCenterInstanceSize = $contactCenterInstanceSize;
}
/**
* @return self::CONTACT_CENTER_INSTANCE_SIZE_*
*/
public function getContactCenterInstanceSize()
{
return $this->contactCenterInstanceSize;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Quota::class, 'Google_Service_CCAIPlatform_Quota');
@@ -0,0 +1,33 @@
<?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\CCAIPlatform\Resource;
/**
* The "projects" collection of methods.
* Typical usage is:
* <code>
* $contactcenteraiplatformService = new Google\Service\CCAIPlatform(...);
* $projects = $contactcenteraiplatformService->projects;
* </code>
*/
class Projects extends \Google\Service\Resource
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Projects::class, 'Google_Service_CCAIPlatform_Resource_Projects');
@@ -0,0 +1,121 @@
<?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\CCAIPlatform\Resource;
use Google\Service\CCAIPlatform\ContactCenterQuota;
use Google\Service\CCAIPlatform\GenerateShiftsRequest;
use Google\Service\CCAIPlatform\ListLocationsResponse;
use Google\Service\CCAIPlatform\Location;
use Google\Service\CCAIPlatform\Operation;
/**
* The "locations" collection of methods.
* Typical usage is:
* <code>
* $contactcenteraiplatformService = new Google\Service\CCAIPlatform(...);
* $locations = $contactcenteraiplatformService->projects_locations;
* </code>
*/
class ProjectsLocations extends \Google\Service\Resource
{
/**
* Generates shifts constrained by various parameters.
* (locations.generateShifts)
*
* @param string $parent Required. Name of the parent resource associated with
* the request. Format: projects/{project}/locations/{location}
* @param GenerateShiftsRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function generateShifts($parent, GenerateShiftsRequest $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('generateShifts', [$params], Operation::class);
}
/**
* Gets information about a location. (locations.get)
*
* @param string $name Resource name for the location.
* @param array $optParams Optional parameters.
* @return Location
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Location::class);
}
/**
* Lists information about the supported locations for this service. This method
* lists locations based on the resource scope provided in the
* ListLocationsRequest.name field: * **Global locations**: If `name` is empty,
* the method lists the public locations available to all projects. * **Project-
* specific locations**: If `name` follows the format `projects/{project}`, the
* method lists locations visible to that specific project. This includes
* public, private, or other project-specific locations enabled for the project.
* For gRPC and client library implementations, the resource name is passed as
* the `name` field. For direct service calls, the resource name is incorporated
* into the request path based on the specific service implementation and
* version. (locations.listProjectsLocations)
*
* @param string $name The resource that owns the locations collection, if
* applicable.
* @param array $optParams Optional parameters.
*
* @opt_param string extraLocationTypes Optional. Do not use this field unless
* explicitly documented otherwise. This is primarily for internal usage.
* @opt_param string filter A filter to narrow down results to a preferred
* subset. The filtering language accepts strings like `"displayName=tokyo"`,
* and is documented in more detail in [AIP-160](https://google.aip.dev/160).
* @opt_param int pageSize The maximum number of results to return. If not set,
* the service selects a default.
* @opt_param string pageToken A page token received from the `next_page_token`
* field in the response. Send that page token to receive the subsequent page.
* @return ListLocationsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocations($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListLocationsResponse::class);
}
/**
* Queries the contact center quota, an aggregation over all the projects, that
* belongs to the billing account, which the input project belongs to.
* (locations.queryContactCenterQuota)
*
* @param string $parent Required. Parent project resource id.
* @param array $optParams Optional parameters.
* @return ContactCenterQuota
* @throws \Google\Service\Exception
*/
public function queryContactCenterQuota($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('queryContactCenterQuota', [$params], ContactCenterQuota::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocations::class, 'Google_Service_CCAIPlatform_Resource_ProjectsLocations');
@@ -0,0 +1,162 @@
<?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\CCAIPlatform\Resource;
use Google\Service\CCAIPlatform\ContactCenter;
use Google\Service\CCAIPlatform\ListContactCentersResponse;
use Google\Service\CCAIPlatform\Operation;
/**
* The "contactCenters" collection of methods.
* Typical usage is:
* <code>
* $contactcenteraiplatformService = new Google\Service\CCAIPlatform(...);
* $contactCenters = $contactcenteraiplatformService->projects_locations_contactCenters;
* </code>
*/
class ProjectsLocationsContactCenters extends \Google\Service\Resource
{
/**
* Creates a new ContactCenter in a given project and location.
* (contactCenters.create)
*
* @param string $parent Required. Value for parent.
* @param ContactCenter $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string contactCenterId Required. Id of the requesting object If
* auto-generating Id server-side, remove this field and contact_center_id from
* the method_signature of Create RPC
* @opt_param string requestId Optional. An optional request ID to identify
* requests. Specify a unique request ID so that if you must retry your request,
* the server will know to ignore the request if it has already been completed.
* The server will guarantee that for at least 60 minutes since the first
* request. For example, consider a situation where you make an initial request
* and the request times out. If you make the request again with the same
* request ID, the server can check if original operation with the same request
* ID was received, and if so, will ignore the second request. This prevents
* clients from accidentally creating duplicate commitments. The request ID must
* be a valid UUID with the exception that zero UUID is not supported
* (00000000-0000-0000-0000-000000000000).
* @return Operation
* @throws \Google\Service\Exception
*/
public function create($parent, ContactCenter $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Operation::class);
}
/**
* Deletes a single ContactCenter. (contactCenters.delete)
*
* @param string $name Required. Name of the resource
* @param array $optParams Optional parameters.
*
* @opt_param string requestId Optional. An optional request ID to identify
* requests. Specify a unique request ID so that if you must retry your request,
* the server will know to ignore the request if it has already been completed.
* The server will guarantee that for at least 60 minutes after the first
* request. For example, consider a situation where you make an initial request
* and the request times out. If you make the request again with the same
* request ID, the server can check if original operation with the same request
* ID was received, and if so, will ignore the second request. This prevents
* clients from accidentally creating duplicate commitments. The request ID must
* be a valid UUID with the exception that zero UUID is not supported
* (00000000-0000-0000-0000-000000000000).
* @return Operation
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], Operation::class);
}
/**
* Gets details of a single ContactCenter. (contactCenters.get)
*
* @param string $name Required. Name of the resource
* @param array $optParams Optional parameters.
* @return ContactCenter
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], ContactCenter::class);
}
/**
* Lists ContactCenters in a given project and location.
* (contactCenters.listProjectsLocationsContactCenters)
*
* @param string $parent Required. Parent value for ListContactCentersRequest
* @param array $optParams Optional parameters.
*
* @opt_param string filter Filtering results
* @opt_param string orderBy Hint for how to order the results
* @opt_param int pageSize Requested page size. Server may return fewer items
* than requested. If unspecified, server will pick an appropriate default.
* @opt_param string pageToken A token identifying a page of results the server
* should return.
* @return ListContactCentersResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsContactCenters($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListContactCentersResponse::class);
}
/**
* Updates the parameters of a single ContactCenter. (contactCenters.patch)
*
* @param string $name name of resource
* @param ContactCenter $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string requestId Optional. An optional request ID to identify
* requests. Specify a unique request ID so that if you must retry your request,
* the server will know to ignore the request if it has already been completed.
* The server will guarantee that for at least 60 minutes since the first
* request. For example, consider a situation where you make an initial request
* and the request times out. If you make the request again with the same
* request ID, the server can check if original operation with the same request
* ID was received, and if so, will ignore the second request. This prevents
* clients from accidentally creating duplicate commitments. The request ID must
* be a valid UUID with the exception that zero UUID is not supported
* (00000000-0000-0000-0000-000000000000).
* @opt_param string updateMask Required. Field mask is used to specify the
* fields to be overwritten in the ContactCenter resource by the update. The
* fields specified in the update_mask are relative to the resource, not the
* full request. A field will be overwritten if it is in the mask. If the user
* does not provide a mask then all fields will be overwritten.
* @return Operation
* @throws \Google\Service\Exception
*/
public function patch($name, ContactCenter $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], Operation::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsContactCenters::class, 'Google_Service_CCAIPlatform_Resource_ProjectsLocationsContactCenters');
@@ -0,0 +1,121 @@
<?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\CCAIPlatform\Resource;
use Google\Service\CCAIPlatform\CancelOperationRequest;
use Google\Service\CCAIPlatform\ContactcenteraiplatformEmpty;
use Google\Service\CCAIPlatform\ListOperationsResponse;
use Google\Service\CCAIPlatform\Operation;
/**
* The "operations" collection of methods.
* Typical usage is:
* <code>
* $contactcenteraiplatformService = new Google\Service\CCAIPlatform(...);
* $operations = $contactcenteraiplatformService->projects_locations_operations;
* </code>
*/
class ProjectsLocationsOperations extends \Google\Service\Resource
{
/**
* Starts asynchronous cancellation on a long-running operation. The server
* makes a best effort to cancel the operation, but success is not guaranteed.
* If the server doesn't support this method, it returns
* `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or
* other methods to check whether the cancellation succeeded or whether the
* operation completed despite cancellation. On successful cancellation, the
* operation is not deleted; instead, it becomes an operation with an
* Operation.error value with a google.rpc.Status.code of `1`, corresponding to
* `Code.CANCELLED`. (operations.cancel)
*
* @param string $name The name of the operation resource to be cancelled.
* @param CancelOperationRequest $postBody
* @param array $optParams Optional parameters.
* @return ContactcenteraiplatformEmpty
* @throws \Google\Service\Exception
*/
public function cancel($name, CancelOperationRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('cancel', [$params], ContactcenteraiplatformEmpty::class);
}
/**
* Deletes a long-running operation. This method indicates that the client is no
* longer interested in the operation result. It does not cancel the operation.
* If the server doesn't support this method, it returns
* `google.rpc.Code.UNIMPLEMENTED`. (operations.delete)
*
* @param string $name The name of the operation resource to be deleted.
* @param array $optParams Optional parameters.
* @return ContactcenteraiplatformEmpty
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], ContactcenteraiplatformEmpty::class);
}
/**
* Gets the latest state of a long-running operation. Clients can use this
* method to poll the operation result at intervals as recommended by the API
* service. (operations.get)
*
* @param string $name The name of the operation resource.
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Operation::class);
}
/**
* Lists operations that match the specified filter in the request. If the
* server doesn't support this method, it returns `UNIMPLEMENTED`.
* (operations.listProjectsLocationsOperations)
*
* @param string $name The name of the operation's parent resource.
* @param array $optParams Optional parameters.
*
* @opt_param string filter The standard list filter.
* @opt_param int pageSize The standard list page size.
* @opt_param string pageToken The standard list page token.
* @opt_param bool returnPartialSuccess When set to `true`, operations that are
* reachable are returned as normal, and those that are unreachable are returned
* in the ListOperationsResponse.unreachable field. This can only be `true` when
* reading across collections. For example, when `parent` is set to
* `"projects/example/locations/-"`. This field is not supported by default and
* will result in an `UNIMPLEMENTED` error if set unless explicitly documented
* otherwise in service or product specific documentation.
* @return ListOperationsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsOperations($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListOperationsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsOperations::class, 'Google_Service_CCAIPlatform_Resource_ProjectsLocationsOperations');
@@ -0,0 +1,162 @@
<?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\CCAIPlatform;
class SAMLParams extends \Google\Collection
{
protected $collection_key = 'authenticationContexts';
/**
* Additional contexts used for authentication.
*
* @var string[]
*/
public $authenticationContexts;
/**
* SAML certificate
*
* @var string
*/
public $certificate;
/**
* IdP field that maps to the users email address
*
* @var string
*/
public $emailMapping;
/**
* Entity id URL
*
* @var string
*/
public $entityId;
/**
* Single sign-on URL
*
* @var string
*/
public $ssoUri;
/**
* Email address of the first admin users.
*
* @deprecated
* @var string
*/
public $userEmail;
/**
* Additional contexts used for authentication.
*
* @param string[] $authenticationContexts
*/
public function setAuthenticationContexts($authenticationContexts)
{
$this->authenticationContexts = $authenticationContexts;
}
/**
* @return string[]
*/
public function getAuthenticationContexts()
{
return $this->authenticationContexts;
}
/**
* SAML certificate
*
* @param string $certificate
*/
public function setCertificate($certificate)
{
$this->certificate = $certificate;
}
/**
* @return string
*/
public function getCertificate()
{
return $this->certificate;
}
/**
* IdP field that maps to the users email address
*
* @param string $emailMapping
*/
public function setEmailMapping($emailMapping)
{
$this->emailMapping = $emailMapping;
}
/**
* @return string
*/
public function getEmailMapping()
{
return $this->emailMapping;
}
/**
* Entity id URL
*
* @param string $entityId
*/
public function setEntityId($entityId)
{
$this->entityId = $entityId;
}
/**
* @return string
*/
public function getEntityId()
{
return $this->entityId;
}
/**
* Single sign-on URL
*
* @param string $ssoUri
*/
public function setSsoUri($ssoUri)
{
$this->ssoUri = $ssoUri;
}
/**
* @return string
*/
public function getSsoUri()
{
return $this->ssoUri;
}
/**
* Email address of the first admin users.
*
* @deprecated
* @param string $userEmail
*/
public function setUserEmail($userEmail)
{
$this->userEmail = $userEmail;
}
/**
* @deprecated
* @return string
*/
public function getUserEmail()
{
return $this->userEmail;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SAMLParams::class, 'Google_Service_CCAIPlatform_SAMLParams');
@@ -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\CCAIPlatform;
class SamlConfig extends \Google\Model
{
/**
* @var string
*/
public $cert;
/**
* @var string
*/
public $emailMapping;
/**
* @var string
*/
public $entityId;
/**
* @var string
*/
public $loginUri;
/**
* @param string
*/
public function setCert($cert)
{
$this->cert = $cert;
}
/**
* @return string
*/
public function getCert()
{
return $this->cert;
}
/**
* @param string
*/
public function setEmailMapping($emailMapping)
{
$this->emailMapping = $emailMapping;
}
/**
* @return string
*/
public function getEmailMapping()
{
return $this->emailMapping;
}
/**
* @param string
*/
public function setEntityId($entityId)
{
$this->entityId = $entityId;
}
/**
* @return string
*/
public function getEntityId()
{
return $this->entityId;
}
/**
* @param string
*/
public function setLoginUri($loginUri)
{
$this->loginUri = $loginUri;
}
/**
* @return string
*/
public function getLoginUri()
{
return $this->loginUri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SamlConfig::class, 'Google_Service_CCAIPlatform_SamlConfig');
@@ -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\CCAIPlatform;
class ServiceAttachment extends \Google\Model
{
/**
* @var string
*/
public $name;
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ServiceAttachment::class, 'Google_Service_CCAIPlatform_ServiceAttachment');
@@ -0,0 +1,317 @@
<?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\CCAIPlatform;
class ShiftTemplate extends \Google\Collection
{
protected $collection_key = 'eventTemplates';
/**
* Optional. A list of specific employee IDs that can be assigned to shifts
* generated by this template. If this field is present, there will be
* `EmployeeSchedule`s in the response for which the
* `EmployeeSchedule.employee_id` field is set to one of the IDs in this list.
* The number of employee schedules with an assigned employee ID will be
* between `minimum_employee_count` and `maximum_employee_count`. If this
* field is empty, between `minimum_employee_count` and
* `maximum_employee_count` employees can be assigned to shifts generated by
* this template and the employee schedules won't have an assigned employee
* ID. Currently, only one assignable employee ID is supported.
*
* @var string[]
*/
public $assignableEmployeeIds;
/**
* Optional. Fixed number of days off per week. An employee has a given day
* off if they are not assigned to a shift that starts on that day. A week is
* 7 days and begins on Sunday.
*
* @var int
*/
public $daysOffCountPerWeek;
protected $daysOffDatesType = DateList::class;
protected $daysOffDatesDataType = '';
/**
* Required. Fixed duration of a shift generated by this template.
*
* @var int
*/
public $durationMinutes;
protected $earliestStartTimeType = TimeOfDay::class;
protected $earliestStartTimeDataType = '';
protected $eventTemplatesType = EventTemplate::class;
protected $eventTemplatesDataType = 'array';
/**
* Required. Unique ID of this template.
*
* @var string
*/
public $id;
protected $latestStartTimeType = TimeOfDay::class;
protected $latestStartTimeDataType = '';
/**
* Required. Maximum number of employees that can be assigned to all shifts
* generated by this template on working days.
*
* @var int
*/
public $maximumEmployeeCount;
/**
* Optional. Minimum number of employees that can be assigned to all shifts
* generated by this template on working days.
*
* @var int
*/
public $minimumEmployeeCount;
/**
* Optional. Minimum minutes between the end of one event and the start of the
* next.
*
* @var int
*/
public $minimumIntereventGapMinutes;
/**
* Optional. The time increment (in minutes) used to generate the set of
* possible start times between `earliest_start_time` and `latest_start_time`.
* For example, if the earliest start time is 8:00, the latest start time is
* 8:30, and the start time increment is 10 minutes, then all possible start
* times for this shift template are: 8:00, 8:10, 8:20, and 8:30.
*
* @var int
*/
public $startTimeIncrementMinutes;
/**
* Optional. A list of specific employee IDs that can be assigned to shifts
* generated by this template. If this field is present, there will be
* `EmployeeSchedule`s in the response for which the
* `EmployeeSchedule.employee_id` field is set to one of the IDs in this list.
* The number of employee schedules with an assigned employee ID will be
* between `minimum_employee_count` and `maximum_employee_count`. If this
* field is empty, between `minimum_employee_count` and
* `maximum_employee_count` employees can be assigned to shifts generated by
* this template and the employee schedules won't have an assigned employee
* ID. Currently, only one assignable employee ID is supported.
*
* @param string[] $assignableEmployeeIds
*/
public function setAssignableEmployeeIds($assignableEmployeeIds)
{
$this->assignableEmployeeIds = $assignableEmployeeIds;
}
/**
* @return string[]
*/
public function getAssignableEmployeeIds()
{
return $this->assignableEmployeeIds;
}
/**
* Optional. Fixed number of days off per week. An employee has a given day
* off if they are not assigned to a shift that starts on that day. A week is
* 7 days and begins on Sunday.
*
* @param int $daysOffCountPerWeek
*/
public function setDaysOffCountPerWeek($daysOffCountPerWeek)
{
$this->daysOffCountPerWeek = $daysOffCountPerWeek;
}
/**
* @return int
*/
public function getDaysOffCountPerWeek()
{
return $this->daysOffCountPerWeek;
}
/**
* Optional. Fixed dates when shifts from this template should not be
* generated.
*
* @param DateList $daysOffDates
*/
public function setDaysOffDates(DateList $daysOffDates)
{
$this->daysOffDates = $daysOffDates;
}
/**
* @return DateList
*/
public function getDaysOffDates()
{
return $this->daysOffDates;
}
/**
* Required. Fixed duration of a shift generated by this template.
*
* @param int $durationMinutes
*/
public function setDurationMinutes($durationMinutes)
{
$this->durationMinutes = $durationMinutes;
}
/**
* @return int
*/
public function getDurationMinutes()
{
return $this->durationMinutes;
}
/**
* Required. Earliest time in the day that a shift can start. This value is
* specified with hours and minutes; seconds and nanos are ignored.
*
* @param TimeOfDay $earliestStartTime
*/
public function setEarliestStartTime(TimeOfDay $earliestStartTime)
{
$this->earliestStartTime = $earliestStartTime;
}
/**
* @return TimeOfDay
*/
public function getEarliestStartTime()
{
return $this->earliestStartTime;
}
/**
* Optional. Rules for generating events for each shift. Exactly one event
* will be included in each shift for each `EventTemplate` specified.
*
* @param EventTemplate[] $eventTemplates
*/
public function setEventTemplates($eventTemplates)
{
$this->eventTemplates = $eventTemplates;
}
/**
* @return EventTemplate[]
*/
public function getEventTemplates()
{
return $this->eventTemplates;
}
/**
* Required. Unique ID of this template.
*
* @param string $id
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* Required. Latest time in the day that a shift can start. This value is
* specified with hours and minutes; seconds and nanos are ignored. If this
* value is less than the `earliest_start_time`, it may imply an overnight
* shift.
*
* @param TimeOfDay $latestStartTime
*/
public function setLatestStartTime(TimeOfDay $latestStartTime)
{
$this->latestStartTime = $latestStartTime;
}
/**
* @return TimeOfDay
*/
public function getLatestStartTime()
{
return $this->latestStartTime;
}
/**
* Required. Maximum number of employees that can be assigned to all shifts
* generated by this template on working days.
*
* @param int $maximumEmployeeCount
*/
public function setMaximumEmployeeCount($maximumEmployeeCount)
{
$this->maximumEmployeeCount = $maximumEmployeeCount;
}
/**
* @return int
*/
public function getMaximumEmployeeCount()
{
return $this->maximumEmployeeCount;
}
/**
* Optional. Minimum number of employees that can be assigned to all shifts
* generated by this template on working days.
*
* @param int $minimumEmployeeCount
*/
public function setMinimumEmployeeCount($minimumEmployeeCount)
{
$this->minimumEmployeeCount = $minimumEmployeeCount;
}
/**
* @return int
*/
public function getMinimumEmployeeCount()
{
return $this->minimumEmployeeCount;
}
/**
* Optional. Minimum minutes between the end of one event and the start of the
* next.
*
* @param int $minimumIntereventGapMinutes
*/
public function setMinimumIntereventGapMinutes($minimumIntereventGapMinutes)
{
$this->minimumIntereventGapMinutes = $minimumIntereventGapMinutes;
}
/**
* @return int
*/
public function getMinimumIntereventGapMinutes()
{
return $this->minimumIntereventGapMinutes;
}
/**
* Optional. The time increment (in minutes) used to generate the set of
* possible start times between `earliest_start_time` and `latest_start_time`.
* For example, if the earliest start time is 8:00, the latest start time is
* 8:30, and the start time increment is 10 minutes, then all possible start
* times for this shift template are: 8:00, 8:10, 8:20, and 8:30.
*
* @param int $startTimeIncrementMinutes
*/
public function setStartTimeIncrementMinutes($startTimeIncrementMinutes)
{
$this->startTimeIncrementMinutes = $startTimeIncrementMinutes;
}
/**
* @return int
*/
public function getStartTimeIncrementMinutes()
{
return $this->startTimeIncrementMinutes;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ShiftTemplate::class, 'Google_Service_CCAIPlatform_ShiftTemplate');
@@ -0,0 +1,113 @@
<?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\CCAIPlatform;
class SolverConfig extends \Google\Model
{
/**
* Unspecified schedule type. Should not be used.
*/
public const SCHEDULE_TYPE_SCHEDULE_TYPE_UNSPECIFIED = 'SCHEDULE_TYPE_UNSPECIFIED';
/**
* Each `EmployeeSchedule` will include exactly one shift.
*/
public const SCHEDULE_TYPE_SINGLE_SHIFT = 'SINGLE_SHIFT';
/**
* `EmployeeSchedule`s will include several shifts to generate a week-long
* schedule. The start and end time of events in a particular
* `EmployeeSchedule` will be identical. All the shifts have the same start
* and end time.
*/
public const SCHEDULE_TYPE_WEEKLY_WITH_FIXED_EVENTS = 'WEEKLY_WITH_FIXED_EVENTS';
/**
* `EmployeeSchedule`s will include several shifts to generate a week-long
* schedule. The start and end time of events in a particular
* `EmployeeSchedule` can vary. All the shifts have the same start and end
* time. This option may result in longer solve times.
*/
public const SCHEDULE_TYPE_WEEKLY_WITH_VARIABLE_EVENTS = 'WEEKLY_WITH_VARIABLE_EVENTS';
/**
* Optional. Maximum time the solver should spend on the problem. If not set,
* defaults to 1 minute. The choice of a time limit should depend on the size
* of the problem. To give an example, when solving a 7-day instance with 2
* `ShiftTemplates`, each with ~20 possible start times and holding 2 events
* with ~30 possible start times, and two days off per week, recommended
* values are: <10s for fast solutions (and likely suboptimal), (10s, 300s)
* for good quality solutions, and >300s for an exhaustive search. Larger
* instances may require longer time limits. This value is not a hard limit
* and it does not account for the communication overhead. The expected
* latency to solve the problem may slightly exceed this value.
*
* @var string
*/
public $maximumProcessingDuration;
/**
* Required. Specifies the type of schedule to generate.
*
* @var string
*/
public $scheduleType;
/**
* Optional. Maximum time the solver should spend on the problem. If not set,
* defaults to 1 minute. The choice of a time limit should depend on the size
* of the problem. To give an example, when solving a 7-day instance with 2
* `ShiftTemplates`, each with ~20 possible start times and holding 2 events
* with ~30 possible start times, and two days off per week, recommended
* values are: <10s for fast solutions (and likely suboptimal), (10s, 300s)
* for good quality solutions, and >300s for an exhaustive search. Larger
* instances may require longer time limits. This value is not a hard limit
* and it does not account for the communication overhead. The expected
* latency to solve the problem may slightly exceed this value.
*
* @param string $maximumProcessingDuration
*/
public function setMaximumProcessingDuration($maximumProcessingDuration)
{
$this->maximumProcessingDuration = $maximumProcessingDuration;
}
/**
* @return string
*/
public function getMaximumProcessingDuration()
{
return $this->maximumProcessingDuration;
}
/**
* Required. Specifies the type of schedule to generate.
*
* Accepted values: SCHEDULE_TYPE_UNSPECIFIED, SINGLE_SHIFT,
* WEEKLY_WITH_FIXED_EVENTS, WEEKLY_WITH_VARIABLE_EVENTS
*
* @param self::SCHEDULE_TYPE_* $scheduleType
*/
public function setScheduleType($scheduleType)
{
$this->scheduleType = $scheduleType;
}
/**
* @return self::SCHEDULE_TYPE_*
*/
public function getScheduleType()
{
return $this->scheduleType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SolverConfig::class, 'Google_Service_CCAIPlatform_SolverConfig');
@@ -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\CCAIPlatform;
class Status extends \Google\Collection
{
protected $collection_key = 'details';
/**
* The status code, which should be an enum value of google.rpc.Code.
*
* @var int
*/
public $code;
/**
* A list of messages that carry the error details. There is a common set of
* message types for APIs to use.
*
* @var array[]
*/
public $details;
/**
* A developer-facing error message, which should be in English. Any user-
* facing error message should be localized and sent in the
* google.rpc.Status.details field, or localized by the client.
*
* @var string
*/
public $message;
/**
* The status code, which should be an enum value of google.rpc.Code.
*
* @param int $code
*/
public function setCode($code)
{
$this->code = $code;
}
/**
* @return int
*/
public function getCode()
{
return $this->code;
}
/**
* A list of messages that carry the error details. There is a common set of
* message types for APIs to use.
*
* @param array[] $details
*/
public function setDetails($details)
{
$this->details = $details;
}
/**
* @return array[]
*/
public function getDetails()
{
return $this->details;
}
/**
* A developer-facing error message, which should be in English. Any user-
* facing error message should be localized and sent in the
* google.rpc.Status.details field, or localized by the client.
*
* @param string $message
*/
public function setMessage($message)
{
$this->message = $message;
}
/**
* @return string
*/
public function getMessage()
{
return $this->message;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Status::class, 'Google_Service_CCAIPlatform_Status');
@@ -0,0 +1,126 @@
<?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\CCAIPlatform;
class TimeOfDay extends \Google\Model
{
/**
* Hours of a day in 24 hour format. Must be greater than or equal to 0 and
* typically must be less than or equal to 23. An API may choose to allow the
* value "24:00:00" for scenarios like business closing time.
*
* @var int
*/
public $hours;
/**
* Minutes of an hour. Must be greater than or equal to 0 and less than or
* equal to 59.
*
* @var int
*/
public $minutes;
/**
* Fractions of seconds, in nanoseconds. Must be greater than or equal to 0
* and less than or equal to 999,999,999.
*
* @var int
*/
public $nanos;
/**
* Seconds of a minute. Must be greater than or equal to 0 and typically must
* be less than or equal to 59. An API may allow the value 60 if it allows
* leap-seconds.
*
* @var int
*/
public $seconds;
/**
* Hours of a day in 24 hour format. Must be greater than or equal to 0 and
* typically must be less than or equal to 23. An API may choose to allow the
* value "24:00:00" for scenarios like business closing time.
*
* @param int $hours
*/
public function setHours($hours)
{
$this->hours = $hours;
}
/**
* @return int
*/
public function getHours()
{
return $this->hours;
}
/**
* Minutes of an hour. Must be greater than or equal to 0 and less than or
* equal to 59.
*
* @param int $minutes
*/
public function setMinutes($minutes)
{
$this->minutes = $minutes;
}
/**
* @return int
*/
public function getMinutes()
{
return $this->minutes;
}
/**
* Fractions of seconds, in nanoseconds. Must be greater than or equal to 0
* and less than or equal to 999,999,999.
*
* @param int $nanos
*/
public function setNanos($nanos)
{
$this->nanos = $nanos;
}
/**
* @return int
*/
public function getNanos()
{
return $this->nanos;
}
/**
* Seconds of a minute. Must be greater than or equal to 0 and typically must
* be less than or equal to 59. An API may allow the value 60 if it allows
* leap-seconds.
*
* @param int $seconds
*/
public function setSeconds($seconds)
{
$this->seconds = $seconds;
}
/**
* @return int
*/
public function getSeconds()
{
return $this->seconds;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TimeOfDay::class, 'Google_Service_CCAIPlatform_TimeOfDay');
@@ -0,0 +1,70 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CCAIPlatform;
class TimeZone extends \Google\Model
{
/**
* IANA Time Zone Database time zone. For example "America/New_York".
*
* @var string
*/
public $id;
/**
* Optional. IANA Time Zone Database version number. For example "2019a".
*
* @var string
*/
public $version;
/**
* IANA Time Zone Database time zone. For example "America/New_York".
*
* @param string $id
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* Optional. IANA Time Zone Database version number. For example "2019a".
*
* @param string $version
*/
public function setVersion($version)
{
$this->version = $version;
}
/**
* @return string
*/
public function getVersion()
{
return $this->version;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TimeZone::class, 'Google_Service_CCAIPlatform_TimeZone');
@@ -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\CCAIPlatform;
class URIs extends \Google\Model
{
/**
* Chat Bot Uri of the ContactCenter
*
* @var string
*/
public $chatBotUri;
/**
* Media Uri of the ContactCenter.
*
* @var string
*/
public $mediaUri;
/**
* Root Uri of the ContactCenter.
*
* @var string
*/
public $rootUri;
/**
* Virtual Agent Streaming Service Uri of the ContactCenter.
*
* @var string
*/
public $virtualAgentStreamingServiceUri;
/**
* Chat Bot Uri of the ContactCenter
*
* @param string $chatBotUri
*/
public function setChatBotUri($chatBotUri)
{
$this->chatBotUri = $chatBotUri;
}
/**
* @return string
*/
public function getChatBotUri()
{
return $this->chatBotUri;
}
/**
* Media Uri of the ContactCenter.
*
* @param string $mediaUri
*/
public function setMediaUri($mediaUri)
{
$this->mediaUri = $mediaUri;
}
/**
* @return string
*/
public function getMediaUri()
{
return $this->mediaUri;
}
/**
* Root Uri of the ContactCenter.
*
* @param string $rootUri
*/
public function setRootUri($rootUri)
{
$this->rootUri = $rootUri;
}
/**
* @return string
*/
public function getRootUri()
{
return $this->rootUri;
}
/**
* Virtual Agent Streaming Service Uri of the ContactCenter.
*
* @param string $virtualAgentStreamingServiceUri
*/
public function setVirtualAgentStreamingServiceUri($virtualAgentStreamingServiceUri)
{
$this->virtualAgentStreamingServiceUri = $virtualAgentStreamingServiceUri;
}
/**
* @return string
*/
public function getVirtualAgentStreamingServiceUri()
{
return $this->virtualAgentStreamingServiceUri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(URIs::class, 'Google_Service_CCAIPlatform_URIs');
@@ -0,0 +1,66 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CCAIPlatform;
class UnwantedEventInterval extends \Google\Model
{
/**
* Required. Duration of the event.
*
* @var int
*/
public $durationMinutes;
protected $startTimeType = DateTime::class;
protected $startTimeDataType = '';
/**
* Required. Duration of the event.
*
* @param int $durationMinutes
*/
public function setDurationMinutes($durationMinutes)
{
$this->durationMinutes = $durationMinutes;
}
/**
* @return int
*/
public function getDurationMinutes()
{
return $this->durationMinutes;
}
/**
* Required. Start time of the event.
*
* @param DateTime $startTime
*/
public function setStartTime(DateTime $startTime)
{
$this->startTime = $startTime;
}
/**
* @return DateTime
*/
public function getStartTime()
{
return $this->startTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(UnwantedEventInterval::class, 'Google_Service_CCAIPlatform_UnwantedEventInterval');
@@ -0,0 +1,108 @@
<?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\CCAIPlatform;
class WeeklySchedule extends \Google\Collection
{
protected $collection_key = 'days';
/**
* Required. Days of the week this schedule applies to.
*
* @var string[]
*/
public $days;
/**
* Optional. Duration of the schedule.
*
* @var string
*/
public $duration;
protected $endTimeType = TimeOfDay::class;
protected $endTimeDataType = '';
protected $startTimeType = TimeOfDay::class;
protected $startTimeDataType = '';
/**
* Required. Days of the week this schedule applies to.
*
* @param string[] $days
*/
public function setDays($days)
{
$this->days = $days;
}
/**
* @return string[]
*/
public function getDays()
{
return $this->days;
}
/**
* Optional. Duration of the schedule.
*
* @param string $duration
*/
public function setDuration($duration)
{
$this->duration = $duration;
}
/**
* @return string
*/
public function getDuration()
{
return $this->duration;
}
/**
* Optional. Daily end time of the schedule. If `end_time` is before
* `start_time`, the schedule will be considered as ending on the next day.
*
* @param TimeOfDay $endTime
*/
public function setEndTime(TimeOfDay $endTime)
{
$this->endTime = $endTime;
}
/**
* @return TimeOfDay
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* Required. Daily start time of the schedule.
*
* @param TimeOfDay $startTime
*/
public function setStartTime(TimeOfDay $startTime)
{
$this->startTime = $startTime;
}
/**
* @return TimeOfDay
*/
public function getStartTime()
{
return $this->startTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(WeeklySchedule::class, 'Google_Service_CCAIPlatform_WeeklySchedule');
@@ -0,0 +1,88 @@
<?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\CCAIPlatform;
class WorkforceDemand extends \Google\Model
{
/**
* Optional. Number of employees needed to cover the demand for this interval.
*
* @var int
*/
public $employeeCount;
protected $endTimeType = DateTime::class;
protected $endTimeDataType = '';
protected $startTimeType = DateTime::class;
protected $startTimeDataType = '';
/**
* Optional. Number of employees needed to cover the demand for this interval.
*
* @param int $employeeCount
*/
public function setEmployeeCount($employeeCount)
{
$this->employeeCount = $employeeCount;
}
/**
* @return int
*/
public function getEmployeeCount()
{
return $this->employeeCount;
}
/**
* Required. End of the time interval for the given demand (exclusive). These
* values are read down to the minute; seconds and all smaller units are
* ignored.
*
* @param DateTime $endTime
*/
public function setEndTime(DateTime $endTime)
{
$this->endTime = $endTime;
}
/**
* @return DateTime
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* Required. Start of the time interval for the given demand (inclusive).
* These values are read down to the minute; seconds and all smaller units are
* ignored.
*
* @param DateTime $startTime
*/
public function setStartTime(DateTime $startTime)
{
$this->startTime = $startTime;
}
/**
* @return DateTime
*/
public function getStartTime()
{
return $this->startTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(WorkforceDemand::class, 'Google_Service_CCAIPlatform_WorkforceDemand');
@@ -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\CCAIPlatform;
class WorkforceDemandList extends \Google\Collection
{
protected $collection_key = 'values';
protected $valuesType = WorkforceDemand::class;
protected $valuesDataType = 'array';
/**
* Optional. Values in the list.
*
* @param WorkforceDemand[] $values
*/
public function setValues($values)
{
$this->values = $values;
}
/**
* @return WorkforceDemand[]
*/
public function getValues()
{
return $this->values;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(WorkforceDemandList::class, 'Google_Service_CCAIPlatform_WorkforceDemandList');