📄 Source: GoogleCloudRetailV2alphaImportMetadata.php
<?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 GoogleCloudRetailV2alphaImportMetadata extends \Google\Model
{
/**
* Operation create time.
*
* @var string
*/
public $createTime;
/**
* Count of entries that encountered errors while processing.
*
* @var string
*/
public $failureCount;
/**
* Pub/Sub topic for receiving notification. If this field is set, when the
* import is finished, a notification is sent to specified Pub/Sub topic. The
* message data is JSON string of a Operation. Format of the Pub/Sub topic is
* `projects/{project}/topics/{topic}`.
*
* @var string
*/
public $notificationPubsubTopic;
/**
* Deprecated. This field is never set.
*
* @deprecated
* @var string
*/
public $requestId;
/**
* Count of entries that were processed successfully.
*
* @var string
*/
public $successCount;
protected $transformedUserEventsMetadataType = GoogleCloudRetailV2alphaTransformedUserEventsMetadata::class;
protected $transformedUserEventsMetadataDataType = '';
/**
* Operation last update time. If the operation is done, this is also the
* finish time.
*
* @var string
*/
public $updateTime;
/**
* Operation create time.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Count of entries that encountered errors while processing.
*
* @param string $failureCount
*/
public function setFailureCount($failureCount)
{
$this->failureCount = $failureCount;
}
/**
* @return string
*/
public function getFailureCount()
{
return $this->failureCount;
}
/**
* Pub/Sub topic for receiving notification. If this field is set, when the
* import is finished, a notification is sent to specified Pub/Sub topic. The
* message data is JSON string of a Operation. Format of the Pub/Sub topic is
* `projects/{project}/topics/{topic}`.
*
* @param string $notificationPubsubTopic
*/
public function setNotificationPubsubTopic($notificationPubsubTopic)
{
$this->notificationPubsubTopic = $notificationPubsubTopic;
}
/**
* @return string
*/
public function getNotificationPubsubTopic()
{
return $this->notificationPubsubTopic;
}
/**
* Deprecated. This field is never set.
*
* @deprecated
* @param string $requestId
*/
public function setRequestId($requestId)
{
$this->requestId = $requestId;
}
/**
* @deprecated
* @return string
*/
public function getRequestId()
{
return $this->requestId;
}
/**
* Count of entries that were processed successfully.
*
* @param string $successCount
*/
public function setSuccessCount($successCount)
{
$this->successCount = $successCount;
}
/**
* @return string
*/
public function getSuccessCount()
{
return $this->successCount;
}
/**
* Metadata related to transform user events.
*
* @param GoogleCloudRetailV2alphaTransformedUserEventsMetadata $transformedUserEventsMetadata
*/
public function setTransformedUserEventsMetadata(GoogleCloudRetailV2alphaTransformedUserEventsMetadata $transformedUserEventsMetadata)
{
$this->transformedUserEventsMetadata = $transformedUserEventsMetadata;
}
/**
* @return GoogleCloudRetailV2alphaTransformedUserEventsMetadata
*/
public function getTransformedUserEventsMetadata()
{
return $this->transformedUserEventsMetadata;
}
/**
* Operation last update time. If the operation is done, this is also the
* finish time.
*
* @param string $updateTime
*/
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(GoogleCloudRetailV2alphaImportMetadata::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2alphaImportMetadata');
← Back