Initial commit: Complete WooCommerce Smart Google Pricing plugin with vendor dependencies

This commit is contained in:
2025-12-23 07:48:45 +01:00
commit 9b66109ca1
32472 changed files with 4065017 additions and 0 deletions

View File

@@ -0,0 +1,131 @@
<?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\Integrations;
class CrmlogErrorCode extends \Google\Model
{
public const COMMON_ERROR_CODE_COMMON_ERROR_CODE_UNSPECIFIED = 'COMMON_ERROR_CODE_UNSPECIFIED';
/**
* @deprecated
*/
public const COMMON_ERROR_CODE_INVALID_CREDENTIALS = 'INVALID_CREDENTIALS';
public const COMMON_ERROR_CODE_REQUIRED_FIELDS_MISSING = 'REQUIRED_FIELDS_MISSING';
public const COMMON_ERROR_CODE_INVALID_FIELDS = 'INVALID_FIELDS';
/**
* @deprecated
*/
public const COMMON_ERROR_CODE_BACKEND = 'BACKEND';
/**
* @deprecated
*/
public const COMMON_ERROR_CODE_GENERAL = 'GENERAL';
/**
* @deprecated
*/
public const COMMON_ERROR_CODE_INTERNAL = 'INTERNAL';
public const COMMON_ERROR_CODE_IO_ERROR = 'IO_ERROR';
public const COMMON_ERROR_CODE_NOT_FOUND = 'NOT_FOUND';
/**
* @deprecated
*/
public const COMMON_ERROR_CODE_EVENT_BUS = 'EVENT_BUS';
public const COMMON_ERROR_CODE_ALREADY_EXISTS = 'ALREADY_EXISTS';
public const COMMON_ERROR_CODE_CONCORD = 'CONCORD';
public const COMMON_ERROR_CODE_CONVERSION = 'CONVERSION';
public const COMMON_ERROR_CODE_FLUME = 'FLUME';
/**
* @deprecated
*/
public const COMMON_ERROR_CODE_PERMISSION = 'PERMISSION';
public const COMMON_ERROR_CODE_SALES_FORCE = 'SALES_FORCE';
public const COMMON_ERROR_CODE_SPANNER = 'SPANNER';
public const COMMON_ERROR_CODE_UNIMPLEMENTED = 'UNIMPLEMENTED';
public const COMMON_ERROR_CODE_RELTIO = 'RELTIO';
public const COMMON_ERROR_CODE_WORKFLOW_NOT_FOUND = 'WORKFLOW_NOT_FOUND';
public const COMMON_ERROR_CODE_QUOTA_THROTTLED = 'QUOTA_THROTTLED';
public const COMMON_ERROR_CODE_QUOTA_ENQUEUED = 'QUOTA_ENQUEUED';
public const COMMON_ERROR_CODE_INVALID_QUOTA_CONFIGURATION = 'INVALID_QUOTA_CONFIGURATION';
public const COMMON_ERROR_CODE_TASK_NOT_FOUND = 'TASK_NOT_FOUND';
public const COMMON_ERROR_CODE_EXECUTION_TIMEOUT = 'EXECUTION_TIMEOUT';
public const COMMON_ERROR_CODE_INVALID_EVENT_EXECUTION_STATE = 'INVALID_EVENT_EXECUTION_STATE';
public const COMMON_ERROR_CODE_INVALID_ATTRIBUTE = 'INVALID_ATTRIBUTE';
public const COMMON_ERROR_CODE_MISSING_ATTRIBUTE = 'MISSING_ATTRIBUTE';
public const COMMON_ERROR_CODE_CLIENT_UNAUTHORIZED_FOR_WORKFLOW = 'CLIENT_UNAUTHORIZED_FOR_WORKFLOW';
public const COMMON_ERROR_CODE_INVALID_PARAMETER = 'INVALID_PARAMETER';
public const COMMON_ERROR_CODE_MISSING_PARAMETER = 'MISSING_PARAMETER';
public const COMMON_ERROR_CODE_UNAUTHROIZED_WORKFLOW_EDITOR_ACTION = 'UNAUTHROIZED_WORKFLOW_EDITOR_ACTION';
public const COMMON_ERROR_CODE_FAILED_PRECONDITION = 'FAILED_PRECONDITION';
public const COMMON_ERROR_CODE_INVALID_CLIENT = 'INVALID_CLIENT';
public const COMMON_ERROR_CODE_MISSING_CLIENT = 'MISSING_CLIENT';
public const COMMON_ERROR_CODE_INVALID_WORKFLOW = 'INVALID_WORKFLOW';
public const COMMON_ERROR_CODE_MISSING_QUOTA_CONFIGURATION = 'MISSING_QUOTA_CONFIGURATION';
public const COMMON_ERROR_CODE_UNHANDLED_TASK_ERROR = 'UNHANDLED_TASK_ERROR';
public const COMMON_ERROR_CODE_SCRIPT_TASK_RUNTIME_ERROR = 'SCRIPT_TASK_RUNTIME_ERROR';
public const COMMON_ERROR_CODE_RPC = 'RPC';
public const COMMON_ERROR_CODE_INVALID_PROTO = 'INVALID_PROTO';
public const COMMON_ERROR_CODE_UNHANDLED_EVENTBUS_ERROR = 'UNHANDLED_EVENTBUS_ERROR';
public const COMMON_ERROR_CODE_INVALID_TASK_STATE = 'INVALID_TASK_STATE';
public const COMMON_ERROR_CODE_TYPED_TASK_INVALID_INPUT_OPERATION = 'TYPED_TASK_INVALID_INPUT_OPERATION';
public const COMMON_ERROR_CODE_TYPED_TASK_INVALID_OUTPUT_OPERATION = 'TYPED_TASK_INVALID_OUTPUT_OPERATION';
public const COMMON_ERROR_CODE_VALIDATION_ERROR = 'VALIDATION_ERROR';
public const COMMON_ERROR_CODE_RESUME_ERROR = 'RESUME_ERROR';
public const COMMON_ERROR_CODE_APPS_SCRIPT_EXECUTION_ERROR = 'APPS_SCRIPT_EXECUTION_ERROR';
public const COMMON_ERROR_CODE_INVALID_VECTOR_USER = 'INVALID_VECTOR_USER';
public const COMMON_ERROR_CODE_INFORMATICA = 'INFORMATICA';
public const COMMON_ERROR_CODE_RETRYABLE_TASK_ERROR = 'RETRYABLE_TASK_ERROR';
public const COMMON_ERROR_CODE_INVALID_TENANT = 'INVALID_TENANT';
public const COMMON_ERROR_CODE_WRONG_TENANT = 'WRONG_TENANT';
public const COMMON_ERROR_CODE_INFORMATICA_BACKEND_UNAVAILABLE = 'INFORMATICA_BACKEND_UNAVAILABLE';
public const COMMON_ERROR_CODE_RPC_PERMISSION_DENIED = 'RPC_PERMISSION_DENIED';
/**
* SYNC_EVENTBUS_EXECUTION_TIMEOUT is for eventbus internal use only.
*/
public const COMMON_ERROR_CODE_SYNC_EVENTBUS_EXECUTION_TIMEOUT = 'SYNC_EVENTBUS_EXECUTION_TIMEOUT';
/**
* ASYNC_EVENTBUS_EXECUTION_TIMEOUT is for eventbus internal use only. This
* error will be counted as server availability error.
*/
public const COMMON_ERROR_CODE_ASYNC_EVENTBUS_EXECUTION_TIMEOUT = 'ASYNC_EVENTBUS_EXECUTION_TIMEOUT';
public const COMMON_ERROR_CODE_NOT_SUPPORTED_DATA_TYPE = 'NOT_SUPPORTED_DATA_TYPE';
public const COMMON_ERROR_CODE_UNSANITIZED_USER_INPUT = 'UNSANITIZED_USER_INPUT';
public const COMMON_ERROR_CODE_TRANSFORM_EXPRESSION_EVALUATION_ERROR = 'TRANSFORM_EXPRESSION_EVALUATION_ERROR';
public const COMMON_ERROR_CODE_HTTP_EXCEPTION = 'HTTP_EXCEPTION';
public const COMMON_ERROR_CODE_EXECUTION_CANCELLED = 'EXECUTION_CANCELLED';
/**
* @var string
*/
public $commonErrorCode;
/**
* @param self::COMMON_ERROR_CODE_* $commonErrorCode
*/
public function setCommonErrorCode($commonErrorCode)
{
$this->commonErrorCode = $commonErrorCode;
}
/**
* @return self::COMMON_ERROR_CODE_*
*/
public function getCommonErrorCode()
{
return $this->commonErrorCode;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CrmlogErrorCode::class, 'Google_Service_Integrations_CrmlogErrorCode');

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\Integrations;
class EnterpriseCrmCardsCellValue extends \Google\Model
{
/**
* @var bool
*/
public $booleanValue;
public $doubleValue;
protected $emptyType = GoogleProtobufEmpty::class;
protected $emptyDataType = '';
public $empty;
/**
* @var string
*/
public $longValue;
/**
* @var string
*/
public $stringValue;
/**
* @param bool
*/
public function setBooleanValue($booleanValue)
{
$this->booleanValue = $booleanValue;
}
/**
* @return bool
*/
public function getBooleanValue()
{
return $this->booleanValue;
}
public function setDoubleValue($doubleValue)
{
$this->doubleValue = $doubleValue;
}
public function getDoubleValue()
{
return $this->doubleValue;
}
/**
* @param GoogleProtobufEmpty
*/
public function setEmpty(GoogleProtobufEmpty $empty)
{
$this->empty = $empty;
}
/**
* @return GoogleProtobufEmpty
*/
public function getEmpty()
{
return $this->empty;
}
/**
* @param string
*/
public function setLongValue($longValue)
{
$this->longValue = $longValue;
}
/**
* @return string
*/
public function getLongValue()
{
return $this->longValue;
}
/**
* @param string
*/
public function setStringValue($stringValue)
{
$this->stringValue = $stringValue;
}
/**
* @return string
*/
public function getStringValue()
{
return $this->stringValue;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmCardsCellValue::class, 'Google_Service_Integrations_EnterpriseCrmCardsCellValue');

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\Integrations;
class EnterpriseCrmCardsRow extends \Google\Collection
{
protected $collection_key = 'cells';
protected $cellsType = EnterpriseCrmCardsCellValue::class;
protected $cellsDataType = 'array';
public $cells;
/**
* @param EnterpriseCrmCardsCellValue[]
*/
public function setCells($cells)
{
$this->cells = $cells;
}
/**
* @return EnterpriseCrmCardsCellValue[]
*/
public function getCells()
{
return $this->cells;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmCardsRow::class, 'Google_Service_Integrations_EnterpriseCrmCardsRow');

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\Integrations;
class EnterpriseCrmCardsTabularData extends \Google\Collection
{
protected $collection_key = 'rows';
/**
* @var string[]
*/
public $headers;
protected $rowsType = EnterpriseCrmCardsRow::class;
protected $rowsDataType = 'array';
public $rows;
/**
* @param string[]
*/
public function setHeaders($headers)
{
$this->headers = $headers;
}
/**
* @return string[]
*/
public function getHeaders()
{
return $this->headers;
}
/**
* @param EnterpriseCrmCardsRow[]
*/
public function setRows($rows)
{
$this->rows = $rows;
}
/**
* @return EnterpriseCrmCardsRow[]
*/
public function getRows()
{
return $this->rows;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmCardsTabularData::class, 'Google_Service_Integrations_EnterpriseCrmCardsTabularData');

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\Integrations;
class EnterpriseCrmCardsTemplatesAplosSeriesData extends \Google\Collection
{
protected $collection_key = 'rows';
protected $rowsType = EnterpriseCrmCardsTemplatesAplosSeriesDataRow::class;
protected $rowsDataType = 'array';
public $rows;
/**
* @param EnterpriseCrmCardsTemplatesAplosSeriesDataRow[]
*/
public function setRows($rows)
{
$this->rows = $rows;
}
/**
* @return EnterpriseCrmCardsTemplatesAplosSeriesDataRow[]
*/
public function getRows()
{
return $this->rows;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmCardsTemplatesAplosSeriesData::class, 'Google_Service_Integrations_EnterpriseCrmCardsTemplatesAplosSeriesData');

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\Integrations;
class EnterpriseCrmCardsTemplatesAplosSeriesDataRow extends \Google\Model
{
protected $xType = EnterpriseCrmCardsCellValue::class;
protected $xDataType = '';
public $x;
protected $yType = EnterpriseCrmCardsCellValue::class;
protected $yDataType = '';
public $y;
/**
* @param EnterpriseCrmCardsCellValue
*/
public function setX(EnterpriseCrmCardsCellValue $x)
{
$this->x = $x;
}
/**
* @return EnterpriseCrmCardsCellValue
*/
public function getX()
{
return $this->x;
}
/**
* @param EnterpriseCrmCardsCellValue
*/
public function setY(EnterpriseCrmCardsCellValue $y)
{
$this->y = $y;
}
/**
* @return EnterpriseCrmCardsCellValue
*/
public function getY()
{
return $this->y;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmCardsTemplatesAplosSeriesDataRow::class, 'Google_Service_Integrations_EnterpriseCrmCardsTemplatesAplosSeriesDataRow');

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\Integrations;
class EnterpriseCrmCardsTemplatesAplosSeriesListData extends \Google\Collection
{
protected $collection_key = 'series';
protected $seriesType = EnterpriseCrmCardsTemplatesAplosSeriesListDataSeries::class;
protected $seriesDataType = 'array';
public $series;
/**
* @param EnterpriseCrmCardsTemplatesAplosSeriesListDataSeries[]
*/
public function setSeries($series)
{
$this->series = $series;
}
/**
* @return EnterpriseCrmCardsTemplatesAplosSeriesListDataSeries[]
*/
public function getSeries()
{
return $this->series;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmCardsTemplatesAplosSeriesListData::class, 'Google_Service_Integrations_EnterpriseCrmCardsTemplatesAplosSeriesListData');

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\Integrations;
class EnterpriseCrmCardsTemplatesAplosSeriesListDataSeries extends \Google\Model
{
protected $dataType = EnterpriseCrmCardsTemplatesAplosSeriesData::class;
protected $dataDataType = '';
public $data;
/**
* @var string
*/
public $name;
/**
* @param EnterpriseCrmCardsTemplatesAplosSeriesData
*/
public function setData(EnterpriseCrmCardsTemplatesAplosSeriesData $data)
{
$this->data = $data;
}
/**
* @return EnterpriseCrmCardsTemplatesAplosSeriesData
*/
public function getData()
{
return $this->data;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmCardsTemplatesAplosSeriesListDataSeries::class, 'Google_Service_Integrations_EnterpriseCrmCardsTemplatesAplosSeriesListDataSeries');

View File

@@ -0,0 +1,131 @@
<?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\Integrations;
class EnterpriseCrmEventbusAuthconfigAuthConfigTaskParam extends \Google\Collection
{
protected $collection_key = 'allowedCredentialTypes';
/**
* Defines the credential types to be supported as Task may restrict specific
* types to use, e.g. Cloud SQL Task will use username/password type only.
*
* @var string[]
*/
public $allowedCredentialTypes;
/**
* @var bool
*/
public $allowedServiceAccountInContext;
/**
* UUID of the AuthConfig.
*
* @var string
*/
public $authConfigId;
/**
* A space-delimited list of requested scope permissions.
*
* @var string
*/
public $scope;
/**
* @var bool
*/
public $useServiceAccountInContext;
/**
* Defines the credential types to be supported as Task may restrict specific
* types to use, e.g. Cloud SQL Task will use username/password type only.
*
* @param string[] $allowedCredentialTypes
*/
public function setAllowedCredentialTypes($allowedCredentialTypes)
{
$this->allowedCredentialTypes = $allowedCredentialTypes;
}
/**
* @return string[]
*/
public function getAllowedCredentialTypes()
{
return $this->allowedCredentialTypes;
}
/**
* @param bool $allowedServiceAccountInContext
*/
public function setAllowedServiceAccountInContext($allowedServiceAccountInContext)
{
$this->allowedServiceAccountInContext = $allowedServiceAccountInContext;
}
/**
* @return bool
*/
public function getAllowedServiceAccountInContext()
{
return $this->allowedServiceAccountInContext;
}
/**
* UUID of the AuthConfig.
*
* @param string $authConfigId
*/
public function setAuthConfigId($authConfigId)
{
$this->authConfigId = $authConfigId;
}
/**
* @return string
*/
public function getAuthConfigId()
{
return $this->authConfigId;
}
/**
* A space-delimited list of requested scope permissions.
*
* @param string $scope
*/
public function setScope($scope)
{
$this->scope = $scope;
}
/**
* @return string
*/
public function getScope()
{
return $this->scope;
}
/**
* @param bool $useServiceAccountInContext
*/
public function setUseServiceAccountInContext($useServiceAccountInContext)
{
$this->useServiceAccountInContext = $useServiceAccountInContext;
}
/**
* @return bool
*/
public function getUseServiceAccountInContext()
{
return $this->useServiceAccountInContext;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusAuthconfigAuthConfigTaskParam::class, 'Google_Service_Integrations_EnterpriseCrmEventbusAuthconfigAuthConfigTaskParam');

View File

@@ -0,0 +1,83 @@
<?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\Integrations;
class EnterpriseCrmEventbusProtoAddress extends \Google\Collection
{
protected $collection_key = 'tokens';
/**
* Required.
*
* @var string
*/
public $email;
/**
* @var string
*/
public $name;
protected $tokensType = EnterpriseCrmEventbusProtoToken::class;
protected $tokensDataType = 'array';
/**
* Required.
*
* @param string $email
*/
public function setEmail($email)
{
$this->email = $email;
}
/**
* @return string
*/
public function getEmail()
{
return $this->email;
}
/**
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param EnterpriseCrmEventbusProtoToken[] $tokens
*/
public function setTokens($tokens)
{
$this->tokens = $tokens;
}
/**
* @return EnterpriseCrmEventbusProtoToken[]
*/
public function getTokens()
{
return $this->tokens;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoAddress::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoAddress');

View File

@@ -0,0 +1,245 @@
<?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\Integrations;
class EnterpriseCrmEventbusProtoAttributes extends \Google\Collection
{
public const DATA_TYPE_DATA_TYPE_UNSPECIFIED = 'DATA_TYPE_UNSPECIFIED';
public const DATA_TYPE_EMAIL = 'EMAIL';
public const DATA_TYPE_URL = 'URL';
public const DATA_TYPE_CURRENCY = 'CURRENCY';
public const DATA_TYPE_TIMESTAMP = 'TIMESTAMP';
/**
* Domain is a web url string with one top-level private domain and a suffix
* (for example: google.com, walmart.com)
*/
public const DATA_TYPE_DOMAIN_NAME = 'DOMAIN_NAME';
public const SEARCHABLE_UNSPECIFIED = 'UNSPECIFIED';
/**
* If yes, the parameter key and value will be full-text indexed. In a proto,
* this value will propagate to all children whose searchable is unspecified.
*/
public const SEARCHABLE_YES = 'YES';
/**
* If no, the parameter key and value will not be full-text indexed. In a
* proto, this value will propagate to all children whose searchable is
* unspecified.
*/
public const SEARCHABLE_NO = 'NO';
protected $collection_key = 'taskVisibility';
/**
* Things like URL, Email, Currency, Timestamp (rather than string, int64...)
*
* @var string
*/
public $dataType;
protected $defaultValueType = EnterpriseCrmEventbusProtoValueType::class;
protected $defaultValueDataType = '';
/**
* Required for event execution. The validation will be done by the event bus
* when the event is triggered.
*
* @var bool
*/
public $isRequired;
/**
* Used to indicate if a ParameterEntry should be converted to ParamIndexes
* for ST-Spanner full-text search. DEPRECATED: use searchable.
*
* @deprecated
* @var bool
*/
public $isSearchable;
protected $logSettingsType = EnterpriseCrmEventbusProtoLogSettings::class;
protected $logSettingsDataType = '';
/**
* True if this workflow parameter should be masked in the logs
*
* @var bool
*/
public $masked;
/**
* Used to indicate if the ParameterEntry is a read only field or not.
*
* @var bool
*/
public $readOnly;
/**
* @var string
*/
public $searchable;
/**
* List of tasks that can view this property, if empty then all.
*
* @var string[]
*/
public $taskVisibility;
/**
* Things like URL, Email, Currency, Timestamp (rather than string, int64...)
*
* Accepted values: DATA_TYPE_UNSPECIFIED, EMAIL, URL, CURRENCY, TIMESTAMP,
* DOMAIN_NAME
*
* @param self::DATA_TYPE_* $dataType
*/
public function setDataType($dataType)
{
$this->dataType = $dataType;
}
/**
* @return self::DATA_TYPE_*
*/
public function getDataType()
{
return $this->dataType;
}
/**
* Used to define defaults.
*
* @param EnterpriseCrmEventbusProtoValueType $defaultValue
*/
public function setDefaultValue(EnterpriseCrmEventbusProtoValueType $defaultValue)
{
$this->defaultValue = $defaultValue;
}
/**
* @return EnterpriseCrmEventbusProtoValueType
*/
public function getDefaultValue()
{
return $this->defaultValue;
}
/**
* Required for event execution. The validation will be done by the event bus
* when the event is triggered.
*
* @param bool $isRequired
*/
public function setIsRequired($isRequired)
{
$this->isRequired = $isRequired;
}
/**
* @return bool
*/
public function getIsRequired()
{
return $this->isRequired;
}
/**
* Used to indicate if a ParameterEntry should be converted to ParamIndexes
* for ST-Spanner full-text search. DEPRECATED: use searchable.
*
* @deprecated
* @param bool $isSearchable
*/
public function setIsSearchable($isSearchable)
{
$this->isSearchable = $isSearchable;
}
/**
* @deprecated
* @return bool
*/
public function getIsSearchable()
{
return $this->isSearchable;
}
/**
* See
*
* @param EnterpriseCrmEventbusProtoLogSettings $logSettings
*/
public function setLogSettings(EnterpriseCrmEventbusProtoLogSettings $logSettings)
{
$this->logSettings = $logSettings;
}
/**
* @return EnterpriseCrmEventbusProtoLogSettings
*/
public function getLogSettings()
{
return $this->logSettings;
}
/**
* True if this workflow parameter should be masked in the logs
*
* @param bool $masked
*/
public function setMasked($masked)
{
$this->masked = $masked;
}
/**
* @return bool
*/
public function getMasked()
{
return $this->masked;
}
/**
* Used to indicate if the ParameterEntry is a read only field or not.
*
* @param bool $readOnly
*/
public function setReadOnly($readOnly)
{
$this->readOnly = $readOnly;
}
/**
* @return bool
*/
public function getReadOnly()
{
return $this->readOnly;
}
/**
* @param self::SEARCHABLE_* $searchable
*/
public function setSearchable($searchable)
{
$this->searchable = $searchable;
}
/**
* @return self::SEARCHABLE_*
*/
public function getSearchable()
{
return $this->searchable;
}
/**
* List of tasks that can view this property, if empty then all.
*
* @param string[] $taskVisibility
*/
public function setTaskVisibility($taskVisibility)
{
$this->taskVisibility = $taskVisibility;
}
/**
* @return string[]
*/
public function getTaskVisibility()
{
return $this->taskVisibility;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoAttributes::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoAttributes');

View File

@@ -0,0 +1,65 @@
<?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\Integrations;
class EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumList extends \Google\Collection
{
public const FILTER_TYPE_DEFAULT_INCLUSIVE = 'DEFAULT_INCLUSIVE';
public const FILTER_TYPE_EXCLUSIVE = 'EXCLUSIVE';
protected $collection_key = 'enumStrings';
/**
* @var string[]
*/
public $enumStrings;
/**
* @var string
*/
public $filterType;
/**
* @param string[] $enumStrings
*/
public function setEnumStrings($enumStrings)
{
$this->enumStrings = $enumStrings;
}
/**
* @return string[]
*/
public function getEnumStrings()
{
return $this->enumStrings;
}
/**
* @param self::FILTER_TYPE_* $filterType
*/
public function setFilterType($filterType)
{
$this->filterType = $filterType;
}
/**
* @return self::FILTER_TYPE_*
*/
public function getFilterType()
{
return $this->filterType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumList::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumList');

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\Integrations;
class EnterpriseCrmEventbusProtoBaseAlertConfigThresholdValue extends \Google\Model
{
/**
* @var string
*/
public $absolute;
/**
* @var int
*/
public $percentage;
/**
* @param string $absolute
*/
public function setAbsolute($absolute)
{
$this->absolute = $absolute;
}
/**
* @return string
*/
public function getAbsolute()
{
return $this->absolute;
}
/**
* @param int $percentage
*/
public function setPercentage($percentage)
{
$this->percentage = $percentage;
}
/**
* @return int
*/
public function getPercentage()
{
return $this->percentage;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoBaseAlertConfigThresholdValue::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoBaseAlertConfigThresholdValue');

View File

@@ -0,0 +1,53 @@
<?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\Integrations;
class EnterpriseCrmEventbusProtoBaseFunction extends \Google\Model
{
public const FUNCTION_NAME_UNSPECIFIED = 'UNSPECIFIED';
public const FUNCTION_NAME_NOW_IN_MILLIS = 'NOW_IN_MILLIS';
public const FUNCTION_NAME_INT_LIST = 'INT_LIST';
public const FUNCTION_NAME_ENVIRONMENT = 'ENVIRONMENT';
public const FUNCTION_NAME_GET_EXECUTION_ID = 'GET_EXECUTION_ID';
public const FUNCTION_NAME_GET_INTEGRATION_NAME = 'GET_INTEGRATION_NAME';
public const FUNCTION_NAME_GET_REGION = 'GET_REGION';
public const FUNCTION_NAME_GET_UUID = 'GET_UUID';
public const FUNCTION_NAME_GET_PROJECT_ID = 'GET_PROJECT_ID';
/**
* @var string
*/
public $functionName;
/**
* @param self::FUNCTION_NAME_* $functionName
*/
public function setFunctionName($functionName)
{
$this->functionName = $functionName;
}
/**
* @return self::FUNCTION_NAME_*
*/
public function getFunctionName()
{
return $this->functionName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoBaseFunction::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoBaseFunction');

View File

@@ -0,0 +1,85 @@
<?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\Integrations;
class EnterpriseCrmEventbusProtoBaseValue extends \Google\Model
{
protected $baseFunctionType = EnterpriseCrmEventbusProtoFunction::class;
protected $baseFunctionDataType = '';
protected $literalValueType = EnterpriseCrmEventbusProtoParameterValueType::class;
protected $literalValueDataType = '';
/**
* Start with a reference value to dereference.
*
* @var string
*/
public $referenceValue;
/**
* Start with a function that does not build on existing values. Eg.
* CurrentTime, Min, Max, Exists, etc.
*
* @param EnterpriseCrmEventbusProtoFunction $baseFunction
*/
public function setBaseFunction(EnterpriseCrmEventbusProtoFunction $baseFunction)
{
$this->baseFunction = $baseFunction;
}
/**
* @return EnterpriseCrmEventbusProtoFunction
*/
public function getBaseFunction()
{
return $this->baseFunction;
}
/**
* Start with a literal value.
*
* @param EnterpriseCrmEventbusProtoParameterValueType $literalValue
*/
public function setLiteralValue(EnterpriseCrmEventbusProtoParameterValueType $literalValue)
{
$this->literalValue = $literalValue;
}
/**
* @return EnterpriseCrmEventbusProtoParameterValueType
*/
public function getLiteralValue()
{
return $this->literalValue;
}
/**
* Start with a reference value to dereference.
*
* @param string $referenceValue
*/
public function setReferenceValue($referenceValue)
{
$this->referenceValue = $referenceValue;
}
/**
* @return string
*/
public function getReferenceValue()
{
return $this->referenceValue;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoBaseValue::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoBaseValue');

View File

@@ -0,0 +1,57 @@
<?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\Integrations;
class EnterpriseCrmEventbusProtoBooleanArrayFunction extends \Google\Model
{
public const FUNCTION_NAME_UNSPECIFIED = 'UNSPECIFIED';
public const FUNCTION_NAME_GET = 'GET';
public const FUNCTION_NAME_APPEND = 'APPEND';
public const FUNCTION_NAME_SIZE = 'SIZE';
public const FUNCTION_NAME_TO_SET = 'TO_SET';
public const FUNCTION_NAME_APPEND_ALL = 'APPEND_ALL';
public const FUNCTION_NAME_TO_JSON = 'TO_JSON';
public const FUNCTION_NAME_SET = 'SET';
public const FUNCTION_NAME_REMOVE = 'REMOVE';
public const FUNCTION_NAME_REMOVE_AT = 'REMOVE_AT';
public const FUNCTION_NAME_CONTAINS = 'CONTAINS';
public const FUNCTION_NAME_FOR_EACH = 'FOR_EACH';
public const FUNCTION_NAME_FILTER = 'FILTER';
/**
* @var string
*/
public $functionName;
/**
* @param self::FUNCTION_NAME_* $functionName
*/
public function setFunctionName($functionName)
{
$this->functionName = $functionName;
}
/**
* @return self::FUNCTION_NAME_*
*/
public function getFunctionName()
{
return $this->functionName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoBooleanArrayFunction::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoBooleanArrayFunction');

View File

@@ -0,0 +1,55 @@
<?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\Integrations;
class EnterpriseCrmEventbusProtoBooleanFunction extends \Google\Model
{
public const FUNCTION_NAME_UNSPECIFIED = 'UNSPECIFIED';
public const FUNCTION_NAME_TO_JSON = 'TO_JSON';
public const FUNCTION_NAME_NOT = 'NOT';
public const FUNCTION_NAME_AND = 'AND';
public const FUNCTION_NAME_NAND = 'NAND';
public const FUNCTION_NAME_OR = 'OR';
public const FUNCTION_NAME_XOR = 'XOR';
public const FUNCTION_NAME_NOR = 'NOR';
public const FUNCTION_NAME_XNOR = 'XNOR';
public const FUNCTION_NAME_TO_STRING = 'TO_STRING';
public const FUNCTION_NAME_EQUALS = 'EQUALS';
/**
* @var string
*/
public $functionName;
/**
* @param self::FUNCTION_NAME_* $functionName
*/
public function setFunctionName($functionName)
{
$this->functionName = $functionName;
}
/**
* @return self::FUNCTION_NAME_*
*/
public function getFunctionName()
{
return $this->functionName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoBooleanFunction::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoBooleanFunction');

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\Integrations;
class EnterpriseCrmEventbusProtoBooleanParameterArray extends \Google\Collection
{
protected $collection_key = 'booleanValues';
/**
* @var bool[]
*/
public $booleanValues;
/**
* @param bool[] $booleanValues
*/
public function setBooleanValues($booleanValues)
{
$this->booleanValues = $booleanValues;
}
/**
* @return bool[]
*/
public function getBooleanValues()
{
return $this->booleanValues;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoBooleanParameterArray::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoBooleanParameterArray');

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\Integrations;
class EnterpriseCrmEventbusProtoBuganizerNotification extends \Google\Model
{
/**
* Whom to assign the new bug. Optional.
*
* @var string
*/
public $assigneeEmailAddress;
/**
* ID of the buganizer component within which to create a new issue. Required.
*
* @var string
*/
public $componentId;
/**
* ID of the buganizer template to use. Optional.
*
* @var string
*/
public $templateId;
/**
* Title of the issue to be created. Required.
*
* @var string
*/
public $title;
/**
* Whom to assign the new bug. Optional.
*
* @param string $assigneeEmailAddress
*/
public function setAssigneeEmailAddress($assigneeEmailAddress)
{
$this->assigneeEmailAddress = $assigneeEmailAddress;
}
/**
* @return string
*/
public function getAssigneeEmailAddress()
{
return $this->assigneeEmailAddress;
}
/**
* ID of the buganizer component within which to create a new issue. Required.
*
* @param string $componentId
*/
public function setComponentId($componentId)
{
$this->componentId = $componentId;
}
/**
* @return string
*/
public function getComponentId()
{
return $this->componentId;
}
/**
* ID of the buganizer template to use. Optional.
*
* @param string $templateId
*/
public function setTemplateId($templateId)
{
$this->templateId = $templateId;
}
/**
* @return string
*/
public function getTemplateId()
{
return $this->templateId;
}
/**
* Title of the issue to be created. Required.
*
* @param string $title
*/
public function setTitle($title)
{
$this->title = $title;
}
/**
* @return string
*/
public function getTitle()
{
return $this->title;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoBuganizerNotification::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoBuganizerNotification');

View File

@@ -0,0 +1,182 @@
<?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\Integrations;
class EnterpriseCrmEventbusProtoCloudKmsConfig extends \Google\Model
{
/**
* Optional. The id of GCP project where the KMS key is stored. If not
* provided, assume the key is stored in the same GCP project defined in
* Client (tag 14).
*
* @var string
*/
public $gcpProjectId;
/**
* A Cloud KMS key is a named object containing one or more key versions,
* along with metadata for the key. A key exists on exactly one key ring tied
* to a specific location.
*
* @var string
*/
public $keyName;
/**
* A key ring organizes keys in a specific Google Cloud location and allows
* you to manage access control on groups of keys. A key ring's name does not
* need to be unique across a Google Cloud project, but must be unique within
* a given location.
*
* @var string
*/
public $keyRingName;
/**
* Optional. Each version of a key contains key material used for encryption
* or signing. A key's version is represented by an integer, starting at 1. To
* decrypt data or verify a signature, you must use the same key version that
* was used to encrypt or sign the data.
*
* @var string
*/
public $keyVersionName;
/**
* Location name of the key ring, e.g. "us-west1".
*
* @var string
*/
public $locationName;
/**
* Optional. The service account used for authentication of this KMS key. If
* this is not provided, the service account in Client.clientSource will be
* used.
*
* @var string
*/
public $serviceAccount;
/**
* Optional. The id of GCP project where the KMS key is stored. If not
* provided, assume the key is stored in the same GCP project defined in
* Client (tag 14).
*
* @param string $gcpProjectId
*/
public function setGcpProjectId($gcpProjectId)
{
$this->gcpProjectId = $gcpProjectId;
}
/**
* @return string
*/
public function getGcpProjectId()
{
return $this->gcpProjectId;
}
/**
* A Cloud KMS key is a named object containing one or more key versions,
* along with metadata for the key. A key exists on exactly one key ring tied
* to a specific location.
*
* @param string $keyName
*/
public function setKeyName($keyName)
{
$this->keyName = $keyName;
}
/**
* @return string
*/
public function getKeyName()
{
return $this->keyName;
}
/**
* A key ring organizes keys in a specific Google Cloud location and allows
* you to manage access control on groups of keys. A key ring's name does not
* need to be unique across a Google Cloud project, but must be unique within
* a given location.
*
* @param string $keyRingName
*/
public function setKeyRingName($keyRingName)
{
$this->keyRingName = $keyRingName;
}
/**
* @return string
*/
public function getKeyRingName()
{
return $this->keyRingName;
}
/**
* Optional. Each version of a key contains key material used for encryption
* or signing. A key's version is represented by an integer, starting at 1. To
* decrypt data or verify a signature, you must use the same key version that
* was used to encrypt or sign the data.
*
* @param string $keyVersionName
*/
public function setKeyVersionName($keyVersionName)
{
$this->keyVersionName = $keyVersionName;
}
/**
* @return string
*/
public function getKeyVersionName()
{
return $this->keyVersionName;
}
/**
* Location name of the key ring, e.g. "us-west1".
*
* @param string $locationName
*/
public function setLocationName($locationName)
{
$this->locationName = $locationName;
}
/**
* @return string
*/
public function getLocationName()
{
return $this->locationName;
}
/**
* Optional. The service account used for authentication of this KMS key. If
* this is not provided, the service account in Client.clientSource will be
* used.
*
* @param string $serviceAccount
*/
public function setServiceAccount($serviceAccount)
{
$this->serviceAccount = $serviceAccount;
}
/**
* @return string
*/
public function getServiceAccount()
{
return $this->serviceAccount;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoCloudKmsConfig::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoCloudKmsConfig');

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\Integrations;
class EnterpriseCrmEventbusProtoCloudLoggingDetails extends \Google\Model
{
/**
* Unspecified
*/
public const CLOUD_LOGGING_SEVERITY_CLOUD_LOGGING_SEVERITY_UNSPECIFIED = 'CLOUD_LOGGING_SEVERITY_UNSPECIFIED';
/**
* If Severity selected is `INFO`, then all the Integration Execution States
* (`IN_PROCESS`, `ON_HOLD`, `SUCCEEDED`, `SUSPENDED`, `ERROR`, `CANCELLED`)
* will be sent to Cloud Logging.
*/
public const CLOUD_LOGGING_SEVERITY_INFO = 'INFO';
/**
* If Severity selected is `ERROR`, then only the following Integration
* Execution States (`ERROR`, `CANCELLED`) will be sent to Cloud Logging.
*/
public const CLOUD_LOGGING_SEVERITY_ERROR = 'ERROR';
/**
* If Severity selected is `WARNING`, then only the following Integration
* Execution States (`ERROR`, `CANCELLED`) will be sent to Cloud Logging.
*/
public const CLOUD_LOGGING_SEVERITY_WARNING = 'WARNING';
/**
* Severity selected by the customer for the logs to be sent to Cloud Logging,
* for the integration version getting executed.
*
* @var string
*/
public $cloudLoggingSeverity;
/**
* Status of whether Cloud Logging is enabled or not for the integration
* version getting executed.
*
* @var bool
*/
public $enableCloudLogging;
/**
* Severity selected by the customer for the logs to be sent to Cloud Logging,
* for the integration version getting executed.
*
* Accepted values: CLOUD_LOGGING_SEVERITY_UNSPECIFIED, INFO, ERROR, WARNING
*
* @param self::CLOUD_LOGGING_SEVERITY_* $cloudLoggingSeverity
*/
public function setCloudLoggingSeverity($cloudLoggingSeverity)
{
$this->cloudLoggingSeverity = $cloudLoggingSeverity;
}
/**
* @return self::CLOUD_LOGGING_SEVERITY_*
*/
public function getCloudLoggingSeverity()
{
return $this->cloudLoggingSeverity;
}
/**
* Status of whether Cloud Logging is enabled or not for the integration
* version getting executed.
*
* @param bool $enableCloudLogging
*/
public function setEnableCloudLogging($enableCloudLogging)
{
$this->enableCloudLogging = $enableCloudLogging;
}
/**
* @return bool
*/
public function getEnableCloudLogging()
{
return $this->enableCloudLogging;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoCloudLoggingDetails::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoCloudLoggingDetails');

View File

@@ -0,0 +1,118 @@
<?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\Integrations;
class EnterpriseCrmEventbusProtoCloudSchedulerConfig extends \Google\Model
{
/**
* Required. The cron tab of cloud scheduler trigger.
*
* @var string
*/
public $cronTab;
/**
* Optional. When the job was deleted from Pantheon UI, error_message will be
* populated when Get/List integrations
*
* @var string
*/
public $errorMessage;
/**
* Required. The location where associated cloud scheduler job will be created
*
* @var string
*/
public $location;
/**
* Required. Service account used by Cloud Scheduler to trigger the
* integration at scheduled time
*
* @var string
*/
public $serviceAccountEmail;
/**
* Required. The cron tab of cloud scheduler trigger.
*
* @param string $cronTab
*/
public function setCronTab($cronTab)
{
$this->cronTab = $cronTab;
}
/**
* @return string
*/
public function getCronTab()
{
return $this->cronTab;
}
/**
* Optional. When the job was deleted from Pantheon UI, error_message will be
* populated when Get/List integrations
*
* @param string $errorMessage
*/
public function setErrorMessage($errorMessage)
{
$this->errorMessage = $errorMessage;
}
/**
* @return string
*/
public function getErrorMessage()
{
return $this->errorMessage;
}
/**
* Required. The location where associated cloud scheduler job will be created
*
* @param string $location
*/
public function setLocation($location)
{
$this->location = $location;
}
/**
* @return string
*/
public function getLocation()
{
return $this->location;
}
/**
* Required. Service account used by Cloud Scheduler to trigger the
* integration at scheduled time
*
* @param string $serviceAccountEmail
*/
public function setServiceAccountEmail($serviceAccountEmail)
{
$this->serviceAccountEmail = $serviceAccountEmail;
}
/**
* @return string
*/
public function getServiceAccountEmail()
{
return $this->serviceAccountEmail;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoCloudSchedulerConfig::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoCloudSchedulerConfig');

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\Integrations;
class EnterpriseCrmEventbusProtoCombinedCondition extends \Google\Collection
{
protected $collection_key = 'conditions';
protected $conditionsType = EnterpriseCrmEventbusProtoCondition::class;
protected $conditionsDataType = 'array';
/**
* A set of individual constituent conditions.
*
* @param EnterpriseCrmEventbusProtoCondition[] $conditions
*/
public function setConditions($conditions)
{
$this->conditions = $conditions;
}
/**
* @return EnterpriseCrmEventbusProtoCondition[]
*/
public function getConditions()
{
return $this->conditions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoCombinedCondition::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoCombinedCondition');

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\Integrations;
class EnterpriseCrmEventbusProtoCondition extends \Google\Model
{
public const OPERATOR_UNSET = 'UNSET';
public const OPERATOR_EQUALS = 'EQUALS';
public const OPERATOR_CONTAINS = 'CONTAINS';
public const OPERATOR_LESS_THAN = 'LESS_THAN';
public const OPERATOR_GREATER_THAN = 'GREATER_THAN';
public const OPERATOR_EXISTS = 'EXISTS';
public const OPERATOR_DOES_NOT_EXIST = 'DOES_NOT_EXIST';
public const OPERATOR_IS_EMPTY = 'IS_EMPTY';
public const OPERATOR_IS_NOT_EMPTY = 'IS_NOT_EMPTY';
/**
* Key that's evaluated against the `value`. Please note the data type of the
* runtime value associated with the key should match the data type of
* `value`, else an IllegalArgumentException is thrown.
*
* @var string
*/
public $eventPropertyKey;
/**
* Operator used to evaluate the condition. Please note that an operator with
* an inappropriate key/value operand will result in IllegalArgumentException,
* e.g. CONTAINS with boolean key/value pair.
*
* @var string
*/
public $operator;
protected $valueType = EnterpriseCrmEventbusProtoValueType::class;
protected $valueDataType = '';
/**
* Key that's evaluated against the `value`. Please note the data type of the
* runtime value associated with the key should match the data type of
* `value`, else an IllegalArgumentException is thrown.
*
* @param string $eventPropertyKey
*/
public function setEventPropertyKey($eventPropertyKey)
{
$this->eventPropertyKey = $eventPropertyKey;
}
/**
* @return string
*/
public function getEventPropertyKey()
{
return $this->eventPropertyKey;
}
/**
* Operator used to evaluate the condition. Please note that an operator with
* an inappropriate key/value operand will result in IllegalArgumentException,
* e.g. CONTAINS with boolean key/value pair.
*
* Accepted values: UNSET, EQUALS, CONTAINS, LESS_THAN, GREATER_THAN, EXISTS,
* DOES_NOT_EXIST, IS_EMPTY, IS_NOT_EMPTY
*
* @param self::OPERATOR_* $operator
*/
public function setOperator($operator)
{
$this->operator = $operator;
}
/**
* @return self::OPERATOR_*
*/
public function getOperator()
{
return $this->operator;
}
/**
* Value that's checked for the key.
*
* @param EnterpriseCrmEventbusProtoValueType $value
*/
public function setValue(EnterpriseCrmEventbusProtoValueType $value)
{
$this->value = $value;
}
/**
* @return EnterpriseCrmEventbusProtoValueType
*/
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoCondition::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoCondition');

View File

@@ -0,0 +1,94 @@
<?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\Integrations;
class EnterpriseCrmEventbusProtoConditionResult extends \Google\Model
{
/**
* the current task number.
*
* @var string
*/
public $currentTaskNumber;
/**
* the next task number.
*
* @var string
*/
public $nextTaskNumber;
/**
* the result comes out after evaluate the combined condition. True if there's
* no combined condition specified.
*
* @var bool
*/
public $result;
/**
* the current task number.
*
* @param string $currentTaskNumber
*/
public function setCurrentTaskNumber($currentTaskNumber)
{
$this->currentTaskNumber = $currentTaskNumber;
}
/**
* @return string
*/
public function getCurrentTaskNumber()
{
return $this->currentTaskNumber;
}
/**
* the next task number.
*
* @param string $nextTaskNumber
*/
public function setNextTaskNumber($nextTaskNumber)
{
$this->nextTaskNumber = $nextTaskNumber;
}
/**
* @return string
*/
public function getNextTaskNumber()
{
return $this->nextTaskNumber;
}
/**
* the result comes out after evaluate the combined condition. True if there's
* no combined condition specified.
*
* @param bool $result
*/
public function setResult($result)
{
$this->result = $result;
}
/**
* @return bool
*/
public function getResult()
{
return $this->result;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoConditionResult::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoConditionResult');

View File

@@ -0,0 +1,64 @@
<?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\Integrations;
class EnterpriseCrmEventbusProtoConditionalFailurePolicies extends \Google\Collection
{
protected $collection_key = 'failurePolicies';
protected $defaultFailurePolicyType = EnterpriseCrmEventbusProtoFailurePolicy::class;
protected $defaultFailurePolicyDataType = '';
protected $failurePoliciesType = EnterpriseCrmEventbusProtoFailurePolicy::class;
protected $failurePoliciesDataType = 'array';
/**
* The default failure policy to be applied if no conditional failure policy
* matches
*
* @param EnterpriseCrmEventbusProtoFailurePolicy $defaultFailurePolicy
*/
public function setDefaultFailurePolicy(EnterpriseCrmEventbusProtoFailurePolicy $defaultFailurePolicy)
{
$this->defaultFailurePolicy = $defaultFailurePolicy;
}
/**
* @return EnterpriseCrmEventbusProtoFailurePolicy
*/
public function getDefaultFailurePolicy()
{
return $this->defaultFailurePolicy;
}
/**
* The list of failure policies that will be applied to the task in order.
*
* @param EnterpriseCrmEventbusProtoFailurePolicy[] $failurePolicies
*/
public function setFailurePolicies($failurePolicies)
{
$this->failurePolicies = $failurePolicies;
}
/**
* @return EnterpriseCrmEventbusProtoFailurePolicy[]
*/
public function getFailurePolicies()
{
return $this->failurePolicies;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoConditionalFailurePolicies::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoConditionalFailurePolicies');

View File

@@ -0,0 +1,120 @@
<?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\Integrations;
class EnterpriseCrmEventbusProtoConnectorsConnection extends \Google\Model
{
/**
* Connection name Format:
* projects/{project}/locations/{location}/connections/{connection}
*
* @var string
*/
public $connectionName;
/**
* Connector version Format: projects/{project}/locations/{location}/providers
* /{provider}/connectors/{connector}/versions/{version}
*
* @var string
*/
public $connectorVersion;
/**
* The name of the Hostname of the Service Directory service with TLS if used.
*
* @var string
*/
public $host;
/**
* Service name Format: projects/{project}/locations/{location}/namespaces/{na
* mespace}/services/{service}
*
* @var string
*/
public $serviceName;
/**
* Connection name Format:
* projects/{project}/locations/{location}/connections/{connection}
*
* @param string $connectionName
*/
public function setConnectionName($connectionName)
{
$this->connectionName = $connectionName;
}
/**
* @return string
*/
public function getConnectionName()
{
return $this->connectionName;
}
/**
* Connector version Format: projects/{project}/locations/{location}/providers
* /{provider}/connectors/{connector}/versions/{version}
*
* @param string $connectorVersion
*/
public function setConnectorVersion($connectorVersion)
{
$this->connectorVersion = $connectorVersion;
}
/**
* @return string
*/
public function getConnectorVersion()
{
return $this->connectorVersion;
}
/**
* The name of the Hostname of the Service Directory service with TLS if used.
*
* @param string $host
*/
public function setHost($host)
{
$this->host = $host;
}
/**
* @return string
*/
public function getHost()
{
return $this->host;
}
/**
* Service name Format: projects/{project}/locations/{location}/namespaces/{na
* mespace}/services/{service}
*
* @param string $serviceName
*/
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(EnterpriseCrmEventbusProtoConnectorsConnection::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoConnectorsConnection');

View File

@@ -0,0 +1,77 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Integrations;
class EnterpriseCrmEventbusProtoConnectorsGenericConnectorTaskConfig extends \Google\Model
{
public const OPERATION_OPERATION_UNSPECIFIED = 'OPERATION_UNSPECIFIED';
public const OPERATION_EXECUTE_ACTION = 'EXECUTE_ACTION';
public const OPERATION_LIST_ENTITIES = 'LIST_ENTITIES';
public const OPERATION_GET_ENTITY = 'GET_ENTITY';
public const OPERATION_CREATE_ENTITY = 'CREATE_ENTITY';
public const OPERATION_UPDATE_ENTITY = 'UPDATE_ENTITY';
public const OPERATION_DELETE_ENTITY = 'DELETE_ENTITY';
public const OPERATION_EXECUTE_QUERY = 'EXECUTE_QUERY';
protected $connectionType = EnterpriseCrmEventbusProtoConnectorsConnection::class;
protected $connectionDataType = '';
/**
* Operation to perform using the configured connection.
*
* @var string
*/
public $operation;
/**
* User-selected connection.
*
* @param EnterpriseCrmEventbusProtoConnectorsConnection $connection
*/
public function setConnection(EnterpriseCrmEventbusProtoConnectorsConnection $connection)
{
$this->connection = $connection;
}
/**
* @return EnterpriseCrmEventbusProtoConnectorsConnection
*/
public function getConnection()
{
return $this->connection;
}
/**
* Operation to perform using the configured connection.
*
* Accepted values: OPERATION_UNSPECIFIED, EXECUTE_ACTION, LIST_ENTITIES,
* GET_ENTITY, CREATE_ENTITY, UPDATE_ENTITY, DELETE_ENTITY, EXECUTE_QUERY
*
* @param self::OPERATION_* $operation
*/
public function setOperation($operation)
{
$this->operation = $operation;
}
/**
* @return self::OPERATION_*
*/
public function getOperation()
{
return $this->operation;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoConnectorsGenericConnectorTaskConfig::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoConnectorsGenericConnectorTaskConfig');

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\Integrations;
class EnterpriseCrmEventbusProtoCoordinate extends \Google\Model
{
/**
* @var int
*/
public $x;
/**
* @var int
*/
public $y;
/**
* @param int $x
*/
public function setX($x)
{
$this->x = $x;
}
/**
* @return int
*/
public function getX()
{
return $this->x;
}
/**
* @param int $y
*/
public function setY($y)
{
$this->y = $y;
}
/**
* @return int
*/
public function getY()
{
return $this->y;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoCoordinate::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoCoordinate');

View File

@@ -0,0 +1,68 @@
<?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\Integrations;
class EnterpriseCrmEventbusProtoCustomSuspensionRequest extends \Google\Model
{
protected $postToQueueWithTriggerIdRequestType = GoogleInternalCloudCrmEventbusV3PostToQueueWithTriggerIdRequest::class;
protected $postToQueueWithTriggerIdRequestDataType = '';
/**
* In the fired event, set the SuspensionInfo message as the value for this
* key.
*
* @var string
*/
public $suspensionInfoEventParameterKey;
/**
* Request to fire an event containing the SuspensionInfo message.
*
* @param GoogleInternalCloudCrmEventbusV3PostToQueueWithTriggerIdRequest $postToQueueWithTriggerIdRequest
*/
public function setPostToQueueWithTriggerIdRequest(GoogleInternalCloudCrmEventbusV3PostToQueueWithTriggerIdRequest $postToQueueWithTriggerIdRequest)
{
$this->postToQueueWithTriggerIdRequest = $postToQueueWithTriggerIdRequest;
}
/**
* @return GoogleInternalCloudCrmEventbusV3PostToQueueWithTriggerIdRequest
*/
public function getPostToQueueWithTriggerIdRequest()
{
return $this->postToQueueWithTriggerIdRequest;
}
/**
* In the fired event, set the SuspensionInfo message as the value for this
* key.
*
* @param string $suspensionInfoEventParameterKey
*/
public function setSuspensionInfoEventParameterKey($suspensionInfoEventParameterKey)
{
$this->suspensionInfoEventParameterKey = $suspensionInfoEventParameterKey;
}
/**
* @return string
*/
public function getSuspensionInfoEventParameterKey()
{
return $this->suspensionInfoEventParameterKey;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoCustomSuspensionRequest::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoCustomSuspensionRequest');

View File

@@ -0,0 +1,36 @@
<?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\Integrations;
class EnterpriseCrmEventbusProtoDoubleArray extends \Google\Collection
{
protected $collection_key = 'values';
public $values;
public function setValues($values)
{
$this->values = $values;
}
public function getValues()
{
return $this->values;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoDoubleArray::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoDoubleArray');

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\Integrations;
class EnterpriseCrmEventbusProtoDoubleArrayFunction extends \Google\Model
{
public const FUNCTION_NAME_UNSPECIFIED = 'UNSPECIFIED';
public const FUNCTION_NAME_GET = 'GET';
public const FUNCTION_NAME_APPEND = 'APPEND';
public const FUNCTION_NAME_SIZE = 'SIZE';
public const FUNCTION_NAME_SUM = 'SUM';
public const FUNCTION_NAME_AVG = 'AVG';
public const FUNCTION_NAME_MAX = 'MAX';
public const FUNCTION_NAME_MIN = 'MIN';
public const FUNCTION_NAME_TO_SET = 'TO_SET';
public const FUNCTION_NAME_APPEND_ALL = 'APPEND_ALL';
public const FUNCTION_NAME_TO_JSON = 'TO_JSON';
public const FUNCTION_NAME_SET = 'SET';
public const FUNCTION_NAME_REMOVE = 'REMOVE';
public const FUNCTION_NAME_REMOVE_AT = 'REMOVE_AT';
public const FUNCTION_NAME_CONTAINS = 'CONTAINS';
public const FUNCTION_NAME_FOR_EACH = 'FOR_EACH';
public const FUNCTION_NAME_FILTER = 'FILTER';
/**
* @var string
*/
public $functionName;
/**
* @param self::FUNCTION_NAME_* $functionName
*/
public function setFunctionName($functionName)
{
$this->functionName = $functionName;
}
/**
* @return self::FUNCTION_NAME_*
*/
public function getFunctionName()
{
return $this->functionName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoDoubleArrayFunction::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoDoubleArrayFunction');

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\Integrations;
class EnterpriseCrmEventbusProtoDoubleFunction extends \Google\Model
{
public const FUNCTION_NAME_UNSPECIFIED = 'UNSPECIFIED';
public const FUNCTION_NAME_TO_JSON = 'TO_JSON';
public const FUNCTION_NAME_TO_STRING = 'TO_STRING';
public const FUNCTION_NAME_ADD = 'ADD';
public const FUNCTION_NAME_SUBTRACT = 'SUBTRACT';
public const FUNCTION_NAME_MULTIPLY = 'MULTIPLY';
public const FUNCTION_NAME_DIVIDE = 'DIVIDE';
public const FUNCTION_NAME_EXPONENT = 'EXPONENT';
public const FUNCTION_NAME_ROUND = 'ROUND';
public const FUNCTION_NAME_FLOOR = 'FLOOR';
public const FUNCTION_NAME_CEIL = 'CEIL';
public const FUNCTION_NAME_GREATER_THAN = 'GREATER_THAN';
public const FUNCTION_NAME_LESS_THAN = 'LESS_THAN';
public const FUNCTION_NAME_EQUALS = 'EQUALS';
public const FUNCTION_NAME_GREATER_THAN_EQUALS = 'GREATER_THAN_EQUALS';
public const FUNCTION_NAME_LESS_THAN_EQUALS = 'LESS_THAN_EQUALS';
public const FUNCTION_NAME_MOD = 'MOD';
/**
* @var string
*/
public $functionName;
/**
* @param self::FUNCTION_NAME_* $functionName
*/
public function setFunctionName($functionName)
{
$this->functionName = $functionName;
}
/**
* @return self::FUNCTION_NAME_*
*/
public function getFunctionName()
{
return $this->functionName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoDoubleFunction::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoDoubleFunction');

View File

@@ -0,0 +1,36 @@
<?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\Integrations;
class EnterpriseCrmEventbusProtoDoubleParameterArray extends \Google\Collection
{
protected $collection_key = 'doubleValues';
public $doubleValues;
public function setDoubleValues($doubleValues)
{
$this->doubleValues = $doubleValues;
}
public function getDoubleValues()
{
return $this->doubleValues;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoDoubleParameterArray::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoDoubleParameterArray');

View File

@@ -0,0 +1,120 @@
<?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\Integrations;
class EnterpriseCrmEventbusProtoErrorDetail extends \Google\Model
{
public const SEVERITY_SEVERITY_UNSPECIFIED = 'SEVERITY_UNSPECIFIED';
public const SEVERITY_ERROR = 'ERROR';
public const SEVERITY_WARN = 'WARN';
public const SEVERITY_INFO = 'INFO';
protected $errorCodeType = CrmlogErrorCode::class;
protected $errorCodeDataType = '';
/**
* The full text of the error message, including any parameters that were
* thrown along with the exception.
*
* @var string
*/
public $errorMessage;
/**
* The severity of the error: ERROR|WARN|INFO.
*
* @var string
*/
public $severity;
/**
* The task try-number, in which, the error occurred. If zero, the error
* happened at the event level.
*
* @var int
*/
public $taskNumber;
/**
* The associated error-code, which can be a common or internal code.
*
* @param CrmlogErrorCode $errorCode
*/
public function setErrorCode(CrmlogErrorCode $errorCode)
{
$this->errorCode = $errorCode;
}
/**
* @return CrmlogErrorCode
*/
public function getErrorCode()
{
return $this->errorCode;
}
/**
* The full text of the error message, including any parameters that were
* thrown along with the exception.
*
* @param string $errorMessage
*/
public function setErrorMessage($errorMessage)
{
$this->errorMessage = $errorMessage;
}
/**
* @return string
*/
public function getErrorMessage()
{
return $this->errorMessage;
}
/**
* The severity of the error: ERROR|WARN|INFO.
*
* Accepted values: SEVERITY_UNSPECIFIED, ERROR, WARN, INFO
*
* @param self::SEVERITY_* $severity
*/
public function setSeverity($severity)
{
$this->severity = $severity;
}
/**
* @return self::SEVERITY_*
*/
public function getSeverity()
{
return $this->severity;
}
/**
* The task try-number, in which, the error occurred. If zero, the error
* happened at the event level.
*
* @param int $taskNumber
*/
public function setTaskNumber($taskNumber)
{
$this->taskNumber = $taskNumber;
}
/**
* @return int
*/
public function getTaskNumber()
{
return $this->taskNumber;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoErrorDetail::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoErrorDetail');

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\Integrations;
class EnterpriseCrmEventbusProtoEventBusProperties extends \Google\Collection
{
protected $collection_key = 'properties';
protected $propertiesType = EnterpriseCrmEventbusProtoPropertyEntry::class;
protected $propertiesDataType = 'array';
/**
* An unordered list of property entries.
*
* @param EnterpriseCrmEventbusProtoPropertyEntry[] $properties
*/
public function setProperties($properties)
{
$this->properties = $properties;
}
/**
* @return EnterpriseCrmEventbusProtoPropertyEntry[]
*/
public function getProperties()
{
return $this->properties;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoEventBusProperties::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoEventBusProperties');

View File

@@ -0,0 +1,274 @@
<?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\Integrations;
class EnterpriseCrmEventbusProtoEventExecutionDetails extends \Google\Collection
{
public const EVENT_EXECUTION_STATE_UNSPECIFIED = 'UNSPECIFIED';
/**
* Event is received and waiting for the execution. This happens when firing
* the event via "postToQueue" or "schedule".
*/
public const EVENT_EXECUTION_STATE_ON_HOLD = 'ON_HOLD';
/**
* Event is under processing.
*/
public const EVENT_EXECUTION_STATE_IN_PROCESS = 'IN_PROCESS';
/**
* Event execution successfully finished. There's no more change after this
* state.
*/
public const EVENT_EXECUTION_STATE_SUCCEEDED = 'SUCCEEDED';
/**
* Event execution failed. There's no more change after this state.
*/
public const EVENT_EXECUTION_STATE_FAILED = 'FAILED';
/**
* Event execution canceled by user. There's no more change after this state.
*/
public const EVENT_EXECUTION_STATE_CANCELED = 'CANCELED';
/**
* Event execution failed and waiting for retry.
*/
public const EVENT_EXECUTION_STATE_RETRY_ON_HOLD = 'RETRY_ON_HOLD';
/**
* Event execution suspended and waiting for manual intervention.
*/
public const EVENT_EXECUTION_STATE_SUSPENDED = 'SUSPENDED';
protected $collection_key = 'eventExecutionSnapshot';
/**
* If the execution is manually canceled, this field will contain the reason
* for cancellation.
*
* @var string
*/
public $cancelReason;
protected $eventAttemptStatsType = EnterpriseCrmEventbusProtoEventExecutionDetailsEventAttemptStats::class;
protected $eventAttemptStatsDataType = 'array';
protected $eventExecutionSnapshotType = EnterpriseCrmEventbusProtoEventExecutionSnapshot::class;
protected $eventExecutionSnapshotDataType = 'array';
/**
* Total size of all event_execution_snapshots for an execution
*
* @var string
*/
public $eventExecutionSnapshotsSize;
/**
* @var string
*/
public $eventExecutionState;
/**
* Indicates the number of times the execution has restarted from the
* beginning.
*
* @var int
*/
public $eventRetriesFromBeginningCount;
/**
* The log file path (aka. cns address) for this event.
*
* @var string
*/
public $logFilePath;
/**
* The network address (aka. bns address) that indicates where the event
* executor is running.
*
* @var string
*/
public $networkAddress;
/**
* Next scheduled execution time in case the execution status was
* RETRY_ON_HOLD.
*
* @var string
*/
public $nextExecutionTime;
/**
* Used internally and shouldn't be exposed to users. A counter for the cron
* job to record how many times this event is in in_process state but don't
* have a lock consecutively/
*
* @var int
*/
public $ryeLockUnheldCount;
/**
* If the execution is manually canceled, this field will contain the reason
* for cancellation.
*
* @param string $cancelReason
*/
public function setCancelReason($cancelReason)
{
$this->cancelReason = $cancelReason;
}
/**
* @return string
*/
public function getCancelReason()
{
return $this->cancelReason;
}
/**
* @param EnterpriseCrmEventbusProtoEventExecutionDetailsEventAttemptStats[] $eventAttemptStats
*/
public function setEventAttemptStats($eventAttemptStats)
{
$this->eventAttemptStats = $eventAttemptStats;
}
/**
* @return EnterpriseCrmEventbusProtoEventExecutionDetailsEventAttemptStats[]
*/
public function getEventAttemptStats()
{
return $this->eventAttemptStats;
}
/**
* @param EnterpriseCrmEventbusProtoEventExecutionSnapshot[] $eventExecutionSnapshot
*/
public function setEventExecutionSnapshot($eventExecutionSnapshot)
{
$this->eventExecutionSnapshot = $eventExecutionSnapshot;
}
/**
* @return EnterpriseCrmEventbusProtoEventExecutionSnapshot[]
*/
public function getEventExecutionSnapshot()
{
return $this->eventExecutionSnapshot;
}
/**
* Total size of all event_execution_snapshots for an execution
*
* @param string $eventExecutionSnapshotsSize
*/
public function setEventExecutionSnapshotsSize($eventExecutionSnapshotsSize)
{
$this->eventExecutionSnapshotsSize = $eventExecutionSnapshotsSize;
}
/**
* @return string
*/
public function getEventExecutionSnapshotsSize()
{
return $this->eventExecutionSnapshotsSize;
}
/**
* @param self::EVENT_EXECUTION_STATE_* $eventExecutionState
*/
public function setEventExecutionState($eventExecutionState)
{
$this->eventExecutionState = $eventExecutionState;
}
/**
* @return self::EVENT_EXECUTION_STATE_*
*/
public function getEventExecutionState()
{
return $this->eventExecutionState;
}
/**
* Indicates the number of times the execution has restarted from the
* beginning.
*
* @param int $eventRetriesFromBeginningCount
*/
public function setEventRetriesFromBeginningCount($eventRetriesFromBeginningCount)
{
$this->eventRetriesFromBeginningCount = $eventRetriesFromBeginningCount;
}
/**
* @return int
*/
public function getEventRetriesFromBeginningCount()
{
return $this->eventRetriesFromBeginningCount;
}
/**
* The log file path (aka. cns address) for this event.
*
* @param string $logFilePath
*/
public function setLogFilePath($logFilePath)
{
$this->logFilePath = $logFilePath;
}
/**
* @return string
*/
public function getLogFilePath()
{
return $this->logFilePath;
}
/**
* The network address (aka. bns address) that indicates where the event
* executor is running.
*
* @param string $networkAddress
*/
public function setNetworkAddress($networkAddress)
{
$this->networkAddress = $networkAddress;
}
/**
* @return string
*/
public function getNetworkAddress()
{
return $this->networkAddress;
}
/**
* Next scheduled execution time in case the execution status was
* RETRY_ON_HOLD.
*
* @param string $nextExecutionTime
*/
public function setNextExecutionTime($nextExecutionTime)
{
$this->nextExecutionTime = $nextExecutionTime;
}
/**
* @return string
*/
public function getNextExecutionTime()
{
return $this->nextExecutionTime;
}
/**
* Used internally and shouldn't be exposed to users. A counter for the cron
* job to record how many times this event is in in_process state but don't
* have a lock consecutively/
*
* @param int $ryeLockUnheldCount
*/
public function setRyeLockUnheldCount($ryeLockUnheldCount)
{
$this->ryeLockUnheldCount = $ryeLockUnheldCount;
}
/**
* @return int
*/
public function getRyeLockUnheldCount()
{
return $this->ryeLockUnheldCount;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoEventExecutionDetails::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoEventExecutionDetails');

View File

@@ -0,0 +1,72 @@
<?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\Integrations;
class EnterpriseCrmEventbusProtoEventExecutionDetailsEventAttemptStats extends \Google\Model
{
/**
* The end time of the event execution for current attempt.
*
* @var string
*/
public $endTime;
/**
* The start time of the event execution for current attempt. This could be in
* the future if it's been scheduled.
*
* @var string
*/
public $startTime;
/**
* The end time of the event execution for current attempt.
*
* @param string $endTime
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* The start time of the event execution for current attempt. This could be in
* the future if it's been scheduled.
*
* @param string $startTime
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoEventExecutionDetailsEventAttemptStats::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoEventExecutionDetailsEventAttemptStats');

View File

@@ -0,0 +1,296 @@
<?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\Integrations;
class EnterpriseCrmEventbusProtoEventExecutionSnapshot extends \Google\Collection
{
protected $collection_key = 'taskExecutionDetails';
/**
* Indicates "right after which checkpoint task's execution" this snapshot is
* taken.
*
* @var string
*/
public $checkpointTaskNumber;
/**
* Client that the execution snapshot is associated to.
*
* @var string
*/
public $clientId;
protected $conditionResultsType = EnterpriseCrmEventbusProtoConditionResult::class;
protected $conditionResultsDataType = 'array';
protected $diffParamsType = EnterpriseCrmEventbusProtoEventParameters::class;
protected $diffParamsDataType = '';
/**
* Points to the event execution info this snapshot belongs to.
*
* @var string
*/
public $eventExecutionInfoId;
/**
* Auto-generated. Used as primary key for EventExecutionSnapshots table.
*
* @var string
*/
public $eventExecutionSnapshotId;
protected $eventExecutionSnapshotMetadataType = EnterpriseCrmEventbusProtoEventExecutionSnapshotEventExecutionSnapshotMetadata::class;
protected $eventExecutionSnapshotMetadataDataType = '';
protected $eventParamsType = EnterpriseCrmEventbusProtoEventParameters::class;
protected $eventParamsDataType = '';
/**
* indicate whether snapshot exceeded maximum size before clean up
*
* @var bool
*/
public $exceedMaxSize;
/**
* Indicates when this snapshot is taken.
*
* @var string
*/
public $snapshotTime;
protected $taskExecutionDetailsType = EnterpriseCrmEventbusProtoTaskExecutionDetails::class;
protected $taskExecutionDetailsDataType = 'array';
/**
* The task name associated with this snapshot. Could be empty.
*
* @deprecated
* @var string
*/
public $taskName;
/**
* Name of the workflow this event execution snapshot belongs to.
*
* @var string
*/
public $workflowName;
/**
* Indicates "right after which checkpoint task's execution" this snapshot is
* taken.
*
* @param string $checkpointTaskNumber
*/
public function setCheckpointTaskNumber($checkpointTaskNumber)
{
$this->checkpointTaskNumber = $checkpointTaskNumber;
}
/**
* @return string
*/
public function getCheckpointTaskNumber()
{
return $this->checkpointTaskNumber;
}
/**
* Client that the execution snapshot is associated to.
*
* @param string $clientId
*/
public function setClientId($clientId)
{
$this->clientId = $clientId;
}
/**
* @return string
*/
public function getClientId()
{
return $this->clientId;
}
/**
* All of the computed conditions that been calculated.
*
* @param EnterpriseCrmEventbusProtoConditionResult[] $conditionResults
*/
public function setConditionResults($conditionResults)
{
$this->conditionResults = $conditionResults;
}
/**
* @return EnterpriseCrmEventbusProtoConditionResult[]
*/
public function getConditionResults()
{
return $this->conditionResults;
}
/**
* The parameters in Event object that differs from last snapshot.
*
* @param EnterpriseCrmEventbusProtoEventParameters $diffParams
*/
public function setDiffParams(EnterpriseCrmEventbusProtoEventParameters $diffParams)
{
$this->diffParams = $diffParams;
}
/**
* @return EnterpriseCrmEventbusProtoEventParameters
*/
public function getDiffParams()
{
return $this->diffParams;
}
/**
* Points to the event execution info this snapshot belongs to.
*
* @param string $eventExecutionInfoId
*/
public function setEventExecutionInfoId($eventExecutionInfoId)
{
$this->eventExecutionInfoId = $eventExecutionInfoId;
}
/**
* @return string
*/
public function getEventExecutionInfoId()
{
return $this->eventExecutionInfoId;
}
/**
* Auto-generated. Used as primary key for EventExecutionSnapshots table.
*
* @param string $eventExecutionSnapshotId
*/
public function setEventExecutionSnapshotId($eventExecutionSnapshotId)
{
$this->eventExecutionSnapshotId = $eventExecutionSnapshotId;
}
/**
* @return string
*/
public function getEventExecutionSnapshotId()
{
return $this->eventExecutionSnapshotId;
}
/**
* @param EnterpriseCrmEventbusProtoEventExecutionSnapshotEventExecutionSnapshotMetadata $eventExecutionSnapshotMetadata
*/
public function setEventExecutionSnapshotMetadata(EnterpriseCrmEventbusProtoEventExecutionSnapshotEventExecutionSnapshotMetadata $eventExecutionSnapshotMetadata)
{
$this->eventExecutionSnapshotMetadata = $eventExecutionSnapshotMetadata;
}
/**
* @return EnterpriseCrmEventbusProtoEventExecutionSnapshotEventExecutionSnapshotMetadata
*/
public function getEventExecutionSnapshotMetadata()
{
return $this->eventExecutionSnapshotMetadata;
}
/**
* The parameters in Event object.
*
* @param EnterpriseCrmEventbusProtoEventParameters $eventParams
*/
public function setEventParams(EnterpriseCrmEventbusProtoEventParameters $eventParams)
{
$this->eventParams = $eventParams;
}
/**
* @return EnterpriseCrmEventbusProtoEventParameters
*/
public function getEventParams()
{
return $this->eventParams;
}
/**
* indicate whether snapshot exceeded maximum size before clean up
*
* @param bool $exceedMaxSize
*/
public function setExceedMaxSize($exceedMaxSize)
{
$this->exceedMaxSize = $exceedMaxSize;
}
/**
* @return bool
*/
public function getExceedMaxSize()
{
return $this->exceedMaxSize;
}
/**
* Indicates when this snapshot is taken.
*
* @param string $snapshotTime
*/
public function setSnapshotTime($snapshotTime)
{
$this->snapshotTime = $snapshotTime;
}
/**
* @return string
*/
public function getSnapshotTime()
{
return $this->snapshotTime;
}
/**
* All of the task execution details at the given point of time.
*
* @param EnterpriseCrmEventbusProtoTaskExecutionDetails[] $taskExecutionDetails
*/
public function setTaskExecutionDetails($taskExecutionDetails)
{
$this->taskExecutionDetails = $taskExecutionDetails;
}
/**
* @return EnterpriseCrmEventbusProtoTaskExecutionDetails[]
*/
public function getTaskExecutionDetails()
{
return $this->taskExecutionDetails;
}
/**
* The task name associated with this snapshot. Could be empty.
*
* @deprecated
* @param string $taskName
*/
public function setTaskName($taskName)
{
$this->taskName = $taskName;
}
/**
* @deprecated
* @return string
*/
public function getTaskName()
{
return $this->taskName;
}
/**
* Name of the workflow this event execution snapshot belongs to.
*
* @param string $workflowName
*/
public function setWorkflowName($workflowName)
{
$this->workflowName = $workflowName;
}
/**
* @return string
*/
public function getWorkflowName()
{
return $this->workflowName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoEventExecutionSnapshot::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoEventExecutionSnapshot');

View File

@@ -0,0 +1,207 @@
<?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\Integrations;
class EnterpriseCrmEventbusProtoEventExecutionSnapshotEventExecutionSnapshotMetadata extends \Google\Collection
{
protected $collection_key = 'ancestorTaskNumbers';
/**
* Ancestor iteration number for the task(it will only be non-empty if the
* task is under 'private workflow')
*
* @var string[]
*/
public $ancestorIterationNumbers;
/**
* Ancestor task number for the task(it will only be non-empty if the task is
* under 'private workflow')
*
* @var string[]
*/
public $ancestorTaskNumbers;
/**
* the event attempt number this snapshot belongs to.
*
* @var int
*/
public $eventAttemptNum;
/**
* The direct integration which the event execution snapshots belongs to
*
* @var string
*/
public $integrationName;
/**
* the task attempt number this snapshot belongs to. Could be empty.
*
* @var int
*/
public $taskAttemptNum;
/**
* the task label associated with this snapshot. Could be empty.
*
* @var string
*/
public $taskLabel;
/**
* the task name associated with this snapshot. Could be empty.
*
* @var string
*/
public $taskName;
/**
* The task number associated with this snapshot. Could be empty.
*
* @var string
*/
public $taskNumber;
/**
* Ancestor iteration number for the task(it will only be non-empty if the
* task is under 'private workflow')
*
* @param string[] $ancestorIterationNumbers
*/
public function setAncestorIterationNumbers($ancestorIterationNumbers)
{
$this->ancestorIterationNumbers = $ancestorIterationNumbers;
}
/**
* @return string[]
*/
public function getAncestorIterationNumbers()
{
return $this->ancestorIterationNumbers;
}
/**
* Ancestor task number for the task(it will only be non-empty if the task is
* under 'private workflow')
*
* @param string[] $ancestorTaskNumbers
*/
public function setAncestorTaskNumbers($ancestorTaskNumbers)
{
$this->ancestorTaskNumbers = $ancestorTaskNumbers;
}
/**
* @return string[]
*/
public function getAncestorTaskNumbers()
{
return $this->ancestorTaskNumbers;
}
/**
* the event attempt number this snapshot belongs to.
*
* @param int $eventAttemptNum
*/
public function setEventAttemptNum($eventAttemptNum)
{
$this->eventAttemptNum = $eventAttemptNum;
}
/**
* @return int
*/
public function getEventAttemptNum()
{
return $this->eventAttemptNum;
}
/**
* The direct integration which the event execution snapshots belongs to
*
* @param string $integrationName
*/
public function setIntegrationName($integrationName)
{
$this->integrationName = $integrationName;
}
/**
* @return string
*/
public function getIntegrationName()
{
return $this->integrationName;
}
/**
* the task attempt number this snapshot belongs to. Could be empty.
*
* @param int $taskAttemptNum
*/
public function setTaskAttemptNum($taskAttemptNum)
{
$this->taskAttemptNum = $taskAttemptNum;
}
/**
* @return int
*/
public function getTaskAttemptNum()
{
return $this->taskAttemptNum;
}
/**
* the task label associated with this snapshot. Could be empty.
*
* @param string $taskLabel
*/
public function setTaskLabel($taskLabel)
{
$this->taskLabel = $taskLabel;
}
/**
* @return string
*/
public function getTaskLabel()
{
return $this->taskLabel;
}
/**
* the task name associated with this snapshot. Could be empty.
*
* @param string $taskName
*/
public function setTaskName($taskName)
{
$this->taskName = $taskName;
}
/**
* @return string
*/
public function getTaskName()
{
return $this->taskName;
}
/**
* The task number associated with this snapshot. Could be empty.
*
* @param string $taskNumber
*/
public function setTaskNumber($taskNumber)
{
$this->taskNumber = $taskNumber;
}
/**
* @return string
*/
public function getTaskNumber()
{
return $this->taskNumber;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoEventExecutionSnapshotEventExecutionSnapshotMetadata::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoEventExecutionSnapshotEventExecutionSnapshotMetadata');

View File

@@ -0,0 +1,46 @@
<?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\Integrations;
class EnterpriseCrmEventbusProtoEventParameters extends \Google\Collection
{
protected $collection_key = 'parameters';
protected $parametersType = EnterpriseCrmEventbusProtoParameterEntry::class;
protected $parametersDataType = 'array';
/**
* Parameters are a part of Event and can be used to communicate between
* different tasks that are part of the same integration execution.
*
* @param EnterpriseCrmEventbusProtoParameterEntry[] $parameters
*/
public function setParameters($parameters)
{
$this->parameters = $parameters;
}
/**
* @return EnterpriseCrmEventbusProtoParameterEntry[]
*/
public function getParameters()
{
return $this->parameters;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoEventParameters::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoEventParameters');

View File

@@ -0,0 +1,72 @@
<?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\Integrations;
class EnterpriseCrmEventbusProtoExecutionTraceInfo extends \Google\Model
{
/**
* Parent event execution info id that triggers the current execution through
* SubWorkflowExecutorTask.
*
* @var string
*/
public $parentEventExecutionInfoId;
/**
* Used to aggregate ExecutionTraceInfo.
*
* @var string
*/
public $traceId;
/**
* Parent event execution info id that triggers the current execution through
* SubWorkflowExecutorTask.
*
* @param string $parentEventExecutionInfoId
*/
public function setParentEventExecutionInfoId($parentEventExecutionInfoId)
{
$this->parentEventExecutionInfoId = $parentEventExecutionInfoId;
}
/**
* @return string
*/
public function getParentEventExecutionInfoId()
{
return $this->parentEventExecutionInfoId;
}
/**
* Used to aggregate ExecutionTraceInfo.
*
* @param string $traceId
*/
public function setTraceId($traceId)
{
$this->traceId = $traceId;
}
/**
* @return string
*/
public function getTraceId()
{
return $this->traceId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoExecutionTraceInfo::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoExecutionTraceInfo');

View File

@@ -0,0 +1,159 @@
<?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\Integrations;
class EnterpriseCrmEventbusProtoExternalTraffic extends \Google\Model
{
public const SOURCE_SOURCE_UNSPECIFIED = 'SOURCE_UNSPECIFIED';
public const SOURCE_APIGEE = 'APIGEE';
public const SOURCE_SECURITY = 'SECURITY';
/**
* Indicates the client enables internal IP feature, this is applicable for
* internal clients only.
*
* @var bool
*/
public $enableInternalIp;
/**
* Users GCP project id the traffic is referring to.
*
* @var string
*/
public $gcpProjectId;
/**
* Users GCP project number the traffic is referring to.
*
* @var string
*/
public $gcpProjectNumber;
/**
* Location for the user's request.
*
* @var string
*/
public $location;
/**
* Enqueue the execution request due to quota issue
*
* @var bool
*/
public $retryRequestForQuota;
/**
* @var string
*/
public $source;
/**
* Indicates the client enables internal IP feature, this is applicable for
* internal clients only.
*
* @param bool $enableInternalIp
*/
public function setEnableInternalIp($enableInternalIp)
{
$this->enableInternalIp = $enableInternalIp;
}
/**
* @return bool
*/
public function getEnableInternalIp()
{
return $this->enableInternalIp;
}
/**
* Users GCP project id the traffic is referring to.
*
* @param string $gcpProjectId
*/
public function setGcpProjectId($gcpProjectId)
{
$this->gcpProjectId = $gcpProjectId;
}
/**
* @return string
*/
public function getGcpProjectId()
{
return $this->gcpProjectId;
}
/**
* Users GCP project number the traffic is referring to.
*
* @param string $gcpProjectNumber
*/
public function setGcpProjectNumber($gcpProjectNumber)
{
$this->gcpProjectNumber = $gcpProjectNumber;
}
/**
* @return string
*/
public function getGcpProjectNumber()
{
return $this->gcpProjectNumber;
}
/**
* Location for the user's request.
*
* @param string $location
*/
public function setLocation($location)
{
$this->location = $location;
}
/**
* @return string
*/
public function getLocation()
{
return $this->location;
}
/**
* Enqueue the execution request due to quota issue
*
* @param bool $retryRequestForQuota
*/
public function setRetryRequestForQuota($retryRequestForQuota)
{
$this->retryRequestForQuota = $retryRequestForQuota;
}
/**
* @return bool
*/
public function getRetryRequestForQuota()
{
return $this->retryRequestForQuota;
}
/**
* @param self::SOURCE_* $source
*/
public function setSource($source)
{
$this->source = $source;
}
/**
* @return self::SOURCE_*
*/
public function getSource()
{
return $this->source;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoExternalTraffic::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoExternalTraffic');

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\Integrations;
class EnterpriseCrmEventbusProtoFailurePolicy extends \Google\Model
{
public const RETRY_STRATEGY_UNSPECIFIED = 'UNSPECIFIED';
/**
* Ignores the failure of this task. The rest of the workflow will be executed
* Assuming this task succeeded.
*/
public const RETRY_STRATEGY_IGNORE = 'IGNORE';
/**
* Causes a permanent failure of the task. However, if the last task(s) of
* event was successfully completed despite the failure of this task, it has
* no impact on the workflow.
*/
public const RETRY_STRATEGY_NONE = 'NONE';
/**
* Causes a permanent failure of the event. It is different from NONE because
* this will mark the event as FAILED by shutting down the event execution.
*/
public const RETRY_STRATEGY_FATAL = 'FATAL';
/**
* The task will be retried from the failed task onwards after a fixed delay.
* A max-retry count is required to be specified with this strategy. A jitter
* is added to each exponential interval so that concurrently failing tasks of
* the same type do not end up retrying after the exact same exponential
* interval. Max_num_retries and interval_in_seconds must be specified.
*/
public const RETRY_STRATEGY_FIXED_INTERVAL = 'FIXED_INTERVAL';
/**
* The task will be retried from the failed task onwards after a fixed delay
* that linearly increases with each retry attempt. A jitter is added to each
* exponential interval so that concurrently failing tasks of the same type do
* not end up retrying after the exact same exponential interval. A max-retry
* count is required to be specified with this strategy. Max_num_retries and
* interval_in_seconds must be specified.
*/
public const RETRY_STRATEGY_LINEAR_BACKOFF = 'LINEAR_BACKOFF';
/**
* The task will be retried after an exponentially increasing period of time
* with each failure. A jitter is added to each exponential interval so that
* concurrently failing tasks of the same type do not end up retrying after
* the exact same exponential interval. A max-retry count is required to be
* specified with this strategy. `max_num_retries` and `interval_in_seconds`
* must be specified.
*/
public const RETRY_STRATEGY_EXPONENTIAL_BACKOFF = 'EXPONENTIAL_BACKOFF';
/**
* The entire workflow will be restarted with the initial parameters that were
* set when the event was fired. A max-retry count is required to be specified
* with this strategy. `max_num_retries` and `interval_in_seconds` must be
* specified.
*/
public const RETRY_STRATEGY_RESTART_WORKFLOW_WITH_BACKOFF = 'RESTART_WORKFLOW_WITH_BACKOFF';
/**
* Required if retry_strategy is FIXED_INTERVAL or
* LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the
* initial interval for backoff.
*
* @var string
*/
public $intervalInSeconds;
/**
* Required if retry_strategy is FIXED_INTERVAL or
* LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the
* number of times the task will be retried if failed.
*
* @var int
*/
public $maxNumRetries;
/**
* Optional. The retry condition that will be evaluated for this failure
* policy with the corresponding retry strategy.
*
* @var string
*/
public $retryCondition;
/**
* Defines what happens to the task upon failure.
*
* @var string
*/
public $retryStrategy;
/**
* Required if retry_strategy is FIXED_INTERVAL or
* LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the
* initial interval for backoff.
*
* @param string $intervalInSeconds
*/
public function setIntervalInSeconds($intervalInSeconds)
{
$this->intervalInSeconds = $intervalInSeconds;
}
/**
* @return string
*/
public function getIntervalInSeconds()
{
return $this->intervalInSeconds;
}
/**
* Required if retry_strategy is FIXED_INTERVAL or
* LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the
* number of times the task will be retried if failed.
*
* @param int $maxNumRetries
*/
public function setMaxNumRetries($maxNumRetries)
{
$this->maxNumRetries = $maxNumRetries;
}
/**
* @return int
*/
public function getMaxNumRetries()
{
return $this->maxNumRetries;
}
/**
* Optional. The retry condition that will be evaluated for this failure
* policy with the corresponding retry strategy.
*
* @param string $retryCondition
*/
public function setRetryCondition($retryCondition)
{
$this->retryCondition = $retryCondition;
}
/**
* @return string
*/
public function getRetryCondition()
{
return $this->retryCondition;
}
/**
* Defines what happens to the task upon failure.
*
* Accepted values: UNSPECIFIED, IGNORE, NONE, FATAL, FIXED_INTERVAL,
* LINEAR_BACKOFF, EXPONENTIAL_BACKOFF, RESTART_WORKFLOW_WITH_BACKOFF
*
* @param self::RETRY_STRATEGY_* $retryStrategy
*/
public function setRetryStrategy($retryStrategy)
{
$this->retryStrategy = $retryStrategy;
}
/**
* @return self::RETRY_STRATEGY_*
*/
public function getRetryStrategy()
{
return $this->retryStrategy;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoFailurePolicy::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoFailurePolicy');

View File

@@ -0,0 +1,216 @@
<?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\Integrations;
class EnterpriseCrmEventbusProtoField extends \Google\Model
{
/**
* For fields with unspecified cardinality.
*/
public const CARDINALITY_UNSPECIFIED = 'UNSPECIFIED';
/**
* If field cardinality is set to optional, ignore errors if input field value
* is null or the reference_key is not found.
*/
public const CARDINALITY_OPTIONAL = 'OPTIONAL';
public const FIELD_TYPE_DATA_TYPE_UNSPECIFIED = 'DATA_TYPE_UNSPECIFIED';
public const FIELD_TYPE_STRING_VALUE = 'STRING_VALUE';
public const FIELD_TYPE_INT_VALUE = 'INT_VALUE';
public const FIELD_TYPE_DOUBLE_VALUE = 'DOUBLE_VALUE';
public const FIELD_TYPE_BOOLEAN_VALUE = 'BOOLEAN_VALUE';
public const FIELD_TYPE_PROTO_VALUE = 'PROTO_VALUE';
public const FIELD_TYPE_SERIALIZED_OBJECT_VALUE = 'SERIALIZED_OBJECT_VALUE';
public const FIELD_TYPE_STRING_ARRAY = 'STRING_ARRAY';
public const FIELD_TYPE_INT_ARRAY = 'INT_ARRAY';
public const FIELD_TYPE_DOUBLE_ARRAY = 'DOUBLE_ARRAY';
public const FIELD_TYPE_PROTO_ARRAY = 'PROTO_ARRAY';
public const FIELD_TYPE_PROTO_ENUM = 'PROTO_ENUM';
public const FIELD_TYPE_BOOLEAN_ARRAY = 'BOOLEAN_ARRAY';
public const FIELD_TYPE_PROTO_ENUM_ARRAY = 'PROTO_ENUM_ARRAY';
/**
* BYTES and BYTES_ARRAY data types are not allowed for top-level params.
* They're only meant to support protobufs with BYTES (sub)fields.
*/
public const FIELD_TYPE_BYTES = 'BYTES';
public const FIELD_TYPE_BYTES_ARRAY = 'BYTES_ARRAY';
public const FIELD_TYPE_NON_SERIALIZABLE_OBJECT = 'NON_SERIALIZABLE_OBJECT';
public const FIELD_TYPE_JSON_VALUE = 'JSON_VALUE';
/**
* By default, if the cardinality is unspecified the field is considered
* required while mapping.
*
* @var string
*/
public $cardinality;
protected $defaultValueType = EnterpriseCrmEventbusProtoParameterValueType::class;
protected $defaultValueDataType = '';
/**
* Specifies the data type of the field.
*
* @var string
*/
public $fieldType;
/**
* Optional. The fully qualified proto name (e.g.
* enterprise.crm.storage.Account). Required for output field of type
* PROTO_VALUE or PROTO_ARRAY. For e.g., if input field_type is BYTES and
* output field_type is PROTO_VALUE, then fully qualified proto type url
* should be provided to parse the input bytes. If field_type is *_ARRAY, then
* all the converted protos are of the same type.
*
* @var string
*/
public $protoDefPath;
/**
* This holds the reference key of the workflow or task parameter. 1. Any
* workflow parameter, for e.g. $workflowParam1$. 2. Any task input or output
* parameter, for e.g. $task1_param1$. 3. Any workflow or task parameters with
* subfield references, for e.g., $task1_param1.employee.id$
*
* @var string
*/
public $referenceKey;
protected $transformExpressionType = EnterpriseCrmEventbusProtoTransformExpression::class;
protected $transformExpressionDataType = '';
/**
* By default, if the cardinality is unspecified the field is considered
* required while mapping.
*
* Accepted values: UNSPECIFIED, OPTIONAL
*
* @param self::CARDINALITY_* $cardinality
*/
public function setCardinality($cardinality)
{
$this->cardinality = $cardinality;
}
/**
* @return self::CARDINALITY_*
*/
public function getCardinality()
{
return $this->cardinality;
}
/**
* This holds the default values for the fields. This value is supplied by
* user so may or may not contain PII or SPII data.
*
* @param EnterpriseCrmEventbusProtoParameterValueType $defaultValue
*/
public function setDefaultValue(EnterpriseCrmEventbusProtoParameterValueType $defaultValue)
{
$this->defaultValue = $defaultValue;
}
/**
* @return EnterpriseCrmEventbusProtoParameterValueType
*/
public function getDefaultValue()
{
return $this->defaultValue;
}
/**
* Specifies the data type of the field.
*
* Accepted values: DATA_TYPE_UNSPECIFIED, STRING_VALUE, INT_VALUE,
* DOUBLE_VALUE, BOOLEAN_VALUE, PROTO_VALUE, SERIALIZED_OBJECT_VALUE,
* STRING_ARRAY, INT_ARRAY, DOUBLE_ARRAY, PROTO_ARRAY, PROTO_ENUM,
* BOOLEAN_ARRAY, PROTO_ENUM_ARRAY, BYTES, BYTES_ARRAY,
* NON_SERIALIZABLE_OBJECT, JSON_VALUE
*
* @param self::FIELD_TYPE_* $fieldType
*/
public function setFieldType($fieldType)
{
$this->fieldType = $fieldType;
}
/**
* @return self::FIELD_TYPE_*
*/
public function getFieldType()
{
return $this->fieldType;
}
/**
* Optional. The fully qualified proto name (e.g.
* enterprise.crm.storage.Account). Required for output field of type
* PROTO_VALUE or PROTO_ARRAY. For e.g., if input field_type is BYTES and
* output field_type is PROTO_VALUE, then fully qualified proto type url
* should be provided to parse the input bytes. If field_type is *_ARRAY, then
* all the converted protos are of the same type.
*
* @param string $protoDefPath
*/
public function setProtoDefPath($protoDefPath)
{
$this->protoDefPath = $protoDefPath;
}
/**
* @return string
*/
public function getProtoDefPath()
{
return $this->protoDefPath;
}
/**
* This holds the reference key of the workflow or task parameter. 1. Any
* workflow parameter, for e.g. $workflowParam1$. 2. Any task input or output
* parameter, for e.g. $task1_param1$. 3. Any workflow or task parameters with
* subfield references, for e.g., $task1_param1.employee.id$
*
* @param string $referenceKey
*/
public function setReferenceKey($referenceKey)
{
$this->referenceKey = $referenceKey;
}
/**
* @return string
*/
public function getReferenceKey()
{
return $this->referenceKey;
}
/**
* This is the transform expression to fetch the input field value. for e.g.
* $param1$.CONCAT('test'). Keep points - 1. Only input field can have a
* transform expression. 2. If a transform expression is provided,
* reference_key will be ignored. 3. If no value is returned after evaluation
* of transform expression, default_value can be mapped if provided. 4. The
* field_type should be the type of the final object returned after the
* transform expression is evaluated. Scrubs the transform expression before
* logging as value provided by user so may or may not contain PII or SPII
* data.
*
* @param EnterpriseCrmEventbusProtoTransformExpression $transformExpression
*/
public function setTransformExpression(EnterpriseCrmEventbusProtoTransformExpression $transformExpression)
{
$this->transformExpression = $transformExpression;
}
/**
* @return EnterpriseCrmEventbusProtoTransformExpression
*/
public function getTransformExpression()
{
return $this->transformExpression;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoField::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoField');

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\Integrations;
class EnterpriseCrmEventbusProtoFieldMappingConfig extends \Google\Collection
{
protected $collection_key = 'mappedFields';
protected $mappedFieldsType = EnterpriseCrmEventbusProtoMappedField::class;
protected $mappedFieldsDataType = 'array';
/**
* @param EnterpriseCrmEventbusProtoMappedField[] $mappedFields
*/
public function setMappedFields($mappedFields)
{
$this->mappedFields = $mappedFields;
}
/**
* @return EnterpriseCrmEventbusProtoMappedField[]
*/
public function getMappedFields()
{
return $this->mappedFields;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoFieldMappingConfig::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoFieldMappingConfig');

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\Integrations;
class EnterpriseCrmEventbusProtoFunction extends \Google\Collection
{
protected $collection_key = 'parameters';
protected $functionTypeType = EnterpriseCrmEventbusProtoFunctionType::class;
protected $functionTypeDataType = '';
protected $parametersType = EnterpriseCrmEventbusProtoTransformExpression::class;
protected $parametersDataType = 'array';
/**
* The name of the function to perform.
*
* @param EnterpriseCrmEventbusProtoFunctionType $functionType
*/
public function setFunctionType(EnterpriseCrmEventbusProtoFunctionType $functionType)
{
$this->functionType = $functionType;
}
/**
* @return EnterpriseCrmEventbusProtoFunctionType
*/
public function getFunctionType()
{
return $this->functionType;
}
/**
* List of parameters required for the transformation.
*
* @param EnterpriseCrmEventbusProtoTransformExpression[] $parameters
*/
public function setParameters($parameters)
{
$this->parameters = $parameters;
}
/**
* @return EnterpriseCrmEventbusProtoTransformExpression[]
*/
public function getParameters()
{
return $this->parameters;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoFunction::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoFunction');

View File

@@ -0,0 +1,220 @@
<?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\Integrations;
class EnterpriseCrmEventbusProtoFunctionType extends \Google\Model
{
protected $baseFunctionType = EnterpriseCrmEventbusProtoBaseFunction::class;
protected $baseFunctionDataType = '';
protected $booleanArrayFunctionType = EnterpriseCrmEventbusProtoBooleanArrayFunction::class;
protected $booleanArrayFunctionDataType = '';
protected $booleanFunctionType = EnterpriseCrmEventbusProtoBooleanFunction::class;
protected $booleanFunctionDataType = '';
protected $doubleArrayFunctionType = EnterpriseCrmEventbusProtoDoubleArrayFunction::class;
protected $doubleArrayFunctionDataType = '';
protected $doubleFunctionType = EnterpriseCrmEventbusProtoDoubleFunction::class;
protected $doubleFunctionDataType = '';
protected $intArrayFunctionType = EnterpriseCrmEventbusProtoIntArrayFunction::class;
protected $intArrayFunctionDataType = '';
protected $intFunctionType = EnterpriseCrmEventbusProtoIntFunction::class;
protected $intFunctionDataType = '';
protected $jsonFunctionType = EnterpriseCrmEventbusProtoJsonFunction::class;
protected $jsonFunctionDataType = '';
protected $protoArrayFunctionType = EnterpriseCrmEventbusProtoProtoArrayFunction::class;
protected $protoArrayFunctionDataType = '';
protected $protoFunctionType = EnterpriseCrmEventbusProtoProtoFunction::class;
protected $protoFunctionDataType = '';
protected $stringArrayFunctionType = EnterpriseCrmEventbusProtoStringArrayFunction::class;
protected $stringArrayFunctionDataType = '';
protected $stringFunctionType = EnterpriseCrmEventbusProtoStringFunction::class;
protected $stringFunctionDataType = '';
/**
* LINT.IfChange
*
* @param EnterpriseCrmEventbusProtoBaseFunction $baseFunction
*/
public function setBaseFunction(EnterpriseCrmEventbusProtoBaseFunction $baseFunction)
{
$this->baseFunction = $baseFunction;
}
/**
* @return EnterpriseCrmEventbusProtoBaseFunction
*/
public function getBaseFunction()
{
return $this->baseFunction;
}
/**
* @param EnterpriseCrmEventbusProtoBooleanArrayFunction $booleanArrayFunction
*/
public function setBooleanArrayFunction(EnterpriseCrmEventbusProtoBooleanArrayFunction $booleanArrayFunction)
{
$this->booleanArrayFunction = $booleanArrayFunction;
}
/**
* @return EnterpriseCrmEventbusProtoBooleanArrayFunction
*/
public function getBooleanArrayFunction()
{
return $this->booleanArrayFunction;
}
/**
* @param EnterpriseCrmEventbusProtoBooleanFunction $booleanFunction
*/
public function setBooleanFunction(EnterpriseCrmEventbusProtoBooleanFunction $booleanFunction)
{
$this->booleanFunction = $booleanFunction;
}
/**
* @return EnterpriseCrmEventbusProtoBooleanFunction
*/
public function getBooleanFunction()
{
return $this->booleanFunction;
}
/**
* @param EnterpriseCrmEventbusProtoDoubleArrayFunction $doubleArrayFunction
*/
public function setDoubleArrayFunction(EnterpriseCrmEventbusProtoDoubleArrayFunction $doubleArrayFunction)
{
$this->doubleArrayFunction = $doubleArrayFunction;
}
/**
* @return EnterpriseCrmEventbusProtoDoubleArrayFunction
*/
public function getDoubleArrayFunction()
{
return $this->doubleArrayFunction;
}
/**
* @param EnterpriseCrmEventbusProtoDoubleFunction $doubleFunction
*/
public function setDoubleFunction(EnterpriseCrmEventbusProtoDoubleFunction $doubleFunction)
{
$this->doubleFunction = $doubleFunction;
}
/**
* @return EnterpriseCrmEventbusProtoDoubleFunction
*/
public function getDoubleFunction()
{
return $this->doubleFunction;
}
/**
* @param EnterpriseCrmEventbusProtoIntArrayFunction $intArrayFunction
*/
public function setIntArrayFunction(EnterpriseCrmEventbusProtoIntArrayFunction $intArrayFunction)
{
$this->intArrayFunction = $intArrayFunction;
}
/**
* @return EnterpriseCrmEventbusProtoIntArrayFunction
*/
public function getIntArrayFunction()
{
return $this->intArrayFunction;
}
/**
* @param EnterpriseCrmEventbusProtoIntFunction $intFunction
*/
public function setIntFunction(EnterpriseCrmEventbusProtoIntFunction $intFunction)
{
$this->intFunction = $intFunction;
}
/**
* @return EnterpriseCrmEventbusProtoIntFunction
*/
public function getIntFunction()
{
return $this->intFunction;
}
/**
* @param EnterpriseCrmEventbusProtoJsonFunction $jsonFunction
*/
public function setJsonFunction(EnterpriseCrmEventbusProtoJsonFunction $jsonFunction)
{
$this->jsonFunction = $jsonFunction;
}
/**
* @return EnterpriseCrmEventbusProtoJsonFunction
*/
public function getJsonFunction()
{
return $this->jsonFunction;
}
/**
* @param EnterpriseCrmEventbusProtoProtoArrayFunction $protoArrayFunction
*/
public function setProtoArrayFunction(EnterpriseCrmEventbusProtoProtoArrayFunction $protoArrayFunction)
{
$this->protoArrayFunction = $protoArrayFunction;
}
/**
* @return EnterpriseCrmEventbusProtoProtoArrayFunction
*/
public function getProtoArrayFunction()
{
return $this->protoArrayFunction;
}
/**
* @param EnterpriseCrmEventbusProtoProtoFunction $protoFunction
*/
public function setProtoFunction(EnterpriseCrmEventbusProtoProtoFunction $protoFunction)
{
$this->protoFunction = $protoFunction;
}
/**
* @return EnterpriseCrmEventbusProtoProtoFunction
*/
public function getProtoFunction()
{
return $this->protoFunction;
}
/**
* @param EnterpriseCrmEventbusProtoStringArrayFunction $stringArrayFunction
*/
public function setStringArrayFunction(EnterpriseCrmEventbusProtoStringArrayFunction $stringArrayFunction)
{
$this->stringArrayFunction = $stringArrayFunction;
}
/**
* @return EnterpriseCrmEventbusProtoStringArrayFunction
*/
public function getStringArrayFunction()
{
return $this->stringArrayFunction;
}
/**
* @param EnterpriseCrmEventbusProtoStringFunction $stringFunction
*/
public function setStringFunction(EnterpriseCrmEventbusProtoStringFunction $stringFunction)
{
$this->stringFunction = $stringFunction;
}
/**
* @return EnterpriseCrmEventbusProtoStringFunction
*/
public function getStringFunction()
{
return $this->stringFunction;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoFunctionType::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoFunctionType');

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

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\Integrations;
class EnterpriseCrmEventbusProtoIntArrayFunction extends \Google\Model
{
public const FUNCTION_NAME_UNSPECIFIED = 'UNSPECIFIED';
public const FUNCTION_NAME_GET = 'GET';
public const FUNCTION_NAME_APPEND = 'APPEND';
public const FUNCTION_NAME_SIZE = 'SIZE';
public const FUNCTION_NAME_SUM = 'SUM';
public const FUNCTION_NAME_AVG = 'AVG';
public const FUNCTION_NAME_MAX = 'MAX';
public const FUNCTION_NAME_MIN = 'MIN';
public const FUNCTION_NAME_TO_SET = 'TO_SET';
public const FUNCTION_NAME_APPEND_ALL = 'APPEND_ALL';
public const FUNCTION_NAME_TO_JSON = 'TO_JSON';
public const FUNCTION_NAME_SET = 'SET';
public const FUNCTION_NAME_REMOVE = 'REMOVE';
public const FUNCTION_NAME_REMOVE_AT = 'REMOVE_AT';
public const FUNCTION_NAME_CONTAINS = 'CONTAINS';
public const FUNCTION_NAME_FOR_EACH = 'FOR_EACH';
public const FUNCTION_NAME_FILTER = 'FILTER';
/**
* @var string
*/
public $functionName;
/**
* @param self::FUNCTION_NAME_* $functionName
*/
public function setFunctionName($functionName)
{
$this->functionName = $functionName;
}
/**
* @return self::FUNCTION_NAME_*
*/
public function getFunctionName()
{
return $this->functionName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoIntArrayFunction::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoIntArrayFunction');

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\Integrations;
class EnterpriseCrmEventbusProtoIntFunction extends \Google\Model
{
public const FUNCTION_NAME_UNSPECIFIED = 'UNSPECIFIED';
public const FUNCTION_NAME_ADD = 'ADD';
public const FUNCTION_NAME_SUBTRACT = 'SUBTRACT';
public const FUNCTION_NAME_MULTIPLY = 'MULTIPLY';
public const FUNCTION_NAME_DIVIDE = 'DIVIDE';
public const FUNCTION_NAME_EXPONENT = 'EXPONENT';
public const FUNCTION_NAME_GREATER_THAN_EQUAL_TO = 'GREATER_THAN_EQUAL_TO';
public const FUNCTION_NAME_GREATER_THAN = 'GREATER_THAN';
public const FUNCTION_NAME_LESS_THAN_EQUAL_TO = 'LESS_THAN_EQUAL_TO';
public const FUNCTION_NAME_LESS_THAN = 'LESS_THAN';
public const FUNCTION_NAME_TO_DOUBLE = 'TO_DOUBLE';
public const FUNCTION_NAME_TO_STRING = 'TO_STRING';
public const FUNCTION_NAME_EQUALS = 'EQUALS';
public const FUNCTION_NAME_TO_JSON = 'TO_JSON';
public const FUNCTION_NAME_MOD = 'MOD';
public const FUNCTION_NAME_EPOCH_TO_HUMAN_READABLE_TIME = 'EPOCH_TO_HUMAN_READABLE_TIME';
/**
* @var string
*/
public $functionName;
/**
* @param self::FUNCTION_NAME_* $functionName
*/
public function setFunctionName($functionName)
{
$this->functionName = $functionName;
}
/**
* @return self::FUNCTION_NAME_*
*/
public function getFunctionName()
{
return $this->functionName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoIntFunction::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoIntFunction');

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

View File

@@ -0,0 +1,68 @@
<?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\Integrations;
class EnterpriseCrmEventbusProtoJsonFunction extends \Google\Model
{
public const FUNCTION_NAME_UNSPECIFIED = 'UNSPECIFIED';
public const FUNCTION_NAME_GET_PROPERTY = 'GET_PROPERTY';
public const FUNCTION_NAME_GET_ELEMENT = 'GET_ELEMENT';
public const FUNCTION_NAME_APPEND_ELEMENT = 'APPEND_ELEMENT';
public const FUNCTION_NAME_SIZE = 'SIZE';
public const FUNCTION_NAME_SET_PROPERTY = 'SET_PROPERTY';
public const FUNCTION_NAME_FLATTEN = 'FLATTEN';
public const FUNCTION_NAME_FLATTEN_ONCE = 'FLATTEN_ONCE';
public const FUNCTION_NAME_MERGE = 'MERGE';
public const FUNCTION_NAME_TO_STRING = 'TO_STRING';
public const FUNCTION_NAME_TO_INT = 'TO_INT';
public const FUNCTION_NAME_TO_DOUBLE = 'TO_DOUBLE';
public const FUNCTION_NAME_TO_BOOLEAN = 'TO_BOOLEAN';
public const FUNCTION_NAME_TO_PROTO = 'TO_PROTO';
public const FUNCTION_NAME_TO_STRING_ARRAY = 'TO_STRING_ARRAY';
public const FUNCTION_NAME_TO_INT_ARRAY = 'TO_INT_ARRAY';
public const FUNCTION_NAME_TO_DOUBLE_ARRAY = 'TO_DOUBLE_ARRAY';
public const FUNCTION_NAME_TO_PROTO_ARRAY = 'TO_PROTO_ARRAY';
public const FUNCTION_NAME_TO_BOOLEAN_ARRAY = 'TO_BOOLEAN_ARRAY';
public const FUNCTION_NAME_REMOVE_PROPERTY = 'REMOVE_PROPERTY';
public const FUNCTION_NAME_RESOLVE_TEMPLATE = 'RESOLVE_TEMPLATE';
public const FUNCTION_NAME_EQUALS = 'EQUALS';
public const FUNCTION_NAME_FOR_EACH = 'FOR_EACH';
public const FUNCTION_NAME_FILTER_ELEMENTS = 'FILTER_ELEMENTS';
/**
* @var string
*/
public $functionName;
/**
* @param self::FUNCTION_NAME_* $functionName
*/
public function setFunctionName($functionName)
{
$this->functionName = $functionName;
}
/**
* @return self::FUNCTION_NAME_*
*/
public function getFunctionName()
{
return $this->functionName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoJsonFunction::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoJsonFunction');

View File

@@ -0,0 +1,113 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Integrations;
class EnterpriseCrmEventbusProtoLogSettings extends \Google\Model
{
public const SEED_PERIOD_SEED_PERIOD_UNSPECIFIED = 'SEED_PERIOD_UNSPECIFIED';
/**
* Sanitized values remain constant for the day of the event.
*/
public const SEED_PERIOD_DAY = 'DAY';
/**
* Sanitized values remain constant for the week of the event; may cross month
* boundaries.
*/
public const SEED_PERIOD_WEEK = 'WEEK';
/**
* Sanitized values remain constant for the month of the event.
*/
public const SEED_PERIOD_MONTH = 'MONTH';
public const SEED_SCOPE_SEED_SCOPE_UNSPECIFIED = 'SEED_SCOPE_UNSPECIFIED';
/**
* Hash computations include the event name.
*/
public const SEED_SCOPE_EVENT_NAME = 'EVENT_NAME';
/**
* Hash computations include a time period.
*/
public const SEED_SCOPE_TIME_PERIOD = 'TIME_PERIOD';
/**
* Hash computations include the param name.
*/
public const SEED_SCOPE_PARAM_NAME = 'PARAM_NAME';
/**
* The name of corresponding logging field of the event property. If omitted,
* assumes the same name as the event property key.
*
* @var string
*/
public $logFieldName;
/**
* @var string
*/
public $seedPeriod;
/**
* @var string
*/
public $seedScope;
/**
* The name of corresponding logging field of the event property. If omitted,
* assumes the same name as the event property key.
*
* @param string $logFieldName
*/
public function setLogFieldName($logFieldName)
{
$this->logFieldName = $logFieldName;
}
/**
* @return string
*/
public function getLogFieldName()
{
return $this->logFieldName;
}
/**
* @param self::SEED_PERIOD_* $seedPeriod
*/
public function setSeedPeriod($seedPeriod)
{
$this->seedPeriod = $seedPeriod;
}
/**
* @return self::SEED_PERIOD_*
*/
public function getSeedPeriod()
{
return $this->seedPeriod;
}
/**
* @param self::SEED_SCOPE_* $seedScope
*/
public function setSeedScope($seedScope)
{
$this->seedScope = $seedScope;
}
/**
* @return self::SEED_SCOPE_*
*/
public function getSeedScope()
{
return $this->seedScope;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoLogSettings::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoLogSettings');

View File

@@ -0,0 +1,158 @@
<?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\Integrations;
class EnterpriseCrmEventbusProtoLoopMetadata extends \Google\Model
{
/**
* No error or Unknown.
*/
public const FAILURE_LOCATION_UNKNOWN = 'UNKNOWN';
/**
* Subworkflow failed while firing/running.
*/
public const FAILURE_LOCATION_SUBWORKFLOW = 'SUBWORKFLOW';
/**
* Param overrides failed.
*/
public const FAILURE_LOCATION_PARAM_OVERRIDING = 'PARAM_OVERRIDING';
/**
* Param aggregation failed.
*/
public const FAILURE_LOCATION_PARAM_AGGREGATING = 'PARAM_AGGREGATING';
/**
* Setting for loop current element failed.
*/
public const FAILURE_LOCATION_SETTING_ITERATION_ELEMENT = 'SETTING_ITERATION_ELEMENT';
/**
* Getting the list to iterate.
*/
public const FAILURE_LOCATION_GETTING_LIST_TO_ITERATE = 'GETTING_LIST_TO_ITERATE';
/**
* Evaluating the while loop condition.
*/
public const FAILURE_LOCATION_CONDITION_EVALUATION = 'CONDITION_EVALUATION';
/**
* Building the iteration request
*/
public const FAILURE_LOCATION_BUILDING_REQUEST = 'BUILDING_REQUEST';
/**
* Starting from 1, not 0.
*
* @var string
*/
public $currentIterationCount;
/**
* Needs to be set by the loop impl class before each iteration. The abstract
* loop class will append the request and response to it. Eg. The foreach Loop
* will clean up and set it as the current iteration element at the start of
* each loop. The post request and response will be appended to the value once
* they are available.
*
* @var string
*/
public $currentIterationDetail;
/**
* Add the error message when loops fail.
*
* @var string
*/
public $errorMsg;
/**
* Indicates where in the loop logic did it error out.
*
* @var string
*/
public $failureLocation;
/**
* Starting from 1, not 0.
*
* @param string $currentIterationCount
*/
public function setCurrentIterationCount($currentIterationCount)
{
$this->currentIterationCount = $currentIterationCount;
}
/**
* @return string
*/
public function getCurrentIterationCount()
{
return $this->currentIterationCount;
}
/**
* Needs to be set by the loop impl class before each iteration. The abstract
* loop class will append the request and response to it. Eg. The foreach Loop
* will clean up and set it as the current iteration element at the start of
* each loop. The post request and response will be appended to the value once
* they are available.
*
* @param string $currentIterationDetail
*/
public function setCurrentIterationDetail($currentIterationDetail)
{
$this->currentIterationDetail = $currentIterationDetail;
}
/**
* @return string
*/
public function getCurrentIterationDetail()
{
return $this->currentIterationDetail;
}
/**
* Add the error message when loops fail.
*
* @param string $errorMsg
*/
public function setErrorMsg($errorMsg)
{
$this->errorMsg = $errorMsg;
}
/**
* @return string
*/
public function getErrorMsg()
{
return $this->errorMsg;
}
/**
* Indicates where in the loop logic did it error out.
*
* Accepted values: UNKNOWN, SUBWORKFLOW, PARAM_OVERRIDING, PARAM_AGGREGATING,
* SETTING_ITERATION_ELEMENT, GETTING_LIST_TO_ITERATE, CONDITION_EVALUATION,
* BUILDING_REQUEST
*
* @param self::FAILURE_LOCATION_* $failureLocation
*/
public function setFailureLocation($failureLocation)
{
$this->failureLocation = $failureLocation;
}
/**
* @return self::FAILURE_LOCATION_*
*/
public function getFailureLocation()
{
return $this->failureLocation;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoLoopMetadata::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoLoopMetadata');

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\Integrations;
class EnterpriseCrmEventbusProtoMappedField extends \Google\Model
{
protected $inputFieldType = EnterpriseCrmEventbusProtoField::class;
protected $inputFieldDataType = '';
protected $outputFieldType = EnterpriseCrmEventbusProtoField::class;
protected $outputFieldDataType = '';
/**
* The input field being mapped from.
*
* @param EnterpriseCrmEventbusProtoField $inputField
*/
public function setInputField(EnterpriseCrmEventbusProtoField $inputField)
{
$this->inputField = $inputField;
}
/**
* @return EnterpriseCrmEventbusProtoField
*/
public function getInputField()
{
return $this->inputField;
}
/**
* The output field being mapped to.
*
* @param EnterpriseCrmEventbusProtoField $outputField
*/
public function setOutputField(EnterpriseCrmEventbusProtoField $outputField)
{
$this->outputField = $outputField;
}
/**
* @return EnterpriseCrmEventbusProtoField
*/
public function getOutputField()
{
return $this->outputField;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoMappedField::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoMappedField');

View File

@@ -0,0 +1,161 @@
<?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\Integrations;
class EnterpriseCrmEventbusProtoNextTask extends \Google\Collection
{
protected $collection_key = 'combinedConditions';
protected $combinedConditionsType = EnterpriseCrmEventbusProtoCombinedCondition::class;
protected $combinedConditionsDataType = 'array';
/**
* Standard filter expression for this task to become an eligible next task.
*
* @var string
*/
public $condition;
/**
* User-provided description intended to give more business context about the
* next task edge or condition.
*
* @var string
*/
public $description;
/**
* User-provided label that is attached to this edge in the UI.
*
* @var string
*/
public $label;
/**
* ID of the next task.
*
* @var string
*/
public $taskConfigId;
/**
* Task number of the next task.
*
* @var string
*/
public $taskNumber;
/**
* Combined condition for this task to become an eligible next task. Each of
* these combined_conditions are joined with logical OR. DEPRECATED: use
* `condition`
*
* @deprecated
* @param EnterpriseCrmEventbusProtoCombinedCondition[] $combinedConditions
*/
public function setCombinedConditions($combinedConditions)
{
$this->combinedConditions = $combinedConditions;
}
/**
* @deprecated
* @return EnterpriseCrmEventbusProtoCombinedCondition[]
*/
public function getCombinedConditions()
{
return $this->combinedConditions;
}
/**
* Standard filter expression for this task to become an eligible next task.
*
* @param string $condition
*/
public function setCondition($condition)
{
$this->condition = $condition;
}
/**
* @return string
*/
public function getCondition()
{
return $this->condition;
}
/**
* User-provided description intended to give more business context about the
* next task edge or condition.
*
* @param string $description
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* User-provided label that is attached to this edge in the UI.
*
* @param string $label
*/
public function setLabel($label)
{
$this->label = $label;
}
/**
* @return string
*/
public function getLabel()
{
return $this->label;
}
/**
* ID of the next task.
*
* @param string $taskConfigId
*/
public function setTaskConfigId($taskConfigId)
{
$this->taskConfigId = $taskConfigId;
}
/**
* @return string
*/
public function getTaskConfigId()
{
return $this->taskConfigId;
}
/**
* Task number of the next task.
*
* @param string $taskNumber
*/
public function setTaskNumber($taskNumber)
{
$this->taskNumber = $taskNumber;
}
/**
* @return string
*/
public function getTaskNumber()
{
return $this->taskNumber;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoNextTask::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoNextTask');

View File

@@ -0,0 +1,48 @@
<?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\Integrations;
class EnterpriseCrmEventbusProtoNextTeardownTask extends \Google\Model
{
/**
* Required. Name of the next teardown task.
*
* @var string
*/
public $name;
/**
* Required. Name of the next teardown task.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoNextTeardownTask::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoNextTeardownTask');

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\Integrations;
class EnterpriseCrmEventbusProtoNodeIdentifier extends \Google\Model
{
public const ELEMENT_TYPE_UNKNOWN_TYPE = 'UNKNOWN_TYPE';
public const ELEMENT_TYPE_TASK_CONFIG = 'TASK_CONFIG';
public const ELEMENT_TYPE_TRIGGER_CONFIG = 'TRIGGER_CONFIG';
/**
* Configuration of the edge.
*
* @var string
*/
public $elementIdentifier;
/**
* Destination node where the edge ends. It can only be a task config.
*
* @var string
*/
public $elementType;
/**
* Configuration of the edge.
*
* @param string $elementIdentifier
*/
public function setElementIdentifier($elementIdentifier)
{
$this->elementIdentifier = $elementIdentifier;
}
/**
* @return string
*/
public function getElementIdentifier()
{
return $this->elementIdentifier;
}
/**
* Destination node where the edge ends. It can only be a task config.
*
* Accepted values: UNKNOWN_TYPE, TASK_CONFIG, TRIGGER_CONFIG
*
* @param self::ELEMENT_TYPE_* $elementType
*/
public function setElementType($elementType)
{
$this->elementType = $elementType;
}
/**
* @return self::ELEMENT_TYPE_*
*/
public function getElementType()
{
return $this->elementType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoNodeIdentifier::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoNodeIdentifier');

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\Integrations;
class EnterpriseCrmEventbusProtoNotification extends \Google\Model
{
protected $buganizerNotificationType = EnterpriseCrmEventbusProtoBuganizerNotification::class;
protected $buganizerNotificationDataType = '';
protected $emailAddressType = EnterpriseCrmEventbusProtoAddress::class;
protected $emailAddressDataType = '';
/**
* @var string
*/
public $escalatorQueue;
/**
* @var string
*/
public $pubsubTopic;
protected $requestType = EnterpriseCrmEventbusProtoCustomSuspensionRequest::class;
protected $requestDataType = '';
/**
* @param EnterpriseCrmEventbusProtoBuganizerNotification $buganizerNotification
*/
public function setBuganizerNotification(EnterpriseCrmEventbusProtoBuganizerNotification $buganizerNotification)
{
$this->buganizerNotification = $buganizerNotification;
}
/**
* @return EnterpriseCrmEventbusProtoBuganizerNotification
*/
public function getBuganizerNotification()
{
return $this->buganizerNotification;
}
/**
* @param EnterpriseCrmEventbusProtoAddress $emailAddress
*/
public function setEmailAddress(EnterpriseCrmEventbusProtoAddress $emailAddress)
{
$this->emailAddress = $emailAddress;
}
/**
* @return EnterpriseCrmEventbusProtoAddress
*/
public function getEmailAddress()
{
return $this->emailAddress;
}
/**
* @param string $escalatorQueue
*/
public function setEscalatorQueue($escalatorQueue)
{
$this->escalatorQueue = $escalatorQueue;
}
/**
* @return string
*/
public function getEscalatorQueue()
{
return $this->escalatorQueue;
}
/**
* @param string $pubsubTopic
*/
public function setPubsubTopic($pubsubTopic)
{
$this->pubsubTopic = $pubsubTopic;
}
/**
* @return string
*/
public function getPubsubTopic()
{
return $this->pubsubTopic;
}
/**
* If the out-of-the-box email/pubsub notifications are not suitable and
* custom logic is required, fire a workflow containing all info needed to
* notify users to resume execution.
*
* @param EnterpriseCrmEventbusProtoCustomSuspensionRequest $request
*/
public function setRequest(EnterpriseCrmEventbusProtoCustomSuspensionRequest $request)
{
$this->request = $request;
}
/**
* @return EnterpriseCrmEventbusProtoCustomSuspensionRequest
*/
public function getRequest()
{
return $this->request;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoNotification::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoNotification');

View File

@@ -0,0 +1,261 @@
<?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\Integrations;
class EnterpriseCrmEventbusProtoParamSpecEntryConfig extends \Google\Model
{
/**
* A single-line input for strings, a numeric input box for numbers, or a
* checkbox for booleans.
*/
public const INPUT_DISPLAY_OPTION_DEFAULT = 'DEFAULT';
/**
* A multi-line input box for longer strings/string templates.
*/
public const INPUT_DISPLAY_OPTION_STRING_MULTI_LINE = 'STRING_MULTI_LINE';
/**
* A slider to select a numerical value. The default range is [0, 100].
*/
public const INPUT_DISPLAY_OPTION_NUMBER_SLIDER = 'NUMBER_SLIDER';
/**
* A toggle button for boolean parameters.
*/
public const INPUT_DISPLAY_OPTION_BOOLEAN_TOGGLE = 'BOOLEAN_TOGGLE';
/**
* This field is not a parameter name.
*/
public const PARAMETER_NAME_OPTION_DEFAULT_NOT_PARAMETER_NAME = 'DEFAULT_NOT_PARAMETER_NAME';
/**
* If this field is a string and this option is selected, the field will be
* interpreted as a parameter name. Users will be able to choose a variable
* using the autocomplete, but the name will be stored as a literal string.
*/
public const PARAMETER_NAME_OPTION_IS_PARAMETER_NAME = 'IS_PARAMETER_NAME';
/**
* If this field is a ParameterMap and this option is selected, the map's keys
* will be interpreted as parameter names. Ignored if this field is not a
* ParameterMap.
*/
public const PARAMETER_NAME_OPTION_KEY_IS_PARAMETER_NAME = 'KEY_IS_PARAMETER_NAME';
/**
* If this field is a ParameterMap and this option is selected, the map's
* values will be interpreted as parameter names. Ignored if this field is not
* a ParameterMap.
*/
public const PARAMETER_NAME_OPTION_VALUE_IS_PARAMETER_NAME = 'VALUE_IS_PARAMETER_NAME';
/**
* A short phrase to describe what this parameter contains.
*
* @var string
*/
public $descriptivePhrase;
/**
* Detailed help text for this parameter containing information not provided
* elsewhere. For example, instructions on how to migrate from a deprecated
* parameter.
*
* @var string
*/
public $helpText;
/**
* Whether the default value is hidden in the UI.
*
* @var bool
*/
public $hideDefaultValue;
/**
* @var string
*/
public $inputDisplayOption;
/**
* Whether this field is hidden in the UI.
*
* @var bool
*/
public $isHidden;
/**
* A user-friendly label for the parameter.
*
* @var string
*/
public $label;
/**
* @var string
*/
public $parameterNameOption;
/**
* A user-friendly label for subSection under which the parameter will be
* displayed.
*
* @var string
*/
public $subSectionLabel;
/**
* Placeholder text which will appear in the UI input form for this parameter.
*
* @var string
*/
public $uiPlaceholderText;
/**
* A short phrase to describe what this parameter contains.
*
* @param string $descriptivePhrase
*/
public function setDescriptivePhrase($descriptivePhrase)
{
$this->descriptivePhrase = $descriptivePhrase;
}
/**
* @return string
*/
public function getDescriptivePhrase()
{
return $this->descriptivePhrase;
}
/**
* Detailed help text for this parameter containing information not provided
* elsewhere. For example, instructions on how to migrate from a deprecated
* parameter.
*
* @param string $helpText
*/
public function setHelpText($helpText)
{
$this->helpText = $helpText;
}
/**
* @return string
*/
public function getHelpText()
{
return $this->helpText;
}
/**
* Whether the default value is hidden in the UI.
*
* @param bool $hideDefaultValue
*/
public function setHideDefaultValue($hideDefaultValue)
{
$this->hideDefaultValue = $hideDefaultValue;
}
/**
* @return bool
*/
public function getHideDefaultValue()
{
return $this->hideDefaultValue;
}
/**
* @param self::INPUT_DISPLAY_OPTION_* $inputDisplayOption
*/
public function setInputDisplayOption($inputDisplayOption)
{
$this->inputDisplayOption = $inputDisplayOption;
}
/**
* @return self::INPUT_DISPLAY_OPTION_*
*/
public function getInputDisplayOption()
{
return $this->inputDisplayOption;
}
/**
* Whether this field is hidden in the UI.
*
* @param bool $isHidden
*/
public function setIsHidden($isHidden)
{
$this->isHidden = $isHidden;
}
/**
* @return bool
*/
public function getIsHidden()
{
return $this->isHidden;
}
/**
* A user-friendly label for the parameter.
*
* @param string $label
*/
public function setLabel($label)
{
$this->label = $label;
}
/**
* @return string
*/
public function getLabel()
{
return $this->label;
}
/**
* @param self::PARAMETER_NAME_OPTION_* $parameterNameOption
*/
public function setParameterNameOption($parameterNameOption)
{
$this->parameterNameOption = $parameterNameOption;
}
/**
* @return self::PARAMETER_NAME_OPTION_*
*/
public function getParameterNameOption()
{
return $this->parameterNameOption;
}
/**
* A user-friendly label for subSection under which the parameter will be
* displayed.
*
* @param string $subSectionLabel
*/
public function setSubSectionLabel($subSectionLabel)
{
$this->subSectionLabel = $subSectionLabel;
}
/**
* @return string
*/
public function getSubSectionLabel()
{
return $this->subSectionLabel;
}
/**
* Placeholder text which will appear in the UI input form for this parameter.
*
* @param string $uiPlaceholderText
*/
public function setUiPlaceholderText($uiPlaceholderText)
{
$this->uiPlaceholderText = $uiPlaceholderText;
}
/**
* @return string
*/
public function getUiPlaceholderText()
{
return $this->uiPlaceholderText;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoParamSpecEntryConfig::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoParamSpecEntryConfig');

View File

@@ -0,0 +1,72 @@
<?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\Integrations;
class EnterpriseCrmEventbusProtoParamSpecEntryProtoDefinition extends \Google\Model
{
/**
* The fully-qualified proto name. This message, for example, would be
* "enterprise.crm.eventbus.proto.ParamSpecEntry.ProtoDefinition".
*
* @var string
*/
public $fullName;
/**
* Path to the proto file that contains the message type's definition.
*
* @var string
*/
public $path;
/**
* The fully-qualified proto name. This message, for example, would be
* "enterprise.crm.eventbus.proto.ParamSpecEntry.ProtoDefinition".
*
* @param string $fullName
*/
public function setFullName($fullName)
{
$this->fullName = $fullName;
}
/**
* @return string
*/
public function getFullName()
{
return $this->fullName;
}
/**
* Path to the proto file that contains the message type's definition.
*
* @param string $path
*/
public function setPath($path)
{
$this->path = $path;
}
/**
* @return string
*/
public function getPath()
{
return $this->path;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoParamSpecEntryProtoDefinition::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoParamSpecEntryProtoDefinition');

View File

@@ -0,0 +1,74 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Integrations;
class EnterpriseCrmEventbusProtoParamSpecEntryValidationRule extends \Google\Model
{
protected $doubleRangeType = EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRange::class;
protected $doubleRangeDataType = '';
protected $intRangeType = EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleIntRange::class;
protected $intRangeDataType = '';
protected $stringRegexType = EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegex::class;
protected $stringRegexDataType = '';
/**
* @param EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRange $doubleRange
*/
public function setDoubleRange(EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRange $doubleRange)
{
$this->doubleRange = $doubleRange;
}
/**
* @return EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRange
*/
public function getDoubleRange()
{
return $this->doubleRange;
}
/**
* @param EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleIntRange $intRange
*/
public function setIntRange(EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleIntRange $intRange)
{
$this->intRange = $intRange;
}
/**
* @return EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleIntRange
*/
public function getIntRange()
{
return $this->intRange;
}
/**
* @param EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegex $stringRegex
*/
public function setStringRegex(EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegex $stringRegex)
{
$this->stringRegex = $stringRegex;
}
/**
* @return EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegex
*/
public function getStringRegex()
{
return $this->stringRegex;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoParamSpecEntryValidationRule::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoParamSpecEntryValidationRule');

View File

@@ -0,0 +1,54 @@
<?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\Integrations;
class EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRange extends \Google\Model
{
/**
* The inclusive maximum of the acceptable range.
*
* @var
*/
public $max;
/**
* The inclusive minimum of the acceptable range.
*
* @var
*/
public $min;
public function setMax($max)
{
$this->max = $max;
}
public function getMax()
{
return $this->max;
}
public function setMin($min)
{
$this->min = $min;
}
public function getMin()
{
return $this->min;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRange::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRange');

View File

@@ -0,0 +1,70 @@
<?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\Integrations;
class EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleIntRange extends \Google\Model
{
/**
* The inclusive maximum of the acceptable range.
*
* @var string
*/
public $max;
/**
* The inclusive minimum of the acceptable range.
*
* @var string
*/
public $min;
/**
* The inclusive maximum of the acceptable range.
*
* @param string $max
*/
public function setMax($max)
{
$this->max = $max;
}
/**
* @return string
*/
public function getMax()
{
return $this->max;
}
/**
* The inclusive minimum of the acceptable range.
*
* @param string $min
*/
public function setMin($min)
{
$this->min = $min;
}
/**
* @return string
*/
public function getMin()
{
return $this->min;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleIntRange::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleIntRange');

View File

@@ -0,0 +1,72 @@
<?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\Integrations;
class EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegex extends \Google\Model
{
/**
* Whether the regex matcher is applied exclusively (if true, matching values
* will be rejected).
*
* @var bool
*/
public $exclusive;
/**
* The regex applied to the input value(s).
*
* @var string
*/
public $regex;
/**
* Whether the regex matcher is applied exclusively (if true, matching values
* will be rejected).
*
* @param bool $exclusive
*/
public function setExclusive($exclusive)
{
$this->exclusive = $exclusive;
}
/**
* @return bool
*/
public function getExclusive()
{
return $this->exclusive;
}
/**
* The regex applied to the input value(s).
*
* @param string $regex
*/
public function setRegex($regex)
{
$this->regex = $regex;
}
/**
* @return string
*/
public function getRegex()
{
return $this->regex;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegex::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegex');

View File

@@ -0,0 +1,93 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Integrations;
class EnterpriseCrmEventbusProtoParameterEntry extends \Google\Model
{
/**
* Key is used to retrieve the corresponding parameter value. This should be
* unique for a given fired event. These parameters must be predefined in the
* integration definition.
*
* @var string
*/
public $key;
/**
* True if this parameter should be masked in the logs
*
* @var bool
*/
public $masked;
protected $valueType = EnterpriseCrmEventbusProtoParameterValueType::class;
protected $valueDataType = '';
/**
* Key is used to retrieve the corresponding parameter value. This should be
* unique for a given fired event. These parameters must be predefined in the
* integration definition.
*
* @param string $key
*/
public function setKey($key)
{
$this->key = $key;
}
/**
* @return string
*/
public function getKey()
{
return $this->key;
}
/**
* True if this parameter should be masked in the logs
*
* @param bool $masked
*/
public function setMasked($masked)
{
$this->masked = $masked;
}
/**
* @return bool
*/
public function getMasked()
{
return $this->masked;
}
/**
* Values for the defined keys. Each value can either be string, int, double
* or any proto message.
*
* @param EnterpriseCrmEventbusProtoParameterValueType $value
*/
public function setValue(EnterpriseCrmEventbusProtoParameterValueType $value)
{
$this->value = $value;
}
/**
* @return EnterpriseCrmEventbusProtoParameterValueType
*/
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoParameterEntry::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoParameterEntry');

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\Integrations;
class EnterpriseCrmEventbusProtoParameterMap extends \Google\Collection
{
public const KEY_TYPE_DATA_TYPE_UNSPECIFIED = 'DATA_TYPE_UNSPECIFIED';
public const KEY_TYPE_STRING_VALUE = 'STRING_VALUE';
public const KEY_TYPE_INT_VALUE = 'INT_VALUE';
public const KEY_TYPE_DOUBLE_VALUE = 'DOUBLE_VALUE';
public const KEY_TYPE_BOOLEAN_VALUE = 'BOOLEAN_VALUE';
public const KEY_TYPE_PROTO_VALUE = 'PROTO_VALUE';
public const KEY_TYPE_SERIALIZED_OBJECT_VALUE = 'SERIALIZED_OBJECT_VALUE';
public const KEY_TYPE_STRING_ARRAY = 'STRING_ARRAY';
public const KEY_TYPE_INT_ARRAY = 'INT_ARRAY';
public const KEY_TYPE_DOUBLE_ARRAY = 'DOUBLE_ARRAY';
public const KEY_TYPE_PROTO_ARRAY = 'PROTO_ARRAY';
public const KEY_TYPE_PROTO_ENUM = 'PROTO_ENUM';
public const KEY_TYPE_BOOLEAN_ARRAY = 'BOOLEAN_ARRAY';
public const KEY_TYPE_PROTO_ENUM_ARRAY = 'PROTO_ENUM_ARRAY';
/**
* BYTES and BYTES_ARRAY data types are not allowed for top-level params.
* They're only meant to support protobufs with BYTES (sub)fields.
*/
public const KEY_TYPE_BYTES = 'BYTES';
public const KEY_TYPE_BYTES_ARRAY = 'BYTES_ARRAY';
public const KEY_TYPE_NON_SERIALIZABLE_OBJECT = 'NON_SERIALIZABLE_OBJECT';
public const KEY_TYPE_JSON_VALUE = 'JSON_VALUE';
public const VALUE_TYPE_DATA_TYPE_UNSPECIFIED = 'DATA_TYPE_UNSPECIFIED';
public const VALUE_TYPE_STRING_VALUE = 'STRING_VALUE';
public const VALUE_TYPE_INT_VALUE = 'INT_VALUE';
public const VALUE_TYPE_DOUBLE_VALUE = 'DOUBLE_VALUE';
public const VALUE_TYPE_BOOLEAN_VALUE = 'BOOLEAN_VALUE';
public const VALUE_TYPE_PROTO_VALUE = 'PROTO_VALUE';
public const VALUE_TYPE_SERIALIZED_OBJECT_VALUE = 'SERIALIZED_OBJECT_VALUE';
public const VALUE_TYPE_STRING_ARRAY = 'STRING_ARRAY';
public const VALUE_TYPE_INT_ARRAY = 'INT_ARRAY';
public const VALUE_TYPE_DOUBLE_ARRAY = 'DOUBLE_ARRAY';
public const VALUE_TYPE_PROTO_ARRAY = 'PROTO_ARRAY';
public const VALUE_TYPE_PROTO_ENUM = 'PROTO_ENUM';
public const VALUE_TYPE_BOOLEAN_ARRAY = 'BOOLEAN_ARRAY';
public const VALUE_TYPE_PROTO_ENUM_ARRAY = 'PROTO_ENUM_ARRAY';
/**
* BYTES and BYTES_ARRAY data types are not allowed for top-level params.
* They're only meant to support protobufs with BYTES (sub)fields.
*/
public const VALUE_TYPE_BYTES = 'BYTES';
public const VALUE_TYPE_BYTES_ARRAY = 'BYTES_ARRAY';
public const VALUE_TYPE_NON_SERIALIZABLE_OBJECT = 'NON_SERIALIZABLE_OBJECT';
public const VALUE_TYPE_JSON_VALUE = 'JSON_VALUE';
protected $collection_key = 'entries';
protected $entriesType = EnterpriseCrmEventbusProtoParameterMapEntry::class;
protected $entriesDataType = 'array';
/**
* Option to specify key value type for all entries of the map. If provided
* then field types for all entries must conform to this.
*
* @var string
*/
public $keyType;
/**
* @var string
*/
public $valueType;
/**
* @param EnterpriseCrmEventbusProtoParameterMapEntry[] $entries
*/
public function setEntries($entries)
{
$this->entries = $entries;
}
/**
* @return EnterpriseCrmEventbusProtoParameterMapEntry[]
*/
public function getEntries()
{
return $this->entries;
}
/**
* Option to specify key value type for all entries of the map. If provided
* then field types for all entries must conform to this.
*
* Accepted values: DATA_TYPE_UNSPECIFIED, STRING_VALUE, INT_VALUE,
* DOUBLE_VALUE, BOOLEAN_VALUE, PROTO_VALUE, SERIALIZED_OBJECT_VALUE,
* STRING_ARRAY, INT_ARRAY, DOUBLE_ARRAY, PROTO_ARRAY, PROTO_ENUM,
* BOOLEAN_ARRAY, PROTO_ENUM_ARRAY, BYTES, BYTES_ARRAY,
* NON_SERIALIZABLE_OBJECT, JSON_VALUE
*
* @param self::KEY_TYPE_* $keyType
*/
public function setKeyType($keyType)
{
$this->keyType = $keyType;
}
/**
* @return self::KEY_TYPE_*
*/
public function getKeyType()
{
return $this->keyType;
}
/**
* @param self::VALUE_TYPE_* $valueType
*/
public function setValueType($valueType)
{
$this->valueType = $valueType;
}
/**
* @return self::VALUE_TYPE_*
*/
public function getValueType()
{
return $this->valueType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoParameterMap::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoParameterMap');

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\Integrations;
class EnterpriseCrmEventbusProtoParameterMapEntry extends \Google\Model
{
protected $keyType = EnterpriseCrmEventbusProtoParameterMapField::class;
protected $keyDataType = '';
protected $valueType = EnterpriseCrmEventbusProtoParameterMapField::class;
protected $valueDataType = '';
/**
* @param EnterpriseCrmEventbusProtoParameterMapField $key
*/
public function setKey(EnterpriseCrmEventbusProtoParameterMapField $key)
{
$this->key = $key;
}
/**
* @return EnterpriseCrmEventbusProtoParameterMapField
*/
public function getKey()
{
return $this->key;
}
/**
* @param EnterpriseCrmEventbusProtoParameterMapField $value
*/
public function setValue(EnterpriseCrmEventbusProtoParameterMapField $value)
{
$this->value = $value;
}
/**
* @return EnterpriseCrmEventbusProtoParameterMapField
*/
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoParameterMapEntry::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoParameterMapEntry');

View File

@@ -0,0 +1,66 @@
<?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\Integrations;
class EnterpriseCrmEventbusProtoParameterMapField extends \Google\Model
{
protected $literalValueType = EnterpriseCrmEventbusProtoParameterValueType::class;
protected $literalValueDataType = '';
/**
* Referencing one of the WF variables.
*
* @var string
*/
public $referenceKey;
/**
* Passing a literal value.
*
* @param EnterpriseCrmEventbusProtoParameterValueType $literalValue
*/
public function setLiteralValue(EnterpriseCrmEventbusProtoParameterValueType $literalValue)
{
$this->literalValue = $literalValue;
}
/**
* @return EnterpriseCrmEventbusProtoParameterValueType
*/
public function getLiteralValue()
{
return $this->literalValue;
}
/**
* Referencing one of the WF variables.
*
* @param string $referenceKey
*/
public function setReferenceKey($referenceKey)
{
$this->referenceKey = $referenceKey;
}
/**
* @return string
*/
public function getReferenceKey()
{
return $this->referenceKey;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoParameterMapField::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoParameterMapField');

View File

@@ -0,0 +1,203 @@
<?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\Integrations;
class EnterpriseCrmEventbusProtoParameterValueType extends \Google\Model
{
protected $booleanArrayType = EnterpriseCrmEventbusProtoBooleanParameterArray::class;
protected $booleanArrayDataType = '';
/**
* @var bool
*/
public $booleanValue;
protected $doubleArrayType = EnterpriseCrmEventbusProtoDoubleParameterArray::class;
protected $doubleArrayDataType = '';
public $doubleValue;
protected $intArrayType = EnterpriseCrmEventbusProtoIntParameterArray::class;
protected $intArrayDataType = '';
/**
* @var string
*/
public $intValue;
protected $protoArrayType = EnterpriseCrmEventbusProtoProtoParameterArray::class;
protected $protoArrayDataType = '';
/**
* @var array[]
*/
public $protoValue;
protected $serializedObjectValueType = EnterpriseCrmEventbusProtoSerializedObjectParameter::class;
protected $serializedObjectValueDataType = '';
protected $stringArrayType = EnterpriseCrmEventbusProtoStringParameterArray::class;
protected $stringArrayDataType = '';
/**
* @var string
*/
public $stringValue;
/**
* @param EnterpriseCrmEventbusProtoBooleanParameterArray $booleanArray
*/
public function setBooleanArray(EnterpriseCrmEventbusProtoBooleanParameterArray $booleanArray)
{
$this->booleanArray = $booleanArray;
}
/**
* @return EnterpriseCrmEventbusProtoBooleanParameterArray
*/
public function getBooleanArray()
{
return $this->booleanArray;
}
/**
* @param bool $booleanValue
*/
public function setBooleanValue($booleanValue)
{
$this->booleanValue = $booleanValue;
}
/**
* @return bool
*/
public function getBooleanValue()
{
return $this->booleanValue;
}
/**
* @param EnterpriseCrmEventbusProtoDoubleParameterArray $doubleArray
*/
public function setDoubleArray(EnterpriseCrmEventbusProtoDoubleParameterArray $doubleArray)
{
$this->doubleArray = $doubleArray;
}
/**
* @return EnterpriseCrmEventbusProtoDoubleParameterArray
*/
public function getDoubleArray()
{
return $this->doubleArray;
}
public function setDoubleValue($doubleValue)
{
$this->doubleValue = $doubleValue;
}
public function getDoubleValue()
{
return $this->doubleValue;
}
/**
* @param EnterpriseCrmEventbusProtoIntParameterArray $intArray
*/
public function setIntArray(EnterpriseCrmEventbusProtoIntParameterArray $intArray)
{
$this->intArray = $intArray;
}
/**
* @return EnterpriseCrmEventbusProtoIntParameterArray
*/
public function getIntArray()
{
return $this->intArray;
}
/**
* @param string $intValue
*/
public function setIntValue($intValue)
{
$this->intValue = $intValue;
}
/**
* @return string
*/
public function getIntValue()
{
return $this->intValue;
}
/**
* @param EnterpriseCrmEventbusProtoProtoParameterArray $protoArray
*/
public function setProtoArray(EnterpriseCrmEventbusProtoProtoParameterArray $protoArray)
{
$this->protoArray = $protoArray;
}
/**
* @return EnterpriseCrmEventbusProtoProtoParameterArray
*/
public function getProtoArray()
{
return $this->protoArray;
}
/**
* @param array[] $protoValue
*/
public function setProtoValue($protoValue)
{
$this->protoValue = $protoValue;
}
/**
* @return array[]
*/
public function getProtoValue()
{
return $this->protoValue;
}
/**
* @param EnterpriseCrmEventbusProtoSerializedObjectParameter $serializedObjectValue
*/
public function setSerializedObjectValue(EnterpriseCrmEventbusProtoSerializedObjectParameter $serializedObjectValue)
{
$this->serializedObjectValue = $serializedObjectValue;
}
/**
* @return EnterpriseCrmEventbusProtoSerializedObjectParameter
*/
public function getSerializedObjectValue()
{
return $this->serializedObjectValue;
}
/**
* @param EnterpriseCrmEventbusProtoStringParameterArray $stringArray
*/
public function setStringArray(EnterpriseCrmEventbusProtoStringParameterArray $stringArray)
{
$this->stringArray = $stringArray;
}
/**
* @return EnterpriseCrmEventbusProtoStringParameterArray
*/
public function getStringArray()
{
return $this->stringArray;
}
/**
* @param string $stringValue
*/
public function setStringValue($stringValue)
{
$this->stringValue = $stringValue;
}
/**
* @return string
*/
public function getStringValue()
{
return $this->stringValue;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoParameterValueType::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoParameterValueType');

View File

@@ -0,0 +1,71 @@
<?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\Integrations;
class EnterpriseCrmEventbusProtoPropertyEntry extends \Google\Model
{
/**
* Key is used to retrieve the corresponding property value. This should be
* unique for a given fired event. The Tasks should be aware of the keys used
* while firing the events for them to be able to retrieve the values.
*
* @var string
*/
public $key;
protected $valueType = EnterpriseCrmEventbusProtoValueType::class;
protected $valueDataType = '';
/**
* Key is used to retrieve the corresponding property value. This should be
* unique for a given fired event. The Tasks should be aware of the keys used
* while firing the events for them to be able to retrieve the values.
*
* @param string $key
*/
public function setKey($key)
{
$this->key = $key;
}
/**
* @return string
*/
public function getKey()
{
return $this->key;
}
/**
* Values for the defined keys. Each value can either be string, int, double
* or any proto message.
*
* @param EnterpriseCrmEventbusProtoValueType $value
*/
public function setValue(EnterpriseCrmEventbusProtoValueType $value)
{
$this->value = $value;
}
/**
* @return EnterpriseCrmEventbusProtoValueType
*/
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoPropertyEntry::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoPropertyEntry');

View File

@@ -0,0 +1,57 @@
<?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\Integrations;
class EnterpriseCrmEventbusProtoProtoArrayFunction extends \Google\Model
{
public const FUNCTION_NAME_UNSPECIFIED = 'UNSPECIFIED';
public const FUNCTION_NAME_GET = 'GET';
public const FUNCTION_NAME_APPEND = 'APPEND';
public const FUNCTION_NAME_SIZE = 'SIZE';
public const FUNCTION_NAME_TO_SET = 'TO_SET';
public const FUNCTION_NAME_APPEND_ALL = 'APPEND_ALL';
public const FUNCTION_NAME_TO_JSON = 'TO_JSON';
public const FUNCTION_NAME_SET = 'SET';
public const FUNCTION_NAME_REMOVE = 'REMOVE';
public const FUNCTION_NAME_REMOVE_AT = 'REMOVE_AT';
public const FUNCTION_NAME_CONTAINS = 'CONTAINS';
public const FUNCTION_NAME_FOR_EACH = 'FOR_EACH';
public const FUNCTION_NAME_FILTER = 'FILTER';
/**
* @var string
*/
public $functionName;
/**
* @param self::FUNCTION_NAME_* $functionName
*/
public function setFunctionName($functionName)
{
$this->functionName = $functionName;
}
/**
* @return self::FUNCTION_NAME_*
*/
public function getFunctionName()
{
return $this->functionName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoProtoArrayFunction::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoProtoArrayFunction');

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\Integrations;
class EnterpriseCrmEventbusProtoProtoFunction extends \Google\Model
{
public const FUNCTION_NAME_UNSPECIFIED = 'UNSPECIFIED';
public const FUNCTION_NAME_GET_STRING_SUBFIELD = 'GET_STRING_SUBFIELD';
public const FUNCTION_NAME_GET_INT_SUBFIELD = 'GET_INT_SUBFIELD';
public const FUNCTION_NAME_GET_DOUBLE_SUBFIELD = 'GET_DOUBLE_SUBFIELD';
public const FUNCTION_NAME_GET_BOOLEAN_SUBFIELD = 'GET_BOOLEAN_SUBFIELD';
public const FUNCTION_NAME_GET_STRING_ARRAY_SUBFIELD = 'GET_STRING_ARRAY_SUBFIELD';
public const FUNCTION_NAME_GET_INT_ARRAY_SUBFIELD = 'GET_INT_ARRAY_SUBFIELD';
public const FUNCTION_NAME_GET_DOUBLE_ARRAY_SUBFIELD = 'GET_DOUBLE_ARRAY_SUBFIELD';
public const FUNCTION_NAME_GET_BOOLEAN_ARRAY_SUBFIELD = 'GET_BOOLEAN_ARRAY_SUBFIELD';
public const FUNCTION_NAME_GET_PROTO_ARRAY_SUBFIELD = 'GET_PROTO_ARRAY_SUBFIELD';
public const FUNCTION_NAME_GET_PROTO_SUBFIELD = 'GET_PROTO_SUBFIELD';
public const FUNCTION_NAME_TO_JSON = 'TO_JSON';
public const FUNCTION_NAME_GET_BYTES_SUBFIELD_AS_UTF_8_STRING = 'GET_BYTES_SUBFIELD_AS_UTF_8_STRING';
public const FUNCTION_NAME_GET_BYTES_SUBFIELD_AS_PROTO = 'GET_BYTES_SUBFIELD_AS_PROTO';
public const FUNCTION_NAME_EQUALS = 'EQUALS';
/**
* @var string
*/
public $functionName;
/**
* @param self::FUNCTION_NAME_* $functionName
*/
public function setFunctionName($functionName)
{
$this->functionName = $functionName;
}
/**
* @return self::FUNCTION_NAME_*
*/
public function getFunctionName()
{
return $this->functionName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoProtoFunction::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoProtoFunction');

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\Integrations;
class EnterpriseCrmEventbusProtoProtoParameterArray extends \Google\Collection
{
protected $collection_key = 'protoValues';
/**
* @var array[]
*/
public $protoValues;
/**
* @param array[] $protoValues
*/
public function setProtoValues($protoValues)
{
$this->protoValues = $protoValues;
}
/**
* @return array[]
*/
public function getProtoValues()
{
return $this->protoValues;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoProtoParameterArray::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoProtoParameterArray');

View File

@@ -0,0 +1,136 @@
<?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\Integrations;
class EnterpriseCrmEventbusProtoScatterResponse extends \Google\Collection
{
protected $collection_key = 'responseParams';
/**
* The error message of the failure if applicable.
*
* @var string
*/
public $errorMsg;
/**
* The execution ids of each Subworkflow fired by this scatter.
*
* @var string[]
*/
public $executionIds;
/**
* If execution is sync, this is true if the execution passed and false if it
* failed. If the execution is async, this is true if the WF was fired off
* successfully, and false if it failed to execute. The success or failure of
* the subworkflows executed are not captured.
*
* @var bool
*/
public $isSuccessful;
protected $responseParamsType = EnterpriseCrmEventbusProtoParameterEntry::class;
protected $responseParamsDataType = 'array';
protected $scatterElementType = EnterpriseCrmEventbusProtoParameterValueType::class;
protected $scatterElementDataType = '';
/**
* The error message of the failure if applicable.
*
* @param string $errorMsg
*/
public function setErrorMsg($errorMsg)
{
$this->errorMsg = $errorMsg;
}
/**
* @return string
*/
public function getErrorMsg()
{
return $this->errorMsg;
}
/**
* The execution ids of each Subworkflow fired by this scatter.
*
* @param string[] $executionIds
*/
public function setExecutionIds($executionIds)
{
$this->executionIds = $executionIds;
}
/**
* @return string[]
*/
public function getExecutionIds()
{
return $this->executionIds;
}
/**
* If execution is sync, this is true if the execution passed and false if it
* failed. If the execution is async, this is true if the WF was fired off
* successfully, and false if it failed to execute. The success or failure of
* the subworkflows executed are not captured.
*
* @param bool $isSuccessful
*/
public function setIsSuccessful($isSuccessful)
{
$this->isSuccessful = $isSuccessful;
}
/**
* @return bool
*/
public function getIsSuccessful()
{
return $this->isSuccessful;
}
/**
* A list of all the response parameters in the aggregtorMap stored with the
* remapped key.
*
* @param EnterpriseCrmEventbusProtoParameterEntry[] $responseParams
*/
public function setResponseParams($responseParams)
{
$this->responseParams = $responseParams;
}
/**
* @return EnterpriseCrmEventbusProtoParameterEntry[]
*/
public function getResponseParams()
{
return $this->responseParams;
}
/**
* The element that was scattered for this execution.
*
* @param EnterpriseCrmEventbusProtoParameterValueType $scatterElement
*/
public function setScatterElement(EnterpriseCrmEventbusProtoParameterValueType $scatterElement)
{
$this->scatterElement = $scatterElement;
}
/**
* @return EnterpriseCrmEventbusProtoParameterValueType
*/
public function getScatterElement()
{
return $this->scatterElement;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoScatterResponse::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoScatterResponse');

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\Integrations;
class EnterpriseCrmEventbusProtoSerializedObjectParameter extends \Google\Model
{
/**
* @var string
*/
public $objectValue;
/**
* @param string $objectValue
*/
public function setObjectValue($objectValue)
{
$this->objectValue = $objectValue;
}
/**
* @return string
*/
public function getObjectValue()
{
return $this->objectValue;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoSerializedObjectParameter::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoSerializedObjectParameter');

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

View File

@@ -0,0 +1,57 @@
<?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\Integrations;
class EnterpriseCrmEventbusProtoStringArrayFunction extends \Google\Model
{
public const FUNCTION_NAME_UNSPECIFIED = 'UNSPECIFIED';
public const FUNCTION_NAME_GET = 'GET';
public const FUNCTION_NAME_APPEND = 'APPEND';
public const FUNCTION_NAME_SIZE = 'SIZE';
public const FUNCTION_NAME_TO_SET = 'TO_SET';
public const FUNCTION_NAME_APPEND_ALL = 'APPEND_ALL';
public const FUNCTION_NAME_TO_JSON = 'TO_JSON';
public const FUNCTION_NAME_SET = 'SET';
public const FUNCTION_NAME_REMOVE = 'REMOVE';
public const FUNCTION_NAME_REMOVE_AT = 'REMOVE_AT';
public const FUNCTION_NAME_CONTAINS = 'CONTAINS';
public const FUNCTION_NAME_FOR_EACH = 'FOR_EACH';
public const FUNCTION_NAME_FILTER = 'FILTER';
/**
* @var string
*/
public $functionName;
/**
* @param self::FUNCTION_NAME_* $functionName
*/
public function setFunctionName($functionName)
{
$this->functionName = $functionName;
}
/**
* @return self::FUNCTION_NAME_*
*/
public function getFunctionName()
{
return $this->functionName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoStringArrayFunction::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoStringArrayFunction');

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\Integrations;
class EnterpriseCrmEventbusProtoStringFunction extends \Google\Model
{
public const FUNCTION_NAME_UNSPECIFIED = 'UNSPECIFIED';
public const FUNCTION_NAME_CONCAT = 'CONCAT';
public const FUNCTION_NAME_TO_UPPERCASE = 'TO_UPPERCASE';
public const FUNCTION_NAME_TO_LOWERCASE = 'TO_LOWERCASE';
public const FUNCTION_NAME_CONTAINS = 'CONTAINS';
public const FUNCTION_NAME_SPLIT = 'SPLIT';
public const FUNCTION_NAME_LENGTH = 'LENGTH';
public const FUNCTION_NAME_EQUALS = 'EQUALS';
public const FUNCTION_NAME_TO_INT = 'TO_INT';
public const FUNCTION_NAME_TO_DOUBLE = 'TO_DOUBLE';
public const FUNCTION_NAME_TO_BOOLEAN = 'TO_BOOLEAN';
public const FUNCTION_NAME_TO_BASE_64 = 'TO_BASE_64';
public const FUNCTION_NAME_TO_JSON = 'TO_JSON';
public const FUNCTION_NAME_EQUALS_IGNORE_CASE = 'EQUALS_IGNORE_CASE';
public const FUNCTION_NAME_REPLACE_ALL = 'REPLACE_ALL';
public const FUNCTION_NAME_SUBSTRING = 'SUBSTRING';
public const FUNCTION_NAME_RESOLVE_TEMPLATE = 'RESOLVE_TEMPLATE';
public const FUNCTION_NAME_DECODE_BASE64_STRING = 'DECODE_BASE64_STRING';
/**
* @var string
*/
public $functionName;
/**
* @param self::FUNCTION_NAME_* $functionName
*/
public function setFunctionName($functionName)
{
$this->functionName = $functionName;
}
/**
* @return self::FUNCTION_NAME_*
*/
public function getFunctionName()
{
return $this->functionName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoStringFunction::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoStringFunction');

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

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\Integrations;
class EnterpriseCrmEventbusProtoSuccessPolicy extends \Google\Model
{
public const FINAL_STATE_UNSPECIFIED = 'UNSPECIFIED';
/**
* The default behavior, where successful tasks will be marked as SUCCEEDED.
*/
public const FINAL_STATE_SUCCEEDED = 'SUCCEEDED';
/**
* Sets the state to SUSPENDED after executing. This is required for
* SuspensionTask; event execution will continue once the user calls
* ResolveSuspensions with the event_execution_info_id and the task number.
*/
public const FINAL_STATE_SUSPENDED = 'SUSPENDED';
/**
* State to which the execution snapshot status will be set if the task
* succeeds.
*
* @var string
*/
public $finalState;
/**
* State to which the execution snapshot status will be set if the task
* succeeds.
*
* Accepted values: UNSPECIFIED, SUCCEEDED, SUSPENDED
*
* @param self::FINAL_STATE_* $finalState
*/
public function setFinalState($finalState)
{
$this->finalState = $finalState;
}
/**
* @return self::FINAL_STATE_*
*/
public function getFinalState()
{
return $this->finalState;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoSuccessPolicy::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoSuccessPolicy');

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\Integrations;
class EnterpriseCrmEventbusProtoSuspensionAuthPermissions extends \Google\Model
{
protected $gaiaIdentityType = EnterpriseCrmEventbusProtoSuspensionAuthPermissionsGaiaIdentity::class;
protected $gaiaIdentityDataType = '';
protected $googleGroupType = EnterpriseCrmEventbusProtoSuspensionAuthPermissionsGaiaIdentity::class;
protected $googleGroupDataType = '';
/**
* @var string
*/
public $loasRole;
/**
* @var string
*/
public $mdbGroup;
/**
* Represents a Gaia identity for a person or service account.
*
* @param EnterpriseCrmEventbusProtoSuspensionAuthPermissionsGaiaIdentity $gaiaIdentity
*/
public function setGaiaIdentity(EnterpriseCrmEventbusProtoSuspensionAuthPermissionsGaiaIdentity $gaiaIdentity)
{
$this->gaiaIdentity = $gaiaIdentity;
}
/**
* @return EnterpriseCrmEventbusProtoSuspensionAuthPermissionsGaiaIdentity
*/
public function getGaiaIdentity()
{
return $this->gaiaIdentity;
}
/**
* @param EnterpriseCrmEventbusProtoSuspensionAuthPermissionsGaiaIdentity $googleGroup
*/
public function setGoogleGroup(EnterpriseCrmEventbusProtoSuspensionAuthPermissionsGaiaIdentity $googleGroup)
{
$this->googleGroup = $googleGroup;
}
/**
* @return EnterpriseCrmEventbusProtoSuspensionAuthPermissionsGaiaIdentity
*/
public function getGoogleGroup()
{
return $this->googleGroup;
}
/**
* @param string $loasRole
*/
public function setLoasRole($loasRole)
{
$this->loasRole = $loasRole;
}
/**
* @return string
*/
public function getLoasRole()
{
return $this->loasRole;
}
/**
* @param string $mdbGroup
*/
public function setMdbGroup($mdbGroup)
{
$this->mdbGroup = $mdbGroup;
}
/**
* @return string
*/
public function getMdbGroup()
{
return $this->mdbGroup;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoSuspensionAuthPermissions::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoSuspensionAuthPermissions');

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\Integrations;
class EnterpriseCrmEventbusProtoSuspensionAuthPermissionsGaiaIdentity extends \Google\Model
{
/**
* @var string
*/
public $emailAddress;
/**
* @var string
*/
public $gaiaId;
/**
* @param string $emailAddress
*/
public function setEmailAddress($emailAddress)
{
$this->emailAddress = $emailAddress;
}
/**
* @return string
*/
public function getEmailAddress()
{
return $this->emailAddress;
}
/**
* @param string $gaiaId
*/
public function setGaiaId($gaiaId)
{
$this->gaiaId = $gaiaId;
}
/**
* @return string
*/
public function getGaiaId()
{
return $this->gaiaId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoSuspensionAuthPermissionsGaiaIdentity::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoSuspensionAuthPermissionsGaiaIdentity');

View File

@@ -0,0 +1,105 @@
<?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\Integrations;
class EnterpriseCrmEventbusProtoSuspensionConfig extends \Google\Collection
{
protected $collection_key = 'whoMayResolve';
/**
* Optional information to provide recipients of the suspension in addition to
* the resolution URL, typically containing relevant parameter values from the
* originating workflow.
*
* @var string
*/
public $customMessage;
protected $notificationsType = EnterpriseCrmEventbusProtoNotification::class;
protected $notificationsDataType = 'array';
protected $suspensionExpirationType = EnterpriseCrmEventbusProtoSuspensionExpiration::class;
protected $suspensionExpirationDataType = '';
protected $whoMayResolveType = EnterpriseCrmEventbusProtoSuspensionAuthPermissions::class;
protected $whoMayResolveDataType = 'array';
/**
* Optional information to provide recipients of the suspension in addition to
* the resolution URL, typically containing relevant parameter values from the
* originating workflow.
*
* @param string $customMessage
*/
public function setCustomMessage($customMessage)
{
$this->customMessage = $customMessage;
}
/**
* @return string
*/
public function getCustomMessage()
{
return $this->customMessage;
}
/**
* @param EnterpriseCrmEventbusProtoNotification[] $notifications
*/
public function setNotifications($notifications)
{
$this->notifications = $notifications;
}
/**
* @return EnterpriseCrmEventbusProtoNotification[]
*/
public function getNotifications()
{
return $this->notifications;
}
/**
* Indicates the next steps when no external actions happen on the suspension.
*
* @param EnterpriseCrmEventbusProtoSuspensionExpiration $suspensionExpiration
*/
public function setSuspensionExpiration(EnterpriseCrmEventbusProtoSuspensionExpiration $suspensionExpiration)
{
$this->suspensionExpiration = $suspensionExpiration;
}
/**
* @return EnterpriseCrmEventbusProtoSuspensionExpiration
*/
public function getSuspensionExpiration()
{
return $this->suspensionExpiration;
}
/**
* Identities able to resolve this suspension.
*
* @param EnterpriseCrmEventbusProtoSuspensionAuthPermissions[] $whoMayResolve
*/
public function setWhoMayResolve($whoMayResolve)
{
$this->whoMayResolve = $whoMayResolve;
}
/**
* @return EnterpriseCrmEventbusProtoSuspensionAuthPermissions[]
*/
public function getWhoMayResolve()
{
return $this->whoMayResolve;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoSuspensionConfig::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoSuspensionConfig');

View File

@@ -0,0 +1,98 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Integrations;
class EnterpriseCrmEventbusProtoSuspensionExpiration extends \Google\Model
{
/**
* Milliseconds after which the suspension expires, if no action taken.
*
* @var int
*/
public $expireAfterMs;
/**
* Whether the suspension will be REJECTED or LIFTED upon expiration. REJECTED
* is the default behavior.
*
* @var bool
*/
public $liftWhenExpired;
/**
* Milliseconds after which the previous suspension action reminder, if any,
* is sent using the selected notification option, for a suspension which is
* still PENDING_UNSPECIFIED.
*
* @var int
*/
public $remindAfterMs;
/**
* Milliseconds after which the suspension expires, if no action taken.
*
* @param int $expireAfterMs
*/
public function setExpireAfterMs($expireAfterMs)
{
$this->expireAfterMs = $expireAfterMs;
}
/**
* @return int
*/
public function getExpireAfterMs()
{
return $this->expireAfterMs;
}
/**
* Whether the suspension will be REJECTED or LIFTED upon expiration. REJECTED
* is the default behavior.
*
* @param bool $liftWhenExpired
*/
public function setLiftWhenExpired($liftWhenExpired)
{
$this->liftWhenExpired = $liftWhenExpired;
}
/**
* @return bool
*/
public function getLiftWhenExpired()
{
return $this->liftWhenExpired;
}
/**
* Milliseconds after which the previous suspension action reminder, if any,
* is sent using the selected notification option, for a suspension which is
* still PENDING_UNSPECIFIED.
*
* @param int $remindAfterMs
*/
public function setRemindAfterMs($remindAfterMs)
{
$this->remindAfterMs = $remindAfterMs;
}
/**
* @return int
*/
public function getRemindAfterMs()
{
return $this->remindAfterMs;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoSuspensionExpiration::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoSuspensionExpiration');

View File

@@ -0,0 +1,344 @@
<?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\Integrations;
class EnterpriseCrmEventbusProtoSuspensionResolutionInfo extends \Google\Model
{
public const PRODUCT_UNSPECIFIED_PRODUCT = 'UNSPECIFIED_PRODUCT';
public const PRODUCT_IP = 'IP';
public const PRODUCT_APIGEE = 'APIGEE';
public const PRODUCT_SECURITY = 'SECURITY';
public const STATUS_PENDING_UNSPECIFIED = 'PENDING_UNSPECIFIED';
public const STATUS_REJECTED = 'REJECTED';
public const STATUS_LIFTED = 'LIFTED';
public const STATUS_CANCELED = 'CANCELED';
protected $auditType = EnterpriseCrmEventbusProtoSuspensionResolutionInfoAudit::class;
protected $auditDataType = '';
/**
* The event data user sends as request.
*
* @var string
*/
public $clientId;
protected $cloudKmsConfigType = EnterpriseCrmEventbusProtoCloudKmsConfig::class;
protected $cloudKmsConfigDataType = '';
/**
* Auto-generated.
*
* @var string
*/
public $createdTimestamp;
/**
* Encrypted SuspensionResolutionInfo
*
* @var string
*/
public $encryptedSuspensionResolutionInfo;
/**
* Required. ID of the associated execution.
*
* @var string
*/
public $eventExecutionInfoId;
protected $externalTrafficType = EnterpriseCrmEventbusProtoExternalTraffic::class;
protected $externalTrafficDataType = '';
/**
* Auto-generated.
*
* @var string
*/
public $lastModifiedTimestamp;
/**
* Which Google product the suspension belongs to. If not set, the suspension
* belongs to Integration Platform by default.
*
* @var string
*/
public $product;
/**
* @var string
*/
public $status;
protected $suspensionConfigType = EnterpriseCrmEventbusProtoSuspensionConfig::class;
protected $suspensionConfigDataType = '';
/**
* Primary key for the SuspensionResolutionInfoTable.
*
* @var string
*/
public $suspensionId;
/**
* Required. Task number of the associated SuspensionTask.
*
* @var string
*/
public $taskNumber;
/**
* Required. The name of the originating workflow.
*
* @var string
*/
public $workflowName;
/**
* Wrapped dek
*
* @var string
*/
public $wrappedDek;
/**
* @param EnterpriseCrmEventbusProtoSuspensionResolutionInfoAudit $audit
*/
public function setAudit(EnterpriseCrmEventbusProtoSuspensionResolutionInfoAudit $audit)
{
$this->audit = $audit;
}
/**
* @return EnterpriseCrmEventbusProtoSuspensionResolutionInfoAudit
*/
public function getAudit()
{
return $this->audit;
}
/**
* The event data user sends as request.
*
* @param string $clientId
*/
public function setClientId($clientId)
{
$this->clientId = $clientId;
}
/**
* @return string
*/
public function getClientId()
{
return $this->clientId;
}
/**
* KMS info, used by cmek/gmek integration
*
* @param EnterpriseCrmEventbusProtoCloudKmsConfig $cloudKmsConfig
*/
public function setCloudKmsConfig(EnterpriseCrmEventbusProtoCloudKmsConfig $cloudKmsConfig)
{
$this->cloudKmsConfig = $cloudKmsConfig;
}
/**
* @return EnterpriseCrmEventbusProtoCloudKmsConfig
*/
public function getCloudKmsConfig()
{
return $this->cloudKmsConfig;
}
/**
* Auto-generated.
*
* @param string $createdTimestamp
*/
public function setCreatedTimestamp($createdTimestamp)
{
$this->createdTimestamp = $createdTimestamp;
}
/**
* @return string
*/
public function getCreatedTimestamp()
{
return $this->createdTimestamp;
}
/**
* Encrypted SuspensionResolutionInfo
*
* @param string $encryptedSuspensionResolutionInfo
*/
public function setEncryptedSuspensionResolutionInfo($encryptedSuspensionResolutionInfo)
{
$this->encryptedSuspensionResolutionInfo = $encryptedSuspensionResolutionInfo;
}
/**
* @return string
*/
public function getEncryptedSuspensionResolutionInfo()
{
return $this->encryptedSuspensionResolutionInfo;
}
/**
* Required. ID of the associated execution.
*
* @param string $eventExecutionInfoId
*/
public function setEventExecutionInfoId($eventExecutionInfoId)
{
$this->eventExecutionInfoId = $eventExecutionInfoId;
}
/**
* @return string
*/
public function getEventExecutionInfoId()
{
return $this->eventExecutionInfoId;
}
/**
* The origin of the suspension for periodic notifications.
*
* @param EnterpriseCrmEventbusProtoExternalTraffic $externalTraffic
*/
public function setExternalTraffic(EnterpriseCrmEventbusProtoExternalTraffic $externalTraffic)
{
$this->externalTraffic = $externalTraffic;
}
/**
* @return EnterpriseCrmEventbusProtoExternalTraffic
*/
public function getExternalTraffic()
{
return $this->externalTraffic;
}
/**
* Auto-generated.
*
* @param string $lastModifiedTimestamp
*/
public function setLastModifiedTimestamp($lastModifiedTimestamp)
{
$this->lastModifiedTimestamp = $lastModifiedTimestamp;
}
/**
* @return string
*/
public function getLastModifiedTimestamp()
{
return $this->lastModifiedTimestamp;
}
/**
* Which Google product the suspension belongs to. If not set, the suspension
* belongs to Integration Platform by default.
*
* Accepted values: UNSPECIFIED_PRODUCT, IP, APIGEE, SECURITY
*
* @param self::PRODUCT_* $product
*/
public function setProduct($product)
{
$this->product = $product;
}
/**
* @return self::PRODUCT_*
*/
public function getProduct()
{
return $this->product;
}
/**
* @param self::STATUS_* $status
*/
public function setStatus($status)
{
$this->status = $status;
}
/**
* @return self::STATUS_*
*/
public function getStatus()
{
return $this->status;
}
/**
* @param EnterpriseCrmEventbusProtoSuspensionConfig $suspensionConfig
*/
public function setSuspensionConfig(EnterpriseCrmEventbusProtoSuspensionConfig $suspensionConfig)
{
$this->suspensionConfig = $suspensionConfig;
}
/**
* @return EnterpriseCrmEventbusProtoSuspensionConfig
*/
public function getSuspensionConfig()
{
return $this->suspensionConfig;
}
/**
* Primary key for the SuspensionResolutionInfoTable.
*
* @param string $suspensionId
*/
public function setSuspensionId($suspensionId)
{
$this->suspensionId = $suspensionId;
}
/**
* @return string
*/
public function getSuspensionId()
{
return $this->suspensionId;
}
/**
* Required. Task number of the associated SuspensionTask.
*
* @param string $taskNumber
*/
public function setTaskNumber($taskNumber)
{
$this->taskNumber = $taskNumber;
}
/**
* @return string
*/
public function getTaskNumber()
{
return $this->taskNumber;
}
/**
* Required. The name of the originating workflow.
*
* @param string $workflowName
*/
public function setWorkflowName($workflowName)
{
$this->workflowName = $workflowName;
}
/**
* @return string
*/
public function getWorkflowName()
{
return $this->workflowName;
}
/**
* Wrapped dek
*
* @param string $wrappedDek
*/
public function setWrappedDek($wrappedDek)
{
$this->wrappedDek = $wrappedDek;
}
/**
* @return string
*/
public function getWrappedDek()
{
return $this->wrappedDek;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoSuspensionResolutionInfo::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoSuspensionResolutionInfo');

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\Integrations;
class EnterpriseCrmEventbusProtoSuspensionResolutionInfoAudit extends \Google\Model
{
/**
* @var string
*/
public $resolvedBy;
/**
* @var string
*/
public $resolvedByCpi;
/**
* @var string
*/
public $timestamp;
/**
* @param string $resolvedBy
*/
public function setResolvedBy($resolvedBy)
{
$this->resolvedBy = $resolvedBy;
}
/**
* @return string
*/
public function getResolvedBy()
{
return $this->resolvedBy;
}
/**
* @param string $resolvedByCpi
*/
public function setResolvedByCpi($resolvedByCpi)
{
$this->resolvedByCpi = $resolvedByCpi;
}
/**
* @return string
*/
public function getResolvedByCpi()
{
return $this->resolvedByCpi;
}
/**
* @param string $timestamp
*/
public function setTimestamp($timestamp)
{
$this->timestamp = $timestamp;
}
/**
* @return string
*/
public function getTimestamp()
{
return $this->timestamp;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoSuspensionResolutionInfoAudit::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoSuspensionResolutionInfoAudit');

View File

@@ -0,0 +1,355 @@
<?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\Integrations;
class EnterpriseCrmEventbusProtoTaskAlertConfig extends \Google\Model
{
/**
* The default value. Metric type should always be set to one of the other
* non-default values, otherwise it will result in an INVALID_ARGUMENT error.
*/
public const METRIC_TYPE_METRIC_TYPE_UNSPECIFIED = 'METRIC_TYPE_UNSPECIFIED';
/**
* Specifies alerting on the rate of errors (potentially for a specific set of
* enum values) for the enclosing TaskConfig.
*/
public const METRIC_TYPE_TASK_ERROR_RATE = 'TASK_ERROR_RATE';
/**
* Specifies alerting on the rate of warnings (potentially for a specific set
* of enum values) for the enclosing TaskConfig. Warnings use the same enum
* values as errors.
*/
public const METRIC_TYPE_TASK_WARNING_RATE = 'TASK_WARNING_RATE';
/**
* Specifies alerting on the number of instances for the enclosing TaskConfig
* executed in the given aggregation_period.
*/
public const METRIC_TYPE_TASK_RATE = 'TASK_RATE';
/**
* Specifies alerting on the average duration of execution for the enclosing
* task.
*/
public const METRIC_TYPE_TASK_AVERAGE_DURATION = 'TASK_AVERAGE_DURATION';
/**
* Specifies alerting on the duration of a particular percentile of task
* executions. E.g. If 10% or more of the task executions have durations above
* 5 seconds, alert.
*/
public const METRIC_TYPE_TASK_PERCENTILE_DURATION = 'TASK_PERCENTILE_DURATION';
public const THRESHOLD_TYPE_UNSPECIFIED_THRESHOLD_TYPE = 'UNSPECIFIED_THRESHOLD_TYPE';
/**
* Note that this field will only trigger alerts if the workflow specifying it
* runs at least once in 24 hours (which is our in-memory retention period for
* monarch streams). Also note that `aggregation_period` for this alert
* configuration must be less than 24 hours.
*/
public const THRESHOLD_TYPE_EXPECTED_MIN = 'EXPECTED_MIN';
public const THRESHOLD_TYPE_EXPECTED_MAX = 'EXPECTED_MAX';
/**
* The period over which the metric value should be aggregated and evaluated.
* Format is , where integer should be a positive integer and unit should be
* one of (s,m,h,d,w) meaning (second, minute, hour, day, week).
*
* @var string
*/
public $aggregationPeriod;
/**
* Set to false by default. When set to true, the metrics are not aggregated
* or pushed to Monarch for this workflow alert.
*
* @var bool
*/
public $alertDisabled;
/**
* A name to identify this alert. This will be displayed in the alert subject.
* If set, this name should be unique in within the scope of the containing
* workflow.
*
* @var string
*/
public $alertName;
/**
* Client associated with this alert configuration. Must be a client enabled
* in one of the containing workflow's triggers.
*
* @var string
*/
public $clientId;
/**
* Should be specified only for TASK_AVERAGE_DURATION and
* TASK_PERCENTILE_DURATION metrics. This member should be used to specify
* what duration value the metrics should exceed for the alert to trigger.
*
* @var string
*/
public $durationThresholdMs;
protected $errorEnumListType = EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumList::class;
protected $errorEnumListDataType = '';
/**
* @var string
*/
public $metricType;
/**
* For how many contiguous aggregation periods should the expected min or max
* be violated for the alert to be fired.
*
* @var int
*/
public $numAggregationPeriods;
/**
* Only count final task attempts, not retries.
*
* @var bool
*/
public $onlyFinalAttempt;
/**
* Link to a playbook for resolving the issue that triggered this alert.
*
* @var string
*/
public $playbookUrl;
/**
* The threshold type for which this alert is being configured. If value falls
* below expected_min or exceeds expected_max, an alert will be fired.
*
* @var string
*/
public $thresholdType;
protected $thresholdValueType = EnterpriseCrmEventbusProtoBaseAlertConfigThresholdValue::class;
protected $thresholdValueDataType = '';
protected $warningEnumListType = EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumList::class;
protected $warningEnumListDataType = '';
/**
* The period over which the metric value should be aggregated and evaluated.
* Format is , where integer should be a positive integer and unit should be
* one of (s,m,h,d,w) meaning (second, minute, hour, day, week).
*
* @param string $aggregationPeriod
*/
public function setAggregationPeriod($aggregationPeriod)
{
$this->aggregationPeriod = $aggregationPeriod;
}
/**
* @return string
*/
public function getAggregationPeriod()
{
return $this->aggregationPeriod;
}
/**
* Set to false by default. When set to true, the metrics are not aggregated
* or pushed to Monarch for this workflow alert.
*
* @param bool $alertDisabled
*/
public function setAlertDisabled($alertDisabled)
{
$this->alertDisabled = $alertDisabled;
}
/**
* @return bool
*/
public function getAlertDisabled()
{
return $this->alertDisabled;
}
/**
* A name to identify this alert. This will be displayed in the alert subject.
* If set, this name should be unique in within the scope of the containing
* workflow.
*
* @param string $alertName
*/
public function setAlertName($alertName)
{
$this->alertName = $alertName;
}
/**
* @return string
*/
public function getAlertName()
{
return $this->alertName;
}
/**
* Client associated with this alert configuration. Must be a client enabled
* in one of the containing workflow's triggers.
*
* @param string $clientId
*/
public function setClientId($clientId)
{
$this->clientId = $clientId;
}
/**
* @return string
*/
public function getClientId()
{
return $this->clientId;
}
/**
* Should be specified only for TASK_AVERAGE_DURATION and
* TASK_PERCENTILE_DURATION metrics. This member should be used to specify
* what duration value the metrics should exceed for the alert to trigger.
*
* @param string $durationThresholdMs
*/
public function setDurationThresholdMs($durationThresholdMs)
{
$this->durationThresholdMs = $durationThresholdMs;
}
/**
* @return string
*/
public function getDurationThresholdMs()
{
return $this->durationThresholdMs;
}
/**
* @param EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumList $errorEnumList
*/
public function setErrorEnumList(EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumList $errorEnumList)
{
$this->errorEnumList = $errorEnumList;
}
/**
* @return EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumList
*/
public function getErrorEnumList()
{
return $this->errorEnumList;
}
/**
* @param self::METRIC_TYPE_* $metricType
*/
public function setMetricType($metricType)
{
$this->metricType = $metricType;
}
/**
* @return self::METRIC_TYPE_*
*/
public function getMetricType()
{
return $this->metricType;
}
/**
* For how many contiguous aggregation periods should the expected min or max
* be violated for the alert to be fired.
*
* @param int $numAggregationPeriods
*/
public function setNumAggregationPeriods($numAggregationPeriods)
{
$this->numAggregationPeriods = $numAggregationPeriods;
}
/**
* @return int
*/
public function getNumAggregationPeriods()
{
return $this->numAggregationPeriods;
}
/**
* Only count final task attempts, not retries.
*
* @param bool $onlyFinalAttempt
*/
public function setOnlyFinalAttempt($onlyFinalAttempt)
{
$this->onlyFinalAttempt = $onlyFinalAttempt;
}
/**
* @return bool
*/
public function getOnlyFinalAttempt()
{
return $this->onlyFinalAttempt;
}
/**
* Link to a playbook for resolving the issue that triggered this alert.
*
* @param string $playbookUrl
*/
public function setPlaybookUrl($playbookUrl)
{
$this->playbookUrl = $playbookUrl;
}
/**
* @return string
*/
public function getPlaybookUrl()
{
return $this->playbookUrl;
}
/**
* The threshold type for which this alert is being configured. If value falls
* below expected_min or exceeds expected_max, an alert will be fired.
*
* Accepted values: UNSPECIFIED_THRESHOLD_TYPE, EXPECTED_MIN, EXPECTED_MAX
*
* @param self::THRESHOLD_TYPE_* $thresholdType
*/
public function setThresholdType($thresholdType)
{
$this->thresholdType = $thresholdType;
}
/**
* @return self::THRESHOLD_TYPE_*
*/
public function getThresholdType()
{
return $this->thresholdType;
}
/**
* The metric value, above or below which the alert should be triggered.
*
* @param EnterpriseCrmEventbusProtoBaseAlertConfigThresholdValue $thresholdValue
*/
public function setThresholdValue(EnterpriseCrmEventbusProtoBaseAlertConfigThresholdValue $thresholdValue)
{
$this->thresholdValue = $thresholdValue;
}
/**
* @return EnterpriseCrmEventbusProtoBaseAlertConfigThresholdValue
*/
public function getThresholdValue()
{
return $this->thresholdValue;
}
/**
* @param EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumList $warningEnumList
*/
public function setWarningEnumList(EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumList $warningEnumList)
{
$this->warningEnumList = $warningEnumList;
}
/**
* @return EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumList
*/
public function getWarningEnumList()
{
return $this->warningEnumList;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoTaskAlertConfig::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoTaskAlertConfig');

View File

@@ -0,0 +1,165 @@
<?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\Integrations;
class EnterpriseCrmEventbusProtoTaskExecutionDetails extends \Google\Collection
{
public const TASK_EXECUTION_STATE_UNSPECIFIED = 'UNSPECIFIED';
/**
* Task is waiting for its precondition tasks to finish to start the
* execution.
*/
public const TASK_EXECUTION_STATE_PENDING_EXECUTION = 'PENDING_EXECUTION';
/**
* Task is under processing.
*/
public const TASK_EXECUTION_STATE_IN_PROCESS = 'IN_PROCESS';
/**
* Task execution successfully finished. There's no more change after this
* state.
*/
public const TASK_EXECUTION_STATE_SUCCEED = 'SUCCEED';
/**
* Task execution failed. There's no more change after this state.
*/
public const TASK_EXECUTION_STATE_FAILED = 'FAILED';
/**
* Task execution failed and cause the whole event execution to fail
* immediately. There's no more change after this state.
*/
public const TASK_EXECUTION_STATE_FATAL = 'FATAL';
/**
* Task execution failed and waiting for retry.
*/
public const TASK_EXECUTION_STATE_RETRY_ON_HOLD = 'RETRY_ON_HOLD';
/**
* Task execution skipped. This happens when its precondition wasn't met, or
* the event execution been canceled before reach to the task. There's no more
* changes after this state.
*/
public const TASK_EXECUTION_STATE_SKIPPED = 'SKIPPED';
/**
* Task execution canceled when in progress. This happens when event execution
* been canceled or any other task fall in fatal state.
*/
public const TASK_EXECUTION_STATE_CANCELED = 'CANCELED';
/**
* Task is waiting for its dependency tasks' rollback to finish to start its
* rollback.
*/
public const TASK_EXECUTION_STATE_PENDING_ROLLBACK = 'PENDING_ROLLBACK';
/**
* Task is rolling back.
*/
public const TASK_EXECUTION_STATE_ROLLBACK_IN_PROCESS = 'ROLLBACK_IN_PROCESS';
/**
* Task is rolled back. This is the state we will set regardless of rollback
* succeeding or failing.
*/
public const TASK_EXECUTION_STATE_ROLLEDBACK = 'ROLLEDBACK';
/**
* Task is a SuspensionTask which has executed once, creating a pending
* suspension.
*/
public const TASK_EXECUTION_STATE_SUSPENDED = 'SUSPENDED';
protected $collection_key = 'taskAttemptStats';
/**
* Indicates whether the task was skipped on failure. Only relevant if the
* task is in SKIPPED state.
*
* @var bool
*/
public $skippedOnFailure;
protected $taskAttemptStatsType = EnterpriseCrmEventbusProtoTaskExecutionDetailsTaskAttemptStats::class;
protected $taskAttemptStatsDataType = 'array';
/**
* @var string
*/
public $taskExecutionState;
/**
* Pointer to the task config it used for execution.
*
* @var string
*/
public $taskNumber;
/**
* Indicates whether the task was skipped on failure. Only relevant if the
* task is in SKIPPED state.
*
* @param bool $skippedOnFailure
*/
public function setSkippedOnFailure($skippedOnFailure)
{
$this->skippedOnFailure = $skippedOnFailure;
}
/**
* @return bool
*/
public function getSkippedOnFailure()
{
return $this->skippedOnFailure;
}
/**
* @param EnterpriseCrmEventbusProtoTaskExecutionDetailsTaskAttemptStats[] $taskAttemptStats
*/
public function setTaskAttemptStats($taskAttemptStats)
{
$this->taskAttemptStats = $taskAttemptStats;
}
/**
* @return EnterpriseCrmEventbusProtoTaskExecutionDetailsTaskAttemptStats[]
*/
public function getTaskAttemptStats()
{
return $this->taskAttemptStats;
}
/**
* @param self::TASK_EXECUTION_STATE_* $taskExecutionState
*/
public function setTaskExecutionState($taskExecutionState)
{
$this->taskExecutionState = $taskExecutionState;
}
/**
* @return self::TASK_EXECUTION_STATE_*
*/
public function getTaskExecutionState()
{
return $this->taskExecutionState;
}
/**
* Pointer to the task config it used for execution.
*
* @param string $taskNumber
*/
public function setTaskNumber($taskNumber)
{
$this->taskNumber = $taskNumber;
}
/**
* @return string
*/
public function getTaskNumber()
{
return $this->taskNumber;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoTaskExecutionDetails::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoTaskExecutionDetails');

View File

@@ -0,0 +1,72 @@
<?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\Integrations;
class EnterpriseCrmEventbusProtoTaskExecutionDetailsTaskAttemptStats extends \Google\Model
{
/**
* The end time of the task execution for current attempt.
*
* @var string
*/
public $endTime;
/**
* The start time of the task execution for current attempt. This could be in
* the future if it's been scheduled.
*
* @var string
*/
public $startTime;
/**
* The end time of the task execution for current attempt.
*
* @param string $endTime
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* The start time of the task execution for current attempt. This could be in
* the future if it's been scheduled.
*
* @param string $startTime
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoTaskExecutionDetailsTaskAttemptStats::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoTaskExecutionDetailsTaskAttemptStats');

View File

@@ -0,0 +1,646 @@
<?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\Integrations;
class EnterpriseCrmEventbusProtoTaskMetadata extends \Google\Collection
{
public const CATEGORY_UNSPECIFIED_CATEGORY = 'UNSPECIFIED_CATEGORY';
public const CATEGORY_CUSTOM = 'CUSTOM';
public const CATEGORY_FLOW_CONTROL = 'FLOW_CONTROL';
public const CATEGORY_DATA_MANIPULATION = 'DATA_MANIPULATION';
public const CATEGORY_SCRIPTING = 'SCRIPTING';
public const CATEGORY_CONNECTOR = 'CONNECTOR';
/**
* Internal IP tasks that should not be available in the UI.
*/
public const CATEGORY_HIDDEN = 'HIDDEN';
/**
* Tasks that are relevant to cloud systems teams and typically
*/
public const CATEGORY_CLOUD_SYSTEMS = 'CLOUD_SYSTEMS';
/**
* Task entities that derive from a custom task template.
*/
public const CATEGORY_CUSTOM_TASK_TEMPLATE = 'CUSTOM_TASK_TEMPLATE';
/**
* Category to show task recommendations
*/
public const CATEGORY_TASK_RECOMMENDATIONS = 'TASK_RECOMMENDATIONS';
/**
* As per the default behavior, no validation will be run. Will not override
* any option set in a Task.
*/
public const DEFAULT_JSON_VALIDATION_OPTION_UNSPECIFIED_JSON_VALIDATION_OPTION = 'UNSPECIFIED_JSON_VALIDATION_OPTION';
/**
* Do not run any validation against JSON schemas.
*/
public const DEFAULT_JSON_VALIDATION_OPTION_SKIP = 'SKIP';
/**
* Validate all potential input JSON parameters against schemas specified in
* WorkflowParameters.
*/
public const DEFAULT_JSON_VALIDATION_OPTION_PRE_EXECUTION = 'PRE_EXECUTION';
/**
* Validate all potential output JSON parameters against schemas specified in
* WorkflowParameters.
*/
public const DEFAULT_JSON_VALIDATION_OPTION_POST_EXECUTION = 'POST_EXECUTION';
/**
* Perform both PRE_EXECUTION and POST_EXECUTION validations.
*/
public const DEFAULT_JSON_VALIDATION_OPTION_PRE_POST_EXECUTION = 'PRE_POST_EXECUTION';
public const EXTERNAL_CATEGORY_UNSPECIFIED_EXTERNAL_CATEGORY = 'UNSPECIFIED_EXTERNAL_CATEGORY';
public const EXTERNAL_CATEGORY_CORE = 'CORE';
public const EXTERNAL_CATEGORY_CONNECTORS = 'CONNECTORS';
/**
* HTTP tasks, e.g. rest api call task
*/
public const EXTERNAL_CATEGORY_EXTERNAL_HTTP = 'EXTERNAL_HTTP';
/**
* Integration services, e.g. connector task
*/
public const EXTERNAL_CATEGORY_EXTERNAL_INTEGRATION_SERVICES = 'EXTERNAL_INTEGRATION_SERVICES';
/**
* Customer ations, e.g. email task
*/
public const EXTERNAL_CATEGORY_EXTERNAL_CUSTOMER_ACTIONS = 'EXTERNAL_CUSTOMER_ACTIONS';
/**
* Flow control, e.g. while loop task
*/
public const EXTERNAL_CATEGORY_EXTERNAL_FLOW_CONTROL = 'EXTERNAL_FLOW_CONTROL';
/**
* Workspace tasks, e.g. list drive task
*/
public const EXTERNAL_CATEGORY_EXTERNAL_WORKSPACE = 'EXTERNAL_WORKSPACE';
/**
* Security, e.g. kms related tasks
*/
public const EXTERNAL_CATEGORY_EXTERNAL_SECURITY = 'EXTERNAL_SECURITY';
/**
* Database operation tasks, e.g. read firestore info tasks
*/
public const EXTERNAL_CATEGORY_EXTERNAL_DATABASES = 'EXTERNAL_DATABASES';
/**
* Analytics tasks, e.g. dataflow creattion tasks
*/
public const EXTERNAL_CATEGORY_EXTERNAL_ANALYTICS = 'EXTERNAL_ANALYTICS';
/**
* BYOC tasks
*/
public const EXTERNAL_CATEGORY_EXTERNAL_BYOC = 'EXTERNAL_BYOC';
/**
* BYOT tasks
*/
public const EXTERNAL_CATEGORY_EXTERNAL_BYOT = 'EXTERNAL_BYOT';
/**
* AI related tasks.
*/
public const EXTERNAL_CATEGORY_EXTERNAL_ARTIFICIAL_INTELIGENCE = 'EXTERNAL_ARTIFICIAL_INTELIGENCE';
/**
* Data manipulation related tasks, e.g. data mapping task
*/
public const EXTERNAL_CATEGORY_EXTERNAL_DATA_MANIPULATION = 'EXTERNAL_DATA_MANIPULATION';
/**
* Default value. Actual Task Status should always be set to either INACTIVE
* or ACTIVE. If none is specified at runtime, it will be set to INACTIVE.
*/
public const STATUS_UNSPECIFIED_STATUS = 'UNSPECIFIED_STATUS';
/**
* Still in-progress or incomplete, and not intended for use.
*/
public const STATUS_DEFAULT_INACTIVE = 'DEFAULT_INACTIVE';
/**
* Available for use.
*/
public const STATUS_ACTIVE = 'ACTIVE';
public const SYSTEM_UNSPECIFIED_SYSTEM = 'UNSPECIFIED_SYSTEM';
public const SYSTEM_GENERIC = 'GENERIC';
public const SYSTEM_BUGANIZER = 'BUGANIZER';
public const SYSTEM_SALESFORCE = 'SALESFORCE';
public const SYSTEM_CLOUD_SQL = 'CLOUD_SQL';
public const SYSTEM_PLX = 'PLX';
public const SYSTEM_SHEETS = 'SHEETS';
public const SYSTEM_GOOGLE_GROUPS = 'GOOGLE_GROUPS';
public const SYSTEM_EMAIL = 'EMAIL';
public const SYSTEM_SPANNER = 'SPANNER';
public const SYSTEM_DATA_BRIDGE = 'DATA_BRIDGE';
protected $collection_key = 'tags';
/**
* The new task name to replace the current task if it is deprecated.
* Otherwise, it is the same as the current task name.
*
* @var string
*/
public $activeTaskName;
protected $adminsType = EnterpriseCrmEventbusProtoTaskMetadataAdmin::class;
protected $adminsDataType = 'array';
/**
* @var string
*/
public $category;
/**
* The Code Search link to the Task Java file.
*
* @var string
*/
public $codeSearchLink;
/**
* Controls whether JSON workflow parameters are validated against provided
* schemas before and/or after this task's execution.
*
* @var string
*/
public $defaultJsonValidationOption;
/**
* Contains the initial configuration of the task with default values set. For
* now, The string should be compatible to an ASCII-proto format.
*
* @var string
*/
public $defaultSpec;
/**
* In a few sentences, describe the purpose and usage of the task.
*
* @var string
*/
public $description;
/**
* The string name to show on the task list on the Workflow editor screen.
* This should be a very short, one to two words name for the task. (e.g.
* "Send Mail")
*
* @var string
*/
public $descriptiveName;
/**
* Snippet of markdown documentation to embed in the RHP for this task.
*
* @var string
*/
public $docMarkdown;
/**
* @var string
*/
public $externalCategory;
/**
* Sequence with which the task in specific category to be displayed in task
* discovery panel for external users.
*
* @var int
*/
public $externalCategorySequence;
/**
* External-facing documention embedded in the RHP for this task.
*
* @var string
*/
public $externalDocHtml;
/**
* Doc link for external-facing documentation (separate from g3doc).
*
* @var string
*/
public $externalDocLink;
/**
* DEPRECATED: Use external_doc_html.
*
* @var string
*/
public $externalDocMarkdown;
/**
* URL to the associated G3 Doc for the task if available
*
* @var string
*/
public $g3DocLink;
/**
* URL to gstatic image icon for this task. This icon shows up on the task
* list panel along with the task name in the Workflow Editor screen. Use the
* 24p, 2x, gray color icon image format.
*
* @var string
*/
public $iconLink;
/**
* The deprecation status of the current task. Default value is false;
*
* @var bool
*/
public $isDeprecated;
/**
* The actual class name or the annotated name of the task. Task Author should
* initialize this field with value from the getName() method of the Task
* class.
*
* @var string
*/
public $name;
/**
* External-facing documention for standalone IP in pantheon embedded in the
* RHP for this task. Non null only if different from external_doc_html
*
* @var string
*/
public $standaloneExternalDocHtml;
/**
* Allows author to indicate if the task is ready to use or not. If not set,
* then it will default to INACTIVE.
*
* @var string
*/
public $status;
/**
* @var string
*/
public $system;
/**
* A set of tags that pertain to a particular task. This can be used to
* improve the searchability of tasks with several names ("REST Caller" vs.
* "Call REST Endpoint") or to help users find tasks based on related words.
*
* @var string[]
*/
public $tags;
/**
* The new task name to replace the current task if it is deprecated.
* Otherwise, it is the same as the current task name.
*
* @param string $activeTaskName
*/
public function setActiveTaskName($activeTaskName)
{
$this->activeTaskName = $activeTaskName;
}
/**
* @return string
*/
public function getActiveTaskName()
{
return $this->activeTaskName;
}
/**
* @param EnterpriseCrmEventbusProtoTaskMetadataAdmin[] $admins
*/
public function setAdmins($admins)
{
$this->admins = $admins;
}
/**
* @return EnterpriseCrmEventbusProtoTaskMetadataAdmin[]
*/
public function getAdmins()
{
return $this->admins;
}
/**
* @param self::CATEGORY_* $category
*/
public function setCategory($category)
{
$this->category = $category;
}
/**
* @return self::CATEGORY_*
*/
public function getCategory()
{
return $this->category;
}
/**
* The Code Search link to the Task Java file.
*
* @param string $codeSearchLink
*/
public function setCodeSearchLink($codeSearchLink)
{
$this->codeSearchLink = $codeSearchLink;
}
/**
* @return string
*/
public function getCodeSearchLink()
{
return $this->codeSearchLink;
}
/**
* Controls whether JSON workflow parameters are validated against provided
* schemas before and/or after this task's execution.
*
* Accepted values: UNSPECIFIED_JSON_VALIDATION_OPTION, SKIP, PRE_EXECUTION,
* POST_EXECUTION, PRE_POST_EXECUTION
*
* @param self::DEFAULT_JSON_VALIDATION_OPTION_* $defaultJsonValidationOption
*/
public function setDefaultJsonValidationOption($defaultJsonValidationOption)
{
$this->defaultJsonValidationOption = $defaultJsonValidationOption;
}
/**
* @return self::DEFAULT_JSON_VALIDATION_OPTION_*
*/
public function getDefaultJsonValidationOption()
{
return $this->defaultJsonValidationOption;
}
/**
* Contains the initial configuration of the task with default values set. For
* now, The string should be compatible to an ASCII-proto format.
*
* @param string $defaultSpec
*/
public function setDefaultSpec($defaultSpec)
{
$this->defaultSpec = $defaultSpec;
}
/**
* @return string
*/
public function getDefaultSpec()
{
return $this->defaultSpec;
}
/**
* In a few sentences, describe the purpose and usage of the task.
*
* @param string $description
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* The string name to show on the task list on the Workflow editor screen.
* This should be a very short, one to two words name for the task. (e.g.
* "Send Mail")
*
* @param string $descriptiveName
*/
public function setDescriptiveName($descriptiveName)
{
$this->descriptiveName = $descriptiveName;
}
/**
* @return string
*/
public function getDescriptiveName()
{
return $this->descriptiveName;
}
/**
* Snippet of markdown documentation to embed in the RHP for this task.
*
* @param string $docMarkdown
*/
public function setDocMarkdown($docMarkdown)
{
$this->docMarkdown = $docMarkdown;
}
/**
* @return string
*/
public function getDocMarkdown()
{
return $this->docMarkdown;
}
/**
* @param self::EXTERNAL_CATEGORY_* $externalCategory
*/
public function setExternalCategory($externalCategory)
{
$this->externalCategory = $externalCategory;
}
/**
* @return self::EXTERNAL_CATEGORY_*
*/
public function getExternalCategory()
{
return $this->externalCategory;
}
/**
* Sequence with which the task in specific category to be displayed in task
* discovery panel for external users.
*
* @param int $externalCategorySequence
*/
public function setExternalCategorySequence($externalCategorySequence)
{
$this->externalCategorySequence = $externalCategorySequence;
}
/**
* @return int
*/
public function getExternalCategorySequence()
{
return $this->externalCategorySequence;
}
/**
* External-facing documention embedded in the RHP for this task.
*
* @param string $externalDocHtml
*/
public function setExternalDocHtml($externalDocHtml)
{
$this->externalDocHtml = $externalDocHtml;
}
/**
* @return string
*/
public function getExternalDocHtml()
{
return $this->externalDocHtml;
}
/**
* Doc link for external-facing documentation (separate from g3doc).
*
* @param string $externalDocLink
*/
public function setExternalDocLink($externalDocLink)
{
$this->externalDocLink = $externalDocLink;
}
/**
* @return string
*/
public function getExternalDocLink()
{
return $this->externalDocLink;
}
/**
* DEPRECATED: Use external_doc_html.
*
* @param string $externalDocMarkdown
*/
public function setExternalDocMarkdown($externalDocMarkdown)
{
$this->externalDocMarkdown = $externalDocMarkdown;
}
/**
* @return string
*/
public function getExternalDocMarkdown()
{
return $this->externalDocMarkdown;
}
/**
* URL to the associated G3 Doc for the task if available
*
* @param string $g3DocLink
*/
public function setG3DocLink($g3DocLink)
{
$this->g3DocLink = $g3DocLink;
}
/**
* @return string
*/
public function getG3DocLink()
{
return $this->g3DocLink;
}
/**
* URL to gstatic image icon for this task. This icon shows up on the task
* list panel along with the task name in the Workflow Editor screen. Use the
* 24p, 2x, gray color icon image format.
*
* @param string $iconLink
*/
public function setIconLink($iconLink)
{
$this->iconLink = $iconLink;
}
/**
* @return string
*/
public function getIconLink()
{
return $this->iconLink;
}
/**
* The deprecation status of the current task. Default value is false;
*
* @param bool $isDeprecated
*/
public function setIsDeprecated($isDeprecated)
{
$this->isDeprecated = $isDeprecated;
}
/**
* @return bool
*/
public function getIsDeprecated()
{
return $this->isDeprecated;
}
/**
* The actual class name or the annotated name of the task. Task Author should
* initialize this field with value from the getName() method of the Task
* class.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* External-facing documention for standalone IP in pantheon embedded in the
* RHP for this task. Non null only if different from external_doc_html
*
* @param string $standaloneExternalDocHtml
*/
public function setStandaloneExternalDocHtml($standaloneExternalDocHtml)
{
$this->standaloneExternalDocHtml = $standaloneExternalDocHtml;
}
/**
* @return string
*/
public function getStandaloneExternalDocHtml()
{
return $this->standaloneExternalDocHtml;
}
/**
* Allows author to indicate if the task is ready to use or not. If not set,
* then it will default to INACTIVE.
*
* Accepted values: UNSPECIFIED_STATUS, DEFAULT_INACTIVE, ACTIVE
*
* @param self::STATUS_* $status
*/
public function setStatus($status)
{
$this->status = $status;
}
/**
* @return self::STATUS_*
*/
public function getStatus()
{
return $this->status;
}
/**
* @param self::SYSTEM_* $system
*/
public function setSystem($system)
{
$this->system = $system;
}
/**
* @return self::SYSTEM_*
*/
public function getSystem()
{
return $this->system;
}
/**
* A set of tags that pertain to a particular task. This can be used to
* improve the searchability of tasks with several names ("REST Caller" vs.
* "Call REST Endpoint") or to help users find tasks based on related words.
*
* @param string[] $tags
*/
public function setTags($tags)
{
$this->tags = $tags;
}
/**
* @return string[]
*/
public function getTags()
{
return $this->tags;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoTaskMetadata::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoTaskMetadata');

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\Integrations;
class EnterpriseCrmEventbusProtoTaskMetadataAdmin extends \Google\Model
{
/**
* @var string
*/
public $googleGroupEmail;
/**
* @var string
*/
public $userEmail;
/**
* @param string $googleGroupEmail
*/
public function setGoogleGroupEmail($googleGroupEmail)
{
$this->googleGroupEmail = $googleGroupEmail;
}
/**
* @return string
*/
public function getGoogleGroupEmail()
{
return $this->googleGroupEmail;
}
/**
* @param string $userEmail
*/
public function setUserEmail($userEmail)
{
$this->userEmail = $userEmail;
}
/**
* @return string
*/
public function getUserEmail()
{
return $this->userEmail;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoTaskMetadataAdmin::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoTaskMetadataAdmin');

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\Integrations;
class EnterpriseCrmEventbusProtoTaskUiConfig extends \Google\Collection
{
protected $collection_key = 'taskUiModuleConfigs';
protected $taskUiModuleConfigsType = EnterpriseCrmEventbusProtoTaskUiModuleConfig::class;
protected $taskUiModuleConfigsDataType = 'array';
/**
* Configurations of included config modules.
*
* @param EnterpriseCrmEventbusProtoTaskUiModuleConfig[] $taskUiModuleConfigs
*/
public function setTaskUiModuleConfigs($taskUiModuleConfigs)
{
$this->taskUiModuleConfigs = $taskUiModuleConfigs;
}
/**
* @return EnterpriseCrmEventbusProtoTaskUiModuleConfig[]
*/
public function getTaskUiModuleConfigs()
{
return $this->taskUiModuleConfigs;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoTaskUiConfig::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoTaskUiConfig');

View File

@@ -0,0 +1,137 @@
<?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\Integrations;
class EnterpriseCrmEventbusProtoTaskUiModuleConfig extends \Google\Model
{
/**
* Default
*/
public const MODULE_ID_UNSPECIFIED_TASK_MODULE = 'UNSPECIFIED_TASK_MODULE';
/**
* Supports editing label of a task config.
*/
public const MODULE_ID_LABEL = 'LABEL';
/**
* Supports editing error handling settings such as retry strategy.
*/
public const MODULE_ID_ERROR_HANDLING = 'ERROR_HANDLING';
/**
* Supports adding, removing and editing task parameter values in a table with
* little assistance or restriction.
*/
public const MODULE_ID_TASK_PARAM_TABLE = 'TASK_PARAM_TABLE';
/**
* Supports editing values of declared input parameters of a task. Think of it
* as a "strongly typed" upgrade to the TASK_PARAM_TABLE.
*/
public const MODULE_ID_TASK_PARAM_FORM = 'TASK_PARAM_FORM';
/**
* Supports editing preconditions of a task config.
*/
public const MODULE_ID_PRECONDITION = 'PRECONDITION';
/**
* Supports adding, editing, and deleting the scripts associated with a script
* task, as well as modifying the input/output parameters.
*/
public const MODULE_ID_SCRIPT_EDITOR = 'SCRIPT_EDITOR';
/**
* Supports editing task parameters associated with an RPC/stubby task.
*/
public const MODULE_ID_RPC = 'RPC';
/**
* Contains readonly task information, including input/output type info.
*/
public const MODULE_ID_TASK_SUMMARY = 'TASK_SUMMARY';
/**
* Configures a SuspensionTask.
*/
public const MODULE_ID_SUSPENSION = 'SUSPENSION';
/**
* Configures a GenericStubbyTypedTask.
*/
public const MODULE_ID_RPC_TYPED = 'RPC_TYPED';
/**
* Configures a SubWorkflowExecutorTask.
*/
public const MODULE_ID_SUB_WORKFLOW = 'SUB_WORKFLOW';
/**
* Supports navigating to Apps Script editor
*/
public const MODULE_ID_APPS_SCRIPT_NAVIGATOR = 'APPS_SCRIPT_NAVIGATOR';
/**
* Configures a SubWorkflowForEachLoopTask.
*/
public const MODULE_ID_SUB_WORKFLOW_FOR_EACH_LOOP = 'SUB_WORKFLOW_FOR_EACH_LOOP';
/**
* Configures a FieldMappingTask.
*/
public const MODULE_ID_FIELD_MAPPING = 'FIELD_MAPPING';
/**
* Contains embedded in-product documentation for a task.
*/
public const MODULE_ID_README = 'README';
/**
* UI widget for the rest caller task.
*/
public const MODULE_ID_REST_CALLER = 'REST_CALLER';
/**
* Configures a SubWorkflowScatterGatherTask.
*/
public const MODULE_ID_SUB_WORKFLOW_SCATTER_GATHER = 'SUB_WORKFLOW_SCATTER_GATHER';
/**
* Configures a CloudSql Task.
*/
public const MODULE_ID_CLOUD_SQL = 'CLOUD_SQL';
/**
* Configure a GenericConnectorTask.
*/
public const MODULE_ID_GENERIC_CONNECTOR_TASK = 'GENERIC_CONNECTOR_TASK';
/**
* ID of the config module.
*
* @var string
*/
public $moduleId;
/**
* ID of the config module.
*
* Accepted values: UNSPECIFIED_TASK_MODULE, LABEL, ERROR_HANDLING,
* TASK_PARAM_TABLE, TASK_PARAM_FORM, PRECONDITION, SCRIPT_EDITOR, RPC,
* TASK_SUMMARY, SUSPENSION, RPC_TYPED, SUB_WORKFLOW, APPS_SCRIPT_NAVIGATOR,
* SUB_WORKFLOW_FOR_EACH_LOOP, FIELD_MAPPING, README, REST_CALLER,
* SUB_WORKFLOW_SCATTER_GATHER, CLOUD_SQL, GENERIC_CONNECTOR_TASK
*
* @param self::MODULE_ID_* $moduleId
*/
public function setModuleId($moduleId)
{
$this->moduleId = $moduleId;
}
/**
* @return self::MODULE_ID_*
*/
public function getModuleId()
{
return $this->moduleId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoTaskUiModuleConfig::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoTaskUiModuleConfig');

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\Integrations;
class EnterpriseCrmEventbusProtoTeardown extends \Google\Collection
{
protected $collection_key = 'teardownTaskConfigs';
protected $teardownTaskConfigsType = EnterpriseCrmEventbusProtoTeardownTaskConfig::class;
protected $teardownTaskConfigsDataType = 'array';
/**
* Required.
*
* @param EnterpriseCrmEventbusProtoTeardownTaskConfig[] $teardownTaskConfigs
*/
public function setTeardownTaskConfigs($teardownTaskConfigs)
{
$this->teardownTaskConfigs = $teardownTaskConfigs;
}
/**
* @return EnterpriseCrmEventbusProtoTeardownTaskConfig[]
*/
public function getTeardownTaskConfigs()
{
return $this->teardownTaskConfigs;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoTeardown::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoTeardown');

View File

@@ -0,0 +1,144 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Integrations;
class EnterpriseCrmEventbusProtoTeardownTaskConfig extends \Google\Model
{
/**
* The creator's email address.
*
* @var string
*/
public $creatorEmail;
/**
* Required. Unique identifier of the teardown task within this Config. We use
* this field as the identifier to find next teardown tasks.
*
* @var string
*/
public $name;
protected $nextTeardownTaskType = EnterpriseCrmEventbusProtoNextTeardownTask::class;
protected $nextTeardownTaskDataType = '';
protected $parametersType = EnterpriseCrmEventbusProtoEventParameters::class;
protected $parametersDataType = '';
protected $propertiesType = EnterpriseCrmEventbusProtoEventBusProperties::class;
protected $propertiesDataType = '';
/**
* Required. Implementation class name.
*
* @var string
*/
public $teardownTaskImplementationClassName;
/**
* The creator's email address.
*
* @param string $creatorEmail
*/
public function setCreatorEmail($creatorEmail)
{
$this->creatorEmail = $creatorEmail;
}
/**
* @return string
*/
public function getCreatorEmail()
{
return $this->creatorEmail;
}
/**
* Required. Unique identifier of the teardown task within this Config. We use
* this field as the identifier to find next teardown tasks.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param EnterpriseCrmEventbusProtoNextTeardownTask $nextTeardownTask
*/
public function setNextTeardownTask(EnterpriseCrmEventbusProtoNextTeardownTask $nextTeardownTask)
{
$this->nextTeardownTask = $nextTeardownTask;
}
/**
* @return EnterpriseCrmEventbusProtoNextTeardownTask
*/
public function getNextTeardownTask()
{
return $this->nextTeardownTask;
}
/**
* The parameters the user can pass to this task.
*
* @param EnterpriseCrmEventbusProtoEventParameters $parameters
*/
public function setParameters(EnterpriseCrmEventbusProtoEventParameters $parameters)
{
$this->parameters = $parameters;
}
/**
* @return EnterpriseCrmEventbusProtoEventParameters
*/
public function getParameters()
{
return $this->parameters;
}
/**
* @param EnterpriseCrmEventbusProtoEventBusProperties $properties
*/
public function setProperties(EnterpriseCrmEventbusProtoEventBusProperties $properties)
{
$this->properties = $properties;
}
/**
* @return EnterpriseCrmEventbusProtoEventBusProperties
*/
public function getProperties()
{
return $this->properties;
}
/**
* Required. Implementation class name.
*
* @param string $teardownTaskImplementationClassName
*/
public function setTeardownTaskImplementationClassName($teardownTaskImplementationClassName)
{
$this->teardownTaskImplementationClassName = $teardownTaskImplementationClassName;
}
/**
* @return string
*/
public function getTeardownTaskImplementationClassName()
{
return $this->teardownTaskImplementationClassName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoTeardownTaskConfig::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoTeardownTaskConfig');

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\Integrations;
class EnterpriseCrmEventbusProtoToken extends \Google\Model
{
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $value;
/**
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string $value
*/
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(EnterpriseCrmEventbusProtoToken::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoToken');

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\Integrations;
class EnterpriseCrmEventbusProtoTransformExpression extends \Google\Collection
{
protected $collection_key = 'transformationFunctions';
protected $initialValueType = EnterpriseCrmEventbusProtoBaseValue::class;
protected $initialValueDataType = '';
protected $transformationFunctionsType = EnterpriseCrmEventbusProtoFunction::class;
protected $transformationFunctionsDataType = 'array';
/**
* Initial value upon which to perform transformations.
*
* @param EnterpriseCrmEventbusProtoBaseValue $initialValue
*/
public function setInitialValue(EnterpriseCrmEventbusProtoBaseValue $initialValue)
{
$this->initialValue = $initialValue;
}
/**
* @return EnterpriseCrmEventbusProtoBaseValue
*/
public function getInitialValue()
{
return $this->initialValue;
}
/**
* Transformations to be applied sequentially.
*
* @param EnterpriseCrmEventbusProtoFunction[] $transformationFunctions
*/
public function setTransformationFunctions($transformationFunctions)
{
$this->transformationFunctions = $transformationFunctions;
}
/**
* @return EnterpriseCrmEventbusProtoFunction[]
*/
public function getTransformationFunctions()
{
return $this->transformationFunctions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoTransformExpression::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoTransformExpression');

View File

@@ -0,0 +1,94 @@
<?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\Integrations;
class EnterpriseCrmEventbusProtoTriggerCriteria extends \Google\Model
{
/**
* Required. Standard filter expression, when true the workflow will be
* executed. If there's no trigger_criteria_task_implementation_class_name
* specified, the condition will be validated directly.
*
* @var string
*/
public $condition;
protected $parametersType = EnterpriseCrmEventbusProtoEventParameters::class;
protected $parametersDataType = '';
/**
* Optional. Implementation class name. The class should implement the
* “TypedTask” interface.
*
* @var string
*/
public $triggerCriteriaTaskImplementationClassName;
/**
* Required. Standard filter expression, when true the workflow will be
* executed. If there's no trigger_criteria_task_implementation_class_name
* specified, the condition will be validated directly.
*
* @param string $condition
*/
public function setCondition($condition)
{
$this->condition = $condition;
}
/**
* @return string
*/
public function getCondition()
{
return $this->condition;
}
/**
* Optional. To be used in TaskConfig for the implementation class.
*
* @param EnterpriseCrmEventbusProtoEventParameters $parameters
*/
public function setParameters(EnterpriseCrmEventbusProtoEventParameters $parameters)
{
$this->parameters = $parameters;
}
/**
* @return EnterpriseCrmEventbusProtoEventParameters
*/
public function getParameters()
{
return $this->parameters;
}
/**
* Optional. Implementation class name. The class should implement the
* “TypedTask” interface.
*
* @param string $triggerCriteriaTaskImplementationClassName
*/
public function setTriggerCriteriaTaskImplementationClassName($triggerCriteriaTaskImplementationClassName)
{
$this->triggerCriteriaTaskImplementationClassName = $triggerCriteriaTaskImplementationClassName;
}
/**
* @return string
*/
public function getTriggerCriteriaTaskImplementationClassName()
{
return $this->triggerCriteriaTaskImplementationClassName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseCrmEventbusProtoTriggerCriteria::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoTriggerCriteria');

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