Initial commit

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

View File

@@ -0,0 +1,81 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRetail;
class GoogleApiHttpBody extends \Google\Collection
{
protected $collection_key = 'extensions';
/**
* @var string
*/
public $contentType;
/**
* @var string
*/
public $data;
/**
* @var array[]
*/
public $extensions;
/**
* @param string
*/
public function setContentType($contentType)
{
$this->contentType = $contentType;
}
/**
* @return string
*/
public function getContentType()
{
return $this->contentType;
}
/**
* @param string
*/
public function setData($data)
{
$this->data = $data;
}
/**
* @return string
*/
public function getData()
{
return $this->data;
}
/**
* @param array[]
*/
public function setExtensions($extensions)
{
$this->extensions = $extensions;
}
/**
* @return array[]
*/
public function getExtensions()
{
return $this->extensions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleApiHttpBody::class, 'Google_Service_CloudRetail_GoogleApiHttpBody');

View File

@@ -0,0 +1,58 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRetail;
class GoogleCloudRetailLoggingErrorContext extends \Google\Model
{
protected $httpRequestType = GoogleCloudRetailLoggingHttpRequestContext::class;
protected $httpRequestDataType = '';
protected $reportLocationType = GoogleCloudRetailLoggingSourceLocation::class;
protected $reportLocationDataType = '';
/**
* @param GoogleCloudRetailLoggingHttpRequestContext
*/
public function setHttpRequest(GoogleCloudRetailLoggingHttpRequestContext $httpRequest)
{
$this->httpRequest = $httpRequest;
}
/**
* @return GoogleCloudRetailLoggingHttpRequestContext
*/
public function getHttpRequest()
{
return $this->httpRequest;
}
/**
* @param GoogleCloudRetailLoggingSourceLocation
*/
public function setReportLocation(GoogleCloudRetailLoggingSourceLocation $reportLocation)
{
$this->reportLocation = $reportLocation;
}
/**
* @return GoogleCloudRetailLoggingSourceLocation
*/
public function getReportLocation()
{
return $this->reportLocation;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailLoggingErrorContext::class, 'Google_Service_CloudRetail_GoogleCloudRetailLoggingErrorContext');

View File

@@ -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\CloudRetail;
class GoogleCloudRetailLoggingErrorLog extends \Google\Model
{
protected $contextType = GoogleCloudRetailLoggingErrorContext::class;
protected $contextDataType = '';
protected $importPayloadType = GoogleCloudRetailLoggingImportErrorContext::class;
protected $importPayloadDataType = '';
/**
* @var string
*/
public $message;
/**
* @var array[]
*/
public $requestPayload;
/**
* @var array[]
*/
public $responsePayload;
protected $serviceContextType = GoogleCloudRetailLoggingServiceContext::class;
protected $serviceContextDataType = '';
protected $statusType = GoogleRpcStatus::class;
protected $statusDataType = '';
/**
* @param GoogleCloudRetailLoggingErrorContext
*/
public function setContext(GoogleCloudRetailLoggingErrorContext $context)
{
$this->context = $context;
}
/**
* @return GoogleCloudRetailLoggingErrorContext
*/
public function getContext()
{
return $this->context;
}
/**
* @param GoogleCloudRetailLoggingImportErrorContext
*/
public function setImportPayload(GoogleCloudRetailLoggingImportErrorContext $importPayload)
{
$this->importPayload = $importPayload;
}
/**
* @return GoogleCloudRetailLoggingImportErrorContext
*/
public function getImportPayload()
{
return $this->importPayload;
}
/**
* @param string
*/
public function setMessage($message)
{
$this->message = $message;
}
/**
* @return string
*/
public function getMessage()
{
return $this->message;
}
/**
* @param array[]
*/
public function setRequestPayload($requestPayload)
{
$this->requestPayload = $requestPayload;
}
/**
* @return array[]
*/
public function getRequestPayload()
{
return $this->requestPayload;
}
/**
* @param array[]
*/
public function setResponsePayload($responsePayload)
{
$this->responsePayload = $responsePayload;
}
/**
* @return array[]
*/
public function getResponsePayload()
{
return $this->responsePayload;
}
/**
* @param GoogleCloudRetailLoggingServiceContext
*/
public function setServiceContext(GoogleCloudRetailLoggingServiceContext $serviceContext)
{
$this->serviceContext = $serviceContext;
}
/**
* @return GoogleCloudRetailLoggingServiceContext
*/
public function getServiceContext()
{
return $this->serviceContext;
}
/**
* @param GoogleRpcStatus
*/
public function setStatus(GoogleRpcStatus $status)
{
$this->status = $status;
}
/**
* @return GoogleRpcStatus
*/
public function getStatus()
{
return $this->status;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailLoggingErrorLog::class, 'Google_Service_CloudRetail_GoogleCloudRetailLoggingErrorLog');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRetail;
class GoogleCloudRetailLoggingHttpRequestContext extends \Google\Model
{
/**
* @var int
*/
public $responseStatusCode;
/**
* @param int
*/
public function setResponseStatusCode($responseStatusCode)
{
$this->responseStatusCode = $responseStatusCode;
}
/**
* @return int
*/
public function getResponseStatusCode()
{
return $this->responseStatusCode;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailLoggingHttpRequestContext::class, 'Google_Service_CloudRetail_GoogleCloudRetailLoggingHttpRequestContext');

View File

@@ -0,0 +1,134 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRetail;
class GoogleCloudRetailLoggingImportErrorContext extends \Google\Model
{
/**
* @var string
*/
public $catalogItem;
/**
* @var string
*/
public $gcsPath;
/**
* @var string
*/
public $lineNumber;
/**
* @var string
*/
public $operationName;
/**
* @var string
*/
public $product;
/**
* @var string
*/
public $userEvent;
/**
* @param string
*/
public function setCatalogItem($catalogItem)
{
$this->catalogItem = $catalogItem;
}
/**
* @return string
*/
public function getCatalogItem()
{
return $this->catalogItem;
}
/**
* @param string
*/
public function setGcsPath($gcsPath)
{
$this->gcsPath = $gcsPath;
}
/**
* @return string
*/
public function getGcsPath()
{
return $this->gcsPath;
}
/**
* @param string
*/
public function setLineNumber($lineNumber)
{
$this->lineNumber = $lineNumber;
}
/**
* @return string
*/
public function getLineNumber()
{
return $this->lineNumber;
}
/**
* @param string
*/
public function setOperationName($operationName)
{
$this->operationName = $operationName;
}
/**
* @return string
*/
public function getOperationName()
{
return $this->operationName;
}
/**
* @param string
*/
public function setProduct($product)
{
$this->product = $product;
}
/**
* @return string
*/
public function getProduct()
{
return $this->product;
}
/**
* @param string
*/
public function setUserEvent($userEvent)
{
$this->userEvent = $userEvent;
}
/**
* @return string
*/
public function getUserEvent()
{
return $this->userEvent;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailLoggingImportErrorContext::class, 'Google_Service_CloudRetail_GoogleCloudRetailLoggingImportErrorContext');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRetail;
class GoogleCloudRetailLoggingServiceContext extends \Google\Model
{
/**
* @var string
*/
public $service;
/**
* @param string
*/
public function setService($service)
{
$this->service = $service;
}
/**
* @return string
*/
public function getService()
{
return $this->service;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailLoggingServiceContext::class, 'Google_Service_CloudRetail_GoogleCloudRetailLoggingServiceContext');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRetail;
class GoogleCloudRetailLoggingSourceLocation extends \Google\Model
{
/**
* @var string
*/
public $functionName;
/**
* @param string
*/
public function setFunctionName($functionName)
{
$this->functionName = $functionName;
}
/**
* @return string
*/
public function getFunctionName()
{
return $this->functionName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailLoggingSourceLocation::class, 'Google_Service_CloudRetail_GoogleCloudRetailLoggingSourceLocation');

View File

@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRetail;
class GoogleCloudRetailV2AddCatalogAttributeRequest extends \Google\Model
{
protected $catalogAttributeType = GoogleCloudRetailV2CatalogAttribute::class;
protected $catalogAttributeDataType = '';
/**
* @param GoogleCloudRetailV2CatalogAttribute
*/
public function setCatalogAttribute(GoogleCloudRetailV2CatalogAttribute $catalogAttribute)
{
$this->catalogAttribute = $catalogAttribute;
}
/**
* @return GoogleCloudRetailV2CatalogAttribute
*/
public function getCatalogAttribute()
{
return $this->catalogAttribute;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailV2AddCatalogAttributeRequest::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2AddCatalogAttributeRequest');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRetail;
class GoogleCloudRetailV2AddControlRequest extends \Google\Model
{
/**
* @var string
*/
public $controlId;
/**
* @param string
*/
public function setControlId($controlId)
{
$this->controlId = $controlId;
}
/**
* @return string
*/
public function getControlId()
{
return $this->controlId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailV2AddControlRequest::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2AddControlRequest');

View File

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

View File

@@ -0,0 +1,99 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRetail;
class GoogleCloudRetailV2AddFulfillmentPlacesRequest extends \Google\Collection
{
protected $collection_key = 'placeIds';
/**
* @var string
*/
public $addTime;
/**
* @var bool
*/
public $allowMissing;
/**
* @var string[]
*/
public $placeIds;
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setAddTime($addTime)
{
$this->addTime = $addTime;
}
/**
* @return string
*/
public function getAddTime()
{
return $this->addTime;
}
/**
* @param bool
*/
public function setAllowMissing($allowMissing)
{
$this->allowMissing = $allowMissing;
}
/**
* @return bool
*/
public function getAllowMissing()
{
return $this->allowMissing;
}
/**
* @param string[]
*/
public function setPlaceIds($placeIds)
{
$this->placeIds = $placeIds;
}
/**
* @return string[]
*/
public function getPlaceIds()
{
return $this->placeIds;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailV2AddFulfillmentPlacesRequest::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2AddFulfillmentPlacesRequest');

View File

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

View File

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

View File

@@ -0,0 +1,97 @@
<?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\CloudRetail;
class GoogleCloudRetailV2AddLocalInventoriesRequest extends \Google\Collection
{
protected $collection_key = 'localInventories';
/**
* @var string
*/
public $addMask;
/**
* @var string
*/
public $addTime;
/**
* @var bool
*/
public $allowMissing;
protected $localInventoriesType = GoogleCloudRetailV2LocalInventory::class;
protected $localInventoriesDataType = 'array';
/**
* @param string
*/
public function setAddMask($addMask)
{
$this->addMask = $addMask;
}
/**
* @return string
*/
public function getAddMask()
{
return $this->addMask;
}
/**
* @param string
*/
public function setAddTime($addTime)
{
$this->addTime = $addTime;
}
/**
* @return string
*/
public function getAddTime()
{
return $this->addTime;
}
/**
* @param bool
*/
public function setAllowMissing($allowMissing)
{
$this->allowMissing = $allowMissing;
}
/**
* @return bool
*/
public function getAllowMissing()
{
return $this->allowMissing;
}
/**
* @param GoogleCloudRetailV2LocalInventory[]
*/
public function setLocalInventories($localInventories)
{
$this->localInventories = $localInventories;
}
/**
* @return GoogleCloudRetailV2LocalInventory[]
*/
public function getLocalInventories()
{
return $this->localInventories;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailV2AddLocalInventoriesRequest::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2AddLocalInventoriesRequest');

View File

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

View File

@@ -0,0 +1,78 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRetail;
class GoogleCloudRetailV2AttributesConfig extends \Google\Model
{
/**
* @var string
*/
public $attributeConfigLevel;
protected $catalogAttributesType = GoogleCloudRetailV2CatalogAttribute::class;
protected $catalogAttributesDataType = 'map';
/**
* @var string
*/
public $name;
/**
* @param string
*/
public function setAttributeConfigLevel($attributeConfigLevel)
{
$this->attributeConfigLevel = $attributeConfigLevel;
}
/**
* @return string
*/
public function getAttributeConfigLevel()
{
return $this->attributeConfigLevel;
}
/**
* @param GoogleCloudRetailV2CatalogAttribute[]
*/
public function setCatalogAttributes($catalogAttributes)
{
$this->catalogAttributes = $catalogAttributes;
}
/**
* @return GoogleCloudRetailV2CatalogAttribute[]
*/
public function getCatalogAttributes()
{
return $this->catalogAttributes;
}
/**
* @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(GoogleCloudRetailV2AttributesConfig::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2AttributesConfig');

View File

@@ -0,0 +1,63 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRetail;
class GoogleCloudRetailV2Audience extends \Google\Collection
{
protected $collection_key = 'genders';
/**
* @var string[]
*/
public $ageGroups;
/**
* @var string[]
*/
public $genders;
/**
* @param string[]
*/
public function setAgeGroups($ageGroups)
{
$this->ageGroups = $ageGroups;
}
/**
* @return string[]
*/
public function getAgeGroups()
{
return $this->ageGroups;
}
/**
* @param string[]
*/
public function setGenders($genders)
{
$this->genders = $genders;
}
/**
* @return string[]
*/
public function getGenders()
{
return $this->genders;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailV2Audience::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2Audience');

View File

@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRetail;
class GoogleCloudRetailV2BatchUpdateGenerativeQuestionConfigsRequest extends \Google\Collection
{
protected $collection_key = 'requests';
protected $requestsType = GoogleCloudRetailV2UpdateGenerativeQuestionConfigRequest::class;
protected $requestsDataType = 'array';
/**
* @param GoogleCloudRetailV2UpdateGenerativeQuestionConfigRequest[]
*/
public function setRequests($requests)
{
$this->requests = $requests;
}
/**
* @return GoogleCloudRetailV2UpdateGenerativeQuestionConfigRequest[]
*/
public function getRequests()
{
return $this->requests;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailV2BatchUpdateGenerativeQuestionConfigsRequest::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2BatchUpdateGenerativeQuestionConfigsRequest');

View File

@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRetail;
class GoogleCloudRetailV2BatchUpdateGenerativeQuestionConfigsResponse extends \Google\Collection
{
protected $collection_key = 'generativeQuestionConfigs';
protected $generativeQuestionConfigsType = GoogleCloudRetailV2GenerativeQuestionConfig::class;
protected $generativeQuestionConfigsDataType = 'array';
/**
* @param GoogleCloudRetailV2GenerativeQuestionConfig[]
*/
public function setGenerativeQuestionConfigs($generativeQuestionConfigs)
{
$this->generativeQuestionConfigs = $generativeQuestionConfigs;
}
/**
* @return GoogleCloudRetailV2GenerativeQuestionConfig[]
*/
public function getGenerativeQuestionConfigs()
{
return $this->generativeQuestionConfigs;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailV2BatchUpdateGenerativeQuestionConfigsResponse::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2BatchUpdateGenerativeQuestionConfigsResponse');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRetail;
class GoogleCloudRetailV2BigQueryOutputResult extends \Google\Model
{
/**
* @var string
*/
public $datasetId;
/**
* @var string
*/
public $tableId;
/**
* @param string
*/
public function setDatasetId($datasetId)
{
$this->datasetId = $datasetId;
}
/**
* @return string
*/
public function getDatasetId()
{
return $this->datasetId;
}
/**
* @param string
*/
public function setTableId($tableId)
{
$this->tableId = $tableId;
}
/**
* @return string
*/
public function getTableId()
{
return $this->tableId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailV2BigQueryOutputResult::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2BigQueryOutputResult');

View File

@@ -0,0 +1,132 @@
<?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\CloudRetail;
class GoogleCloudRetailV2BigQuerySource extends \Google\Model
{
/**
* @var string
*/
public $dataSchema;
/**
* @var string
*/
public $datasetId;
/**
* @var string
*/
public $gcsStagingDir;
protected $partitionDateType = GoogleTypeDate::class;
protected $partitionDateDataType = '';
/**
* @var string
*/
public $projectId;
/**
* @var string
*/
public $tableId;
/**
* @param string
*/
public function setDataSchema($dataSchema)
{
$this->dataSchema = $dataSchema;
}
/**
* @return string
*/
public function getDataSchema()
{
return $this->dataSchema;
}
/**
* @param string
*/
public function setDatasetId($datasetId)
{
$this->datasetId = $datasetId;
}
/**
* @return string
*/
public function getDatasetId()
{
return $this->datasetId;
}
/**
* @param string
*/
public function setGcsStagingDir($gcsStagingDir)
{
$this->gcsStagingDir = $gcsStagingDir;
}
/**
* @return string
*/
public function getGcsStagingDir()
{
return $this->gcsStagingDir;
}
/**
* @param GoogleTypeDate
*/
public function setPartitionDate(GoogleTypeDate $partitionDate)
{
$this->partitionDate = $partitionDate;
}
/**
* @return GoogleTypeDate
*/
public function getPartitionDate()
{
return $this->partitionDate;
}
/**
* @param string
*/
public function setProjectId($projectId)
{
$this->projectId = $projectId;
}
/**
* @return string
*/
public function getProjectId()
{
return $this->projectId;
}
/**
* @param string
*/
public function setTableId($tableId)
{
$this->tableId = $tableId;
}
/**
* @return string
*/
public function getTableId()
{
return $this->tableId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailV2BigQuerySource::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2BigQuerySource');

View File

@@ -0,0 +1,78 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRetail;
class GoogleCloudRetailV2Catalog extends \Google\Model
{
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $name;
protected $productLevelConfigType = GoogleCloudRetailV2ProductLevelConfig::class;
protected $productLevelConfigDataType = '';
/**
* @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 GoogleCloudRetailV2ProductLevelConfig
*/
public function setProductLevelConfig(GoogleCloudRetailV2ProductLevelConfig $productLevelConfig)
{
$this->productLevelConfig = $productLevelConfig;
}
/**
* @return GoogleCloudRetailV2ProductLevelConfig
*/
public function getProductLevelConfig()
{
return $this->productLevelConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailV2Catalog::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2Catalog');

View File

@@ -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\CloudRetail;
class GoogleCloudRetailV2CatalogAttribute extends \Google\Model
{
/**
* @var string
*/
public $dynamicFacetableOption;
/**
* @var string
*/
public $exactSearchableOption;
protected $facetConfigType = GoogleCloudRetailV2CatalogAttributeFacetConfig::class;
protected $facetConfigDataType = '';
/**
* @var bool
*/
public $inUse;
/**
* @var string
*/
public $indexableOption;
/**
* @var string
*/
public $key;
/**
* @var string
*/
public $retrievableOption;
/**
* @var string
*/
public $searchableOption;
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setDynamicFacetableOption($dynamicFacetableOption)
{
$this->dynamicFacetableOption = $dynamicFacetableOption;
}
/**
* @return string
*/
public function getDynamicFacetableOption()
{
return $this->dynamicFacetableOption;
}
/**
* @param string
*/
public function setExactSearchableOption($exactSearchableOption)
{
$this->exactSearchableOption = $exactSearchableOption;
}
/**
* @return string
*/
public function getExactSearchableOption()
{
return $this->exactSearchableOption;
}
/**
* @param GoogleCloudRetailV2CatalogAttributeFacetConfig
*/
public function setFacetConfig(GoogleCloudRetailV2CatalogAttributeFacetConfig $facetConfig)
{
$this->facetConfig = $facetConfig;
}
/**
* @return GoogleCloudRetailV2CatalogAttributeFacetConfig
*/
public function getFacetConfig()
{
return $this->facetConfig;
}
/**
* @param bool
*/
public function setInUse($inUse)
{
$this->inUse = $inUse;
}
/**
* @return bool
*/
public function getInUse()
{
return $this->inUse;
}
/**
* @param string
*/
public function setIndexableOption($indexableOption)
{
$this->indexableOption = $indexableOption;
}
/**
* @return string
*/
public function getIndexableOption()
{
return $this->indexableOption;
}
/**
* @param string
*/
public function setKey($key)
{
$this->key = $key;
}
/**
* @return string
*/
public function getKey()
{
return $this->key;
}
/**
* @param string
*/
public function setRetrievableOption($retrievableOption)
{
$this->retrievableOption = $retrievableOption;
}
/**
* @return string
*/
public function getRetrievableOption()
{
return $this->retrievableOption;
}
/**
* @param string
*/
public function setSearchableOption($searchableOption)
{
$this->searchableOption = $searchableOption;
}
/**
* @return string
*/
public function getSearchableOption()
{
return $this->searchableOption;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailV2CatalogAttribute::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2CatalogAttribute');

View File

@@ -0,0 +1,107 @@
<?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\CloudRetail;
class GoogleCloudRetailV2CatalogAttributeFacetConfig extends \Google\Collection
{
protected $collection_key = 'mergedFacetValues';
protected $facetIntervalsType = GoogleCloudRetailV2Interval::class;
protected $facetIntervalsDataType = 'array';
protected $ignoredFacetValuesType = GoogleCloudRetailV2CatalogAttributeFacetConfigIgnoredFacetValues::class;
protected $ignoredFacetValuesDataType = 'array';
protected $mergedFacetType = GoogleCloudRetailV2CatalogAttributeFacetConfigMergedFacet::class;
protected $mergedFacetDataType = '';
protected $mergedFacetValuesType = GoogleCloudRetailV2CatalogAttributeFacetConfigMergedFacetValue::class;
protected $mergedFacetValuesDataType = 'array';
protected $rerankConfigType = GoogleCloudRetailV2CatalogAttributeFacetConfigRerankConfig::class;
protected $rerankConfigDataType = '';
/**
* @param GoogleCloudRetailV2Interval[]
*/
public function setFacetIntervals($facetIntervals)
{
$this->facetIntervals = $facetIntervals;
}
/**
* @return GoogleCloudRetailV2Interval[]
*/
public function getFacetIntervals()
{
return $this->facetIntervals;
}
/**
* @param GoogleCloudRetailV2CatalogAttributeFacetConfigIgnoredFacetValues[]
*/
public function setIgnoredFacetValues($ignoredFacetValues)
{
$this->ignoredFacetValues = $ignoredFacetValues;
}
/**
* @return GoogleCloudRetailV2CatalogAttributeFacetConfigIgnoredFacetValues[]
*/
public function getIgnoredFacetValues()
{
return $this->ignoredFacetValues;
}
/**
* @param GoogleCloudRetailV2CatalogAttributeFacetConfigMergedFacet
*/
public function setMergedFacet(GoogleCloudRetailV2CatalogAttributeFacetConfigMergedFacet $mergedFacet)
{
$this->mergedFacet = $mergedFacet;
}
/**
* @return GoogleCloudRetailV2CatalogAttributeFacetConfigMergedFacet
*/
public function getMergedFacet()
{
return $this->mergedFacet;
}
/**
* @param GoogleCloudRetailV2CatalogAttributeFacetConfigMergedFacetValue[]
*/
public function setMergedFacetValues($mergedFacetValues)
{
$this->mergedFacetValues = $mergedFacetValues;
}
/**
* @return GoogleCloudRetailV2CatalogAttributeFacetConfigMergedFacetValue[]
*/
public function getMergedFacetValues()
{
return $this->mergedFacetValues;
}
/**
* @param GoogleCloudRetailV2CatalogAttributeFacetConfigRerankConfig
*/
public function setRerankConfig(GoogleCloudRetailV2CatalogAttributeFacetConfigRerankConfig $rerankConfig)
{
$this->rerankConfig = $rerankConfig;
}
/**
* @return GoogleCloudRetailV2CatalogAttributeFacetConfigRerankConfig
*/
public function getRerankConfig()
{
return $this->rerankConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailV2CatalogAttributeFacetConfig::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2CatalogAttributeFacetConfig');

View File

@@ -0,0 +1,81 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRetail;
class GoogleCloudRetailV2CatalogAttributeFacetConfigIgnoredFacetValues extends \Google\Collection
{
protected $collection_key = 'values';
/**
* @var string
*/
public $endTime;
/**
* @var string
*/
public $startTime;
/**
* @var string[]
*/
public $values;
/**
* @param string
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* @param string
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
/**
* @param string[]
*/
public function setValues($values)
{
$this->values = $values;
}
/**
* @return string[]
*/
public function getValues()
{
return $this->values;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailV2CatalogAttributeFacetConfigIgnoredFacetValues::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2CatalogAttributeFacetConfigIgnoredFacetValues');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRetail;
class GoogleCloudRetailV2CatalogAttributeFacetConfigMergedFacet extends \Google\Model
{
/**
* @var string
*/
public $mergedFacetKey;
/**
* @param string
*/
public function setMergedFacetKey($mergedFacetKey)
{
$this->mergedFacetKey = $mergedFacetKey;
}
/**
* @return string
*/
public function getMergedFacetKey()
{
return $this->mergedFacetKey;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailV2CatalogAttributeFacetConfigMergedFacet::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2CatalogAttributeFacetConfigMergedFacet');

View File

@@ -0,0 +1,63 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRetail;
class GoogleCloudRetailV2CatalogAttributeFacetConfigMergedFacetValue extends \Google\Collection
{
protected $collection_key = 'values';
/**
* @var string
*/
public $mergedValue;
/**
* @var string[]
*/
public $values;
/**
* @param string
*/
public function setMergedValue($mergedValue)
{
$this->mergedValue = $mergedValue;
}
/**
* @return string
*/
public function getMergedValue()
{
return $this->mergedValue;
}
/**
* @param string[]
*/
public function setValues($values)
{
$this->values = $values;
}
/**
* @return string[]
*/
public function getValues()
{
return $this->values;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailV2CatalogAttributeFacetConfigMergedFacetValue::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2CatalogAttributeFacetConfigMergedFacetValue');

View File

@@ -0,0 +1,63 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRetail;
class GoogleCloudRetailV2CatalogAttributeFacetConfigRerankConfig extends \Google\Collection
{
protected $collection_key = 'facetValues';
/**
* @var string[]
*/
public $facetValues;
/**
* @var bool
*/
public $rerankFacet;
/**
* @param string[]
*/
public function setFacetValues($facetValues)
{
$this->facetValues = $facetValues;
}
/**
* @return string[]
*/
public function getFacetValues()
{
return $this->facetValues;
}
/**
* @param bool
*/
public function setRerankFacet($rerankFacet)
{
$this->rerankFacet = $rerankFacet;
}
/**
* @return bool
*/
public function getRerankFacet()
{
return $this->rerankFacet;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailV2CatalogAttributeFacetConfigRerankConfig::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2CatalogAttributeFacetConfigRerankConfig');

View File

@@ -0,0 +1,63 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRetail;
class GoogleCloudRetailV2ColorInfo extends \Google\Collection
{
protected $collection_key = 'colors';
/**
* @var string[]
*/
public $colorFamilies;
/**
* @var string[]
*/
public $colors;
/**
* @param string[]
*/
public function setColorFamilies($colorFamilies)
{
$this->colorFamilies = $colorFamilies;
}
/**
* @return string[]
*/
public function getColorFamilies()
{
return $this->colorFamilies;
}
/**
* @param string[]
*/
public function setColors($colors)
{
$this->colors = $colors;
}
/**
* @return string[]
*/
public function getColors()
{
return $this->colors;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailV2ColorInfo::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2ColorInfo');

View File

@@ -0,0 +1,93 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRetail;
class GoogleCloudRetailV2CompleteQueryResponse extends \Google\Collection
{
protected $collection_key = 'recentSearchResults';
protected $attributeResultsType = GoogleCloudRetailV2CompleteQueryResponseAttributeResult::class;
protected $attributeResultsDataType = 'map';
/**
* @var string
*/
public $attributionToken;
protected $completionResultsType = GoogleCloudRetailV2CompleteQueryResponseCompletionResult::class;
protected $completionResultsDataType = 'array';
protected $recentSearchResultsType = GoogleCloudRetailV2CompleteQueryResponseRecentSearchResult::class;
protected $recentSearchResultsDataType = 'array';
/**
* @param GoogleCloudRetailV2CompleteQueryResponseAttributeResult[]
*/
public function setAttributeResults($attributeResults)
{
$this->attributeResults = $attributeResults;
}
/**
* @return GoogleCloudRetailV2CompleteQueryResponseAttributeResult[]
*/
public function getAttributeResults()
{
return $this->attributeResults;
}
/**
* @param string
*/
public function setAttributionToken($attributionToken)
{
$this->attributionToken = $attributionToken;
}
/**
* @return string
*/
public function getAttributionToken()
{
return $this->attributionToken;
}
/**
* @param GoogleCloudRetailV2CompleteQueryResponseCompletionResult[]
*/
public function setCompletionResults($completionResults)
{
$this->completionResults = $completionResults;
}
/**
* @return GoogleCloudRetailV2CompleteQueryResponseCompletionResult[]
*/
public function getCompletionResults()
{
return $this->completionResults;
}
/**
* @param GoogleCloudRetailV2CompleteQueryResponseRecentSearchResult[]
*/
public function setRecentSearchResults($recentSearchResults)
{
$this->recentSearchResults = $recentSearchResults;
}
/**
* @return GoogleCloudRetailV2CompleteQueryResponseRecentSearchResult[]
*/
public function getRecentSearchResults()
{
return $this->recentSearchResults;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailV2CompleteQueryResponse::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2CompleteQueryResponse');

View File

@@ -0,0 +1,45 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRetail;
class GoogleCloudRetailV2CompleteQueryResponseAttributeResult extends \Google\Collection
{
protected $collection_key = 'suggestions';
/**
* @var string[]
*/
public $suggestions;
/**
* @param string[]
*/
public function setSuggestions($suggestions)
{
$this->suggestions = $suggestions;
}
/**
* @return string[]
*/
public function getSuggestions()
{
return $this->suggestions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailV2CompleteQueryResponseAttributeResult::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2CompleteQueryResponseAttributeResult');

View File

@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRetail;
class GoogleCloudRetailV2CompleteQueryResponseCompletionResult extends \Google\Model
{
protected $attributesType = GoogleCloudRetailV2CustomAttribute::class;
protected $attributesDataType = 'map';
/**
* @var string
*/
public $suggestion;
/**
* @param GoogleCloudRetailV2CustomAttribute[]
*/
public function setAttributes($attributes)
{
$this->attributes = $attributes;
}
/**
* @return GoogleCloudRetailV2CustomAttribute[]
*/
public function getAttributes()
{
return $this->attributes;
}
/**
* @param string
*/
public function setSuggestion($suggestion)
{
$this->suggestion = $suggestion;
}
/**
* @return string
*/
public function getSuggestion()
{
return $this->suggestion;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailV2CompleteQueryResponseCompletionResult::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2CompleteQueryResponseCompletionResult');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRetail;
class GoogleCloudRetailV2CompleteQueryResponseRecentSearchResult extends \Google\Model
{
/**
* @var string
*/
public $recentSearch;
/**
* @param string
*/
public function setRecentSearch($recentSearch)
{
$this->recentSearch = $recentSearch;
}
/**
* @return string
*/
public function getRecentSearch()
{
return $this->recentSearch;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailV2CompleteQueryResponseRecentSearchResult::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2CompleteQueryResponseRecentSearchResult');

View File

@@ -0,0 +1,218 @@
<?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\CloudRetail;
class GoogleCloudRetailV2CompletionConfig extends \Google\Model
{
protected $allowlistInputConfigType = GoogleCloudRetailV2CompletionDataInputConfig::class;
protected $allowlistInputConfigDataType = '';
/**
* @var bool
*/
public $autoLearning;
protected $denylistInputConfigType = GoogleCloudRetailV2CompletionDataInputConfig::class;
protected $denylistInputConfigDataType = '';
/**
* @var string
*/
public $lastAllowlistImportOperation;
/**
* @var string
*/
public $lastDenylistImportOperation;
/**
* @var string
*/
public $lastSuggestionsImportOperation;
/**
* @var string
*/
public $matchingOrder;
/**
* @var int
*/
public $maxSuggestions;
/**
* @var int
*/
public $minPrefixLength;
/**
* @var string
*/
public $name;
protected $suggestionsInputConfigType = GoogleCloudRetailV2CompletionDataInputConfig::class;
protected $suggestionsInputConfigDataType = '';
/**
* @param GoogleCloudRetailV2CompletionDataInputConfig
*/
public function setAllowlistInputConfig(GoogleCloudRetailV2CompletionDataInputConfig $allowlistInputConfig)
{
$this->allowlistInputConfig = $allowlistInputConfig;
}
/**
* @return GoogleCloudRetailV2CompletionDataInputConfig
*/
public function getAllowlistInputConfig()
{
return $this->allowlistInputConfig;
}
/**
* @param bool
*/
public function setAutoLearning($autoLearning)
{
$this->autoLearning = $autoLearning;
}
/**
* @return bool
*/
public function getAutoLearning()
{
return $this->autoLearning;
}
/**
* @param GoogleCloudRetailV2CompletionDataInputConfig
*/
public function setDenylistInputConfig(GoogleCloudRetailV2CompletionDataInputConfig $denylistInputConfig)
{
$this->denylistInputConfig = $denylistInputConfig;
}
/**
* @return GoogleCloudRetailV2CompletionDataInputConfig
*/
public function getDenylistInputConfig()
{
return $this->denylistInputConfig;
}
/**
* @param string
*/
public function setLastAllowlistImportOperation($lastAllowlistImportOperation)
{
$this->lastAllowlistImportOperation = $lastAllowlistImportOperation;
}
/**
* @return string
*/
public function getLastAllowlistImportOperation()
{
return $this->lastAllowlistImportOperation;
}
/**
* @param string
*/
public function setLastDenylistImportOperation($lastDenylistImportOperation)
{
$this->lastDenylistImportOperation = $lastDenylistImportOperation;
}
/**
* @return string
*/
public function getLastDenylistImportOperation()
{
return $this->lastDenylistImportOperation;
}
/**
* @param string
*/
public function setLastSuggestionsImportOperation($lastSuggestionsImportOperation)
{
$this->lastSuggestionsImportOperation = $lastSuggestionsImportOperation;
}
/**
* @return string
*/
public function getLastSuggestionsImportOperation()
{
return $this->lastSuggestionsImportOperation;
}
/**
* @param string
*/
public function setMatchingOrder($matchingOrder)
{
$this->matchingOrder = $matchingOrder;
}
/**
* @return string
*/
public function getMatchingOrder()
{
return $this->matchingOrder;
}
/**
* @param int
*/
public function setMaxSuggestions($maxSuggestions)
{
$this->maxSuggestions = $maxSuggestions;
}
/**
* @return int
*/
public function getMaxSuggestions()
{
return $this->maxSuggestions;
}
/**
* @param int
*/
public function setMinPrefixLength($minPrefixLength)
{
$this->minPrefixLength = $minPrefixLength;
}
/**
* @return int
*/
public function getMinPrefixLength()
{
return $this->minPrefixLength;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param GoogleCloudRetailV2CompletionDataInputConfig
*/
public function setSuggestionsInputConfig(GoogleCloudRetailV2CompletionDataInputConfig $suggestionsInputConfig)
{
$this->suggestionsInputConfig = $suggestionsInputConfig;
}
/**
* @return GoogleCloudRetailV2CompletionDataInputConfig
*/
public function getSuggestionsInputConfig()
{
return $this->suggestionsInputConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailV2CompletionConfig::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2CompletionConfig');

View File

@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRetail;
class GoogleCloudRetailV2CompletionDataInputConfig extends \Google\Model
{
protected $bigQuerySourceType = GoogleCloudRetailV2BigQuerySource::class;
protected $bigQuerySourceDataType = '';
/**
* @param GoogleCloudRetailV2BigQuerySource
*/
public function setBigQuerySource(GoogleCloudRetailV2BigQuerySource $bigQuerySource)
{
$this->bigQuerySource = $bigQuerySource;
}
/**
* @return GoogleCloudRetailV2BigQuerySource
*/
public function getBigQuerySource()
{
return $this->bigQuerySource;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailV2CompletionDataInputConfig::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2CompletionDataInputConfig');

View File

@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRetail;
class GoogleCloudRetailV2CompletionDetail extends \Google\Model
{
/**
* @var string
*/
public $completionAttributionToken;
/**
* @var int
*/
public $selectedPosition;
/**
* @var string
*/
public $selectedSuggestion;
/**
* @param string
*/
public function setCompletionAttributionToken($completionAttributionToken)
{
$this->completionAttributionToken = $completionAttributionToken;
}
/**
* @return string
*/
public function getCompletionAttributionToken()
{
return $this->completionAttributionToken;
}
/**
* @param int
*/
public function setSelectedPosition($selectedPosition)
{
$this->selectedPosition = $selectedPosition;
}
/**
* @return int
*/
public function getSelectedPosition()
{
return $this->selectedPosition;
}
/**
* @param string
*/
public function setSelectedSuggestion($selectedSuggestion)
{
$this->selectedSuggestion = $selectedSuggestion;
}
/**
* @return string
*/
public function getSelectedSuggestion()
{
return $this->selectedSuggestion;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailV2CompletionDetail::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2CompletionDetail');

View File

@@ -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\CloudRetail;
class GoogleCloudRetailV2Condition extends \Google\Collection
{
protected $collection_key = 'queryTerms';
protected $activeTimeRangeType = GoogleCloudRetailV2ConditionTimeRange::class;
protected $activeTimeRangeDataType = 'array';
/**
* @var string[]
*/
public $pageCategories;
protected $queryTermsType = GoogleCloudRetailV2ConditionQueryTerm::class;
protected $queryTermsDataType = 'array';
/**
* @param GoogleCloudRetailV2ConditionTimeRange[]
*/
public function setActiveTimeRange($activeTimeRange)
{
$this->activeTimeRange = $activeTimeRange;
}
/**
* @return GoogleCloudRetailV2ConditionTimeRange[]
*/
public function getActiveTimeRange()
{
return $this->activeTimeRange;
}
/**
* @param string[]
*/
public function setPageCategories($pageCategories)
{
$this->pageCategories = $pageCategories;
}
/**
* @return string[]
*/
public function getPageCategories()
{
return $this->pageCategories;
}
/**
* @param GoogleCloudRetailV2ConditionQueryTerm[]
*/
public function setQueryTerms($queryTerms)
{
$this->queryTerms = $queryTerms;
}
/**
* @return GoogleCloudRetailV2ConditionQueryTerm[]
*/
public function getQueryTerms()
{
return $this->queryTerms;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailV2Condition::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2Condition');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRetail;
class GoogleCloudRetailV2ConditionQueryTerm extends \Google\Model
{
/**
* @var bool
*/
public $fullMatch;
/**
* @var string
*/
public $value;
/**
* @param bool
*/
public function setFullMatch($fullMatch)
{
$this->fullMatch = $fullMatch;
}
/**
* @return bool
*/
public function getFullMatch()
{
return $this->fullMatch;
}
/**
* @param string
*/
public function setValue($value)
{
$this->value = $value;
}
/**
* @return string
*/
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailV2ConditionQueryTerm::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2ConditionQueryTerm');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRetail;
class GoogleCloudRetailV2ConditionTimeRange extends \Google\Model
{
/**
* @var string
*/
public $endTime;
/**
* @var string
*/
public $startTime;
/**
* @param string
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* @param string
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailV2ConditionTimeRange::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2ConditionTimeRange');

View File

@@ -0,0 +1,133 @@
<?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\CloudRetail;
class GoogleCloudRetailV2Control extends \Google\Collection
{
protected $collection_key = 'solutionTypes';
/**
* @var string[]
*/
public $associatedServingConfigIds;
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $name;
protected $ruleType = GoogleCloudRetailV2Rule::class;
protected $ruleDataType = '';
/**
* @var string[]
*/
public $searchSolutionUseCase;
/**
* @var string[]
*/
public $solutionTypes;
/**
* @param string[]
*/
public function setAssociatedServingConfigIds($associatedServingConfigIds)
{
$this->associatedServingConfigIds = $associatedServingConfigIds;
}
/**
* @return string[]
*/
public function getAssociatedServingConfigIds()
{
return $this->associatedServingConfigIds;
}
/**
* @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 GoogleCloudRetailV2Rule
*/
public function setRule(GoogleCloudRetailV2Rule $rule)
{
$this->rule = $rule;
}
/**
* @return GoogleCloudRetailV2Rule
*/
public function getRule()
{
return $this->rule;
}
/**
* @param string[]
*/
public function setSearchSolutionUseCase($searchSolutionUseCase)
{
$this->searchSolutionUseCase = $searchSolutionUseCase;
}
/**
* @return string[]
*/
public function getSearchSolutionUseCase()
{
return $this->searchSolutionUseCase;
}
/**
* @param string[]
*/
public function setSolutionTypes($solutionTypes)
{
$this->solutionTypes = $solutionTypes;
}
/**
* @return string[]
*/
public function getSolutionTypes()
{
return $this->solutionTypes;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailV2Control::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2Control');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRetail;
class GoogleCloudRetailV2CreateModelMetadata extends \Google\Model
{
/**
* @var string
*/
public $model;
/**
* @param string
*/
public function setModel($model)
{
$this->model = $model;
}
/**
* @return string
*/
public function getModel()
{
return $this->model;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailV2CreateModelMetadata::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2CreateModelMetadata');

View File

@@ -0,0 +1,90 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRetail;
class GoogleCloudRetailV2CustomAttribute extends \Google\Collection
{
protected $collection_key = 'text';
/**
* @var bool
*/
public $indexable;
public $numbers;
/**
* @var bool
*/
public $searchable;
/**
* @var string[]
*/
public $text;
/**
* @param bool
*/
public function setIndexable($indexable)
{
$this->indexable = $indexable;
}
/**
* @return bool
*/
public function getIndexable()
{
return $this->indexable;
}
public function setNumbers($numbers)
{
$this->numbers = $numbers;
}
public function getNumbers()
{
return $this->numbers;
}
/**
* @param bool
*/
public function setSearchable($searchable)
{
$this->searchable = $searchable;
}
/**
* @return bool
*/
public function getSearchable()
{
return $this->searchable;
}
/**
* @param string[]
*/
public function setText($text)
{
$this->text = $text;
}
/**
* @return string[]
*/
public function getText()
{
return $this->text;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailV2CustomAttribute::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2CustomAttribute');

View File

@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRetail;
class GoogleCloudRetailV2ExperimentInfo extends \Google\Model
{
/**
* @var string
*/
public $experiment;
protected $servingConfigExperimentType = GoogleCloudRetailV2ExperimentInfoServingConfigExperiment::class;
protected $servingConfigExperimentDataType = '';
/**
* @param string
*/
public function setExperiment($experiment)
{
$this->experiment = $experiment;
}
/**
* @return string
*/
public function getExperiment()
{
return $this->experiment;
}
/**
* @param GoogleCloudRetailV2ExperimentInfoServingConfigExperiment
*/
public function setServingConfigExperiment(GoogleCloudRetailV2ExperimentInfoServingConfigExperiment $servingConfigExperiment)
{
$this->servingConfigExperiment = $servingConfigExperiment;
}
/**
* @return GoogleCloudRetailV2ExperimentInfoServingConfigExperiment
*/
public function getServingConfigExperiment()
{
return $this->servingConfigExperiment;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailV2ExperimentInfo::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2ExperimentInfo');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRetail;
class GoogleCloudRetailV2ExperimentInfoServingConfigExperiment extends \Google\Model
{
/**
* @var string
*/
public $experimentServingConfig;
/**
* @var string
*/
public $originalServingConfig;
/**
* @param string
*/
public function setExperimentServingConfig($experimentServingConfig)
{
$this->experimentServingConfig = $experimentServingConfig;
}
/**
* @return string
*/
public function getExperimentServingConfig()
{
return $this->experimentServingConfig;
}
/**
* @param string
*/
public function setOriginalServingConfig($originalServingConfig)
{
$this->originalServingConfig = $originalServingConfig;
}
/**
* @return string
*/
public function getOriginalServingConfig()
{
return $this->originalServingConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailV2ExperimentInfoServingConfigExperiment::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2ExperimentInfoServingConfigExperiment');

View File

@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRetail;
class GoogleCloudRetailV2ExportAnalyticsMetricsRequest extends \Google\Model
{
/**
* @var string
*/
public $filter;
protected $outputConfigType = GoogleCloudRetailV2OutputConfig::class;
protected $outputConfigDataType = '';
/**
* @param string
*/
public function setFilter($filter)
{
$this->filter = $filter;
}
/**
* @return string
*/
public function getFilter()
{
return $this->filter;
}
/**
* @param GoogleCloudRetailV2OutputConfig
*/
public function setOutputConfig(GoogleCloudRetailV2OutputConfig $outputConfig)
{
$this->outputConfig = $outputConfig;
}
/**
* @return GoogleCloudRetailV2OutputConfig
*/
public function getOutputConfig()
{
return $this->outputConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailV2ExportAnalyticsMetricsRequest::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2ExportAnalyticsMetricsRequest');

View File

@@ -0,0 +1,75 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRetail;
class GoogleCloudRetailV2ExportAnalyticsMetricsResponse extends \Google\Collection
{
protected $collection_key = 'errorSamples';
protected $errorSamplesType = GoogleRpcStatus::class;
protected $errorSamplesDataType = 'array';
protected $errorsConfigType = GoogleCloudRetailV2ExportErrorsConfig::class;
protected $errorsConfigDataType = '';
protected $outputResultType = GoogleCloudRetailV2OutputResult::class;
protected $outputResultDataType = '';
/**
* @param GoogleRpcStatus[]
*/
public function setErrorSamples($errorSamples)
{
$this->errorSamples = $errorSamples;
}
/**
* @return GoogleRpcStatus[]
*/
public function getErrorSamples()
{
return $this->errorSamples;
}
/**
* @param GoogleCloudRetailV2ExportErrorsConfig
*/
public function setErrorsConfig(GoogleCloudRetailV2ExportErrorsConfig $errorsConfig)
{
$this->errorsConfig = $errorsConfig;
}
/**
* @return GoogleCloudRetailV2ExportErrorsConfig
*/
public function getErrorsConfig()
{
return $this->errorsConfig;
}
/**
* @param GoogleCloudRetailV2OutputResult
*/
public function setOutputResult(GoogleCloudRetailV2OutputResult $outputResult)
{
$this->outputResult = $outputResult;
}
/**
* @return GoogleCloudRetailV2OutputResult
*/
public function getOutputResult()
{
return $this->outputResult;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailV2ExportAnalyticsMetricsResponse::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2ExportAnalyticsMetricsResponse');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRetail;
class GoogleCloudRetailV2ExportErrorsConfig extends \Google\Model
{
/**
* @var string
*/
public $gcsPrefix;
/**
* @param string
*/
public function setGcsPrefix($gcsPrefix)
{
$this->gcsPrefix = $gcsPrefix;
}
/**
* @return string
*/
public function getGcsPrefix()
{
return $this->gcsPrefix;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailV2ExportErrorsConfig::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2ExportErrorsConfig');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRetail;
class GoogleCloudRetailV2ExportMetadata extends \Google\Model
{
/**
* @var string
*/
public $createTime;
/**
* @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 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(GoogleCloudRetailV2ExportMetadata::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2ExportMetadata');

View File

@@ -0,0 +1,63 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRetail;
class GoogleCloudRetailV2FulfillmentInfo extends \Google\Collection
{
protected $collection_key = 'placeIds';
/**
* @var string[]
*/
public $placeIds;
/**
* @var string
*/
public $type;
/**
* @param string[]
*/
public function setPlaceIds($placeIds)
{
$this->placeIds = $placeIds;
}
/**
* @return string[]
*/
public function getPlaceIds()
{
return $this->placeIds;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailV2FulfillmentInfo::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2FulfillmentInfo');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRetail;
class GoogleCloudRetailV2GcsOutputResult extends \Google\Model
{
/**
* @var string
*/
public $outputUri;
/**
* @param string
*/
public function setOutputUri($outputUri)
{
$this->outputUri = $outputUri;
}
/**
* @return string
*/
public function getOutputUri()
{
return $this->outputUri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailV2GcsOutputResult::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2GcsOutputResult');

View File

@@ -0,0 +1,63 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRetail;
class GoogleCloudRetailV2GcsSource extends \Google\Collection
{
protected $collection_key = 'inputUris';
/**
* @var string
*/
public $dataSchema;
/**
* @var string[]
*/
public $inputUris;
/**
* @param string
*/
public function setDataSchema($dataSchema)
{
$this->dataSchema = $dataSchema;
}
/**
* @return string
*/
public function getDataSchema()
{
return $this->dataSchema;
}
/**
* @param string[]
*/
public function setInputUris($inputUris)
{
$this->inputUris = $inputUris;
}
/**
* @return string[]
*/
public function getInputUris()
{
return $this->inputUris;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailV2GcsSource::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2GcsSource');

View File

@@ -0,0 +1,153 @@
<?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\CloudRetail;
class GoogleCloudRetailV2GenerativeQuestionConfig extends \Google\Collection
{
protected $collection_key = 'exampleValues';
/**
* @var bool
*/
public $allowedInConversation;
/**
* @var string
*/
public $catalog;
/**
* @var string[]
*/
public $exampleValues;
/**
* @var string
*/
public $facet;
/**
* @var string
*/
public $finalQuestion;
/**
* @var float
*/
public $frequency;
/**
* @var string
*/
public $generatedQuestion;
/**
* @param bool
*/
public function setAllowedInConversation($allowedInConversation)
{
$this->allowedInConversation = $allowedInConversation;
}
/**
* @return bool
*/
public function getAllowedInConversation()
{
return $this->allowedInConversation;
}
/**
* @param string
*/
public function setCatalog($catalog)
{
$this->catalog = $catalog;
}
/**
* @return string
*/
public function getCatalog()
{
return $this->catalog;
}
/**
* @param string[]
*/
public function setExampleValues($exampleValues)
{
$this->exampleValues = $exampleValues;
}
/**
* @return string[]
*/
public function getExampleValues()
{
return $this->exampleValues;
}
/**
* @param string
*/
public function setFacet($facet)
{
$this->facet = $facet;
}
/**
* @return string
*/
public function getFacet()
{
return $this->facet;
}
/**
* @param string
*/
public function setFinalQuestion($finalQuestion)
{
$this->finalQuestion = $finalQuestion;
}
/**
* @return string
*/
public function getFinalQuestion()
{
return $this->finalQuestion;
}
/**
* @param float
*/
public function setFrequency($frequency)
{
$this->frequency = $frequency;
}
/**
* @return float
*/
public function getFrequency()
{
return $this->frequency;
}
/**
* @param string
*/
public function setGeneratedQuestion($generatedQuestion)
{
$this->generatedQuestion = $generatedQuestion;
}
/**
* @return string
*/
public function getGeneratedQuestion()
{
return $this->generatedQuestion;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailV2GenerativeQuestionConfig::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2GenerativeQuestionConfig');

View File

@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRetail;
class GoogleCloudRetailV2GenerativeQuestionsFeatureConfig extends \Google\Model
{
/**
* @var string
*/
public $catalog;
/**
* @var bool
*/
public $featureEnabled;
/**
* @var int
*/
public $minimumProducts;
/**
* @param string
*/
public function setCatalog($catalog)
{
$this->catalog = $catalog;
}
/**
* @return string
*/
public function getCatalog()
{
return $this->catalog;
}
/**
* @param bool
*/
public function setFeatureEnabled($featureEnabled)
{
$this->featureEnabled = $featureEnabled;
}
/**
* @return bool
*/
public function getFeatureEnabled()
{
return $this->featureEnabled;
}
/**
* @param int
*/
public function setMinimumProducts($minimumProducts)
{
$this->minimumProducts = $minimumProducts;
}
/**
* @return int
*/
public function getMinimumProducts()
{
return $this->minimumProducts;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailV2GenerativeQuestionsFeatureConfig::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2GenerativeQuestionsFeatureConfig');

View File

@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRetail;
class GoogleCloudRetailV2GetDefaultBranchResponse extends \Google\Model
{
/**
* @var string
*/
public $branch;
/**
* @var string
*/
public $note;
/**
* @var string
*/
public $setTime;
/**
* @param string
*/
public function setBranch($branch)
{
$this->branch = $branch;
}
/**
* @return string
*/
public function getBranch()
{
return $this->branch;
}
/**
* @param string
*/
public function setNote($note)
{
$this->note = $note;
}
/**
* @return string
*/
public function getNote()
{
return $this->note;
}
/**
* @param string
*/
public function setSetTime($setTime)
{
$this->setTime = $setTime;
}
/**
* @return string
*/
public function getSetTime()
{
return $this->setTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailV2GetDefaultBranchResponse::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2GetDefaultBranchResponse');

View File

@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRetail;
class GoogleCloudRetailV2Image extends \Google\Model
{
/**
* @var int
*/
public $height;
/**
* @var string
*/
public $uri;
/**
* @var int
*/
public $width;
/**
* @param int
*/
public function setHeight($height)
{
$this->height = $height;
}
/**
* @return int
*/
public function getHeight()
{
return $this->height;
}
/**
* @param string
*/
public function setUri($uri)
{
$this->uri = $uri;
}
/**
* @return string
*/
public function getUri()
{
return $this->uri;
}
/**
* @param int
*/
public function setWidth($width)
{
$this->width = $width;
}
/**
* @return int
*/
public function getWidth()
{
return $this->width;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailV2Image::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2Image');

View File

@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRetail;
class GoogleCloudRetailV2ImportCompletionDataRequest extends \Google\Model
{
protected $inputConfigType = GoogleCloudRetailV2CompletionDataInputConfig::class;
protected $inputConfigDataType = '';
/**
* @var string
*/
public $notificationPubsubTopic;
/**
* @param GoogleCloudRetailV2CompletionDataInputConfig
*/
public function setInputConfig(GoogleCloudRetailV2CompletionDataInputConfig $inputConfig)
{
$this->inputConfig = $inputConfig;
}
/**
* @return GoogleCloudRetailV2CompletionDataInputConfig
*/
public function getInputConfig()
{
return $this->inputConfig;
}
/**
* @param string
*/
public function setNotificationPubsubTopic($notificationPubsubTopic)
{
$this->notificationPubsubTopic = $notificationPubsubTopic;
}
/**
* @return string
*/
public function getNotificationPubsubTopic()
{
return $this->notificationPubsubTopic;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailV2ImportCompletionDataRequest::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2ImportCompletionDataRequest');

View File

@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRetail;
class GoogleCloudRetailV2ImportCompletionDataResponse extends \Google\Collection
{
protected $collection_key = 'errorSamples';
protected $errorSamplesType = GoogleRpcStatus::class;
protected $errorSamplesDataType = 'array';
/**
* @param GoogleRpcStatus[]
*/
public function setErrorSamples($errorSamples)
{
$this->errorSamples = $errorSamples;
}
/**
* @return GoogleRpcStatus[]
*/
public function getErrorSamples()
{
return $this->errorSamples;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailV2ImportCompletionDataResponse::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2ImportCompletionDataResponse');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRetail;
class GoogleCloudRetailV2ImportErrorsConfig extends \Google\Model
{
/**
* @var string
*/
public $gcsPrefix;
/**
* @param string
*/
public function setGcsPrefix($gcsPrefix)
{
$this->gcsPrefix = $gcsPrefix;
}
/**
* @return string
*/
public function getGcsPrefix()
{
return $this->gcsPrefix;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailV2ImportErrorsConfig::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2ImportErrorsConfig');

View File

@@ -0,0 +1,134 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRetail;
class GoogleCloudRetailV2ImportMetadata extends \Google\Model
{
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $failureCount;
/**
* @var string
*/
public $notificationPubsubTopic;
/**
* @var string
*/
public $requestId;
/**
* @var string
*/
public $successCount;
/**
* @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 setFailureCount($failureCount)
{
$this->failureCount = $failureCount;
}
/**
* @return string
*/
public function getFailureCount()
{
return $this->failureCount;
}
/**
* @param string
*/
public function setNotificationPubsubTopic($notificationPubsubTopic)
{
$this->notificationPubsubTopic = $notificationPubsubTopic;
}
/**
* @return string
*/
public function getNotificationPubsubTopic()
{
return $this->notificationPubsubTopic;
}
/**
* @param string
*/
public function setRequestId($requestId)
{
$this->requestId = $requestId;
}
/**
* @return string
*/
public function getRequestId()
{
return $this->requestId;
}
/**
* @param string
*/
public function setSuccessCount($successCount)
{
$this->successCount = $successCount;
}
/**
* @return string
*/
public function getSuccessCount()
{
return $this->successCount;
}
/**
* @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(GoogleCloudRetailV2ImportMetadata::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2ImportMetadata');

View File

@@ -0,0 +1,130 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRetail;
class GoogleCloudRetailV2ImportProductsRequest extends \Google\Model
{
protected $errorsConfigType = GoogleCloudRetailV2ImportErrorsConfig::class;
protected $errorsConfigDataType = '';
protected $inputConfigType = GoogleCloudRetailV2ProductInputConfig::class;
protected $inputConfigDataType = '';
/**
* @var string
*/
public $notificationPubsubTopic;
/**
* @var string
*/
public $reconciliationMode;
/**
* @var string
*/
public $requestId;
/**
* @var string
*/
public $updateMask;
/**
* @param GoogleCloudRetailV2ImportErrorsConfig
*/
public function setErrorsConfig(GoogleCloudRetailV2ImportErrorsConfig $errorsConfig)
{
$this->errorsConfig = $errorsConfig;
}
/**
* @return GoogleCloudRetailV2ImportErrorsConfig
*/
public function getErrorsConfig()
{
return $this->errorsConfig;
}
/**
* @param GoogleCloudRetailV2ProductInputConfig
*/
public function setInputConfig(GoogleCloudRetailV2ProductInputConfig $inputConfig)
{
$this->inputConfig = $inputConfig;
}
/**
* @return GoogleCloudRetailV2ProductInputConfig
*/
public function getInputConfig()
{
return $this->inputConfig;
}
/**
* @param string
*/
public function setNotificationPubsubTopic($notificationPubsubTopic)
{
$this->notificationPubsubTopic = $notificationPubsubTopic;
}
/**
* @return string
*/
public function getNotificationPubsubTopic()
{
return $this->notificationPubsubTopic;
}
/**
* @param string
*/
public function setReconciliationMode($reconciliationMode)
{
$this->reconciliationMode = $reconciliationMode;
}
/**
* @return string
*/
public function getReconciliationMode()
{
return $this->reconciliationMode;
}
/**
* @param string
*/
public function setRequestId($requestId)
{
$this->requestId = $requestId;
}
/**
* @return string
*/
public function getRequestId()
{
return $this->requestId;
}
/**
* @param string
*/
public function setUpdateMask($updateMask)
{
$this->updateMask = $updateMask;
}
/**
* @return string
*/
public function getUpdateMask()
{
return $this->updateMask;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailV2ImportProductsRequest::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2ImportProductsRequest');

View File

@@ -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\CloudRetail;
class GoogleCloudRetailV2ImportProductsResponse extends \Google\Collection
{
protected $collection_key = 'errorSamples';
protected $errorSamplesType = GoogleRpcStatus::class;
protected $errorSamplesDataType = 'array';
protected $errorsConfigType = GoogleCloudRetailV2ImportErrorsConfig::class;
protected $errorsConfigDataType = '';
/**
* @param GoogleRpcStatus[]
*/
public function setErrorSamples($errorSamples)
{
$this->errorSamples = $errorSamples;
}
/**
* @return GoogleRpcStatus[]
*/
public function getErrorSamples()
{
return $this->errorSamples;
}
/**
* @param GoogleCloudRetailV2ImportErrorsConfig
*/
public function setErrorsConfig(GoogleCloudRetailV2ImportErrorsConfig $errorsConfig)
{
$this->errorsConfig = $errorsConfig;
}
/**
* @return GoogleCloudRetailV2ImportErrorsConfig
*/
public function getErrorsConfig()
{
return $this->errorsConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailV2ImportProductsResponse::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2ImportProductsResponse');

View File

@@ -0,0 +1,58 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRetail;
class GoogleCloudRetailV2ImportUserEventsRequest extends \Google\Model
{
protected $errorsConfigType = GoogleCloudRetailV2ImportErrorsConfig::class;
protected $errorsConfigDataType = '';
protected $inputConfigType = GoogleCloudRetailV2UserEventInputConfig::class;
protected $inputConfigDataType = '';
/**
* @param GoogleCloudRetailV2ImportErrorsConfig
*/
public function setErrorsConfig(GoogleCloudRetailV2ImportErrorsConfig $errorsConfig)
{
$this->errorsConfig = $errorsConfig;
}
/**
* @return GoogleCloudRetailV2ImportErrorsConfig
*/
public function getErrorsConfig()
{
return $this->errorsConfig;
}
/**
* @param GoogleCloudRetailV2UserEventInputConfig
*/
public function setInputConfig(GoogleCloudRetailV2UserEventInputConfig $inputConfig)
{
$this->inputConfig = $inputConfig;
}
/**
* @return GoogleCloudRetailV2UserEventInputConfig
*/
public function getInputConfig()
{
return $this->inputConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailV2ImportUserEventsRequest::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2ImportUserEventsRequest');

View File

@@ -0,0 +1,75 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRetail;
class GoogleCloudRetailV2ImportUserEventsResponse extends \Google\Collection
{
protected $collection_key = 'errorSamples';
protected $errorSamplesType = GoogleRpcStatus::class;
protected $errorSamplesDataType = 'array';
protected $errorsConfigType = GoogleCloudRetailV2ImportErrorsConfig::class;
protected $errorsConfigDataType = '';
protected $importSummaryType = GoogleCloudRetailV2UserEventImportSummary::class;
protected $importSummaryDataType = '';
/**
* @param GoogleRpcStatus[]
*/
public function setErrorSamples($errorSamples)
{
$this->errorSamples = $errorSamples;
}
/**
* @return GoogleRpcStatus[]
*/
public function getErrorSamples()
{
return $this->errorSamples;
}
/**
* @param GoogleCloudRetailV2ImportErrorsConfig
*/
public function setErrorsConfig(GoogleCloudRetailV2ImportErrorsConfig $errorsConfig)
{
$this->errorsConfig = $errorsConfig;
}
/**
* @return GoogleCloudRetailV2ImportErrorsConfig
*/
public function getErrorsConfig()
{
return $this->errorsConfig;
}
/**
* @param GoogleCloudRetailV2UserEventImportSummary
*/
public function setImportSummary(GoogleCloudRetailV2UserEventImportSummary $importSummary)
{
$this->importSummary = $importSummary;
}
/**
* @return GoogleCloudRetailV2UserEventImportSummary
*/
public function getImportSummary()
{
return $this->importSummary;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailV2ImportUserEventsResponse::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2ImportUserEventsResponse');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRetail;
class GoogleCloudRetailV2Interval extends \Google\Model
{
public $exclusiveMaximum;
public $exclusiveMinimum;
public $maximum;
public $minimum;
public function setExclusiveMaximum($exclusiveMaximum)
{
$this->exclusiveMaximum = $exclusiveMaximum;
}
public function getExclusiveMaximum()
{
return $this->exclusiveMaximum;
}
public function setExclusiveMinimum($exclusiveMinimum)
{
$this->exclusiveMinimum = $exclusiveMinimum;
}
public function getExclusiveMinimum()
{
return $this->exclusiveMinimum;
}
public function setMaximum($maximum)
{
$this->maximum = $maximum;
}
public function getMaximum()
{
return $this->maximum;
}
public function setMinimum($minimum)
{
$this->minimum = $minimum;
}
public function getMinimum()
{
return $this->minimum;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailV2Interval::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2Interval');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRetail;
class GoogleCloudRetailV2ListCatalogsResponse extends \Google\Collection
{
protected $collection_key = 'catalogs';
protected $catalogsType = GoogleCloudRetailV2Catalog::class;
protected $catalogsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param GoogleCloudRetailV2Catalog[]
*/
public function setCatalogs($catalogs)
{
$this->catalogs = $catalogs;
}
/**
* @return GoogleCloudRetailV2Catalog[]
*/
public function getCatalogs()
{
return $this->catalogs;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailV2ListCatalogsResponse::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2ListCatalogsResponse');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRetail;
class GoogleCloudRetailV2ListControlsResponse extends \Google\Collection
{
protected $collection_key = 'controls';
protected $controlsType = GoogleCloudRetailV2Control::class;
protected $controlsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param GoogleCloudRetailV2Control[]
*/
public function setControls($controls)
{
$this->controls = $controls;
}
/**
* @return GoogleCloudRetailV2Control[]
*/
public function getControls()
{
return $this->controls;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailV2ListControlsResponse::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2ListControlsResponse');

View File

@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRetail;
class GoogleCloudRetailV2ListGenerativeQuestionConfigsResponse extends \Google\Collection
{
protected $collection_key = 'generativeQuestionConfigs';
protected $generativeQuestionConfigsType = GoogleCloudRetailV2GenerativeQuestionConfig::class;
protected $generativeQuestionConfigsDataType = 'array';
/**
* @param GoogleCloudRetailV2GenerativeQuestionConfig[]
*/
public function setGenerativeQuestionConfigs($generativeQuestionConfigs)
{
$this->generativeQuestionConfigs = $generativeQuestionConfigs;
}
/**
* @return GoogleCloudRetailV2GenerativeQuestionConfig[]
*/
public function getGenerativeQuestionConfigs()
{
return $this->generativeQuestionConfigs;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailV2ListGenerativeQuestionConfigsResponse::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2ListGenerativeQuestionConfigsResponse');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRetail;
class GoogleCloudRetailV2ListModelsResponse extends \Google\Collection
{
protected $collection_key = 'models';
protected $modelsType = GoogleCloudRetailV2Model::class;
protected $modelsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param GoogleCloudRetailV2Model[]
*/
public function setModels($models)
{
$this->models = $models;
}
/**
* @return GoogleCloudRetailV2Model[]
*/
public function getModels()
{
return $this->models;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailV2ListModelsResponse::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2ListModelsResponse');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRetail;
class GoogleCloudRetailV2ListProductsResponse extends \Google\Collection
{
protected $collection_key = 'products';
/**
* @var string
*/
public $nextPageToken;
protected $productsType = GoogleCloudRetailV2Product::class;
protected $productsDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param GoogleCloudRetailV2Product[]
*/
public function setProducts($products)
{
$this->products = $products;
}
/**
* @return GoogleCloudRetailV2Product[]
*/
public function getProducts()
{
return $this->products;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailV2ListProductsResponse::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2ListProductsResponse');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRetail;
class GoogleCloudRetailV2ListServingConfigsResponse extends \Google\Collection
{
protected $collection_key = 'servingConfigs';
/**
* @var string
*/
public $nextPageToken;
protected $servingConfigsType = GoogleCloudRetailV2ServingConfig::class;
protected $servingConfigsDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param GoogleCloudRetailV2ServingConfig[]
*/
public function setServingConfigs($servingConfigs)
{
$this->servingConfigs = $servingConfigs;
}
/**
* @return GoogleCloudRetailV2ServingConfig[]
*/
public function getServingConfigs()
{
return $this->servingConfigs;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailV2ListServingConfigsResponse::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2ListServingConfigsResponse');

View File

@@ -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\CloudRetail;
class GoogleCloudRetailV2LocalInventory extends \Google\Collection
{
protected $collection_key = 'fulfillmentTypes';
protected $attributesType = GoogleCloudRetailV2CustomAttribute::class;
protected $attributesDataType = 'map';
/**
* @var string
*/
public $availability;
/**
* @var string[]
*/
public $fulfillmentTypes;
/**
* @var string
*/
public $placeId;
protected $priceInfoType = GoogleCloudRetailV2PriceInfo::class;
protected $priceInfoDataType = '';
/**
* @param GoogleCloudRetailV2CustomAttribute[]
*/
public function setAttributes($attributes)
{
$this->attributes = $attributes;
}
/**
* @return GoogleCloudRetailV2CustomAttribute[]
*/
public function getAttributes()
{
return $this->attributes;
}
/**
* @param string
*/
public function setAvailability($availability)
{
$this->availability = $availability;
}
/**
* @return string
*/
public function getAvailability()
{
return $this->availability;
}
/**
* @param string[]
*/
public function setFulfillmentTypes($fulfillmentTypes)
{
$this->fulfillmentTypes = $fulfillmentTypes;
}
/**
* @return string[]
*/
public function getFulfillmentTypes()
{
return $this->fulfillmentTypes;
}
/**
* @param string
*/
public function setPlaceId($placeId)
{
$this->placeId = $placeId;
}
/**
* @return string
*/
public function getPlaceId()
{
return $this->placeId;
}
/**
* @param GoogleCloudRetailV2PriceInfo
*/
public function setPriceInfo(GoogleCloudRetailV2PriceInfo $priceInfo)
{
$this->priceInfo = $priceInfo;
}
/**
* @return GoogleCloudRetailV2PriceInfo
*/
public function getPriceInfo()
{
return $this->priceInfo;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailV2LocalInventory::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2LocalInventory');

View File

@@ -0,0 +1,293 @@
<?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\CloudRetail;
class GoogleCloudRetailV2Model extends \Google\Collection
{
protected $collection_key = 'servingConfigLists';
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $dataState;
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $filteringOption;
/**
* @var string
*/
public $lastTuneTime;
protected $modelFeaturesConfigType = GoogleCloudRetailV2ModelModelFeaturesConfig::class;
protected $modelFeaturesConfigDataType = '';
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $optimizationObjective;
/**
* @var string
*/
public $periodicTuningState;
protected $servingConfigListsType = GoogleCloudRetailV2ModelServingConfigList::class;
protected $servingConfigListsDataType = 'array';
/**
* @var string
*/
public $servingState;
/**
* @var string
*/
public $trainingState;
/**
* @var string
*/
public $tuningOperation;
/**
* @var string
*/
public $type;
/**
* @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 setDataState($dataState)
{
$this->dataState = $dataState;
}
/**
* @return string
*/
public function getDataState()
{
return $this->dataState;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setFilteringOption($filteringOption)
{
$this->filteringOption = $filteringOption;
}
/**
* @return string
*/
public function getFilteringOption()
{
return $this->filteringOption;
}
/**
* @param string
*/
public function setLastTuneTime($lastTuneTime)
{
$this->lastTuneTime = $lastTuneTime;
}
/**
* @return string
*/
public function getLastTuneTime()
{
return $this->lastTuneTime;
}
/**
* @param GoogleCloudRetailV2ModelModelFeaturesConfig
*/
public function setModelFeaturesConfig(GoogleCloudRetailV2ModelModelFeaturesConfig $modelFeaturesConfig)
{
$this->modelFeaturesConfig = $modelFeaturesConfig;
}
/**
* @return GoogleCloudRetailV2ModelModelFeaturesConfig
*/
public function getModelFeaturesConfig()
{
return $this->modelFeaturesConfig;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setOptimizationObjective($optimizationObjective)
{
$this->optimizationObjective = $optimizationObjective;
}
/**
* @return string
*/
public function getOptimizationObjective()
{
return $this->optimizationObjective;
}
/**
* @param string
*/
public function setPeriodicTuningState($periodicTuningState)
{
$this->periodicTuningState = $periodicTuningState;
}
/**
* @return string
*/
public function getPeriodicTuningState()
{
return $this->periodicTuningState;
}
/**
* @param GoogleCloudRetailV2ModelServingConfigList[]
*/
public function setServingConfigLists($servingConfigLists)
{
$this->servingConfigLists = $servingConfigLists;
}
/**
* @return GoogleCloudRetailV2ModelServingConfigList[]
*/
public function getServingConfigLists()
{
return $this->servingConfigLists;
}
/**
* @param string
*/
public function setServingState($servingState)
{
$this->servingState = $servingState;
}
/**
* @return string
*/
public function getServingState()
{
return $this->servingState;
}
/**
* @param string
*/
public function setTrainingState($trainingState)
{
$this->trainingState = $trainingState;
}
/**
* @return string
*/
public function getTrainingState()
{
return $this->trainingState;
}
/**
* @param string
*/
public function setTuningOperation($tuningOperation)
{
$this->tuningOperation = $tuningOperation;
}
/**
* @return string
*/
public function getTuningOperation()
{
return $this->tuningOperation;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
/**
* @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(GoogleCloudRetailV2Model::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2Model');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRetail;
class GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfig extends \Google\Model
{
/**
* @var string
*/
public $contextProductsType;
/**
* @param string
*/
public function setContextProductsType($contextProductsType)
{
$this->contextProductsType = $contextProductsType;
}
/**
* @return string
*/
public function getContextProductsType()
{
return $this->contextProductsType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfig::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfig');

View File

@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRetail;
class GoogleCloudRetailV2ModelModelFeaturesConfig extends \Google\Model
{
protected $frequentlyBoughtTogetherConfigType = GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfig::class;
protected $frequentlyBoughtTogetherConfigDataType = '';
/**
* @param GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfig
*/
public function setFrequentlyBoughtTogetherConfig(GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfig $frequentlyBoughtTogetherConfig)
{
$this->frequentlyBoughtTogetherConfig = $frequentlyBoughtTogetherConfig;
}
/**
* @return GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfig
*/
public function getFrequentlyBoughtTogetherConfig()
{
return $this->frequentlyBoughtTogetherConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailV2ModelModelFeaturesConfig::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2ModelModelFeaturesConfig');

View File

@@ -0,0 +1,45 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRetail;
class GoogleCloudRetailV2ModelServingConfigList extends \Google\Collection
{
protected $collection_key = 'servingConfigIds';
/**
* @var string[]
*/
public $servingConfigIds;
/**
* @param string[]
*/
public function setServingConfigIds($servingConfigIds)
{
$this->servingConfigIds = $servingConfigIds;
}
/**
* @return string[]
*/
public function getServingConfigIds()
{
return $this->servingConfigIds;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailV2ModelServingConfigList::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2ModelServingConfigList');

View File

@@ -0,0 +1,58 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRetail;
class GoogleCloudRetailV2OutputConfig extends \Google\Model
{
protected $bigqueryDestinationType = GoogleCloudRetailV2OutputConfigBigQueryDestination::class;
protected $bigqueryDestinationDataType = '';
protected $gcsDestinationType = GoogleCloudRetailV2OutputConfigGcsDestination::class;
protected $gcsDestinationDataType = '';
/**
* @param GoogleCloudRetailV2OutputConfigBigQueryDestination
*/
public function setBigqueryDestination(GoogleCloudRetailV2OutputConfigBigQueryDestination $bigqueryDestination)
{
$this->bigqueryDestination = $bigqueryDestination;
}
/**
* @return GoogleCloudRetailV2OutputConfigBigQueryDestination
*/
public function getBigqueryDestination()
{
return $this->bigqueryDestination;
}
/**
* @param GoogleCloudRetailV2OutputConfigGcsDestination
*/
public function setGcsDestination(GoogleCloudRetailV2OutputConfigGcsDestination $gcsDestination)
{
$this->gcsDestination = $gcsDestination;
}
/**
* @return GoogleCloudRetailV2OutputConfigGcsDestination
*/
public function getGcsDestination()
{
return $this->gcsDestination;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailV2OutputConfig::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2OutputConfig');

View File

@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRetail;
class GoogleCloudRetailV2OutputConfigBigQueryDestination extends \Google\Model
{
/**
* @var string
*/
public $datasetId;
/**
* @var string
*/
public $tableIdPrefix;
/**
* @var string
*/
public $tableType;
/**
* @param string
*/
public function setDatasetId($datasetId)
{
$this->datasetId = $datasetId;
}
/**
* @return string
*/
public function getDatasetId()
{
return $this->datasetId;
}
/**
* @param string
*/
public function setTableIdPrefix($tableIdPrefix)
{
$this->tableIdPrefix = $tableIdPrefix;
}
/**
* @return string
*/
public function getTableIdPrefix()
{
return $this->tableIdPrefix;
}
/**
* @param string
*/
public function setTableType($tableType)
{
$this->tableType = $tableType;
}
/**
* @return string
*/
public function getTableType()
{
return $this->tableType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailV2OutputConfigBigQueryDestination::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2OutputConfigBigQueryDestination');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRetail;
class GoogleCloudRetailV2OutputConfigGcsDestination extends \Google\Model
{
/**
* @var string
*/
public $outputUriPrefix;
/**
* @param string
*/
public function setOutputUriPrefix($outputUriPrefix)
{
$this->outputUriPrefix = $outputUriPrefix;
}
/**
* @return string
*/
public function getOutputUriPrefix()
{
return $this->outputUriPrefix;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailV2OutputConfigGcsDestination::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2OutputConfigGcsDestination');

View File

@@ -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\CloudRetail;
class GoogleCloudRetailV2OutputResult extends \Google\Collection
{
protected $collection_key = 'gcsResult';
protected $bigqueryResultType = GoogleCloudRetailV2BigQueryOutputResult::class;
protected $bigqueryResultDataType = 'array';
protected $gcsResultType = GoogleCloudRetailV2GcsOutputResult::class;
protected $gcsResultDataType = 'array';
/**
* @param GoogleCloudRetailV2BigQueryOutputResult[]
*/
public function setBigqueryResult($bigqueryResult)
{
$this->bigqueryResult = $bigqueryResult;
}
/**
* @return GoogleCloudRetailV2BigQueryOutputResult[]
*/
public function getBigqueryResult()
{
return $this->bigqueryResult;
}
/**
* @param GoogleCloudRetailV2GcsOutputResult[]
*/
public function setGcsResult($gcsResult)
{
$this->gcsResult = $gcsResult;
}
/**
* @return GoogleCloudRetailV2GcsOutputResult[]
*/
public function getGcsResult()
{
return $this->gcsResult;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailV2OutputResult::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2OutputResult');

View File

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

View File

@@ -0,0 +1,58 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRetail;
class GoogleCloudRetailV2PinControlMetadata extends \Google\Model
{
protected $allMatchedPinsType = GoogleCloudRetailV2PinControlMetadataProductPins::class;
protected $allMatchedPinsDataType = 'map';
protected $droppedPinsType = GoogleCloudRetailV2PinControlMetadataProductPins::class;
protected $droppedPinsDataType = 'map';
/**
* @param GoogleCloudRetailV2PinControlMetadataProductPins[]
*/
public function setAllMatchedPins($allMatchedPins)
{
$this->allMatchedPins = $allMatchedPins;
}
/**
* @return GoogleCloudRetailV2PinControlMetadataProductPins[]
*/
public function getAllMatchedPins()
{
return $this->allMatchedPins;
}
/**
* @param GoogleCloudRetailV2PinControlMetadataProductPins[]
*/
public function setDroppedPins($droppedPins)
{
$this->droppedPins = $droppedPins;
}
/**
* @return GoogleCloudRetailV2PinControlMetadataProductPins[]
*/
public function getDroppedPins()
{
return $this->droppedPins;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailV2PinControlMetadata::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2PinControlMetadata');

View File

@@ -0,0 +1,45 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRetail;
class GoogleCloudRetailV2PinControlMetadataProductPins extends \Google\Collection
{
protected $collection_key = 'productId';
/**
* @var string[]
*/
public $productId;
/**
* @param string[]
*/
public function setProductId($productId)
{
$this->productId = $productId;
}
/**
* @return string[]
*/
public function getProductId()
{
return $this->productId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailV2PinControlMetadataProductPins::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2PinControlMetadataProductPins');

View File

@@ -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\CloudRetail;
class GoogleCloudRetailV2PredictRequest extends \Google\Model
{
/**
* @var string
*/
public $filter;
/**
* @var string[]
*/
public $labels;
/**
* @var int
*/
public $pageSize;
/**
* @var string
*/
public $pageToken;
/**
* @var array[]
*/
public $params;
protected $userEventType = GoogleCloudRetailV2UserEvent::class;
protected $userEventDataType = '';
/**
* @var bool
*/
public $validateOnly;
/**
* @param string
*/
public function setFilter($filter)
{
$this->filter = $filter;
}
/**
* @return string
*/
public function getFilter()
{
return $this->filter;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param int
*/
public function setPageSize($pageSize)
{
$this->pageSize = $pageSize;
}
/**
* @return int
*/
public function getPageSize()
{
return $this->pageSize;
}
/**
* @param string
*/
public function setPageToken($pageToken)
{
$this->pageToken = $pageToken;
}
/**
* @return string
*/
public function getPageToken()
{
return $this->pageToken;
}
/**
* @param array[]
*/
public function setParams($params)
{
$this->params = $params;
}
/**
* @return array[]
*/
public function getParams()
{
return $this->params;
}
/**
* @param GoogleCloudRetailV2UserEvent
*/
public function setUserEvent(GoogleCloudRetailV2UserEvent $userEvent)
{
$this->userEvent = $userEvent;
}
/**
* @return GoogleCloudRetailV2UserEvent
*/
public function getUserEvent()
{
return $this->userEvent;
}
/**
* @param bool
*/
public function setValidateOnly($validateOnly)
{
$this->validateOnly = $validateOnly;
}
/**
* @return bool
*/
public function getValidateOnly()
{
return $this->validateOnly;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailV2PredictRequest::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2PredictRequest');

View File

@@ -0,0 +1,97 @@
<?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\CloudRetail;
class GoogleCloudRetailV2PredictResponse extends \Google\Collection
{
protected $collection_key = 'results';
/**
* @var string
*/
public $attributionToken;
/**
* @var string[]
*/
public $missingIds;
protected $resultsType = GoogleCloudRetailV2PredictResponsePredictionResult::class;
protected $resultsDataType = 'array';
/**
* @var bool
*/
public $validateOnly;
/**
* @param string
*/
public function setAttributionToken($attributionToken)
{
$this->attributionToken = $attributionToken;
}
/**
* @return string
*/
public function getAttributionToken()
{
return $this->attributionToken;
}
/**
* @param string[]
*/
public function setMissingIds($missingIds)
{
$this->missingIds = $missingIds;
}
/**
* @return string[]
*/
public function getMissingIds()
{
return $this->missingIds;
}
/**
* @param GoogleCloudRetailV2PredictResponsePredictionResult[]
*/
public function setResults($results)
{
$this->results = $results;
}
/**
* @return GoogleCloudRetailV2PredictResponsePredictionResult[]
*/
public function getResults()
{
return $this->results;
}
/**
* @param bool
*/
public function setValidateOnly($validateOnly)
{
$this->validateOnly = $validateOnly;
}
/**
* @return bool
*/
public function getValidateOnly()
{
return $this->validateOnly;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailV2PredictResponse::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2PredictResponse');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRetail;
class GoogleCloudRetailV2PredictResponsePredictionResult extends \Google\Model
{
/**
* @var string
*/
public $id;
/**
* @var array[]
*/
public $metadata;
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param array[]
*/
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
/**
* @return array[]
*/
public function getMetadata()
{
return $this->metadata;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailV2PredictResponsePredictionResult::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2PredictResponsePredictionResult');

View File

@@ -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\CloudRetail;
class GoogleCloudRetailV2PriceInfo extends \Google\Model
{
/**
* @var float
*/
public $cost;
/**
* @var string
*/
public $currencyCode;
/**
* @var float
*/
public $originalPrice;
/**
* @var float
*/
public $price;
/**
* @var string
*/
public $priceEffectiveTime;
/**
* @var string
*/
public $priceExpireTime;
protected $priceRangeType = GoogleCloudRetailV2PriceInfoPriceRange::class;
protected $priceRangeDataType = '';
/**
* @param float
*/
public function setCost($cost)
{
$this->cost = $cost;
}
/**
* @return float
*/
public function getCost()
{
return $this->cost;
}
/**
* @param string
*/
public function setCurrencyCode($currencyCode)
{
$this->currencyCode = $currencyCode;
}
/**
* @return string
*/
public function getCurrencyCode()
{
return $this->currencyCode;
}
/**
* @param float
*/
public function setOriginalPrice($originalPrice)
{
$this->originalPrice = $originalPrice;
}
/**
* @return float
*/
public function getOriginalPrice()
{
return $this->originalPrice;
}
/**
* @param float
*/
public function setPrice($price)
{
$this->price = $price;
}
/**
* @return float
*/
public function getPrice()
{
return $this->price;
}
/**
* @param string
*/
public function setPriceEffectiveTime($priceEffectiveTime)
{
$this->priceEffectiveTime = $priceEffectiveTime;
}
/**
* @return string
*/
public function getPriceEffectiveTime()
{
return $this->priceEffectiveTime;
}
/**
* @param string
*/
public function setPriceExpireTime($priceExpireTime)
{
$this->priceExpireTime = $priceExpireTime;
}
/**
* @return string
*/
public function getPriceExpireTime()
{
return $this->priceExpireTime;
}
/**
* @param GoogleCloudRetailV2PriceInfoPriceRange
*/
public function setPriceRange(GoogleCloudRetailV2PriceInfoPriceRange $priceRange)
{
$this->priceRange = $priceRange;
}
/**
* @return GoogleCloudRetailV2PriceInfoPriceRange
*/
public function getPriceRange()
{
return $this->priceRange;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailV2PriceInfo::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2PriceInfo');

View File

@@ -0,0 +1,58 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRetail;
class GoogleCloudRetailV2PriceInfoPriceRange extends \Google\Model
{
protected $originalPriceType = GoogleCloudRetailV2Interval::class;
protected $originalPriceDataType = '';
protected $priceType = GoogleCloudRetailV2Interval::class;
protected $priceDataType = '';
/**
* @param GoogleCloudRetailV2Interval
*/
public function setOriginalPrice(GoogleCloudRetailV2Interval $originalPrice)
{
$this->originalPrice = $originalPrice;
}
/**
* @return GoogleCloudRetailV2Interval
*/
public function getOriginalPrice()
{
return $this->originalPrice;
}
/**
* @param GoogleCloudRetailV2Interval
*/
public function setPrice(GoogleCloudRetailV2Interval $price)
{
$this->price = $price;
}
/**
* @return GoogleCloudRetailV2Interval
*/
public function getPrice()
{
return $this->price;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailV2PriceInfoPriceRange::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2PriceInfoPriceRange');

View File

@@ -0,0 +1,619 @@
<?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\CloudRetail;
class GoogleCloudRetailV2Product extends \Google\Collection
{
protected $collection_key = 'variants';
protected $attributesType = GoogleCloudRetailV2CustomAttribute::class;
protected $attributesDataType = 'map';
protected $audienceType = GoogleCloudRetailV2Audience::class;
protected $audienceDataType = '';
/**
* @var string
*/
public $availability;
/**
* @var int
*/
public $availableQuantity;
/**
* @var string
*/
public $availableTime;
/**
* @var string[]
*/
public $brands;
/**
* @var string[]
*/
public $categories;
/**
* @var string[]
*/
public $collectionMemberIds;
protected $colorInfoType = GoogleCloudRetailV2ColorInfo::class;
protected $colorInfoDataType = '';
/**
* @var string[]
*/
public $conditions;
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $expireTime;
protected $fulfillmentInfoType = GoogleCloudRetailV2FulfillmentInfo::class;
protected $fulfillmentInfoDataType = 'array';
/**
* @var string
*/
public $gtin;
/**
* @var string
*/
public $id;
protected $imagesType = GoogleCloudRetailV2Image::class;
protected $imagesDataType = 'array';
/**
* @var string
*/
public $languageCode;
protected $localInventoriesType = GoogleCloudRetailV2LocalInventory::class;
protected $localInventoriesDataType = 'array';
/**
* @var string[]
*/
public $materials;
/**
* @var string
*/
public $name;
/**
* @var string[]
*/
public $patterns;
protected $priceInfoType = GoogleCloudRetailV2PriceInfo::class;
protected $priceInfoDataType = '';
/**
* @var string
*/
public $primaryProductId;
protected $promotionsType = GoogleCloudRetailV2Promotion::class;
protected $promotionsDataType = 'array';
/**
* @var string
*/
public $publishTime;
protected $ratingType = GoogleCloudRetailV2Rating::class;
protected $ratingDataType = '';
/**
* @var string
*/
public $retrievableFields;
/**
* @var string[]
*/
public $sizes;
/**
* @var string[]
*/
public $tags;
/**
* @var string
*/
public $title;
/**
* @var string
*/
public $ttl;
/**
* @var string
*/
public $type;
/**
* @var string
*/
public $uri;
protected $variantsType = GoogleCloudRetailV2Product::class;
protected $variantsDataType = 'array';
/**
* @param GoogleCloudRetailV2CustomAttribute[]
*/
public function setAttributes($attributes)
{
$this->attributes = $attributes;
}
/**
* @return GoogleCloudRetailV2CustomAttribute[]
*/
public function getAttributes()
{
return $this->attributes;
}
/**
* @param GoogleCloudRetailV2Audience
*/
public function setAudience(GoogleCloudRetailV2Audience $audience)
{
$this->audience = $audience;
}
/**
* @return GoogleCloudRetailV2Audience
*/
public function getAudience()
{
return $this->audience;
}
/**
* @param string
*/
public function setAvailability($availability)
{
$this->availability = $availability;
}
/**
* @return string
*/
public function getAvailability()
{
return $this->availability;
}
/**
* @param int
*/
public function setAvailableQuantity($availableQuantity)
{
$this->availableQuantity = $availableQuantity;
}
/**
* @return int
*/
public function getAvailableQuantity()
{
return $this->availableQuantity;
}
/**
* @param string
*/
public function setAvailableTime($availableTime)
{
$this->availableTime = $availableTime;
}
/**
* @return string
*/
public function getAvailableTime()
{
return $this->availableTime;
}
/**
* @param string[]
*/
public function setBrands($brands)
{
$this->brands = $brands;
}
/**
* @return string[]
*/
public function getBrands()
{
return $this->brands;
}
/**
* @param string[]
*/
public function setCategories($categories)
{
$this->categories = $categories;
}
/**
* @return string[]
*/
public function getCategories()
{
return $this->categories;
}
/**
* @param string[]
*/
public function setCollectionMemberIds($collectionMemberIds)
{
$this->collectionMemberIds = $collectionMemberIds;
}
/**
* @return string[]
*/
public function getCollectionMemberIds()
{
return $this->collectionMemberIds;
}
/**
* @param GoogleCloudRetailV2ColorInfo
*/
public function setColorInfo(GoogleCloudRetailV2ColorInfo $colorInfo)
{
$this->colorInfo = $colorInfo;
}
/**
* @return GoogleCloudRetailV2ColorInfo
*/
public function getColorInfo()
{
return $this->colorInfo;
}
/**
* @param string[]
*/
public function setConditions($conditions)
{
$this->conditions = $conditions;
}
/**
* @return string[]
*/
public function getConditions()
{
return $this->conditions;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setExpireTime($expireTime)
{
$this->expireTime = $expireTime;
}
/**
* @return string
*/
public function getExpireTime()
{
return $this->expireTime;
}
/**
* @param GoogleCloudRetailV2FulfillmentInfo[]
*/
public function setFulfillmentInfo($fulfillmentInfo)
{
$this->fulfillmentInfo = $fulfillmentInfo;
}
/**
* @return GoogleCloudRetailV2FulfillmentInfo[]
*/
public function getFulfillmentInfo()
{
return $this->fulfillmentInfo;
}
/**
* @param string
*/
public function setGtin($gtin)
{
$this->gtin = $gtin;
}
/**
* @return string
*/
public function getGtin()
{
return $this->gtin;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param GoogleCloudRetailV2Image[]
*/
public function setImages($images)
{
$this->images = $images;
}
/**
* @return GoogleCloudRetailV2Image[]
*/
public function getImages()
{
return $this->images;
}
/**
* @param string
*/
public function setLanguageCode($languageCode)
{
$this->languageCode = $languageCode;
}
/**
* @return string
*/
public function getLanguageCode()
{
return $this->languageCode;
}
/**
* @param GoogleCloudRetailV2LocalInventory[]
*/
public function setLocalInventories($localInventories)
{
$this->localInventories = $localInventories;
}
/**
* @return GoogleCloudRetailV2LocalInventory[]
*/
public function getLocalInventories()
{
return $this->localInventories;
}
/**
* @param string[]
*/
public function setMaterials($materials)
{
$this->materials = $materials;
}
/**
* @return string[]
*/
public function getMaterials()
{
return $this->materials;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string[]
*/
public function setPatterns($patterns)
{
$this->patterns = $patterns;
}
/**
* @return string[]
*/
public function getPatterns()
{
return $this->patterns;
}
/**
* @param GoogleCloudRetailV2PriceInfo
*/
public function setPriceInfo(GoogleCloudRetailV2PriceInfo $priceInfo)
{
$this->priceInfo = $priceInfo;
}
/**
* @return GoogleCloudRetailV2PriceInfo
*/
public function getPriceInfo()
{
return $this->priceInfo;
}
/**
* @param string
*/
public function setPrimaryProductId($primaryProductId)
{
$this->primaryProductId = $primaryProductId;
}
/**
* @return string
*/
public function getPrimaryProductId()
{
return $this->primaryProductId;
}
/**
* @param GoogleCloudRetailV2Promotion[]
*/
public function setPromotions($promotions)
{
$this->promotions = $promotions;
}
/**
* @return GoogleCloudRetailV2Promotion[]
*/
public function getPromotions()
{
return $this->promotions;
}
/**
* @param string
*/
public function setPublishTime($publishTime)
{
$this->publishTime = $publishTime;
}
/**
* @return string
*/
public function getPublishTime()
{
return $this->publishTime;
}
/**
* @param GoogleCloudRetailV2Rating
*/
public function setRating(GoogleCloudRetailV2Rating $rating)
{
$this->rating = $rating;
}
/**
* @return GoogleCloudRetailV2Rating
*/
public function getRating()
{
return $this->rating;
}
/**
* @param string
*/
public function setRetrievableFields($retrievableFields)
{
$this->retrievableFields = $retrievableFields;
}
/**
* @return string
*/
public function getRetrievableFields()
{
return $this->retrievableFields;
}
/**
* @param string[]
*/
public function setSizes($sizes)
{
$this->sizes = $sizes;
}
/**
* @return string[]
*/
public function getSizes()
{
return $this->sizes;
}
/**
* @param string[]
*/
public function setTags($tags)
{
$this->tags = $tags;
}
/**
* @return string[]
*/
public function getTags()
{
return $this->tags;
}
/**
* @param string
*/
public function setTitle($title)
{
$this->title = $title;
}
/**
* @return string
*/
public function getTitle()
{
return $this->title;
}
/**
* @param string
*/
public function setTtl($ttl)
{
$this->ttl = $ttl;
}
/**
* @return string
*/
public function getTtl()
{
return $this->ttl;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
/**
* @param string
*/
public function setUri($uri)
{
$this->uri = $uri;
}
/**
* @return string
*/
public function getUri()
{
return $this->uri;
}
/**
* @param GoogleCloudRetailV2Product[]
*/
public function setVariants($variants)
{
$this->variants = $variants;
}
/**
* @return GoogleCloudRetailV2Product[]
*/
public function getVariants()
{
return $this->variants;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailV2Product::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2Product');

View File

@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRetail;
class GoogleCloudRetailV2ProductAttributeInterval extends \Google\Model
{
protected $intervalType = GoogleCloudRetailV2Interval::class;
protected $intervalDataType = '';
/**
* @var string
*/
public $name;
/**
* @param GoogleCloudRetailV2Interval
*/
public function setInterval(GoogleCloudRetailV2Interval $interval)
{
$this->interval = $interval;
}
/**
* @return GoogleCloudRetailV2Interval
*/
public function getInterval()
{
return $this->interval;
}
/**
* @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(GoogleCloudRetailV2ProductAttributeInterval::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2ProductAttributeInterval');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRetail;
class GoogleCloudRetailV2ProductAttributeValue extends \Google\Model
{
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $value;
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setValue($value)
{
$this->value = $value;
}
/**
* @return string
*/
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailV2ProductAttributeValue::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2ProductAttributeValue');

View File

@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRetail;
class GoogleCloudRetailV2ProductDetail extends \Google\Model
{
protected $productType = GoogleCloudRetailV2Product::class;
protected $productDataType = '';
/**
* @var int
*/
public $quantity;
/**
* @param GoogleCloudRetailV2Product
*/
public function setProduct(GoogleCloudRetailV2Product $product)
{
$this->product = $product;
}
/**
* @return GoogleCloudRetailV2Product
*/
public function getProduct()
{
return $this->product;
}
/**
* @param int
*/
public function setQuantity($quantity)
{
$this->quantity = $quantity;
}
/**
* @return int
*/
public function getQuantity()
{
return $this->quantity;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailV2ProductDetail::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2ProductDetail');

View File

@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRetail;
class GoogleCloudRetailV2ProductInlineSource extends \Google\Collection
{
protected $collection_key = 'products';
protected $productsType = GoogleCloudRetailV2Product::class;
protected $productsDataType = 'array';
/**
* @param GoogleCloudRetailV2Product[]
*/
public function setProducts($products)
{
$this->products = $products;
}
/**
* @return GoogleCloudRetailV2Product[]
*/
public function getProducts()
{
return $this->products;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailV2ProductInlineSource::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2ProductInlineSource');

View File

@@ -0,0 +1,74 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRetail;
class GoogleCloudRetailV2ProductInputConfig extends \Google\Model
{
protected $bigQuerySourceType = GoogleCloudRetailV2BigQuerySource::class;
protected $bigQuerySourceDataType = '';
protected $gcsSourceType = GoogleCloudRetailV2GcsSource::class;
protected $gcsSourceDataType = '';
protected $productInlineSourceType = GoogleCloudRetailV2ProductInlineSource::class;
protected $productInlineSourceDataType = '';
/**
* @param GoogleCloudRetailV2BigQuerySource
*/
public function setBigQuerySource(GoogleCloudRetailV2BigQuerySource $bigQuerySource)
{
$this->bigQuerySource = $bigQuerySource;
}
/**
* @return GoogleCloudRetailV2BigQuerySource
*/
public function getBigQuerySource()
{
return $this->bigQuerySource;
}
/**
* @param GoogleCloudRetailV2GcsSource
*/
public function setGcsSource(GoogleCloudRetailV2GcsSource $gcsSource)
{
$this->gcsSource = $gcsSource;
}
/**
* @return GoogleCloudRetailV2GcsSource
*/
public function getGcsSource()
{
return $this->gcsSource;
}
/**
* @param GoogleCloudRetailV2ProductInlineSource
*/
public function setProductInlineSource(GoogleCloudRetailV2ProductInlineSource $productInlineSource)
{
$this->productInlineSource = $productInlineSource;
}
/**
* @return GoogleCloudRetailV2ProductInlineSource
*/
public function getProductInlineSource()
{
return $this->productInlineSource;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailV2ProductInputConfig::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2ProductInputConfig');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRetail;
class GoogleCloudRetailV2ProductLevelConfig extends \Google\Model
{
/**
* @var string
*/
public $ingestionProductType;
/**
* @var string
*/
public $merchantCenterProductIdField;
/**
* @param string
*/
public function setIngestionProductType($ingestionProductType)
{
$this->ingestionProductType = $ingestionProductType;
}
/**
* @return string
*/
public function getIngestionProductType()
{
return $this->ingestionProductType;
}
/**
* @param string
*/
public function setMerchantCenterProductIdField($merchantCenterProductIdField)
{
$this->merchantCenterProductIdField = $merchantCenterProductIdField;
}
/**
* @return string
*/
public function getMerchantCenterProductIdField()
{
return $this->merchantCenterProductIdField;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailV2ProductLevelConfig::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2ProductLevelConfig');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRetail;
class GoogleCloudRetailV2Promotion extends \Google\Model
{
/**
* @var string
*/
public $promotionId;
/**
* @param string
*/
public function setPromotionId($promotionId)
{
$this->promotionId = $promotionId;
}
/**
* @return string
*/
public function getPromotionId()
{
return $this->promotionId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailV2Promotion::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2Promotion');

View File

@@ -0,0 +1,116 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRetail;
class GoogleCloudRetailV2PurchaseTransaction extends \Google\Model
{
/**
* @var float
*/
public $cost;
/**
* @var string
*/
public $currencyCode;
/**
* @var string
*/
public $id;
/**
* @var float
*/
public $revenue;
/**
* @var float
*/
public $tax;
/**
* @param float
*/
public function setCost($cost)
{
$this->cost = $cost;
}
/**
* @return float
*/
public function getCost()
{
return $this->cost;
}
/**
* @param string
*/
public function setCurrencyCode($currencyCode)
{
$this->currencyCode = $currencyCode;
}
/**
* @return string
*/
public function getCurrencyCode()
{
return $this->currencyCode;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param float
*/
public function setRevenue($revenue)
{
$this->revenue = $revenue;
}
/**
* @return float
*/
public function getRevenue()
{
return $this->revenue;
}
/**
* @param float
*/
public function setTax($tax)
{
$this->tax = $tax;
}
/**
* @return float
*/
public function getTax()
{
return $this->tax;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailV2PurchaseTransaction::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2PurchaseTransaction');

View File

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

View File

@@ -0,0 +1,98 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRetail;
class GoogleCloudRetailV2PurgeProductsMetadata extends \Google\Model
{
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $failureCount;
/**
* @var string
*/
public $successCount;
/**
* @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 setFailureCount($failureCount)
{
$this->failureCount = $failureCount;
}
/**
* @return string
*/
public function getFailureCount()
{
return $this->failureCount;
}
/**
* @param string
*/
public function setSuccessCount($successCount)
{
$this->successCount = $successCount;
}
/**
* @return string
*/
public function getSuccessCount()
{
return $this->successCount;
}
/**
* @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(GoogleCloudRetailV2PurgeProductsMetadata::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2PurgeProductsMetadata');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRetail;
class GoogleCloudRetailV2PurgeProductsRequest extends \Google\Model
{
/**
* @var string
*/
public $filter;
/**
* @var bool
*/
public $force;
/**
* @param string
*/
public function setFilter($filter)
{
$this->filter = $filter;
}
/**
* @return string
*/
public function getFilter()
{
return $this->filter;
}
/**
* @param bool
*/
public function setForce($force)
{
$this->force = $force;
}
/**
* @return bool
*/
public function getForce()
{
return $this->force;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailV2PurgeProductsRequest::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2PurgeProductsRequest');

View File

@@ -0,0 +1,63 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRetail;
class GoogleCloudRetailV2PurgeProductsResponse extends \Google\Collection
{
protected $collection_key = 'purgeSample';
/**
* @var string
*/
public $purgeCount;
/**
* @var string[]
*/
public $purgeSample;
/**
* @param string
*/
public function setPurgeCount($purgeCount)
{
$this->purgeCount = $purgeCount;
}
/**
* @return string
*/
public function getPurgeCount()
{
return $this->purgeCount;
}
/**
* @param string[]
*/
public function setPurgeSample($purgeSample)
{
$this->purgeSample = $purgeSample;
}
/**
* @return string[]
*/
public function getPurgeSample()
{
return $this->purgeSample;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRetailV2PurgeProductsResponse::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2PurgeProductsResponse');

Some files were not shown because too many files have changed in this diff Show More