Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regenerate contactcenterinsights client #6038

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion src/Contactcenterinsights.php
Original file line number Diff line number Diff line change
Expand Up @@ -739,7 +739,17 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
'issues',
[
'methods' => [
'delete' => [
'create' => [
'path' => 'v1/{+parent}/issues',
'httpMethod' => 'POST',
'parameters' => [
'parent' => [
'location' => 'path',
'type' => 'string',
'required' => true,
],
],
],'delete' => [
'path' => 'v1/{+name}',
'httpMethod' => 'DELETE',
'parameters' => [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ class GoogleCloudContactcenterinsightsV1CreateIssueMetadata extends \Google\Mode
public $endTime;
protected $requestType = GoogleCloudContactcenterinsightsV1CreateIssueRequest::class;
protected $requestDataType = '';
public $request;

/**
* @param string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ class GoogleCloudContactcenterinsightsV1CreateIssueRequest extends \Google\Model
{
protected $issueType = GoogleCloudContactcenterinsightsV1Issue::class;
protected $issueDataType = '';
public $issue;
/**
* @var string
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/

namespace Google\Service\Contactcenterinsights;

class GoogleCloudContactcenterinsightsV1alpha1CreateIssueMetadata extends \Google\Model
{
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $endTime;
protected $requestType = GoogleCloudContactcenterinsightsV1alpha1CreateIssueRequest::class;
protected $requestDataType = '';

/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* @param GoogleCloudContactcenterinsightsV1alpha1CreateIssueRequest
*/
public function setRequest(GoogleCloudContactcenterinsightsV1alpha1CreateIssueRequest $request)
{
$this->request = $request;
}
/**
* @return GoogleCloudContactcenterinsightsV1alpha1CreateIssueRequest
*/
public function getRequest()
{
return $this->request;
}
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContactcenterinsightsV1alpha1CreateIssueMetadata::class, 'Google_Service_Contactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1CreateIssueMetadata');
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/

namespace Google\Service\Contactcenterinsights;

class GoogleCloudContactcenterinsightsV1alpha1CreateIssueRequest extends \Google\Model
{
protected $issueType = GoogleCloudContactcenterinsightsV1alpha1Issue::class;
protected $issueDataType = '';
/**
* @var string
*/
public $parent;

/**
* @param GoogleCloudContactcenterinsightsV1alpha1Issue
*/
public function setIssue(GoogleCloudContactcenterinsightsV1alpha1Issue $issue)
{
$this->issue = $issue;
}
/**
* @return GoogleCloudContactcenterinsightsV1alpha1Issue
*/
public function getIssue()
{
return $this->issue;
}
/**
* @param string
*/
public function setParent($parent)
{
$this->parent = $parent;
}
/**
* @return string
*/
public function getParent()
{
return $this->parent;
}
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContactcenterinsightsV1alpha1CreateIssueRequest::class, 'Google_Service_Contactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1CreateIssueRequest');
Original file line number Diff line number Diff line change
@@ -0,0 +1,135 @@
<?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\Contactcenterinsights;

class GoogleCloudContactcenterinsightsV1alpha1Issue extends \Google\Collection
{
protected $collection_key = 'sampleUtterances';
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $displayDescription;
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $name;
/**
* @var string[]
*/
public $sampleUtterances;
/**
* @var string
*/
public $updateTime;

/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setDisplayDescription($displayDescription)
{
$this->displayDescription = $displayDescription;
}
/**
* @return string
*/
public function getDisplayDescription()
{
return $this->displayDescription;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string[]
*/
public function setSampleUtterances($sampleUtterances)
{
$this->sampleUtterances = $sampleUtterances;
}
/**
* @return string[]
*/
public function getSampleUtterances()
{
return $this->sampleUtterances;
}
/**
* @param string
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContactcenterinsightsV1alpha1Issue::class, 'Google_Service_Contactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1Issue');
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

use Google\Service\Contactcenterinsights\GoogleCloudContactcenterinsightsV1Issue;
use Google\Service\Contactcenterinsights\GoogleCloudContactcenterinsightsV1ListIssuesResponse;
use Google\Service\Contactcenterinsights\GoogleLongrunningOperation;
use Google\Service\Contactcenterinsights\GoogleProtobufEmpty;

/**
Expand All @@ -31,6 +32,21 @@
*/
class ProjectsLocationsIssueModelsIssues extends \Google\Service\Resource
{
/**
* Creates an issue. (issues.create)
*
* @param string $parent Required. The parent resource of the issue.
* @param GoogleCloudContactcenterinsightsV1Issue $postBody
* @param array $optParams Optional parameters.
* @return GoogleLongrunningOperation
* @throws \Google\Service\Exception
*/
public function create($parent, GoogleCloudContactcenterinsightsV1Issue $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], GoogleLongrunningOperation::class);
}
/**
* Deletes an issue. (issues.delete)
*
Expand Down