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,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\Contentwarehouse;
class CloudAiPlatformTenantresourceCloudSqlInstanceConfig extends \Google\Collection
{
protected $collection_key = 'mdbRolesForCorpAccess';
/**
* @var string
*/
public $cloudSqlInstanceConnectionName;
/**
* @var string
*/
public $cloudSqlInstanceName;
/**
* @var string
*/
public $kmsKeyReference;
/**
* @var string[]
*/
public $mdbRolesForCorpAccess;
/**
* @var string
*/
public $slmInstanceName;
/**
* @var string
*/
public $slmInstanceTemplate;
/**
* @var string
*/
public $slmInstanceType;
/**
* @param string
*/
public function setCloudSqlInstanceConnectionName($cloudSqlInstanceConnectionName)
{
$this->cloudSqlInstanceConnectionName = $cloudSqlInstanceConnectionName;
}
/**
* @return string
*/
public function getCloudSqlInstanceConnectionName()
{
return $this->cloudSqlInstanceConnectionName;
}
/**
* @param string
*/
public function setCloudSqlInstanceName($cloudSqlInstanceName)
{
$this->cloudSqlInstanceName = $cloudSqlInstanceName;
}
/**
* @return string
*/
public function getCloudSqlInstanceName()
{
return $this->cloudSqlInstanceName;
}
/**
* @param string
*/
public function setKmsKeyReference($kmsKeyReference)
{
$this->kmsKeyReference = $kmsKeyReference;
}
/**
* @return string
*/
public function getKmsKeyReference()
{
return $this->kmsKeyReference;
}
/**
* @param string[]
*/
public function setMdbRolesForCorpAccess($mdbRolesForCorpAccess)
{
$this->mdbRolesForCorpAccess = $mdbRolesForCorpAccess;
}
/**
* @return string[]
*/
public function getMdbRolesForCorpAccess()
{
return $this->mdbRolesForCorpAccess;
}
/**
* @param string
*/
public function setSlmInstanceName($slmInstanceName)
{
$this->slmInstanceName = $slmInstanceName;
}
/**
* @return string
*/
public function getSlmInstanceName()
{
return $this->slmInstanceName;
}
/**
* @param string
*/
public function setSlmInstanceTemplate($slmInstanceTemplate)
{
$this->slmInstanceTemplate = $slmInstanceTemplate;
}
/**
* @return string
*/
public function getSlmInstanceTemplate()
{
return $this->slmInstanceTemplate;
}
/**
* @param string
*/
public function setSlmInstanceType($slmInstanceType)
{
$this->slmInstanceType = $slmInstanceType;
}
/**
* @return string
*/
public function getSlmInstanceType()
{
return $this->slmInstanceType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudAiPlatformTenantresourceCloudSqlInstanceConfig::class, 'Google_Service_Contentwarehouse_CloudAiPlatformTenantresourceCloudSqlInstanceConfig');

View File

@@ -0,0 +1,135 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Contentwarehouse;
class CloudAiPlatformTenantresourceGcsBucketConfig extends \Google\Collection
{
protected $collection_key = 'viewers';
/**
* @var string[]
*/
public $admins;
/**
* @var string
*/
public $bucketName;
/**
* @var string
*/
public $entityName;
/**
* @var string
*/
public $kmsKeyReference;
/**
* @var int
*/
public $ttlDays;
/**
* @var string[]
*/
public $viewers;
/**
* @param string[]
*/
public function setAdmins($admins)
{
$this->admins = $admins;
}
/**
* @return string[]
*/
public function getAdmins()
{
return $this->admins;
}
/**
* @param string
*/
public function setBucketName($bucketName)
{
$this->bucketName = $bucketName;
}
/**
* @return string
*/
public function getBucketName()
{
return $this->bucketName;
}
/**
* @param string
*/
public function setEntityName($entityName)
{
$this->entityName = $entityName;
}
/**
* @return string
*/
public function getEntityName()
{
return $this->entityName;
}
/**
* @param string
*/
public function setKmsKeyReference($kmsKeyReference)
{
$this->kmsKeyReference = $kmsKeyReference;
}
/**
* @return string
*/
public function getKmsKeyReference()
{
return $this->kmsKeyReference;
}
/**
* @param int
*/
public function setTtlDays($ttlDays)
{
$this->ttlDays = $ttlDays;
}
/**
* @return int
*/
public function getTtlDays()
{
return $this->ttlDays;
}
/**
* @param string[]
*/
public function setViewers($viewers)
{
$this->viewers = $viewers;
}
/**
* @return string[]
*/
public function getViewers()
{
return $this->viewers;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudAiPlatformTenantresourceGcsBucketConfig::class, 'Google_Service_Contentwarehouse_CloudAiPlatformTenantresourceGcsBucketConfig');

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\Contentwarehouse;
class CloudAiPlatformTenantresourceIamPolicyBinding extends \Google\Collection
{
protected $collection_key = 'members';
/**
* @var string[]
*/
public $members;
/**
* @var string
*/
public $resource;
/**
* @var string
*/
public $resourceType;
/**
* @var string
*/
public $role;
/**
* @param string[]
*/
public function setMembers($members)
{
$this->members = $members;
}
/**
* @return string[]
*/
public function getMembers()
{
return $this->members;
}
/**
* @param string
*/
public function setResource($resource)
{
$this->resource = $resource;
}
/**
* @return string
*/
public function getResource()
{
return $this->resource;
}
/**
* @param string
*/
public function setResourceType($resourceType)
{
$this->resourceType = $resourceType;
}
/**
* @return string
*/
public function getResourceType()
{
return $this->resourceType;
}
/**
* @param string
*/
public function setRole($role)
{
$this->role = $role;
}
/**
* @return string
*/
public function getRole()
{
return $this->role;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudAiPlatformTenantresourceIamPolicyBinding::class, 'Google_Service_Contentwarehouse_CloudAiPlatformTenantresourceIamPolicyBinding');

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\Contentwarehouse;
class CloudAiPlatformTenantresourceInfraSpannerConfig extends \Google\Model
{
protected $createDatabaseOptionsType = CloudAiPlatformTenantresourceInfraSpannerConfigCreateDatabaseOptions::class;
protected $createDatabaseOptionsDataType = '';
/**
* @var string
*/
public $kmsKeyReference;
/**
* @var string
*/
public $sdlBundlePath;
/**
* @var string
*/
public $spannerBorgServiceAccount;
/**
* @var string
*/
public $spannerLocalNamePrefix;
/**
* @var string
*/
public $spannerNamespace;
/**
* @var string
*/
public $spannerUniverse;
/**
* @param CloudAiPlatformTenantresourceInfraSpannerConfigCreateDatabaseOptions
*/
public function setCreateDatabaseOptions(CloudAiPlatformTenantresourceInfraSpannerConfigCreateDatabaseOptions $createDatabaseOptions)
{
$this->createDatabaseOptions = $createDatabaseOptions;
}
/**
* @return CloudAiPlatformTenantresourceInfraSpannerConfigCreateDatabaseOptions
*/
public function getCreateDatabaseOptions()
{
return $this->createDatabaseOptions;
}
/**
* @param string
*/
public function setKmsKeyReference($kmsKeyReference)
{
$this->kmsKeyReference = $kmsKeyReference;
}
/**
* @return string
*/
public function getKmsKeyReference()
{
return $this->kmsKeyReference;
}
/**
* @param string
*/
public function setSdlBundlePath($sdlBundlePath)
{
$this->sdlBundlePath = $sdlBundlePath;
}
/**
* @return string
*/
public function getSdlBundlePath()
{
return $this->sdlBundlePath;
}
/**
* @param string
*/
public function setSpannerBorgServiceAccount($spannerBorgServiceAccount)
{
$this->spannerBorgServiceAccount = $spannerBorgServiceAccount;
}
/**
* @return string
*/
public function getSpannerBorgServiceAccount()
{
return $this->spannerBorgServiceAccount;
}
/**
* @param string
*/
public function setSpannerLocalNamePrefix($spannerLocalNamePrefix)
{
$this->spannerLocalNamePrefix = $spannerLocalNamePrefix;
}
/**
* @return string
*/
public function getSpannerLocalNamePrefix()
{
return $this->spannerLocalNamePrefix;
}
/**
* @param string
*/
public function setSpannerNamespace($spannerNamespace)
{
$this->spannerNamespace = $spannerNamespace;
}
/**
* @return string
*/
public function getSpannerNamespace()
{
return $this->spannerNamespace;
}
/**
* @param string
*/
public function setSpannerUniverse($spannerUniverse)
{
$this->spannerUniverse = $spannerUniverse;
}
/**
* @return string
*/
public function getSpannerUniverse()
{
return $this->spannerUniverse;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudAiPlatformTenantresourceInfraSpannerConfig::class, 'Google_Service_Contentwarehouse_CloudAiPlatformTenantresourceInfraSpannerConfig');

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\Contentwarehouse;
class CloudAiPlatformTenantresourceInfraSpannerConfigCreateDatabaseOptions extends \Google\Model
{
/**
* @var string
*/
public $cmekCloudResourceName;
/**
* @var string
*/
public $cmekCloudResourceType;
/**
* @var string
*/
public $cmekServiceName;
/**
* @param string
*/
public function setCmekCloudResourceName($cmekCloudResourceName)
{
$this->cmekCloudResourceName = $cmekCloudResourceName;
}
/**
* @return string
*/
public function getCmekCloudResourceName()
{
return $this->cmekCloudResourceName;
}
/**
* @param string
*/
public function setCmekCloudResourceType($cmekCloudResourceType)
{
$this->cmekCloudResourceType = $cmekCloudResourceType;
}
/**
* @return string
*/
public function getCmekCloudResourceType()
{
return $this->cmekCloudResourceType;
}
/**
* @param string
*/
public function setCmekServiceName($cmekServiceName)
{
$this->cmekServiceName = $cmekServiceName;
}
/**
* @return string
*/
public function getCmekServiceName()
{
return $this->cmekServiceName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudAiPlatformTenantresourceInfraSpannerConfigCreateDatabaseOptions::class, 'Google_Service_Contentwarehouse_CloudAiPlatformTenantresourceInfraSpannerConfigCreateDatabaseOptions');

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\Contentwarehouse;
class CloudAiPlatformTenantresourceServiceAccountIdentity extends \Google\Model
{
/**
* @var string
*/
public $serviceAccountEmail;
/**
* @var string
*/
public $tag;
/**
* @param string
*/
public function setServiceAccountEmail($serviceAccountEmail)
{
$this->serviceAccountEmail = $serviceAccountEmail;
}
/**
* @return string
*/
public function getServiceAccountEmail()
{
return $this->serviceAccountEmail;
}
/**
* @param string
*/
public function setTag($tag)
{
$this->tag = $tag;
}
/**
* @return string
*/
public function getTag()
{
return $this->tag;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudAiPlatformTenantresourceServiceAccountIdentity::class, 'Google_Service_Contentwarehouse_CloudAiPlatformTenantresourceServiceAccountIdentity');

View File

@@ -0,0 +1,95 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Contentwarehouse;
class CloudAiPlatformTenantresourceTenantProjectConfig extends \Google\Collection
{
protected $collection_key = 'services';
protected $billingConfigType = GoogleApiServiceconsumermanagementV1BillingConfig::class;
protected $billingConfigDataType = '';
/**
* @var string
*/
public $folder;
protected $policyBindingsType = GoogleApiServiceconsumermanagementV1PolicyBinding::class;
protected $policyBindingsDataType = 'array';
/**
* @var string[]
*/
public $services;
/**
* @param GoogleApiServiceconsumermanagementV1BillingConfig
*/
public function setBillingConfig(GoogleApiServiceconsumermanagementV1BillingConfig $billingConfig)
{
$this->billingConfig = $billingConfig;
}
/**
* @return GoogleApiServiceconsumermanagementV1BillingConfig
*/
public function getBillingConfig()
{
return $this->billingConfig;
}
/**
* @param string
*/
public function setFolder($folder)
{
$this->folder = $folder;
}
/**
* @return string
*/
public function getFolder()
{
return $this->folder;
}
/**
* @param GoogleApiServiceconsumermanagementV1PolicyBinding[]
*/
public function setPolicyBindings($policyBindings)
{
$this->policyBindings = $policyBindings;
}
/**
* @return GoogleApiServiceconsumermanagementV1PolicyBinding[]
*/
public function getPolicyBindings()
{
return $this->policyBindings;
}
/**
* @param string[]
*/
public function setServices($services)
{
$this->services = $services;
}
/**
* @return string[]
*/
public function getServices()
{
return $this->services;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudAiPlatformTenantresourceTenantProjectConfig::class, 'Google_Service_Contentwarehouse_CloudAiPlatformTenantresourceTenantProjectConfig');

View File

@@ -0,0 +1,177 @@
<?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\Contentwarehouse;
class CloudAiPlatformTenantresourceTenantProjectResource extends \Google\Collection
{
protected $collection_key = 'tenantServiceAccounts';
protected $cloudSqlInstancesType = CloudAiPlatformTenantresourceCloudSqlInstanceConfig::class;
protected $cloudSqlInstancesDataType = 'array';
protected $gcsBucketsType = CloudAiPlatformTenantresourceGcsBucketConfig::class;
protected $gcsBucketsDataType = 'array';
protected $iamPolicyBindingsType = CloudAiPlatformTenantresourceIamPolicyBinding::class;
protected $iamPolicyBindingsDataType = 'array';
protected $infraSpannerConfigsType = CloudAiPlatformTenantresourceInfraSpannerConfig::class;
protected $infraSpannerConfigsDataType = 'array';
/**
* @var string
*/
public $tag;
protected $tenantProjectConfigType = CloudAiPlatformTenantresourceTenantProjectConfig::class;
protected $tenantProjectConfigDataType = '';
/**
* @var string
*/
public $tenantProjectId;
/**
* @var string
*/
public $tenantProjectNumber;
protected $tenantServiceAccountsType = CloudAiPlatformTenantresourceTenantServiceAccountIdentity::class;
protected $tenantServiceAccountsDataType = 'array';
/**
* @param CloudAiPlatformTenantresourceCloudSqlInstanceConfig[]
*/
public function setCloudSqlInstances($cloudSqlInstances)
{
$this->cloudSqlInstances = $cloudSqlInstances;
}
/**
* @return CloudAiPlatformTenantresourceCloudSqlInstanceConfig[]
*/
public function getCloudSqlInstances()
{
return $this->cloudSqlInstances;
}
/**
* @param CloudAiPlatformTenantresourceGcsBucketConfig[]
*/
public function setGcsBuckets($gcsBuckets)
{
$this->gcsBuckets = $gcsBuckets;
}
/**
* @return CloudAiPlatformTenantresourceGcsBucketConfig[]
*/
public function getGcsBuckets()
{
return $this->gcsBuckets;
}
/**
* @param CloudAiPlatformTenantresourceIamPolicyBinding[]
*/
public function setIamPolicyBindings($iamPolicyBindings)
{
$this->iamPolicyBindings = $iamPolicyBindings;
}
/**
* @return CloudAiPlatformTenantresourceIamPolicyBinding[]
*/
public function getIamPolicyBindings()
{
return $this->iamPolicyBindings;
}
/**
* @param CloudAiPlatformTenantresourceInfraSpannerConfig[]
*/
public function setInfraSpannerConfigs($infraSpannerConfigs)
{
$this->infraSpannerConfigs = $infraSpannerConfigs;
}
/**
* @return CloudAiPlatformTenantresourceInfraSpannerConfig[]
*/
public function getInfraSpannerConfigs()
{
return $this->infraSpannerConfigs;
}
/**
* @param string
*/
public function setTag($tag)
{
$this->tag = $tag;
}
/**
* @return string
*/
public function getTag()
{
return $this->tag;
}
/**
* @param CloudAiPlatformTenantresourceTenantProjectConfig
*/
public function setTenantProjectConfig(CloudAiPlatformTenantresourceTenantProjectConfig $tenantProjectConfig)
{
$this->tenantProjectConfig = $tenantProjectConfig;
}
/**
* @return CloudAiPlatformTenantresourceTenantProjectConfig
*/
public function getTenantProjectConfig()
{
return $this->tenantProjectConfig;
}
/**
* @param string
*/
public function setTenantProjectId($tenantProjectId)
{
$this->tenantProjectId = $tenantProjectId;
}
/**
* @return string
*/
public function getTenantProjectId()
{
return $this->tenantProjectId;
}
/**
* @param string
*/
public function setTenantProjectNumber($tenantProjectNumber)
{
$this->tenantProjectNumber = $tenantProjectNumber;
}
/**
* @return string
*/
public function getTenantProjectNumber()
{
return $this->tenantProjectNumber;
}
/**
* @param CloudAiPlatformTenantresourceTenantServiceAccountIdentity[]
*/
public function setTenantServiceAccounts($tenantServiceAccounts)
{
$this->tenantServiceAccounts = $tenantServiceAccounts;
}
/**
* @return CloudAiPlatformTenantresourceTenantServiceAccountIdentity[]
*/
public function getTenantServiceAccounts()
{
return $this->tenantServiceAccounts;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudAiPlatformTenantresourceTenantProjectResource::class, 'Google_Service_Contentwarehouse_CloudAiPlatformTenantresourceTenantProjectResource');

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\Contentwarehouse;
class CloudAiPlatformTenantresourceTenantResource extends \Google\Collection
{
protected $collection_key = 'tenantProjectResources';
protected $p4ServiceAccountsType = CloudAiPlatformTenantresourceServiceAccountIdentity::class;
protected $p4ServiceAccountsDataType = 'array';
protected $tenantProjectResourcesType = CloudAiPlatformTenantresourceTenantProjectResource::class;
protected $tenantProjectResourcesDataType = 'array';
/**
* @param CloudAiPlatformTenantresourceServiceAccountIdentity[]
*/
public function setP4ServiceAccounts($p4ServiceAccounts)
{
$this->p4ServiceAccounts = $p4ServiceAccounts;
}
/**
* @return CloudAiPlatformTenantresourceServiceAccountIdentity[]
*/
public function getP4ServiceAccounts()
{
return $this->p4ServiceAccounts;
}
/**
* @param CloudAiPlatformTenantresourceTenantProjectResource[]
*/
public function setTenantProjectResources($tenantProjectResources)
{
$this->tenantProjectResources = $tenantProjectResources;
}
/**
* @return CloudAiPlatformTenantresourceTenantProjectResource[]
*/
public function getTenantProjectResources()
{
return $this->tenantProjectResources;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudAiPlatformTenantresourceTenantResource::class, 'Google_Service_Contentwarehouse_CloudAiPlatformTenantresourceTenantResource');

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\Contentwarehouse;
class CloudAiPlatformTenantresourceTenantServiceAccountIdentity extends \Google\Model
{
/**
* @var string
*/
public $serviceAccountEmail;
/**
* @var string
*/
public $serviceName;
/**
* @param string
*/
public function setServiceAccountEmail($serviceAccountEmail)
{
$this->serviceAccountEmail = $serviceAccountEmail;
}
/**
* @return string
*/
public function getServiceAccountEmail()
{
return $this->serviceAccountEmail;
}
/**
* @param string
*/
public function setServiceName($serviceName)
{
$this->serviceName = $serviceName;
}
/**
* @return string
*/
public function getServiceName()
{
return $this->serviceName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudAiPlatformTenantresourceTenantServiceAccountIdentity::class, 'Google_Service_Contentwarehouse_CloudAiPlatformTenantresourceTenantServiceAccountIdentity');

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\Contentwarehouse;
class GoogleApiServiceconsumermanagementV1BillingConfig extends \Google\Model
{
/**
* @var string
*/
public $billingAccount;
/**
* @param string
*/
public function setBillingAccount($billingAccount)
{
$this->billingAccount = $billingAccount;
}
/**
* @return string
*/
public function getBillingAccount()
{
return $this->billingAccount;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleApiServiceconsumermanagementV1BillingConfig::class, 'Google_Service_Contentwarehouse_GoogleApiServiceconsumermanagementV1BillingConfig');

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\Contentwarehouse;
class GoogleApiServiceconsumermanagementV1PolicyBinding extends \Google\Collection
{
protected $collection_key = 'members';
/**
* @var string[]
*/
public $members;
/**
* @var string
*/
public $role;
/**
* @param string[]
*/
public function setMembers($members)
{
$this->members = $members;
}
/**
* @return string[]
*/
public function getMembers()
{
return $this->members;
}
/**
* @param string
*/
public function setRole($role)
{
$this->role = $role;
}
/**
* @return string
*/
public function getRole()
{
return $this->role;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleApiServiceconsumermanagementV1PolicyBinding::class, 'Google_Service_Contentwarehouse_GoogleApiServiceconsumermanagementV1PolicyBinding');

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\Contentwarehouse;
class GoogleCloudContentwarehouseV1AccessControlAction extends \Google\Model
{
/**
* @var string
*/
public $operationType;
protected $policyType = GoogleIamV1Policy::class;
protected $policyDataType = '';
/**
* @param string
*/
public function setOperationType($operationType)
{
$this->operationType = $operationType;
}
/**
* @return string
*/
public function getOperationType()
{
return $this->operationType;
}
/**
* @param GoogleIamV1Policy
*/
public function setPolicy(GoogleIamV1Policy $policy)
{
$this->policy = $policy;
}
/**
* @return GoogleIamV1Policy
*/
public function getPolicy()
{
return $this->policy;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContentwarehouseV1AccessControlAction::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1AccessControlAction');

View File

@@ -0,0 +1,156 @@
<?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\Contentwarehouse;
class GoogleCloudContentwarehouseV1Action extends \Google\Model
{
protected $accessControlType = GoogleCloudContentwarehouseV1AccessControlAction::class;
protected $accessControlDataType = '';
/**
* @var string
*/
public $actionId;
protected $addToFolderType = GoogleCloudContentwarehouseV1AddToFolderAction::class;
protected $addToFolderDataType = '';
protected $dataUpdateType = GoogleCloudContentwarehouseV1DataUpdateAction::class;
protected $dataUpdateDataType = '';
protected $dataValidationType = GoogleCloudContentwarehouseV1DataValidationAction::class;
protected $dataValidationDataType = '';
protected $deleteDocumentActionType = GoogleCloudContentwarehouseV1DeleteDocumentAction::class;
protected $deleteDocumentActionDataType = '';
protected $publishToPubSubType = GoogleCloudContentwarehouseV1PublishAction::class;
protected $publishToPubSubDataType = '';
protected $removeFromFolderActionType = GoogleCloudContentwarehouseV1RemoveFromFolderAction::class;
protected $removeFromFolderActionDataType = '';
/**
* @param GoogleCloudContentwarehouseV1AccessControlAction
*/
public function setAccessControl(GoogleCloudContentwarehouseV1AccessControlAction $accessControl)
{
$this->accessControl = $accessControl;
}
/**
* @return GoogleCloudContentwarehouseV1AccessControlAction
*/
public function getAccessControl()
{
return $this->accessControl;
}
/**
* @param string
*/
public function setActionId($actionId)
{
$this->actionId = $actionId;
}
/**
* @return string
*/
public function getActionId()
{
return $this->actionId;
}
/**
* @param GoogleCloudContentwarehouseV1AddToFolderAction
*/
public function setAddToFolder(GoogleCloudContentwarehouseV1AddToFolderAction $addToFolder)
{
$this->addToFolder = $addToFolder;
}
/**
* @return GoogleCloudContentwarehouseV1AddToFolderAction
*/
public function getAddToFolder()
{
return $this->addToFolder;
}
/**
* @param GoogleCloudContentwarehouseV1DataUpdateAction
*/
public function setDataUpdate(GoogleCloudContentwarehouseV1DataUpdateAction $dataUpdate)
{
$this->dataUpdate = $dataUpdate;
}
/**
* @return GoogleCloudContentwarehouseV1DataUpdateAction
*/
public function getDataUpdate()
{
return $this->dataUpdate;
}
/**
* @param GoogleCloudContentwarehouseV1DataValidationAction
*/
public function setDataValidation(GoogleCloudContentwarehouseV1DataValidationAction $dataValidation)
{
$this->dataValidation = $dataValidation;
}
/**
* @return GoogleCloudContentwarehouseV1DataValidationAction
*/
public function getDataValidation()
{
return $this->dataValidation;
}
/**
* @param GoogleCloudContentwarehouseV1DeleteDocumentAction
*/
public function setDeleteDocumentAction(GoogleCloudContentwarehouseV1DeleteDocumentAction $deleteDocumentAction)
{
$this->deleteDocumentAction = $deleteDocumentAction;
}
/**
* @return GoogleCloudContentwarehouseV1DeleteDocumentAction
*/
public function getDeleteDocumentAction()
{
return $this->deleteDocumentAction;
}
/**
* @param GoogleCloudContentwarehouseV1PublishAction
*/
public function setPublishToPubSub(GoogleCloudContentwarehouseV1PublishAction $publishToPubSub)
{
$this->publishToPubSub = $publishToPubSub;
}
/**
* @return GoogleCloudContentwarehouseV1PublishAction
*/
public function getPublishToPubSub()
{
return $this->publishToPubSub;
}
/**
* @param GoogleCloudContentwarehouseV1RemoveFromFolderAction
*/
public function setRemoveFromFolderAction(GoogleCloudContentwarehouseV1RemoveFromFolderAction $removeFromFolderAction)
{
$this->removeFromFolderAction = $removeFromFolderAction;
}
/**
* @return GoogleCloudContentwarehouseV1RemoveFromFolderAction
*/
public function getRemoveFromFolderAction()
{
return $this->removeFromFolderAction;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContentwarehouseV1Action::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1Action');

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\Contentwarehouse;
class GoogleCloudContentwarehouseV1ActionExecutorOutput extends \Google\Collection
{
protected $collection_key = 'ruleActionsPairs';
protected $ruleActionsPairsType = GoogleCloudContentwarehouseV1RuleActionsPair::class;
protected $ruleActionsPairsDataType = 'array';
/**
* @param GoogleCloudContentwarehouseV1RuleActionsPair[]
*/
public function setRuleActionsPairs($ruleActionsPairs)
{
$this->ruleActionsPairs = $ruleActionsPairs;
}
/**
* @return GoogleCloudContentwarehouseV1RuleActionsPair[]
*/
public function getRuleActionsPairs()
{
return $this->ruleActionsPairs;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContentwarehouseV1ActionExecutorOutput::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1ActionExecutorOutput');

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\Contentwarehouse;
class GoogleCloudContentwarehouseV1ActionOutput extends \Google\Model
{
/**
* @var string
*/
public $actionId;
/**
* @var string
*/
public $actionState;
/**
* @var string
*/
public $outputMessage;
/**
* @param string
*/
public function setActionId($actionId)
{
$this->actionId = $actionId;
}
/**
* @return string
*/
public function getActionId()
{
return $this->actionId;
}
/**
* @param string
*/
public function setActionState($actionState)
{
$this->actionState = $actionState;
}
/**
* @return string
*/
public function getActionState()
{
return $this->actionState;
}
/**
* @param string
*/
public function setOutputMessage($outputMessage)
{
$this->outputMessage = $outputMessage;
}
/**
* @return string
*/
public function getOutputMessage()
{
return $this->outputMessage;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContentwarehouseV1ActionOutput::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1ActionOutput');

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\Contentwarehouse;
class GoogleCloudContentwarehouseV1AddToFolderAction extends \Google\Collection
{
protected $collection_key = 'folders';
/**
* @var string[]
*/
public $folders;
/**
* @param string[]
*/
public function setFolders($folders)
{
$this->folders = $folders;
}
/**
* @return string[]
*/
public function getFolders()
{
return $this->folders;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContentwarehouseV1AddToFolderAction::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1AddToFolderAction');

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\Contentwarehouse;
class GoogleCloudContentwarehouseV1CloudAIDocumentOption extends \Google\Model
{
/**
* @var string[]
*/
public $customizedEntitiesPropertiesConversions;
/**
* @var bool
*/
public $enableEntitiesConversions;
/**
* @param string[]
*/
public function setCustomizedEntitiesPropertiesConversions($customizedEntitiesPropertiesConversions)
{
$this->customizedEntitiesPropertiesConversions = $customizedEntitiesPropertiesConversions;
}
/**
* @return string[]
*/
public function getCustomizedEntitiesPropertiesConversions()
{
return $this->customizedEntitiesPropertiesConversions;
}
/**
* @param bool
*/
public function setEnableEntitiesConversions($enableEntitiesConversions)
{
$this->enableEntitiesConversions = $enableEntitiesConversions;
}
/**
* @return bool
*/
public function getEnableEntitiesConversions()
{
return $this->enableEntitiesConversions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContentwarehouseV1CloudAIDocumentOption::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1CloudAIDocumentOption');

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\Contentwarehouse;
class GoogleCloudContentwarehouseV1CreateDocumentLinkRequest extends \Google\Model
{
protected $documentLinkType = GoogleCloudContentwarehouseV1DocumentLink::class;
protected $documentLinkDataType = '';
protected $requestMetadataType = GoogleCloudContentwarehouseV1RequestMetadata::class;
protected $requestMetadataDataType = '';
/**
* @param GoogleCloudContentwarehouseV1DocumentLink
*/
public function setDocumentLink(GoogleCloudContentwarehouseV1DocumentLink $documentLink)
{
$this->documentLink = $documentLink;
}
/**
* @return GoogleCloudContentwarehouseV1DocumentLink
*/
public function getDocumentLink()
{
return $this->documentLink;
}
/**
* @param GoogleCloudContentwarehouseV1RequestMetadata
*/
public function setRequestMetadata(GoogleCloudContentwarehouseV1RequestMetadata $requestMetadata)
{
$this->requestMetadata = $requestMetadata;
}
/**
* @return GoogleCloudContentwarehouseV1RequestMetadata
*/
public function getRequestMetadata()
{
return $this->requestMetadata;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContentwarehouseV1CreateDocumentLinkRequest::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1CreateDocumentLinkRequest');

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\Contentwarehouse;
class GoogleCloudContentwarehouseV1CreateDocumentMetadata extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContentwarehouseV1CreateDocumentMetadata::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1CreateDocumentMetadata');

View File

@@ -0,0 +1,108 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Contentwarehouse;
class GoogleCloudContentwarehouseV1CreateDocumentRequest extends \Google\Model
{
protected $cloudAiDocumentOptionType = GoogleCloudContentwarehouseV1CloudAIDocumentOption::class;
protected $cloudAiDocumentOptionDataType = '';
/**
* @var string
*/
public $createMask;
protected $documentType = GoogleCloudContentwarehouseV1Document::class;
protected $documentDataType = '';
protected $policyType = GoogleIamV1Policy::class;
protected $policyDataType = '';
protected $requestMetadataType = GoogleCloudContentwarehouseV1RequestMetadata::class;
protected $requestMetadataDataType = '';
/**
* @param GoogleCloudContentwarehouseV1CloudAIDocumentOption
*/
public function setCloudAiDocumentOption(GoogleCloudContentwarehouseV1CloudAIDocumentOption $cloudAiDocumentOption)
{
$this->cloudAiDocumentOption = $cloudAiDocumentOption;
}
/**
* @return GoogleCloudContentwarehouseV1CloudAIDocumentOption
*/
public function getCloudAiDocumentOption()
{
return $this->cloudAiDocumentOption;
}
/**
* @param string
*/
public function setCreateMask($createMask)
{
$this->createMask = $createMask;
}
/**
* @return string
*/
public function getCreateMask()
{
return $this->createMask;
}
/**
* @param GoogleCloudContentwarehouseV1Document
*/
public function setDocument(GoogleCloudContentwarehouseV1Document $document)
{
$this->document = $document;
}
/**
* @return GoogleCloudContentwarehouseV1Document
*/
public function getDocument()
{
return $this->document;
}
/**
* @param GoogleIamV1Policy
*/
public function setPolicy(GoogleIamV1Policy $policy)
{
$this->policy = $policy;
}
/**
* @return GoogleIamV1Policy
*/
public function getPolicy()
{
return $this->policy;
}
/**
* @param GoogleCloudContentwarehouseV1RequestMetadata
*/
public function setRequestMetadata(GoogleCloudContentwarehouseV1RequestMetadata $requestMetadata)
{
$this->requestMetadata = $requestMetadata;
}
/**
* @return GoogleCloudContentwarehouseV1RequestMetadata
*/
public function getRequestMetadata()
{
return $this->requestMetadata;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContentwarehouseV1CreateDocumentRequest::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1CreateDocumentRequest');

View File

@@ -0,0 +1,91 @@
<?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\Contentwarehouse;
class GoogleCloudContentwarehouseV1CreateDocumentResponse extends \Google\Collection
{
protected $collection_key = 'longRunningOperations';
protected $documentType = GoogleCloudContentwarehouseV1Document::class;
protected $documentDataType = '';
protected $longRunningOperationsType = GoogleLongrunningOperation::class;
protected $longRunningOperationsDataType = 'array';
protected $metadataType = GoogleCloudContentwarehouseV1ResponseMetadata::class;
protected $metadataDataType = '';
protected $ruleEngineOutputType = GoogleCloudContentwarehouseV1RuleEngineOutput::class;
protected $ruleEngineOutputDataType = '';
/**
* @param GoogleCloudContentwarehouseV1Document
*/
public function setDocument(GoogleCloudContentwarehouseV1Document $document)
{
$this->document = $document;
}
/**
* @return GoogleCloudContentwarehouseV1Document
*/
public function getDocument()
{
return $this->document;
}
/**
* @param GoogleLongrunningOperation[]
*/
public function setLongRunningOperations($longRunningOperations)
{
$this->longRunningOperations = $longRunningOperations;
}
/**
* @return GoogleLongrunningOperation[]
*/
public function getLongRunningOperations()
{
return $this->longRunningOperations;
}
/**
* @param GoogleCloudContentwarehouseV1ResponseMetadata
*/
public function setMetadata(GoogleCloudContentwarehouseV1ResponseMetadata $metadata)
{
$this->metadata = $metadata;
}
/**
* @return GoogleCloudContentwarehouseV1ResponseMetadata
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* @param GoogleCloudContentwarehouseV1RuleEngineOutput
*/
public function setRuleEngineOutput(GoogleCloudContentwarehouseV1RuleEngineOutput $ruleEngineOutput)
{
$this->ruleEngineOutput = $ruleEngineOutput;
}
/**
* @return GoogleCloudContentwarehouseV1RuleEngineOutput
*/
public function getRuleEngineOutput()
{
return $this->ruleEngineOutput;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContentwarehouseV1CreateDocumentResponse::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1CreateDocumentResponse');

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\Contentwarehouse;
class GoogleCloudContentwarehouseV1CustomWeightsMetadata extends \Google\Collection
{
protected $collection_key = 'weightedSchemaProperties';
protected $weightedSchemaPropertiesType = GoogleCloudContentwarehouseV1WeightedSchemaProperty::class;
protected $weightedSchemaPropertiesDataType = 'array';
/**
* @param GoogleCloudContentwarehouseV1WeightedSchemaProperty[]
*/
public function setWeightedSchemaProperties($weightedSchemaProperties)
{
$this->weightedSchemaProperties = $weightedSchemaProperties;
}
/**
* @return GoogleCloudContentwarehouseV1WeightedSchemaProperty[]
*/
public function getWeightedSchemaProperties()
{
return $this->weightedSchemaProperties;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContentwarehouseV1CustomWeightsMetadata::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1CustomWeightsMetadata');

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\Contentwarehouse;
class GoogleCloudContentwarehouseV1DataUpdateAction extends \Google\Model
{
/**
* @var string[]
*/
public $entries;
/**
* @param string[]
*/
public function setEntries($entries)
{
$this->entries = $entries;
}
/**
* @return string[]
*/
public function getEntries()
{
return $this->entries;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContentwarehouseV1DataUpdateAction::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1DataUpdateAction');

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\Contentwarehouse;
class GoogleCloudContentwarehouseV1DataValidationAction extends \Google\Model
{
/**
* @var string[]
*/
public $conditions;
/**
* @param string[]
*/
public function setConditions($conditions)
{
$this->conditions = $conditions;
}
/**
* @return string[]
*/
public function getConditions()
{
return $this->conditions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContentwarehouseV1DataValidationAction::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1DataValidationAction');

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\Contentwarehouse;
class GoogleCloudContentwarehouseV1DateTimeArray extends \Google\Collection
{
protected $collection_key = 'values';
protected $valuesType = GoogleTypeDateTime::class;
protected $valuesDataType = 'array';
/**
* @param GoogleTypeDateTime[]
*/
public function setValues($values)
{
$this->values = $values;
}
/**
* @return GoogleTypeDateTime[]
*/
public function getValues()
{
return $this->values;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContentwarehouseV1DateTimeArray::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1DateTimeArray');

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\Contentwarehouse;
class GoogleCloudContentwarehouseV1DateTimeTypeOptions extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContentwarehouseV1DateTimeTypeOptions::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1DateTimeTypeOptions');

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\Contentwarehouse;
class GoogleCloudContentwarehouseV1DeleteDocumentAction extends \Google\Model
{
/**
* @var bool
*/
public $enableHardDelete;
/**
* @param bool
*/
public function setEnableHardDelete($enableHardDelete)
{
$this->enableHardDelete = $enableHardDelete;
}
/**
* @return bool
*/
public function getEnableHardDelete()
{
return $this->enableHardDelete;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContentwarehouseV1DeleteDocumentAction::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1DeleteDocumentAction');

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\Contentwarehouse;
class GoogleCloudContentwarehouseV1DeleteDocumentLinkRequest extends \Google\Model
{
protected $requestMetadataType = GoogleCloudContentwarehouseV1RequestMetadata::class;
protected $requestMetadataDataType = '';
/**
* @param GoogleCloudContentwarehouseV1RequestMetadata
*/
public function setRequestMetadata(GoogleCloudContentwarehouseV1RequestMetadata $requestMetadata)
{
$this->requestMetadata = $requestMetadata;
}
/**
* @return GoogleCloudContentwarehouseV1RequestMetadata
*/
public function getRequestMetadata()
{
return $this->requestMetadata;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContentwarehouseV1DeleteDocumentLinkRequest::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1DeleteDocumentLinkRequest');

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\Contentwarehouse;
class GoogleCloudContentwarehouseV1DeleteDocumentRequest extends \Google\Model
{
protected $requestMetadataType = GoogleCloudContentwarehouseV1RequestMetadata::class;
protected $requestMetadataDataType = '';
/**
* @param GoogleCloudContentwarehouseV1RequestMetadata
*/
public function setRequestMetadata(GoogleCloudContentwarehouseV1RequestMetadata $requestMetadata)
{
$this->requestMetadata = $requestMetadata;
}
/**
* @return GoogleCloudContentwarehouseV1RequestMetadata
*/
public function getRequestMetadata()
{
return $this->requestMetadata;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContentwarehouseV1DeleteDocumentRequest::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1DeleteDocumentRequest');

View File

@@ -0,0 +1,401 @@
<?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\Contentwarehouse;
class GoogleCloudContentwarehouseV1Document extends \Google\Collection
{
protected $collection_key = 'properties';
protected $cloudAiDocumentType = GoogleCloudDocumentaiV1Document::class;
protected $cloudAiDocumentDataType = '';
/**
* @var string
*/
public $contentCategory;
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $creator;
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $displayUri;
/**
* @var string
*/
public $dispositionTime;
/**
* @var string
*/
public $documentSchemaName;
/**
* @var string
*/
public $inlineRawDocument;
/**
* @var bool
*/
public $legalHold;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $plainText;
protected $propertiesType = GoogleCloudContentwarehouseV1Property::class;
protected $propertiesDataType = 'array';
/**
* @var string
*/
public $rawDocumentFileType;
/**
* @var string
*/
public $rawDocumentPath;
/**
* @var string
*/
public $referenceId;
/**
* @var bool
*/
public $textExtractionDisabled;
/**
* @var bool
*/
public $textExtractionEnabled;
/**
* @var string
*/
public $title;
/**
* @var string
*/
public $updateTime;
/**
* @var string
*/
public $updater;
/**
* @param GoogleCloudDocumentaiV1Document
*/
public function setCloudAiDocument(GoogleCloudDocumentaiV1Document $cloudAiDocument)
{
$this->cloudAiDocument = $cloudAiDocument;
}
/**
* @return GoogleCloudDocumentaiV1Document
*/
public function getCloudAiDocument()
{
return $this->cloudAiDocument;
}
/**
* @param string
*/
public function setContentCategory($contentCategory)
{
$this->contentCategory = $contentCategory;
}
/**
* @return string
*/
public function getContentCategory()
{
return $this->contentCategory;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setCreator($creator)
{
$this->creator = $creator;
}
/**
* @return string
*/
public function getCreator()
{
return $this->creator;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setDisplayUri($displayUri)
{
$this->displayUri = $displayUri;
}
/**
* @return string
*/
public function getDisplayUri()
{
return $this->displayUri;
}
/**
* @param string
*/
public function setDispositionTime($dispositionTime)
{
$this->dispositionTime = $dispositionTime;
}
/**
* @return string
*/
public function getDispositionTime()
{
return $this->dispositionTime;
}
/**
* @param string
*/
public function setDocumentSchemaName($documentSchemaName)
{
$this->documentSchemaName = $documentSchemaName;
}
/**
* @return string
*/
public function getDocumentSchemaName()
{
return $this->documentSchemaName;
}
/**
* @param string
*/
public function setInlineRawDocument($inlineRawDocument)
{
$this->inlineRawDocument = $inlineRawDocument;
}
/**
* @return string
*/
public function getInlineRawDocument()
{
return $this->inlineRawDocument;
}
/**
* @param bool
*/
public function setLegalHold($legalHold)
{
$this->legalHold = $legalHold;
}
/**
* @return bool
*/
public function getLegalHold()
{
return $this->legalHold;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setPlainText($plainText)
{
$this->plainText = $plainText;
}
/**
* @return string
*/
public function getPlainText()
{
return $this->plainText;
}
/**
* @param GoogleCloudContentwarehouseV1Property[]
*/
public function setProperties($properties)
{
$this->properties = $properties;
}
/**
* @return GoogleCloudContentwarehouseV1Property[]
*/
public function getProperties()
{
return $this->properties;
}
/**
* @param string
*/
public function setRawDocumentFileType($rawDocumentFileType)
{
$this->rawDocumentFileType = $rawDocumentFileType;
}
/**
* @return string
*/
public function getRawDocumentFileType()
{
return $this->rawDocumentFileType;
}
/**
* @param string
*/
public function setRawDocumentPath($rawDocumentPath)
{
$this->rawDocumentPath = $rawDocumentPath;
}
/**
* @return string
*/
public function getRawDocumentPath()
{
return $this->rawDocumentPath;
}
/**
* @param string
*/
public function setReferenceId($referenceId)
{
$this->referenceId = $referenceId;
}
/**
* @return string
*/
public function getReferenceId()
{
return $this->referenceId;
}
/**
* @param bool
*/
public function setTextExtractionDisabled($textExtractionDisabled)
{
$this->textExtractionDisabled = $textExtractionDisabled;
}
/**
* @return bool
*/
public function getTextExtractionDisabled()
{
return $this->textExtractionDisabled;
}
/**
* @param bool
*/
public function setTextExtractionEnabled($textExtractionEnabled)
{
$this->textExtractionEnabled = $textExtractionEnabled;
}
/**
* @return bool
*/
public function getTextExtractionEnabled()
{
return $this->textExtractionEnabled;
}
/**
* @param string
*/
public function setTitle($title)
{
$this->title = $title;
}
/**
* @return string
*/
public function getTitle()
{
return $this->title;
}
/**
* @param string
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
/**
* @param string
*/
public function setUpdater($updater)
{
$this->updater = $updater;
}
/**
* @return string
*/
public function getUpdater()
{
return $this->updater;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContentwarehouseV1Document::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1Document');

View File

@@ -0,0 +1,148 @@
<?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\Contentwarehouse;
class GoogleCloudContentwarehouseV1DocumentLink extends \Google\Model
{
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $name;
protected $sourceDocumentReferenceType = GoogleCloudContentwarehouseV1DocumentReference::class;
protected $sourceDocumentReferenceDataType = '';
/**
* @var string
*/
public $state;
protected $targetDocumentReferenceType = GoogleCloudContentwarehouseV1DocumentReference::class;
protected $targetDocumentReferenceDataType = '';
/**
* @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 setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param GoogleCloudContentwarehouseV1DocumentReference
*/
public function setSourceDocumentReference(GoogleCloudContentwarehouseV1DocumentReference $sourceDocumentReference)
{
$this->sourceDocumentReference = $sourceDocumentReference;
}
/**
* @return GoogleCloudContentwarehouseV1DocumentReference
*/
public function getSourceDocumentReference()
{
return $this->sourceDocumentReference;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param GoogleCloudContentwarehouseV1DocumentReference
*/
public function setTargetDocumentReference(GoogleCloudContentwarehouseV1DocumentReference $targetDocumentReference)
{
$this->targetDocumentReference = $targetDocumentReference;
}
/**
* @return GoogleCloudContentwarehouseV1DocumentReference
*/
public function getTargetDocumentReference()
{
return $this->targetDocumentReference;
}
/**
* @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(GoogleCloudContentwarehouseV1DocumentLink::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1DocumentLink');

View File

@@ -0,0 +1,235 @@
<?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\Contentwarehouse;
class GoogleCloudContentwarehouseV1DocumentQuery extends \Google\Collection
{
protected $collection_key = 'timeFilters';
/**
* @var string
*/
public $customPropertyFilter;
protected $customWeightsMetadataType = GoogleCloudContentwarehouseV1CustomWeightsMetadata::class;
protected $customWeightsMetadataDataType = '';
/**
* @var string[]
*/
public $documentCreatorFilter;
/**
* @var string[]
*/
public $documentNameFilter;
/**
* @var string[]
*/
public $documentSchemaNames;
protected $fileTypeFilterType = GoogleCloudContentwarehouseV1FileTypeFilter::class;
protected $fileTypeFilterDataType = '';
/**
* @var string
*/
public $folderNameFilter;
/**
* @var bool
*/
public $isNlQuery;
protected $propertyFilterType = GoogleCloudContentwarehouseV1PropertyFilter::class;
protected $propertyFilterDataType = 'array';
/**
* @var string
*/
public $query;
/**
* @var string[]
*/
public $queryContext;
protected $timeFiltersType = GoogleCloudContentwarehouseV1TimeFilter::class;
protected $timeFiltersDataType = 'array';
/**
* @param string
*/
public function setCustomPropertyFilter($customPropertyFilter)
{
$this->customPropertyFilter = $customPropertyFilter;
}
/**
* @return string
*/
public function getCustomPropertyFilter()
{
return $this->customPropertyFilter;
}
/**
* @param GoogleCloudContentwarehouseV1CustomWeightsMetadata
*/
public function setCustomWeightsMetadata(GoogleCloudContentwarehouseV1CustomWeightsMetadata $customWeightsMetadata)
{
$this->customWeightsMetadata = $customWeightsMetadata;
}
/**
* @return GoogleCloudContentwarehouseV1CustomWeightsMetadata
*/
public function getCustomWeightsMetadata()
{
return $this->customWeightsMetadata;
}
/**
* @param string[]
*/
public function setDocumentCreatorFilter($documentCreatorFilter)
{
$this->documentCreatorFilter = $documentCreatorFilter;
}
/**
* @return string[]
*/
public function getDocumentCreatorFilter()
{
return $this->documentCreatorFilter;
}
/**
* @param string[]
*/
public function setDocumentNameFilter($documentNameFilter)
{
$this->documentNameFilter = $documentNameFilter;
}
/**
* @return string[]
*/
public function getDocumentNameFilter()
{
return $this->documentNameFilter;
}
/**
* @param string[]
*/
public function setDocumentSchemaNames($documentSchemaNames)
{
$this->documentSchemaNames = $documentSchemaNames;
}
/**
* @return string[]
*/
public function getDocumentSchemaNames()
{
return $this->documentSchemaNames;
}
/**
* @param GoogleCloudContentwarehouseV1FileTypeFilter
*/
public function setFileTypeFilter(GoogleCloudContentwarehouseV1FileTypeFilter $fileTypeFilter)
{
$this->fileTypeFilter = $fileTypeFilter;
}
/**
* @return GoogleCloudContentwarehouseV1FileTypeFilter
*/
public function getFileTypeFilter()
{
return $this->fileTypeFilter;
}
/**
* @param string
*/
public function setFolderNameFilter($folderNameFilter)
{
$this->folderNameFilter = $folderNameFilter;
}
/**
* @return string
*/
public function getFolderNameFilter()
{
return $this->folderNameFilter;
}
/**
* @param bool
*/
public function setIsNlQuery($isNlQuery)
{
$this->isNlQuery = $isNlQuery;
}
/**
* @return bool
*/
public function getIsNlQuery()
{
return $this->isNlQuery;
}
/**
* @param GoogleCloudContentwarehouseV1PropertyFilter[]
*/
public function setPropertyFilter($propertyFilter)
{
$this->propertyFilter = $propertyFilter;
}
/**
* @return GoogleCloudContentwarehouseV1PropertyFilter[]
*/
public function getPropertyFilter()
{
return $this->propertyFilter;
}
/**
* @param string
*/
public function setQuery($query)
{
$this->query = $query;
}
/**
* @return string
*/
public function getQuery()
{
return $this->query;
}
/**
* @param string[]
*/
public function setQueryContext($queryContext)
{
$this->queryContext = $queryContext;
}
/**
* @return string[]
*/
public function getQueryContext()
{
return $this->queryContext;
}
/**
* @param GoogleCloudContentwarehouseV1TimeFilter[]
*/
public function setTimeFilters($timeFilters)
{
$this->timeFilters = $timeFilters;
}
/**
* @return GoogleCloudContentwarehouseV1TimeFilter[]
*/
public function getTimeFilters()
{
return $this->timeFilters;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContentwarehouseV1DocumentQuery::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1DocumentQuery');

View File

@@ -0,0 +1,188 @@
<?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\Contentwarehouse;
class GoogleCloudContentwarehouseV1DocumentReference extends \Google\Model
{
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $deleteTime;
/**
* @var string
*/
public $displayName;
/**
* @var bool
*/
public $documentIsFolder;
/**
* @var bool
*/
public $documentIsLegalHoldFolder;
/**
* @var bool
*/
public $documentIsRetentionFolder;
/**
* @var string
*/
public $documentName;
/**
* @var string
*/
public $snippet;
/**
* @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 setDeleteTime($deleteTime)
{
$this->deleteTime = $deleteTime;
}
/**
* @return string
*/
public function getDeleteTime()
{
return $this->deleteTime;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param bool
*/
public function setDocumentIsFolder($documentIsFolder)
{
$this->documentIsFolder = $documentIsFolder;
}
/**
* @return bool
*/
public function getDocumentIsFolder()
{
return $this->documentIsFolder;
}
/**
* @param bool
*/
public function setDocumentIsLegalHoldFolder($documentIsLegalHoldFolder)
{
$this->documentIsLegalHoldFolder = $documentIsLegalHoldFolder;
}
/**
* @return bool
*/
public function getDocumentIsLegalHoldFolder()
{
return $this->documentIsLegalHoldFolder;
}
/**
* @param bool
*/
public function setDocumentIsRetentionFolder($documentIsRetentionFolder)
{
$this->documentIsRetentionFolder = $documentIsRetentionFolder;
}
/**
* @return bool
*/
public function getDocumentIsRetentionFolder()
{
return $this->documentIsRetentionFolder;
}
/**
* @param string
*/
public function setDocumentName($documentName)
{
$this->documentName = $documentName;
}
/**
* @return string
*/
public function getDocumentName()
{
return $this->documentName;
}
/**
* @param string
*/
public function setSnippet($snippet)
{
$this->snippet = $snippet;
}
/**
* @return string
*/
public function getSnippet()
{
return $this->snippet;
}
/**
* @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(GoogleCloudContentwarehouseV1DocumentReference::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1DocumentReference');

View File

@@ -0,0 +1,151 @@
<?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\Contentwarehouse;
class GoogleCloudContentwarehouseV1DocumentSchema extends \Google\Collection
{
protected $collection_key = 'propertyDefinitions';
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $displayName;
/**
* @var bool
*/
public $documentIsFolder;
/**
* @var string
*/
public $name;
protected $propertyDefinitionsType = GoogleCloudContentwarehouseV1PropertyDefinition::class;
protected $propertyDefinitionsDataType = 'array';
/**
* @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 setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param bool
*/
public function setDocumentIsFolder($documentIsFolder)
{
$this->documentIsFolder = $documentIsFolder;
}
/**
* @return bool
*/
public function getDocumentIsFolder()
{
return $this->documentIsFolder;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param GoogleCloudContentwarehouseV1PropertyDefinition[]
*/
public function setPropertyDefinitions($propertyDefinitions)
{
$this->propertyDefinitions = $propertyDefinitions;
}
/**
* @return GoogleCloudContentwarehouseV1PropertyDefinition[]
*/
public function getPropertyDefinitions()
{
return $this->propertyDefinitions;
}
/**
* @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(GoogleCloudContentwarehouseV1DocumentSchema::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1DocumentSchema');

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\Contentwarehouse;
class GoogleCloudContentwarehouseV1EnumArray extends \Google\Collection
{
protected $collection_key = 'values';
/**
* @var string[]
*/
public $values;
/**
* @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(GoogleCloudContentwarehouseV1EnumArray::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1EnumArray');

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\Contentwarehouse;
class GoogleCloudContentwarehouseV1EnumTypeOptions extends \Google\Collection
{
protected $collection_key = 'possibleValues';
/**
* @var string[]
*/
public $possibleValues;
/**
* @var bool
*/
public $validationCheckDisabled;
/**
* @param string[]
*/
public function setPossibleValues($possibleValues)
{
$this->possibleValues = $possibleValues;
}
/**
* @return string[]
*/
public function getPossibleValues()
{
return $this->possibleValues;
}
/**
* @param bool
*/
public function setValidationCheckDisabled($validationCheckDisabled)
{
$this->validationCheckDisabled = $validationCheckDisabled;
}
/**
* @return bool
*/
public function getValidationCheckDisabled()
{
return $this->validationCheckDisabled;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContentwarehouseV1EnumTypeOptions::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1EnumTypeOptions');

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\Contentwarehouse;
class GoogleCloudContentwarehouseV1EnumValue extends \Google\Model
{
/**
* @var string
*/
public $value;
/**
* @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(GoogleCloudContentwarehouseV1EnumValue::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1EnumValue');

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\Contentwarehouse;
class GoogleCloudContentwarehouseV1ExportToCdwPipeline extends \Google\Collection
{
protected $collection_key = 'documents';
/**
* @var string
*/
public $docAiDataset;
/**
* @var string[]
*/
public $documents;
/**
* @var string
*/
public $exportFolderPath;
/**
* @var float
*/
public $trainingSplitRatio;
/**
* @param string
*/
public function setDocAiDataset($docAiDataset)
{
$this->docAiDataset = $docAiDataset;
}
/**
* @return string
*/
public function getDocAiDataset()
{
return $this->docAiDataset;
}
/**
* @param string[]
*/
public function setDocuments($documents)
{
$this->documents = $documents;
}
/**
* @return string[]
*/
public function getDocuments()
{
return $this->documents;
}
/**
* @param string
*/
public function setExportFolderPath($exportFolderPath)
{
$this->exportFolderPath = $exportFolderPath;
}
/**
* @return string
*/
public function getExportFolderPath()
{
return $this->exportFolderPath;
}
/**
* @param float
*/
public function setTrainingSplitRatio($trainingSplitRatio)
{
$this->trainingSplitRatio = $trainingSplitRatio;
}
/**
* @return float
*/
public function getTrainingSplitRatio()
{
return $this->trainingSplitRatio;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContentwarehouseV1ExportToCdwPipeline::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1ExportToCdwPipeline');

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\Contentwarehouse;
class GoogleCloudContentwarehouseV1FetchAclRequest extends \Google\Model
{
/**
* @var bool
*/
public $projectOwner;
protected $requestMetadataType = GoogleCloudContentwarehouseV1RequestMetadata::class;
protected $requestMetadataDataType = '';
/**
* @param bool
*/
public function setProjectOwner($projectOwner)
{
$this->projectOwner = $projectOwner;
}
/**
* @return bool
*/
public function getProjectOwner()
{
return $this->projectOwner;
}
/**
* @param GoogleCloudContentwarehouseV1RequestMetadata
*/
public function setRequestMetadata(GoogleCloudContentwarehouseV1RequestMetadata $requestMetadata)
{
$this->requestMetadata = $requestMetadata;
}
/**
* @return GoogleCloudContentwarehouseV1RequestMetadata
*/
public function getRequestMetadata()
{
return $this->requestMetadata;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContentwarehouseV1FetchAclRequest::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1FetchAclRequest');

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\Contentwarehouse;
class GoogleCloudContentwarehouseV1FetchAclResponse extends \Google\Model
{
protected $metadataType = GoogleCloudContentwarehouseV1ResponseMetadata::class;
protected $metadataDataType = '';
protected $policyType = GoogleIamV1Policy::class;
protected $policyDataType = '';
/**
* @param GoogleCloudContentwarehouseV1ResponseMetadata
*/
public function setMetadata(GoogleCloudContentwarehouseV1ResponseMetadata $metadata)
{
$this->metadata = $metadata;
}
/**
* @return GoogleCloudContentwarehouseV1ResponseMetadata
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* @param GoogleIamV1Policy
*/
public function setPolicy(GoogleIamV1Policy $policy)
{
$this->policy = $policy;
}
/**
* @return GoogleIamV1Policy
*/
public function getPolicy()
{
return $this->policy;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContentwarehouseV1FetchAclResponse::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1FetchAclResponse');

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\Contentwarehouse;
class GoogleCloudContentwarehouseV1FileTypeFilter extends \Google\Model
{
/**
* @var string
*/
public $fileType;
/**
* @param string
*/
public function setFileType($fileType)
{
$this->fileType = $fileType;
}
/**
* @return string
*/
public function getFileType()
{
return $this->fileType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContentwarehouseV1FileTypeFilter::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1FileTypeFilter');

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\Contentwarehouse;
class GoogleCloudContentwarehouseV1FloatArray extends \Google\Collection
{
protected $collection_key = 'values';
/**
* @var float[]
*/
public $values;
/**
* @param float[]
*/
public function setValues($values)
{
$this->values = $values;
}
/**
* @return float[]
*/
public function getValues()
{
return $this->values;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContentwarehouseV1FloatArray::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1FloatArray');

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\Contentwarehouse;
class GoogleCloudContentwarehouseV1FloatTypeOptions extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContentwarehouseV1FloatTypeOptions::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1FloatTypeOptions');

View File

@@ -0,0 +1,114 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Contentwarehouse;
class GoogleCloudContentwarehouseV1GcsIngestPipeline extends \Google\Model
{
/**
* @var string
*/
public $inputPath;
protected $pipelineConfigType = GoogleCloudContentwarehouseV1IngestPipelineConfig::class;
protected $pipelineConfigDataType = '';
/**
* @var string
*/
public $processorType;
/**
* @var string
*/
public $schemaName;
/**
* @var bool
*/
public $skipIngestedDocuments;
/**
* @param string
*/
public function setInputPath($inputPath)
{
$this->inputPath = $inputPath;
}
/**
* @return string
*/
public function getInputPath()
{
return $this->inputPath;
}
/**
* @param GoogleCloudContentwarehouseV1IngestPipelineConfig
*/
public function setPipelineConfig(GoogleCloudContentwarehouseV1IngestPipelineConfig $pipelineConfig)
{
$this->pipelineConfig = $pipelineConfig;
}
/**
* @return GoogleCloudContentwarehouseV1IngestPipelineConfig
*/
public function getPipelineConfig()
{
return $this->pipelineConfig;
}
/**
* @param string
*/
public function setProcessorType($processorType)
{
$this->processorType = $processorType;
}
/**
* @return string
*/
public function getProcessorType()
{
return $this->processorType;
}
/**
* @param string
*/
public function setSchemaName($schemaName)
{
$this->schemaName = $schemaName;
}
/**
* @return string
*/
public function getSchemaName()
{
return $this->schemaName;
}
/**
* @param bool
*/
public function setSkipIngestedDocuments($skipIngestedDocuments)
{
$this->skipIngestedDocuments = $skipIngestedDocuments;
}
/**
* @return bool
*/
public function getSkipIngestedDocuments()
{
return $this->skipIngestedDocuments;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContentwarehouseV1GcsIngestPipeline::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1GcsIngestPipeline');

View File

@@ -0,0 +1,129 @@
<?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\Contentwarehouse;
class GoogleCloudContentwarehouseV1GcsIngestWithDocAiProcessorsPipeline extends \Google\Collection
{
protected $collection_key = 'extractProcessorInfos';
protected $extractProcessorInfosType = GoogleCloudContentwarehouseV1ProcessorInfo::class;
protected $extractProcessorInfosDataType = 'array';
/**
* @var string
*/
public $inputPath;
protected $pipelineConfigType = GoogleCloudContentwarehouseV1IngestPipelineConfig::class;
protected $pipelineConfigDataType = '';
/**
* @var string
*/
public $processorResultsFolderPath;
/**
* @var bool
*/
public $skipIngestedDocuments;
protected $splitClassifyProcessorInfoType = GoogleCloudContentwarehouseV1ProcessorInfo::class;
protected $splitClassifyProcessorInfoDataType = '';
/**
* @param GoogleCloudContentwarehouseV1ProcessorInfo[]
*/
public function setExtractProcessorInfos($extractProcessorInfos)
{
$this->extractProcessorInfos = $extractProcessorInfos;
}
/**
* @return GoogleCloudContentwarehouseV1ProcessorInfo[]
*/
public function getExtractProcessorInfos()
{
return $this->extractProcessorInfos;
}
/**
* @param string
*/
public function setInputPath($inputPath)
{
$this->inputPath = $inputPath;
}
/**
* @return string
*/
public function getInputPath()
{
return $this->inputPath;
}
/**
* @param GoogleCloudContentwarehouseV1IngestPipelineConfig
*/
public function setPipelineConfig(GoogleCloudContentwarehouseV1IngestPipelineConfig $pipelineConfig)
{
$this->pipelineConfig = $pipelineConfig;
}
/**
* @return GoogleCloudContentwarehouseV1IngestPipelineConfig
*/
public function getPipelineConfig()
{
return $this->pipelineConfig;
}
/**
* @param string
*/
public function setProcessorResultsFolderPath($processorResultsFolderPath)
{
$this->processorResultsFolderPath = $processorResultsFolderPath;
}
/**
* @return string
*/
public function getProcessorResultsFolderPath()
{
return $this->processorResultsFolderPath;
}
/**
* @param bool
*/
public function setSkipIngestedDocuments($skipIngestedDocuments)
{
$this->skipIngestedDocuments = $skipIngestedDocuments;
}
/**
* @return bool
*/
public function getSkipIngestedDocuments()
{
return $this->skipIngestedDocuments;
}
/**
* @param GoogleCloudContentwarehouseV1ProcessorInfo
*/
public function setSplitClassifyProcessorInfo(GoogleCloudContentwarehouseV1ProcessorInfo $splitClassifyProcessorInfo)
{
$this->splitClassifyProcessorInfo = $splitClassifyProcessorInfo;
}
/**
* @return GoogleCloudContentwarehouseV1ProcessorInfo
*/
public function getSplitClassifyProcessorInfo()
{
return $this->splitClassifyProcessorInfo;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContentwarehouseV1GcsIngestWithDocAiProcessorsPipeline::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1GcsIngestWithDocAiProcessorsPipeline');

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\Contentwarehouse;
class GoogleCloudContentwarehouseV1GetDocumentRequest extends \Google\Model
{
protected $requestMetadataType = GoogleCloudContentwarehouseV1RequestMetadata::class;
protected $requestMetadataDataType = '';
/**
* @param GoogleCloudContentwarehouseV1RequestMetadata
*/
public function setRequestMetadata(GoogleCloudContentwarehouseV1RequestMetadata $requestMetadata)
{
$this->requestMetadata = $requestMetadata;
}
/**
* @return GoogleCloudContentwarehouseV1RequestMetadata
*/
public function getRequestMetadata()
{
return $this->requestMetadata;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContentwarehouseV1GetDocumentRequest::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1GetDocumentRequest');

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\Contentwarehouse;
class GoogleCloudContentwarehouseV1HistogramQuery extends \Google\Model
{
protected $filtersType = GoogleCloudContentwarehouseV1HistogramQueryPropertyNameFilter::class;
protected $filtersDataType = '';
/**
* @var string
*/
public $histogramQuery;
/**
* @var bool
*/
public $requirePreciseResultSize;
/**
* @param GoogleCloudContentwarehouseV1HistogramQueryPropertyNameFilter
*/
public function setFilters(GoogleCloudContentwarehouseV1HistogramQueryPropertyNameFilter $filters)
{
$this->filters = $filters;
}
/**
* @return GoogleCloudContentwarehouseV1HistogramQueryPropertyNameFilter
*/
public function getFilters()
{
return $this->filters;
}
/**
* @param string
*/
public function setHistogramQuery($histogramQuery)
{
$this->histogramQuery = $histogramQuery;
}
/**
* @return string
*/
public function getHistogramQuery()
{
return $this->histogramQuery;
}
/**
* @param bool
*/
public function setRequirePreciseResultSize($requirePreciseResultSize)
{
$this->requirePreciseResultSize = $requirePreciseResultSize;
}
/**
* @return bool
*/
public function getRequirePreciseResultSize()
{
return $this->requirePreciseResultSize;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContentwarehouseV1HistogramQuery::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1HistogramQuery');

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\Contentwarehouse;
class GoogleCloudContentwarehouseV1HistogramQueryPropertyNameFilter extends \Google\Collection
{
protected $collection_key = 'propertyNames';
/**
* @var string[]
*/
public $documentSchemas;
/**
* @var string[]
*/
public $propertyNames;
/**
* @var string
*/
public $yAxis;
/**
* @param string[]
*/
public function setDocumentSchemas($documentSchemas)
{
$this->documentSchemas = $documentSchemas;
}
/**
* @return string[]
*/
public function getDocumentSchemas()
{
return $this->documentSchemas;
}
/**
* @param string[]
*/
public function setPropertyNames($propertyNames)
{
$this->propertyNames = $propertyNames;
}
/**
* @return string[]
*/
public function getPropertyNames()
{
return $this->propertyNames;
}
/**
* @param string
*/
public function setYAxis($yAxis)
{
$this->yAxis = $yAxis;
}
/**
* @return string
*/
public function getYAxis()
{
return $this->yAxis;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContentwarehouseV1HistogramQueryPropertyNameFilter::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1HistogramQueryPropertyNameFilter');

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\Contentwarehouse;
class GoogleCloudContentwarehouseV1HistogramQueryResult extends \Google\Model
{
/**
* @var string[]
*/
public $histogram;
/**
* @var string
*/
public $histogramQuery;
/**
* @param string[]
*/
public function setHistogram($histogram)
{
$this->histogram = $histogram;
}
/**
* @return string[]
*/
public function getHistogram()
{
return $this->histogram;
}
/**
* @param string
*/
public function setHistogramQuery($histogramQuery)
{
$this->histogramQuery = $histogramQuery;
}
/**
* @return string
*/
public function getHistogramQuery()
{
return $this->histogramQuery;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContentwarehouseV1HistogramQueryResult::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1HistogramQueryResult');

View File

@@ -0,0 +1,96 @@
<?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\Contentwarehouse;
class GoogleCloudContentwarehouseV1IngestPipelineConfig extends \Google\Model
{
/**
* @var string
*/
public $cloudFunction;
protected $documentAclPolicyType = GoogleIamV1Policy::class;
protected $documentAclPolicyDataType = '';
/**
* @var bool
*/
public $enableDocumentTextExtraction;
/**
* @var string
*/
public $folder;
/**
* @param string
*/
public function setCloudFunction($cloudFunction)
{
$this->cloudFunction = $cloudFunction;
}
/**
* @return string
*/
public function getCloudFunction()
{
return $this->cloudFunction;
}
/**
* @param GoogleIamV1Policy
*/
public function setDocumentAclPolicy(GoogleIamV1Policy $documentAclPolicy)
{
$this->documentAclPolicy = $documentAclPolicy;
}
/**
* @return GoogleIamV1Policy
*/
public function getDocumentAclPolicy()
{
return $this->documentAclPolicy;
}
/**
* @param bool
*/
public function setEnableDocumentTextExtraction($enableDocumentTextExtraction)
{
$this->enableDocumentTextExtraction = $enableDocumentTextExtraction;
}
/**
* @return bool
*/
public function getEnableDocumentTextExtraction()
{
return $this->enableDocumentTextExtraction;
}
/**
* @param string
*/
public function setFolder($folder)
{
$this->folder = $folder;
}
/**
* @return string
*/
public function getFolder()
{
return $this->folder;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContentwarehouseV1IngestPipelineConfig::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1IngestPipelineConfig');

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\Contentwarehouse;
class GoogleCloudContentwarehouseV1InitializeProjectRequest extends \Google\Model
{
/**
* @var string
*/
public $accessControlMode;
/**
* @var string
*/
public $databaseType;
/**
* @var string
*/
public $documentCreatorDefaultRole;
/**
* @var bool
*/
public $enableCalUserEmailLogging;
/**
* @var string
*/
public $kmsKey;
/**
* @param string
*/
public function setAccessControlMode($accessControlMode)
{
$this->accessControlMode = $accessControlMode;
}
/**
* @return string
*/
public function getAccessControlMode()
{
return $this->accessControlMode;
}
/**
* @param string
*/
public function setDatabaseType($databaseType)
{
$this->databaseType = $databaseType;
}
/**
* @return string
*/
public function getDatabaseType()
{
return $this->databaseType;
}
/**
* @param string
*/
public function setDocumentCreatorDefaultRole($documentCreatorDefaultRole)
{
$this->documentCreatorDefaultRole = $documentCreatorDefaultRole;
}
/**
* @return string
*/
public function getDocumentCreatorDefaultRole()
{
return $this->documentCreatorDefaultRole;
}
/**
* @param bool
*/
public function setEnableCalUserEmailLogging($enableCalUserEmailLogging)
{
$this->enableCalUserEmailLogging = $enableCalUserEmailLogging;
}
/**
* @return bool
*/
public function getEnableCalUserEmailLogging()
{
return $this->enableCalUserEmailLogging;
}
/**
* @param string
*/
public function setKmsKey($kmsKey)
{
$this->kmsKey = $kmsKey;
}
/**
* @return string
*/
public function getKmsKey()
{
return $this->kmsKey;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContentwarehouseV1InitializeProjectRequest::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1InitializeProjectRequest');

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\Contentwarehouse;
class GoogleCloudContentwarehouseV1InitializeProjectResponse extends \Google\Model
{
/**
* @var string
*/
public $message;
/**
* @var string
*/
public $state;
/**
* @param string
*/
public function setMessage($message)
{
$this->message = $message;
}
/**
* @return string
*/
public function getMessage()
{
return $this->message;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContentwarehouseV1InitializeProjectResponse::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1InitializeProjectResponse');

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\Contentwarehouse;
class GoogleCloudContentwarehouseV1IntegerArray extends \Google\Collection
{
protected $collection_key = 'values';
/**
* @var int[]
*/
public $values;
/**
* @param int[]
*/
public function setValues($values)
{
$this->values = $values;
}
/**
* @return int[]
*/
public function getValues()
{
return $this->values;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContentwarehouseV1IntegerArray::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1IntegerArray');

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\Contentwarehouse;
class GoogleCloudContentwarehouseV1IntegerTypeOptions extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContentwarehouseV1IntegerTypeOptions::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1IntegerTypeOptions');

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\Contentwarehouse;
class GoogleCloudContentwarehouseV1InvalidRule extends \Google\Model
{
/**
* @var string
*/
public $error;
protected $ruleType = GoogleCloudContentwarehouseV1Rule::class;
protected $ruleDataType = '';
/**
* @param string
*/
public function setError($error)
{
$this->error = $error;
}
/**
* @return string
*/
public function getError()
{
return $this->error;
}
/**
* @param GoogleCloudContentwarehouseV1Rule
*/
public function setRule(GoogleCloudContentwarehouseV1Rule $rule)
{
$this->rule = $rule;
}
/**
* @return GoogleCloudContentwarehouseV1Rule
*/
public function getRule()
{
return $this->rule;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContentwarehouseV1InvalidRule::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1InvalidRule');

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\Contentwarehouse;
class GoogleCloudContentwarehouseV1ListDocumentSchemasResponse extends \Google\Collection
{
protected $collection_key = 'documentSchemas';
protected $documentSchemasType = GoogleCloudContentwarehouseV1DocumentSchema::class;
protected $documentSchemasDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param GoogleCloudContentwarehouseV1DocumentSchema[]
*/
public function setDocumentSchemas($documentSchemas)
{
$this->documentSchemas = $documentSchemas;
}
/**
* @return GoogleCloudContentwarehouseV1DocumentSchema[]
*/
public function getDocumentSchemas()
{
return $this->documentSchemas;
}
/**
* @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(GoogleCloudContentwarehouseV1ListDocumentSchemasResponse::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1ListDocumentSchemasResponse');

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\Contentwarehouse;
class GoogleCloudContentwarehouseV1ListLinkedSourcesRequest extends \Google\Model
{
/**
* @var int
*/
public $pageSize;
/**
* @var string
*/
public $pageToken;
protected $requestMetadataType = GoogleCloudContentwarehouseV1RequestMetadata::class;
protected $requestMetadataDataType = '';
/**
* @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 GoogleCloudContentwarehouseV1RequestMetadata
*/
public function setRequestMetadata(GoogleCloudContentwarehouseV1RequestMetadata $requestMetadata)
{
$this->requestMetadata = $requestMetadata;
}
/**
* @return GoogleCloudContentwarehouseV1RequestMetadata
*/
public function getRequestMetadata()
{
return $this->requestMetadata;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContentwarehouseV1ListLinkedSourcesRequest::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1ListLinkedSourcesRequest');

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\Contentwarehouse;
class GoogleCloudContentwarehouseV1ListLinkedSourcesResponse extends \Google\Collection
{
protected $collection_key = 'documentLinks';
protected $documentLinksType = GoogleCloudContentwarehouseV1DocumentLink::class;
protected $documentLinksDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param GoogleCloudContentwarehouseV1DocumentLink[]
*/
public function setDocumentLinks($documentLinks)
{
$this->documentLinks = $documentLinks;
}
/**
* @return GoogleCloudContentwarehouseV1DocumentLink[]
*/
public function getDocumentLinks()
{
return $this->documentLinks;
}
/**
* @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(GoogleCloudContentwarehouseV1ListLinkedSourcesResponse::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1ListLinkedSourcesResponse');

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\Contentwarehouse;
class GoogleCloudContentwarehouseV1ListLinkedTargetsRequest extends \Google\Model
{
protected $requestMetadataType = GoogleCloudContentwarehouseV1RequestMetadata::class;
protected $requestMetadataDataType = '';
/**
* @param GoogleCloudContentwarehouseV1RequestMetadata
*/
public function setRequestMetadata(GoogleCloudContentwarehouseV1RequestMetadata $requestMetadata)
{
$this->requestMetadata = $requestMetadata;
}
/**
* @return GoogleCloudContentwarehouseV1RequestMetadata
*/
public function getRequestMetadata()
{
return $this->requestMetadata;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContentwarehouseV1ListLinkedTargetsRequest::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1ListLinkedTargetsRequest');

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\Contentwarehouse;
class GoogleCloudContentwarehouseV1ListLinkedTargetsResponse extends \Google\Collection
{
protected $collection_key = 'documentLinks';
protected $documentLinksType = GoogleCloudContentwarehouseV1DocumentLink::class;
protected $documentLinksDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param GoogleCloudContentwarehouseV1DocumentLink[]
*/
public function setDocumentLinks($documentLinks)
{
$this->documentLinks = $documentLinks;
}
/**
* @return GoogleCloudContentwarehouseV1DocumentLink[]
*/
public function getDocumentLinks()
{
return $this->documentLinks;
}
/**
* @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(GoogleCloudContentwarehouseV1ListLinkedTargetsResponse::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1ListLinkedTargetsResponse');

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\Contentwarehouse;
class GoogleCloudContentwarehouseV1ListRuleSetsResponse extends \Google\Collection
{
protected $collection_key = 'ruleSets';
/**
* @var string
*/
public $nextPageToken;
protected $ruleSetsType = GoogleCloudContentwarehouseV1RuleSet::class;
protected $ruleSetsDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param GoogleCloudContentwarehouseV1RuleSet[]
*/
public function setRuleSets($ruleSets)
{
$this->ruleSets = $ruleSets;
}
/**
* @return GoogleCloudContentwarehouseV1RuleSet[]
*/
public function getRuleSets()
{
return $this->ruleSets;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContentwarehouseV1ListRuleSetsResponse::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1ListRuleSetsResponse');

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\Contentwarehouse;
class GoogleCloudContentwarehouseV1ListSynonymSetsResponse extends \Google\Collection
{
protected $collection_key = 'synonymSets';
/**
* @var string
*/
public $nextPageToken;
protected $synonymSetsType = GoogleCloudContentwarehouseV1SynonymSet::class;
protected $synonymSetsDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param GoogleCloudContentwarehouseV1SynonymSet[]
*/
public function setSynonymSets($synonymSets)
{
$this->synonymSets = $synonymSets;
}
/**
* @return GoogleCloudContentwarehouseV1SynonymSet[]
*/
public function getSynonymSets()
{
return $this->synonymSets;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContentwarehouseV1ListSynonymSetsResponse::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1ListSynonymSetsResponse');

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\Contentwarehouse;
class GoogleCloudContentwarehouseV1LockDocumentRequest extends \Google\Model
{
/**
* @var string
*/
public $collectionId;
protected $lockingUserType = GoogleCloudContentwarehouseV1UserInfo::class;
protected $lockingUserDataType = '';
/**
* @param string
*/
public function setCollectionId($collectionId)
{
$this->collectionId = $collectionId;
}
/**
* @return string
*/
public function getCollectionId()
{
return $this->collectionId;
}
/**
* @param GoogleCloudContentwarehouseV1UserInfo
*/
public function setLockingUser(GoogleCloudContentwarehouseV1UserInfo $lockingUser)
{
$this->lockingUser = $lockingUser;
}
/**
* @return GoogleCloudContentwarehouseV1UserInfo
*/
public function getLockingUser()
{
return $this->lockingUser;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContentwarehouseV1LockDocumentRequest::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1LockDocumentRequest');

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\Contentwarehouse;
class GoogleCloudContentwarehouseV1MapProperty extends \Google\Model
{
protected $fieldsType = GoogleCloudContentwarehouseV1Value::class;
protected $fieldsDataType = 'map';
/**
* @param GoogleCloudContentwarehouseV1Value[]
*/
public function setFields($fields)
{
$this->fields = $fields;
}
/**
* @return GoogleCloudContentwarehouseV1Value[]
*/
public function getFields()
{
return $this->fields;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContentwarehouseV1MapProperty::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1MapProperty');

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\Contentwarehouse;
class GoogleCloudContentwarehouseV1MapTypeOptions extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContentwarehouseV1MapTypeOptions::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1MapTypeOptions');

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\Contentwarehouse;
class GoogleCloudContentwarehouseV1MergeFieldsOptions extends \Google\Model
{
/**
* @var bool
*/
public $replaceMessageFields;
/**
* @var bool
*/
public $replaceRepeatedFields;
/**
* @param bool
*/
public function setReplaceMessageFields($replaceMessageFields)
{
$this->replaceMessageFields = $replaceMessageFields;
}
/**
* @return bool
*/
public function getReplaceMessageFields()
{
return $this->replaceMessageFields;
}
/**
* @param bool
*/
public function setReplaceRepeatedFields($replaceRepeatedFields)
{
$this->replaceRepeatedFields = $replaceRepeatedFields;
}
/**
* @return bool
*/
public function getReplaceRepeatedFields()
{
return $this->replaceRepeatedFields;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContentwarehouseV1MergeFieldsOptions::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1MergeFieldsOptions');

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\Contentwarehouse;
class GoogleCloudContentwarehouseV1ProcessWithDocAiPipeline extends \Google\Collection
{
protected $collection_key = 'documents';
/**
* @var string[]
*/
public $documents;
/**
* @var string
*/
public $exportFolderPath;
protected $processorInfoType = GoogleCloudContentwarehouseV1ProcessorInfo::class;
protected $processorInfoDataType = '';
/**
* @var string
*/
public $processorResultsFolderPath;
/**
* @param string[]
*/
public function setDocuments($documents)
{
$this->documents = $documents;
}
/**
* @return string[]
*/
public function getDocuments()
{
return $this->documents;
}
/**
* @param string
*/
public function setExportFolderPath($exportFolderPath)
{
$this->exportFolderPath = $exportFolderPath;
}
/**
* @return string
*/
public function getExportFolderPath()
{
return $this->exportFolderPath;
}
/**
* @param GoogleCloudContentwarehouseV1ProcessorInfo
*/
public function setProcessorInfo(GoogleCloudContentwarehouseV1ProcessorInfo $processorInfo)
{
$this->processorInfo = $processorInfo;
}
/**
* @return GoogleCloudContentwarehouseV1ProcessorInfo
*/
public function getProcessorInfo()
{
return $this->processorInfo;
}
/**
* @param string
*/
public function setProcessorResultsFolderPath($processorResultsFolderPath)
{
$this->processorResultsFolderPath = $processorResultsFolderPath;
}
/**
* @return string
*/
public function getProcessorResultsFolderPath()
{
return $this->processorResultsFolderPath;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContentwarehouseV1ProcessWithDocAiPipeline::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1ProcessWithDocAiPipeline');

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\Contentwarehouse;
class GoogleCloudContentwarehouseV1ProcessorInfo extends \Google\Model
{
/**
* @var string
*/
public $documentType;
/**
* @var string
*/
public $processorName;
/**
* @var string
*/
public $schemaName;
/**
* @param string
*/
public function setDocumentType($documentType)
{
$this->documentType = $documentType;
}
/**
* @return string
*/
public function getDocumentType()
{
return $this->documentType;
}
/**
* @param string
*/
public function setProcessorName($processorName)
{
$this->processorName = $processorName;
}
/**
* @return string
*/
public function getProcessorName()
{
return $this->processorName;
}
/**
* @param string
*/
public function setSchemaName($schemaName)
{
$this->schemaName = $schemaName;
}
/**
* @return string
*/
public function getSchemaName()
{
return $this->schemaName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContentwarehouseV1ProcessorInfo::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1ProcessorInfo');

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\Contentwarehouse;
class GoogleCloudContentwarehouseV1ProjectStatus extends \Google\Model
{
/**
* @var string
*/
public $accessControlMode;
/**
* @var string
*/
public $databaseType;
/**
* @var string
*/
public $documentCreatorDefaultRole;
/**
* @var string
*/
public $location;
/**
* @var bool
*/
public $qaEnabled;
/**
* @var string
*/
public $state;
/**
* @param string
*/
public function setAccessControlMode($accessControlMode)
{
$this->accessControlMode = $accessControlMode;
}
/**
* @return string
*/
public function getAccessControlMode()
{
return $this->accessControlMode;
}
/**
* @param string
*/
public function setDatabaseType($databaseType)
{
$this->databaseType = $databaseType;
}
/**
* @return string
*/
public function getDatabaseType()
{
return $this->databaseType;
}
/**
* @param string
*/
public function setDocumentCreatorDefaultRole($documentCreatorDefaultRole)
{
$this->documentCreatorDefaultRole = $documentCreatorDefaultRole;
}
/**
* @return string
*/
public function getDocumentCreatorDefaultRole()
{
return $this->documentCreatorDefaultRole;
}
/**
* @param string
*/
public function setLocation($location)
{
$this->location = $location;
}
/**
* @return string
*/
public function getLocation()
{
return $this->location;
}
/**
* @param bool
*/
public function setQaEnabled($qaEnabled)
{
$this->qaEnabled = $qaEnabled;
}
/**
* @return bool
*/
public function getQaEnabled()
{
return $this->qaEnabled;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContentwarehouseV1ProjectStatus::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1ProjectStatus');

View File

@@ -0,0 +1,172 @@
<?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\Contentwarehouse;
class GoogleCloudContentwarehouseV1Property extends \Google\Model
{
protected $dateTimeValuesType = GoogleCloudContentwarehouseV1DateTimeArray::class;
protected $dateTimeValuesDataType = '';
protected $enumValuesType = GoogleCloudContentwarehouseV1EnumArray::class;
protected $enumValuesDataType = '';
protected $floatValuesType = GoogleCloudContentwarehouseV1FloatArray::class;
protected $floatValuesDataType = '';
protected $integerValuesType = GoogleCloudContentwarehouseV1IntegerArray::class;
protected $integerValuesDataType = '';
protected $mapPropertyType = GoogleCloudContentwarehouseV1MapProperty::class;
protected $mapPropertyDataType = '';
/**
* @var string
*/
public $name;
protected $propertyValuesType = GoogleCloudContentwarehouseV1PropertyArray::class;
protected $propertyValuesDataType = '';
protected $textValuesType = GoogleCloudContentwarehouseV1TextArray::class;
protected $textValuesDataType = '';
protected $timestampValuesType = GoogleCloudContentwarehouseV1TimestampArray::class;
protected $timestampValuesDataType = '';
/**
* @param GoogleCloudContentwarehouseV1DateTimeArray
*/
public function setDateTimeValues(GoogleCloudContentwarehouseV1DateTimeArray $dateTimeValues)
{
$this->dateTimeValues = $dateTimeValues;
}
/**
* @return GoogleCloudContentwarehouseV1DateTimeArray
*/
public function getDateTimeValues()
{
return $this->dateTimeValues;
}
/**
* @param GoogleCloudContentwarehouseV1EnumArray
*/
public function setEnumValues(GoogleCloudContentwarehouseV1EnumArray $enumValues)
{
$this->enumValues = $enumValues;
}
/**
* @return GoogleCloudContentwarehouseV1EnumArray
*/
public function getEnumValues()
{
return $this->enumValues;
}
/**
* @param GoogleCloudContentwarehouseV1FloatArray
*/
public function setFloatValues(GoogleCloudContentwarehouseV1FloatArray $floatValues)
{
$this->floatValues = $floatValues;
}
/**
* @return GoogleCloudContentwarehouseV1FloatArray
*/
public function getFloatValues()
{
return $this->floatValues;
}
/**
* @param GoogleCloudContentwarehouseV1IntegerArray
*/
public function setIntegerValues(GoogleCloudContentwarehouseV1IntegerArray $integerValues)
{
$this->integerValues = $integerValues;
}
/**
* @return GoogleCloudContentwarehouseV1IntegerArray
*/
public function getIntegerValues()
{
return $this->integerValues;
}
/**
* @param GoogleCloudContentwarehouseV1MapProperty
*/
public function setMapProperty(GoogleCloudContentwarehouseV1MapProperty $mapProperty)
{
$this->mapProperty = $mapProperty;
}
/**
* @return GoogleCloudContentwarehouseV1MapProperty
*/
public function getMapProperty()
{
return $this->mapProperty;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param GoogleCloudContentwarehouseV1PropertyArray
*/
public function setPropertyValues(GoogleCloudContentwarehouseV1PropertyArray $propertyValues)
{
$this->propertyValues = $propertyValues;
}
/**
* @return GoogleCloudContentwarehouseV1PropertyArray
*/
public function getPropertyValues()
{
return $this->propertyValues;
}
/**
* @param GoogleCloudContentwarehouseV1TextArray
*/
public function setTextValues(GoogleCloudContentwarehouseV1TextArray $textValues)
{
$this->textValues = $textValues;
}
/**
* @return GoogleCloudContentwarehouseV1TextArray
*/
public function getTextValues()
{
return $this->textValues;
}
/**
* @param GoogleCloudContentwarehouseV1TimestampArray
*/
public function setTimestampValues(GoogleCloudContentwarehouseV1TimestampArray $timestampValues)
{
$this->timestampValues = $timestampValues;
}
/**
* @return GoogleCloudContentwarehouseV1TimestampArray
*/
public function getTimestampValues()
{
return $this->timestampValues;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContentwarehouseV1Property::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1Property');

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\Contentwarehouse;
class GoogleCloudContentwarehouseV1PropertyArray extends \Google\Collection
{
protected $collection_key = 'properties';
protected $propertiesType = GoogleCloudContentwarehouseV1Property::class;
protected $propertiesDataType = 'array';
/**
* @param GoogleCloudContentwarehouseV1Property[]
*/
public function setProperties($properties)
{
$this->properties = $properties;
}
/**
* @return GoogleCloudContentwarehouseV1Property[]
*/
public function getProperties()
{
return $this->properties;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContentwarehouseV1PropertyArray::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1PropertyArray');

View File

@@ -0,0 +1,315 @@
<?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\Contentwarehouse;
class GoogleCloudContentwarehouseV1PropertyDefinition extends \Google\Collection
{
protected $collection_key = 'schemaSources';
protected $dateTimeTypeOptionsType = GoogleCloudContentwarehouseV1DateTimeTypeOptions::class;
protected $dateTimeTypeOptionsDataType = '';
/**
* @var string
*/
public $displayName;
protected $enumTypeOptionsType = GoogleCloudContentwarehouseV1EnumTypeOptions::class;
protected $enumTypeOptionsDataType = '';
protected $floatTypeOptionsType = GoogleCloudContentwarehouseV1FloatTypeOptions::class;
protected $floatTypeOptionsDataType = '';
protected $integerTypeOptionsType = GoogleCloudContentwarehouseV1IntegerTypeOptions::class;
protected $integerTypeOptionsDataType = '';
/**
* @var bool
*/
public $isFilterable;
/**
* @var bool
*/
public $isMetadata;
/**
* @var bool
*/
public $isRepeatable;
/**
* @var bool
*/
public $isRequired;
/**
* @var bool
*/
public $isSearchable;
protected $mapTypeOptionsType = GoogleCloudContentwarehouseV1MapTypeOptions::class;
protected $mapTypeOptionsDataType = '';
/**
* @var string
*/
public $name;
protected $propertyTypeOptionsType = GoogleCloudContentwarehouseV1PropertyTypeOptions::class;
protected $propertyTypeOptionsDataType = '';
/**
* @var string
*/
public $retrievalImportance;
protected $schemaSourcesType = GoogleCloudContentwarehouseV1PropertyDefinitionSchemaSource::class;
protected $schemaSourcesDataType = 'array';
protected $textTypeOptionsType = GoogleCloudContentwarehouseV1TextTypeOptions::class;
protected $textTypeOptionsDataType = '';
protected $timestampTypeOptionsType = GoogleCloudContentwarehouseV1TimestampTypeOptions::class;
protected $timestampTypeOptionsDataType = '';
/**
* @param GoogleCloudContentwarehouseV1DateTimeTypeOptions
*/
public function setDateTimeTypeOptions(GoogleCloudContentwarehouseV1DateTimeTypeOptions $dateTimeTypeOptions)
{
$this->dateTimeTypeOptions = $dateTimeTypeOptions;
}
/**
* @return GoogleCloudContentwarehouseV1DateTimeTypeOptions
*/
public function getDateTimeTypeOptions()
{
return $this->dateTimeTypeOptions;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param GoogleCloudContentwarehouseV1EnumTypeOptions
*/
public function setEnumTypeOptions(GoogleCloudContentwarehouseV1EnumTypeOptions $enumTypeOptions)
{
$this->enumTypeOptions = $enumTypeOptions;
}
/**
* @return GoogleCloudContentwarehouseV1EnumTypeOptions
*/
public function getEnumTypeOptions()
{
return $this->enumTypeOptions;
}
/**
* @param GoogleCloudContentwarehouseV1FloatTypeOptions
*/
public function setFloatTypeOptions(GoogleCloudContentwarehouseV1FloatTypeOptions $floatTypeOptions)
{
$this->floatTypeOptions = $floatTypeOptions;
}
/**
* @return GoogleCloudContentwarehouseV1FloatTypeOptions
*/
public function getFloatTypeOptions()
{
return $this->floatTypeOptions;
}
/**
* @param GoogleCloudContentwarehouseV1IntegerTypeOptions
*/
public function setIntegerTypeOptions(GoogleCloudContentwarehouseV1IntegerTypeOptions $integerTypeOptions)
{
$this->integerTypeOptions = $integerTypeOptions;
}
/**
* @return GoogleCloudContentwarehouseV1IntegerTypeOptions
*/
public function getIntegerTypeOptions()
{
return $this->integerTypeOptions;
}
/**
* @param bool
*/
public function setIsFilterable($isFilterable)
{
$this->isFilterable = $isFilterable;
}
/**
* @return bool
*/
public function getIsFilterable()
{
return $this->isFilterable;
}
/**
* @param bool
*/
public function setIsMetadata($isMetadata)
{
$this->isMetadata = $isMetadata;
}
/**
* @return bool
*/
public function getIsMetadata()
{
return $this->isMetadata;
}
/**
* @param bool
*/
public function setIsRepeatable($isRepeatable)
{
$this->isRepeatable = $isRepeatable;
}
/**
* @return bool
*/
public function getIsRepeatable()
{
return $this->isRepeatable;
}
/**
* @param bool
*/
public function setIsRequired($isRequired)
{
$this->isRequired = $isRequired;
}
/**
* @return bool
*/
public function getIsRequired()
{
return $this->isRequired;
}
/**
* @param bool
*/
public function setIsSearchable($isSearchable)
{
$this->isSearchable = $isSearchable;
}
/**
* @return bool
*/
public function getIsSearchable()
{
return $this->isSearchable;
}
/**
* @param GoogleCloudContentwarehouseV1MapTypeOptions
*/
public function setMapTypeOptions(GoogleCloudContentwarehouseV1MapTypeOptions $mapTypeOptions)
{
$this->mapTypeOptions = $mapTypeOptions;
}
/**
* @return GoogleCloudContentwarehouseV1MapTypeOptions
*/
public function getMapTypeOptions()
{
return $this->mapTypeOptions;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param GoogleCloudContentwarehouseV1PropertyTypeOptions
*/
public function setPropertyTypeOptions(GoogleCloudContentwarehouseV1PropertyTypeOptions $propertyTypeOptions)
{
$this->propertyTypeOptions = $propertyTypeOptions;
}
/**
* @return GoogleCloudContentwarehouseV1PropertyTypeOptions
*/
public function getPropertyTypeOptions()
{
return $this->propertyTypeOptions;
}
/**
* @param string
*/
public function setRetrievalImportance($retrievalImportance)
{
$this->retrievalImportance = $retrievalImportance;
}
/**
* @return string
*/
public function getRetrievalImportance()
{
return $this->retrievalImportance;
}
/**
* @param GoogleCloudContentwarehouseV1PropertyDefinitionSchemaSource[]
*/
public function setSchemaSources($schemaSources)
{
$this->schemaSources = $schemaSources;
}
/**
* @return GoogleCloudContentwarehouseV1PropertyDefinitionSchemaSource[]
*/
public function getSchemaSources()
{
return $this->schemaSources;
}
/**
* @param GoogleCloudContentwarehouseV1TextTypeOptions
*/
public function setTextTypeOptions(GoogleCloudContentwarehouseV1TextTypeOptions $textTypeOptions)
{
$this->textTypeOptions = $textTypeOptions;
}
/**
* @return GoogleCloudContentwarehouseV1TextTypeOptions
*/
public function getTextTypeOptions()
{
return $this->textTypeOptions;
}
/**
* @param GoogleCloudContentwarehouseV1TimestampTypeOptions
*/
public function setTimestampTypeOptions(GoogleCloudContentwarehouseV1TimestampTypeOptions $timestampTypeOptions)
{
$this->timestampTypeOptions = $timestampTypeOptions;
}
/**
* @return GoogleCloudContentwarehouseV1TimestampTypeOptions
*/
public function getTimestampTypeOptions()
{
return $this->timestampTypeOptions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContentwarehouseV1PropertyDefinition::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1PropertyDefinition');

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\Contentwarehouse;
class GoogleCloudContentwarehouseV1PropertyDefinitionSchemaSource extends \Google\Model
{
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $processorType;
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setProcessorType($processorType)
{
$this->processorType = $processorType;
}
/**
* @return string
*/
public function getProcessorType()
{
return $this->processorType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContentwarehouseV1PropertyDefinitionSchemaSource::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1PropertyDefinitionSchemaSource');

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\Contentwarehouse;
class GoogleCloudContentwarehouseV1PropertyFilter extends \Google\Model
{
/**
* @var string
*/
public $condition;
/**
* @var string
*/
public $documentSchemaName;
/**
* @param string
*/
public function setCondition($condition)
{
$this->condition = $condition;
}
/**
* @return string
*/
public function getCondition()
{
return $this->condition;
}
/**
* @param string
*/
public function setDocumentSchemaName($documentSchemaName)
{
$this->documentSchemaName = $documentSchemaName;
}
/**
* @return string
*/
public function getDocumentSchemaName()
{
return $this->documentSchemaName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContentwarehouseV1PropertyFilter::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1PropertyFilter');

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\Contentwarehouse;
class GoogleCloudContentwarehouseV1PropertyTypeOptions extends \Google\Collection
{
protected $collection_key = 'propertyDefinitions';
protected $propertyDefinitionsType = GoogleCloudContentwarehouseV1PropertyDefinition::class;
protected $propertyDefinitionsDataType = 'array';
/**
* @param GoogleCloudContentwarehouseV1PropertyDefinition[]
*/
public function setPropertyDefinitions($propertyDefinitions)
{
$this->propertyDefinitions = $propertyDefinitions;
}
/**
* @return GoogleCloudContentwarehouseV1PropertyDefinition[]
*/
public function getPropertyDefinitions()
{
return $this->propertyDefinitions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContentwarehouseV1PropertyTypeOptions::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1PropertyTypeOptions');

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\Contentwarehouse;
class GoogleCloudContentwarehouseV1PublishAction extends \Google\Collection
{
protected $collection_key = 'messages';
/**
* @var string[]
*/
public $messages;
/**
* @var string
*/
public $topicId;
/**
* @param string[]
*/
public function setMessages($messages)
{
$this->messages = $messages;
}
/**
* @return string[]
*/
public function getMessages()
{
return $this->messages;
}
/**
* @param string
*/
public function setTopicId($topicId)
{
$this->topicId = $topicId;
}
/**
* @return string
*/
public function getTopicId()
{
return $this->topicId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContentwarehouseV1PublishAction::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1PublishAction');

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\Contentwarehouse;
class GoogleCloudContentwarehouseV1QAResult extends \Google\Collection
{
protected $collection_key = 'highlights';
/**
* @var float
*/
public $confidenceScore;
protected $highlightsType = GoogleCloudContentwarehouseV1QAResultHighlight::class;
protected $highlightsDataType = 'array';
/**
* @param float
*/
public function setConfidenceScore($confidenceScore)
{
$this->confidenceScore = $confidenceScore;
}
/**
* @return float
*/
public function getConfidenceScore()
{
return $this->confidenceScore;
}
/**
* @param GoogleCloudContentwarehouseV1QAResultHighlight[]
*/
public function setHighlights($highlights)
{
$this->highlights = $highlights;
}
/**
* @return GoogleCloudContentwarehouseV1QAResultHighlight[]
*/
public function getHighlights()
{
return $this->highlights;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContentwarehouseV1QAResult::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1QAResult');

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\Contentwarehouse;
class GoogleCloudContentwarehouseV1QAResultHighlight extends \Google\Model
{
/**
* @var int
*/
public $endIndex;
/**
* @var int
*/
public $startIndex;
/**
* @param int
*/
public function setEndIndex($endIndex)
{
$this->endIndex = $endIndex;
}
/**
* @return int
*/
public function getEndIndex()
{
return $this->endIndex;
}
/**
* @param int
*/
public function setStartIndex($startIndex)
{
$this->startIndex = $startIndex;
}
/**
* @return int
*/
public function getStartIndex()
{
return $this->startIndex;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContentwarehouseV1QAResultHighlight::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1QAResultHighlight');

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\Contentwarehouse;
class GoogleCloudContentwarehouseV1RemoveFromFolderAction extends \Google\Model
{
/**
* @var string
*/
public $condition;
/**
* @var string
*/
public $folder;
/**
* @param string
*/
public function setCondition($condition)
{
$this->condition = $condition;
}
/**
* @return string
*/
public function getCondition()
{
return $this->condition;
}
/**
* @param string
*/
public function setFolder($folder)
{
$this->folder = $folder;
}
/**
* @return string
*/
public function getFolder()
{
return $this->folder;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContentwarehouseV1RemoveFromFolderAction::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1RemoveFromFolderAction');

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\Contentwarehouse;
class GoogleCloudContentwarehouseV1RequestMetadata extends \Google\Model
{
protected $userInfoType = GoogleCloudContentwarehouseV1UserInfo::class;
protected $userInfoDataType = '';
/**
* @param GoogleCloudContentwarehouseV1UserInfo
*/
public function setUserInfo(GoogleCloudContentwarehouseV1UserInfo $userInfo)
{
$this->userInfo = $userInfo;
}
/**
* @return GoogleCloudContentwarehouseV1UserInfo
*/
public function getUserInfo()
{
return $this->userInfo;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContentwarehouseV1RequestMetadata::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1RequestMetadata');

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\Contentwarehouse;
class GoogleCloudContentwarehouseV1ResponseMetadata extends \Google\Model
{
/**
* @var string
*/
public $requestId;
/**
* @param string
*/
public function setRequestId($requestId)
{
$this->requestId = $requestId;
}
/**
* @return string
*/
public function getRequestId()
{
return $this->requestId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContentwarehouseV1ResponseMetadata::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1ResponseMetadata');

View File

@@ -0,0 +1,115 @@
<?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\Contentwarehouse;
class GoogleCloudContentwarehouseV1Rule extends \Google\Collection
{
protected $collection_key = 'actions';
protected $actionsType = GoogleCloudContentwarehouseV1Action::class;
protected $actionsDataType = 'array';
/**
* @var string
*/
public $condition;
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $ruleId;
/**
* @var string
*/
public $triggerType;
/**
* @param GoogleCloudContentwarehouseV1Action[]
*/
public function setActions($actions)
{
$this->actions = $actions;
}
/**
* @return GoogleCloudContentwarehouseV1Action[]
*/
public function getActions()
{
return $this->actions;
}
/**
* @param string
*/
public function setCondition($condition)
{
$this->condition = $condition;
}
/**
* @return string
*/
public function getCondition()
{
return $this->condition;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setRuleId($ruleId)
{
$this->ruleId = $ruleId;
}
/**
* @return string
*/
public function getRuleId()
{
return $this->ruleId;
}
/**
* @param string
*/
public function setTriggerType($triggerType)
{
$this->triggerType = $triggerType;
}
/**
* @return string
*/
public function getTriggerType()
{
return $this->triggerType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContentwarehouseV1Rule::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1Rule');

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\Contentwarehouse;
class GoogleCloudContentwarehouseV1RuleActionsPair extends \Google\Collection
{
protected $collection_key = 'actionOutputs';
protected $actionOutputsType = GoogleCloudContentwarehouseV1ActionOutput::class;
protected $actionOutputsDataType = 'array';
protected $ruleType = GoogleCloudContentwarehouseV1Rule::class;
protected $ruleDataType = '';
/**
* @param GoogleCloudContentwarehouseV1ActionOutput[]
*/
public function setActionOutputs($actionOutputs)
{
$this->actionOutputs = $actionOutputs;
}
/**
* @return GoogleCloudContentwarehouseV1ActionOutput[]
*/
public function getActionOutputs()
{
return $this->actionOutputs;
}
/**
* @param GoogleCloudContentwarehouseV1Rule
*/
public function setRule(GoogleCloudContentwarehouseV1Rule $rule)
{
$this->rule = $rule;
}
/**
* @return GoogleCloudContentwarehouseV1Rule
*/
public function getRule()
{
return $this->rule;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContentwarehouseV1RuleActionsPair::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1RuleActionsPair');

View File

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

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\Contentwarehouse;
class GoogleCloudContentwarehouseV1RuleEvaluatorOutput extends \Google\Collection
{
protected $collection_key = 'triggeredRules';
protected $invalidRulesType = GoogleCloudContentwarehouseV1InvalidRule::class;
protected $invalidRulesDataType = 'array';
protected $matchedRulesType = GoogleCloudContentwarehouseV1Rule::class;
protected $matchedRulesDataType = 'array';
protected $triggeredRulesType = GoogleCloudContentwarehouseV1Rule::class;
protected $triggeredRulesDataType = 'array';
/**
* @param GoogleCloudContentwarehouseV1InvalidRule[]
*/
public function setInvalidRules($invalidRules)
{
$this->invalidRules = $invalidRules;
}
/**
* @return GoogleCloudContentwarehouseV1InvalidRule[]
*/
public function getInvalidRules()
{
return $this->invalidRules;
}
/**
* @param GoogleCloudContentwarehouseV1Rule[]
*/
public function setMatchedRules($matchedRules)
{
$this->matchedRules = $matchedRules;
}
/**
* @return GoogleCloudContentwarehouseV1Rule[]
*/
public function getMatchedRules()
{
return $this->matchedRules;
}
/**
* @param GoogleCloudContentwarehouseV1Rule[]
*/
public function setTriggeredRules($triggeredRules)
{
$this->triggeredRules = $triggeredRules;
}
/**
* @return GoogleCloudContentwarehouseV1Rule[]
*/
public function getTriggeredRules()
{
return $this->triggeredRules;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContentwarehouseV1RuleEvaluatorOutput::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1RuleEvaluatorOutput');

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\Contentwarehouse;
class GoogleCloudContentwarehouseV1RuleSet extends \Google\Collection
{
protected $collection_key = 'rules';
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $name;
protected $rulesType = GoogleCloudContentwarehouseV1Rule::class;
protected $rulesDataType = 'array';
/**
* @var string
*/
public $source;
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param GoogleCloudContentwarehouseV1Rule[]
*/
public function setRules($rules)
{
$this->rules = $rules;
}
/**
* @return GoogleCloudContentwarehouseV1Rule[]
*/
public function getRules()
{
return $this->rules;
}
/**
* @param string
*/
public function setSource($source)
{
$this->source = $source;
}
/**
* @return string
*/
public function getSource()
{
return $this->source;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContentwarehouseV1RuleSet::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1RuleSet');

View File

@@ -0,0 +1,143 @@
<?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\Contentwarehouse;
class GoogleCloudContentwarehouseV1RunPipelineMetadata extends \Google\Collection
{
protected $collection_key = 'individualDocumentStatuses';
protected $exportToCdwPipelineMetadataType = GoogleCloudContentwarehouseV1RunPipelineMetadataExportToCdwPipelineMetadata::class;
protected $exportToCdwPipelineMetadataDataType = '';
/**
* @var int
*/
public $failedFileCount;
protected $gcsIngestPipelineMetadataType = GoogleCloudContentwarehouseV1RunPipelineMetadataGcsIngestPipelineMetadata::class;
protected $gcsIngestPipelineMetadataDataType = '';
protected $individualDocumentStatusesType = GoogleCloudContentwarehouseV1RunPipelineMetadataIndividualDocumentStatus::class;
protected $individualDocumentStatusesDataType = 'array';
protected $processWithDocAiPipelineMetadataType = GoogleCloudContentwarehouseV1RunPipelineMetadataProcessWithDocAiPipelineMetadata::class;
protected $processWithDocAiPipelineMetadataDataType = '';
/**
* @var int
*/
public $totalFileCount;
protected $userInfoType = GoogleCloudContentwarehouseV1UserInfo::class;
protected $userInfoDataType = '';
/**
* @param GoogleCloudContentwarehouseV1RunPipelineMetadataExportToCdwPipelineMetadata
*/
public function setExportToCdwPipelineMetadata(GoogleCloudContentwarehouseV1RunPipelineMetadataExportToCdwPipelineMetadata $exportToCdwPipelineMetadata)
{
$this->exportToCdwPipelineMetadata = $exportToCdwPipelineMetadata;
}
/**
* @return GoogleCloudContentwarehouseV1RunPipelineMetadataExportToCdwPipelineMetadata
*/
public function getExportToCdwPipelineMetadata()
{
return $this->exportToCdwPipelineMetadata;
}
/**
* @param int
*/
public function setFailedFileCount($failedFileCount)
{
$this->failedFileCount = $failedFileCount;
}
/**
* @return int
*/
public function getFailedFileCount()
{
return $this->failedFileCount;
}
/**
* @param GoogleCloudContentwarehouseV1RunPipelineMetadataGcsIngestPipelineMetadata
*/
public function setGcsIngestPipelineMetadata(GoogleCloudContentwarehouseV1RunPipelineMetadataGcsIngestPipelineMetadata $gcsIngestPipelineMetadata)
{
$this->gcsIngestPipelineMetadata = $gcsIngestPipelineMetadata;
}
/**
* @return GoogleCloudContentwarehouseV1RunPipelineMetadataGcsIngestPipelineMetadata
*/
public function getGcsIngestPipelineMetadata()
{
return $this->gcsIngestPipelineMetadata;
}
/**
* @param GoogleCloudContentwarehouseV1RunPipelineMetadataIndividualDocumentStatus[]
*/
public function setIndividualDocumentStatuses($individualDocumentStatuses)
{
$this->individualDocumentStatuses = $individualDocumentStatuses;
}
/**
* @return GoogleCloudContentwarehouseV1RunPipelineMetadataIndividualDocumentStatus[]
*/
public function getIndividualDocumentStatuses()
{
return $this->individualDocumentStatuses;
}
/**
* @param GoogleCloudContentwarehouseV1RunPipelineMetadataProcessWithDocAiPipelineMetadata
*/
public function setProcessWithDocAiPipelineMetadata(GoogleCloudContentwarehouseV1RunPipelineMetadataProcessWithDocAiPipelineMetadata $processWithDocAiPipelineMetadata)
{
$this->processWithDocAiPipelineMetadata = $processWithDocAiPipelineMetadata;
}
/**
* @return GoogleCloudContentwarehouseV1RunPipelineMetadataProcessWithDocAiPipelineMetadata
*/
public function getProcessWithDocAiPipelineMetadata()
{
return $this->processWithDocAiPipelineMetadata;
}
/**
* @param int
*/
public function setTotalFileCount($totalFileCount)
{
$this->totalFileCount = $totalFileCount;
}
/**
* @return int
*/
public function getTotalFileCount()
{
return $this->totalFileCount;
}
/**
* @param GoogleCloudContentwarehouseV1UserInfo
*/
public function setUserInfo(GoogleCloudContentwarehouseV1UserInfo $userInfo)
{
$this->userInfo = $userInfo;
}
/**
* @return GoogleCloudContentwarehouseV1UserInfo
*/
public function getUserInfo()
{
return $this->userInfo;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContentwarehouseV1RunPipelineMetadata::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1RunPipelineMetadata');

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\Contentwarehouse;
class GoogleCloudContentwarehouseV1RunPipelineMetadataExportToCdwPipelineMetadata extends \Google\Collection
{
protected $collection_key = 'documents';
/**
* @var string
*/
public $docAiDataset;
/**
* @var string[]
*/
public $documents;
/**
* @var string
*/
public $outputPath;
/**
* @param string
*/
public function setDocAiDataset($docAiDataset)
{
$this->docAiDataset = $docAiDataset;
}
/**
* @return string
*/
public function getDocAiDataset()
{
return $this->docAiDataset;
}
/**
* @param string[]
*/
public function setDocuments($documents)
{
$this->documents = $documents;
}
/**
* @return string[]
*/
public function getDocuments()
{
return $this->documents;
}
/**
* @param string
*/
public function setOutputPath($outputPath)
{
$this->outputPath = $outputPath;
}
/**
* @return string
*/
public function getOutputPath()
{
return $this->outputPath;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContentwarehouseV1RunPipelineMetadataExportToCdwPipelineMetadata::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1RunPipelineMetadataExportToCdwPipelineMetadata');

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\Contentwarehouse;
class GoogleCloudContentwarehouseV1RunPipelineMetadataGcsIngestPipelineMetadata extends \Google\Model
{
/**
* @var string
*/
public $inputPath;
/**
* @param string
*/
public function setInputPath($inputPath)
{
$this->inputPath = $inputPath;
}
/**
* @return string
*/
public function getInputPath()
{
return $this->inputPath;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContentwarehouseV1RunPipelineMetadataGcsIngestPipelineMetadata::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1RunPipelineMetadataGcsIngestPipelineMetadata');

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\Contentwarehouse;
class GoogleCloudContentwarehouseV1RunPipelineMetadataIndividualDocumentStatus extends \Google\Model
{
/**
* @var string
*/
public $documentId;
protected $statusType = GoogleRpcStatus::class;
protected $statusDataType = '';
/**
* @param string
*/
public function setDocumentId($documentId)
{
$this->documentId = $documentId;
}
/**
* @return string
*/
public function getDocumentId()
{
return $this->documentId;
}
/**
* @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(GoogleCloudContentwarehouseV1RunPipelineMetadataIndividualDocumentStatus::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1RunPipelineMetadataIndividualDocumentStatus');

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\Contentwarehouse;
class GoogleCloudContentwarehouseV1RunPipelineMetadataProcessWithDocAiPipelineMetadata extends \Google\Collection
{
protected $collection_key = 'documents';
/**
* @var string[]
*/
public $documents;
protected $processorInfoType = GoogleCloudContentwarehouseV1ProcessorInfo::class;
protected $processorInfoDataType = '';
/**
* @param string[]
*/
public function setDocuments($documents)
{
$this->documents = $documents;
}
/**
* @return string[]
*/
public function getDocuments()
{
return $this->documents;
}
/**
* @param GoogleCloudContentwarehouseV1ProcessorInfo
*/
public function setProcessorInfo(GoogleCloudContentwarehouseV1ProcessorInfo $processorInfo)
{
$this->processorInfo = $processorInfo;
}
/**
* @return GoogleCloudContentwarehouseV1ProcessorInfo
*/
public function getProcessorInfo()
{
return $this->processorInfo;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContentwarehouseV1RunPipelineMetadataProcessWithDocAiPipelineMetadata::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1RunPipelineMetadataProcessWithDocAiPipelineMetadata');

View File

@@ -0,0 +1,106 @@
<?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\Contentwarehouse;
class GoogleCloudContentwarehouseV1RunPipelineRequest extends \Google\Model
{
protected $exportCdwPipelineType = GoogleCloudContentwarehouseV1ExportToCdwPipeline::class;
protected $exportCdwPipelineDataType = '';
protected $gcsIngestPipelineType = GoogleCloudContentwarehouseV1GcsIngestPipeline::class;
protected $gcsIngestPipelineDataType = '';
protected $gcsIngestWithDocAiProcessorsPipelineType = GoogleCloudContentwarehouseV1GcsIngestWithDocAiProcessorsPipeline::class;
protected $gcsIngestWithDocAiProcessorsPipelineDataType = '';
protected $processWithDocAiPipelineType = GoogleCloudContentwarehouseV1ProcessWithDocAiPipeline::class;
protected $processWithDocAiPipelineDataType = '';
protected $requestMetadataType = GoogleCloudContentwarehouseV1RequestMetadata::class;
protected $requestMetadataDataType = '';
/**
* @param GoogleCloudContentwarehouseV1ExportToCdwPipeline
*/
public function setExportCdwPipeline(GoogleCloudContentwarehouseV1ExportToCdwPipeline $exportCdwPipeline)
{
$this->exportCdwPipeline = $exportCdwPipeline;
}
/**
* @return GoogleCloudContentwarehouseV1ExportToCdwPipeline
*/
public function getExportCdwPipeline()
{
return $this->exportCdwPipeline;
}
/**
* @param GoogleCloudContentwarehouseV1GcsIngestPipeline
*/
public function setGcsIngestPipeline(GoogleCloudContentwarehouseV1GcsIngestPipeline $gcsIngestPipeline)
{
$this->gcsIngestPipeline = $gcsIngestPipeline;
}
/**
* @return GoogleCloudContentwarehouseV1GcsIngestPipeline
*/
public function getGcsIngestPipeline()
{
return $this->gcsIngestPipeline;
}
/**
* @param GoogleCloudContentwarehouseV1GcsIngestWithDocAiProcessorsPipeline
*/
public function setGcsIngestWithDocAiProcessorsPipeline(GoogleCloudContentwarehouseV1GcsIngestWithDocAiProcessorsPipeline $gcsIngestWithDocAiProcessorsPipeline)
{
$this->gcsIngestWithDocAiProcessorsPipeline = $gcsIngestWithDocAiProcessorsPipeline;
}
/**
* @return GoogleCloudContentwarehouseV1GcsIngestWithDocAiProcessorsPipeline
*/
public function getGcsIngestWithDocAiProcessorsPipeline()
{
return $this->gcsIngestWithDocAiProcessorsPipeline;
}
/**
* @param GoogleCloudContentwarehouseV1ProcessWithDocAiPipeline
*/
public function setProcessWithDocAiPipeline(GoogleCloudContentwarehouseV1ProcessWithDocAiPipeline $processWithDocAiPipeline)
{
$this->processWithDocAiPipeline = $processWithDocAiPipeline;
}
/**
* @return GoogleCloudContentwarehouseV1ProcessWithDocAiPipeline
*/
public function getProcessWithDocAiPipeline()
{
return $this->processWithDocAiPipeline;
}
/**
* @param GoogleCloudContentwarehouseV1RequestMetadata
*/
public function setRequestMetadata(GoogleCloudContentwarehouseV1RequestMetadata $requestMetadata)
{
$this->requestMetadata = $requestMetadata;
}
/**
* @return GoogleCloudContentwarehouseV1RequestMetadata
*/
public function getRequestMetadata()
{
return $this->requestMetadata;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContentwarehouseV1RunPipelineRequest::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1RunPipelineRequest');

View File

@@ -0,0 +1,201 @@
<?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\Contentwarehouse;
class GoogleCloudContentwarehouseV1SearchDocumentsRequest extends \Google\Collection
{
protected $collection_key = 'histogramQueries';
protected $documentQueryType = GoogleCloudContentwarehouseV1DocumentQuery::class;
protected $documentQueryDataType = '';
protected $histogramQueriesType = GoogleCloudContentwarehouseV1HistogramQuery::class;
protected $histogramQueriesDataType = 'array';
/**
* @var int
*/
public $offset;
/**
* @var string
*/
public $orderBy;
/**
* @var int
*/
public $pageSize;
/**
* @var string
*/
public $pageToken;
/**
* @var int
*/
public $qaSizeLimit;
protected $requestMetadataType = GoogleCloudContentwarehouseV1RequestMetadata::class;
protected $requestMetadataDataType = '';
/**
* @var bool
*/
public $requireTotalSize;
/**
* @var string
*/
public $totalResultSize;
/**
* @param GoogleCloudContentwarehouseV1DocumentQuery
*/
public function setDocumentQuery(GoogleCloudContentwarehouseV1DocumentQuery $documentQuery)
{
$this->documentQuery = $documentQuery;
}
/**
* @return GoogleCloudContentwarehouseV1DocumentQuery
*/
public function getDocumentQuery()
{
return $this->documentQuery;
}
/**
* @param GoogleCloudContentwarehouseV1HistogramQuery[]
*/
public function setHistogramQueries($histogramQueries)
{
$this->histogramQueries = $histogramQueries;
}
/**
* @return GoogleCloudContentwarehouseV1HistogramQuery[]
*/
public function getHistogramQueries()
{
return $this->histogramQueries;
}
/**
* @param int
*/
public function setOffset($offset)
{
$this->offset = $offset;
}
/**
* @return int
*/
public function getOffset()
{
return $this->offset;
}
/**
* @param string
*/
public function setOrderBy($orderBy)
{
$this->orderBy = $orderBy;
}
/**
* @return string
*/
public function getOrderBy()
{
return $this->orderBy;
}
/**
* @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 int
*/
public function setQaSizeLimit($qaSizeLimit)
{
$this->qaSizeLimit = $qaSizeLimit;
}
/**
* @return int
*/
public function getQaSizeLimit()
{
return $this->qaSizeLimit;
}
/**
* @param GoogleCloudContentwarehouseV1RequestMetadata
*/
public function setRequestMetadata(GoogleCloudContentwarehouseV1RequestMetadata $requestMetadata)
{
$this->requestMetadata = $requestMetadata;
}
/**
* @return GoogleCloudContentwarehouseV1RequestMetadata
*/
public function getRequestMetadata()
{
return $this->requestMetadata;
}
/**
* @param bool
*/
public function setRequireTotalSize($requireTotalSize)
{
$this->requireTotalSize = $requireTotalSize;
}
/**
* @return bool
*/
public function getRequireTotalSize()
{
return $this->requireTotalSize;
}
/**
* @param string
*/
public function setTotalResultSize($totalResultSize)
{
$this->totalResultSize = $totalResultSize;
}
/**
* @return string
*/
public function getTotalResultSize()
{
return $this->totalResultSize;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContentwarehouseV1SearchDocumentsRequest::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1SearchDocumentsRequest');

View File

@@ -0,0 +1,129 @@
<?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\Contentwarehouse;
class GoogleCloudContentwarehouseV1SearchDocumentsResponse extends \Google\Collection
{
protected $collection_key = 'matchingDocuments';
protected $histogramQueryResultsType = GoogleCloudContentwarehouseV1HistogramQueryResult::class;
protected $histogramQueryResultsDataType = 'array';
protected $matchingDocumentsType = GoogleCloudContentwarehouseV1SearchDocumentsResponseMatchingDocument::class;
protected $matchingDocumentsDataType = 'array';
protected $metadataType = GoogleCloudContentwarehouseV1ResponseMetadata::class;
protected $metadataDataType = '';
/**
* @var string
*/
public $nextPageToken;
/**
* @var string
*/
public $questionAnswer;
/**
* @var int
*/
public $totalSize;
/**
* @param GoogleCloudContentwarehouseV1HistogramQueryResult[]
*/
public function setHistogramQueryResults($histogramQueryResults)
{
$this->histogramQueryResults = $histogramQueryResults;
}
/**
* @return GoogleCloudContentwarehouseV1HistogramQueryResult[]
*/
public function getHistogramQueryResults()
{
return $this->histogramQueryResults;
}
/**
* @param GoogleCloudContentwarehouseV1SearchDocumentsResponseMatchingDocument[]
*/
public function setMatchingDocuments($matchingDocuments)
{
$this->matchingDocuments = $matchingDocuments;
}
/**
* @return GoogleCloudContentwarehouseV1SearchDocumentsResponseMatchingDocument[]
*/
public function getMatchingDocuments()
{
return $this->matchingDocuments;
}
/**
* @param GoogleCloudContentwarehouseV1ResponseMetadata
*/
public function setMetadata(GoogleCloudContentwarehouseV1ResponseMetadata $metadata)
{
$this->metadata = $metadata;
}
/**
* @return GoogleCloudContentwarehouseV1ResponseMetadata
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param string
*/
public function setQuestionAnswer($questionAnswer)
{
$this->questionAnswer = $questionAnswer;
}
/**
* @return string
*/
public function getQuestionAnswer()
{
return $this->questionAnswer;
}
/**
* @param int
*/
public function setTotalSize($totalSize)
{
$this->totalSize = $totalSize;
}
/**
* @return int
*/
public function getTotalSize()
{
return $this->totalSize;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContentwarehouseV1SearchDocumentsResponse::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1SearchDocumentsResponse');

View File

@@ -0,0 +1,95 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Contentwarehouse;
class GoogleCloudContentwarehouseV1SearchDocumentsResponseMatchingDocument extends \Google\Collection
{
protected $collection_key = 'matchedTokenPageIndices';
protected $documentType = GoogleCloudContentwarehouseV1Document::class;
protected $documentDataType = '';
/**
* @var string[]
*/
public $matchedTokenPageIndices;
protected $qaResultType = GoogleCloudContentwarehouseV1QAResult::class;
protected $qaResultDataType = '';
/**
* @var string
*/
public $searchTextSnippet;
/**
* @param GoogleCloudContentwarehouseV1Document
*/
public function setDocument(GoogleCloudContentwarehouseV1Document $document)
{
$this->document = $document;
}
/**
* @return GoogleCloudContentwarehouseV1Document
*/
public function getDocument()
{
return $this->document;
}
/**
* @param string[]
*/
public function setMatchedTokenPageIndices($matchedTokenPageIndices)
{
$this->matchedTokenPageIndices = $matchedTokenPageIndices;
}
/**
* @return string[]
*/
public function getMatchedTokenPageIndices()
{
return $this->matchedTokenPageIndices;
}
/**
* @param GoogleCloudContentwarehouseV1QAResult
*/
public function setQaResult(GoogleCloudContentwarehouseV1QAResult $qaResult)
{
$this->qaResult = $qaResult;
}
/**
* @return GoogleCloudContentwarehouseV1QAResult
*/
public function getQaResult()
{
return $this->qaResult;
}
/**
* @param string
*/
public function setSearchTextSnippet($searchTextSnippet)
{
$this->searchTextSnippet = $searchTextSnippet;
}
/**
* @return string
*/
public function getSearchTextSnippet()
{
return $this->searchTextSnippet;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContentwarehouseV1SearchDocumentsResponseMatchingDocument::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1SearchDocumentsResponseMatchingDocument');

View File

@@ -0,0 +1,76 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Contentwarehouse;
class GoogleCloudContentwarehouseV1SetAclRequest extends \Google\Model
{
protected $policyType = GoogleIamV1Policy::class;
protected $policyDataType = '';
/**
* @var bool
*/
public $projectOwner;
protected $requestMetadataType = GoogleCloudContentwarehouseV1RequestMetadata::class;
protected $requestMetadataDataType = '';
/**
* @param GoogleIamV1Policy
*/
public function setPolicy(GoogleIamV1Policy $policy)
{
$this->policy = $policy;
}
/**
* @return GoogleIamV1Policy
*/
public function getPolicy()
{
return $this->policy;
}
/**
* @param bool
*/
public function setProjectOwner($projectOwner)
{
$this->projectOwner = $projectOwner;
}
/**
* @return bool
*/
public function getProjectOwner()
{
return $this->projectOwner;
}
/**
* @param GoogleCloudContentwarehouseV1RequestMetadata
*/
public function setRequestMetadata(GoogleCloudContentwarehouseV1RequestMetadata $requestMetadata)
{
$this->requestMetadata = $requestMetadata;
}
/**
* @return GoogleCloudContentwarehouseV1RequestMetadata
*/
public function getRequestMetadata()
{
return $this->requestMetadata;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContentwarehouseV1SetAclRequest::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1SetAclRequest');

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\Contentwarehouse;
class GoogleCloudContentwarehouseV1SetAclResponse extends \Google\Model
{
protected $metadataType = GoogleCloudContentwarehouseV1ResponseMetadata::class;
protected $metadataDataType = '';
protected $policyType = GoogleIamV1Policy::class;
protected $policyDataType = '';
/**
* @param GoogleCloudContentwarehouseV1ResponseMetadata
*/
public function setMetadata(GoogleCloudContentwarehouseV1ResponseMetadata $metadata)
{
$this->metadata = $metadata;
}
/**
* @return GoogleCloudContentwarehouseV1ResponseMetadata
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* @param GoogleIamV1Policy
*/
public function setPolicy(GoogleIamV1Policy $policy)
{
$this->policy = $policy;
}
/**
* @return GoogleIamV1Policy
*/
public function getPolicy()
{
return $this->policy;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContentwarehouseV1SetAclResponse::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1SetAclResponse');

View File

@@ -0,0 +1,79 @@
<?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\Contentwarehouse;
class GoogleCloudContentwarehouseV1SynonymSet extends \Google\Collection
{
protected $collection_key = 'synonyms';
/**
* @var string
*/
public $context;
/**
* @var string
*/
public $name;
protected $synonymsType = GoogleCloudContentwarehouseV1SynonymSetSynonym::class;
protected $synonymsDataType = 'array';
/**
* @param string
*/
public function setContext($context)
{
$this->context = $context;
}
/**
* @return string
*/
public function getContext()
{
return $this->context;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param GoogleCloudContentwarehouseV1SynonymSetSynonym[]
*/
public function setSynonyms($synonyms)
{
$this->synonyms = $synonyms;
}
/**
* @return GoogleCloudContentwarehouseV1SynonymSetSynonym[]
*/
public function getSynonyms()
{
return $this->synonyms;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContentwarehouseV1SynonymSet::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1SynonymSet');

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\Contentwarehouse;
class GoogleCloudContentwarehouseV1SynonymSetSynonym extends \Google\Collection
{
protected $collection_key = 'words';
/**
* @var string[]
*/
public $words;
/**
* @param string[]
*/
public function setWords($words)
{
$this->words = $words;
}
/**
* @return string[]
*/
public function getWords()
{
return $this->words;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContentwarehouseV1SynonymSetSynonym::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1SynonymSetSynonym');

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