Skip to content

Commit

Permalink
Regenerate contactcenteraiplatform client (#5166)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-code-bot authored May 27, 2024
1 parent 74397e6 commit c84b0ac
Show file tree
Hide file tree
Showing 8 changed files with 452 additions and 1 deletion.
61 changes: 61 additions & 0 deletions src/CCAIPlatform/Component.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/

namespace Google\Service\CCAIPlatform;

class Component extends \Google\Collection
{
protected $collection_key = 'serviceAttachments';
/**
* @var string
*/
public $name;
protected $serviceAttachmentsType = ServiceAttachment::class;
protected $serviceAttachmentsDataType = 'array';

/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param ServiceAttachment[]
*/
public function setServiceAttachments($serviceAttachments)
{
$this->serviceAttachments = $serviceAttachments;
}
/**
* @return ServiceAttachment[]
*/
public function getServiceAttachments()
{
return $this->serviceAttachments;
}
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Component::class, 'Google_Service_CCAIPlatform_Component');
32 changes: 32 additions & 0 deletions src/CCAIPlatform/ContactCenter.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ class ContactCenter extends \Google\Collection
* @var string
*/
public $createTime;
protected $criticalType = Critical::class;
protected $criticalDataType = '';
/**
* @var string
*/
Expand All @@ -56,6 +58,8 @@ class ContactCenter extends \Google\Collection
public $name;
protected $normalType = Normal::class;
protected $normalDataType = '';
protected $privateAccessType = PrivateAccess::class;
protected $privateAccessDataType = '';
/**
* @var string[]
*/
Expand Down Expand Up @@ -119,6 +123,20 @@ public function getCreateTime()
{
return $this->createTime;
}
/**
* @param Critical
*/
public function setCritical(Critical $critical)
{
$this->critical = $critical;
}
/**
* @return Critical
*/
public function getCritical()
{
return $this->critical;
}
/**
* @param string
*/
Expand Down Expand Up @@ -231,6 +249,20 @@ public function getNormal()
{
return $this->normal;
}
/**
* @param PrivateAccess
*/
public function setPrivateAccess(PrivateAccess $privateAccess)
{
$this->privateAccess = $privateAccess;
}
/**
* @return PrivateAccess
*/
public function getPrivateAccess()
{
return $this->privateAccess;
}
/**
* @param string[]
*/
Expand Down
43 changes: 43 additions & 0 deletions src/CCAIPlatform/Critical.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/

namespace Google\Service\CCAIPlatform;

class Critical extends \Google\Collection
{
protected $collection_key = 'peakHours';
protected $peakHoursType = WeeklySchedule::class;
protected $peakHoursDataType = 'array';

/**
* @param WeeklySchedule[]
*/
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');
59 changes: 59 additions & 0 deletions src/CCAIPlatform/PrivateAccess.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
<?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';

/**
* @param Component[]
*/
public function setEgressSettings($egressSettings)
{
$this->egressSettings = $egressSettings;
}
/**
* @return Component[]
*/
public function getEgressSettings()
{
return $this->egressSettings;
}
/**
* @param Component[]
*/
public function setIngressSettings($ingressSettings)
{
$this->ingressSettings = $ingressSettings;
}
/**
* @return Component[]
*/
public function getIngressSettings()
{
return $this->ingressSettings;
}
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PrivateAccess::class, 'Google_Service_CCAIPlatform_PrivateAccess');
21 changes: 20 additions & 1 deletion src/CCAIPlatform/SAMLParams.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,13 @@

namespace Google\Service\CCAIPlatform;

class SAMLParams extends \Google\Model
class SAMLParams extends \Google\Collection
{
protected $collection_key = 'authenticationContexts';
/**
* @var string[]
*/
public $authenticationContexts;
/**
* @var string
*/
Expand All @@ -40,6 +45,20 @@ class SAMLParams extends \Google\Model
*/
public $userEmail;

/**
* @param string[]
*/
public function setAuthenticationContexts($authenticationContexts)
{
$this->authenticationContexts = $authenticationContexts;
}
/**
* @return string[]
*/
public function getAuthenticationContexts()
{
return $this->authenticationContexts;
}
/**
* @param string
*/
Expand Down
44 changes: 44 additions & 0 deletions src/CCAIPlatform/ServiceAttachment.php
Original file line number Diff line number Diff line change
@@ -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');
Loading

0 comments on commit c84b0ac

Please sign in to comment.