gestione documentale avanzata 1 parte

This commit is contained in:
2026-05-28 09:34:28 +02:00
parent 3471befb1a
commit f2b0833b90
34482 changed files with 4312269 additions and 546 deletions
@@ -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\DataFusion;
class Accelerator extends \Google\Model
{
/**
* Default value, if unspecified.
*/
public const ACCELERATOR_TYPE_ACCELERATOR_TYPE_UNSPECIFIED = 'ACCELERATOR_TYPE_UNSPECIFIED';
/**
* Change Data Capture accelerator for Cloud Data Fusion.
*/
public const ACCELERATOR_TYPE_CDC = 'CDC';
/**
* Reserved for internal use.
*/
public const ACCELERATOR_TYPE_HEALTHCARE = 'HEALTHCARE';
/**
* Contact Center AI Insights This accelerator is used to enable import and
* export pipelines custom built to streamline CCAI Insights processing.
*/
public const ACCELERATOR_TYPE_CCAI_INSIGHTS = 'CCAI_INSIGHTS';
/**
* Reserved for internal use.
*/
public const ACCELERATOR_TYPE_CLOUDSEARCH = 'CLOUDSEARCH';
/**
* Default value, do not use.
*/
public const STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
/**
* Indicates that the accelerator is enabled and available to use.
*/
public const STATE_ENABLED = 'ENABLED';
/**
* Indicates that the accelerator is disabled and not available to use.
*/
public const STATE_DISABLED = 'DISABLED';
/**
* Indicates that accelerator state is currently unknown. Requests for enable,
* disable could be retried while in this state.
*/
public const STATE_UNKNOWN = 'UNKNOWN';
/**
* Optional. The type of an accelator for a Cloud Data Fusion instance.
*
* @var string
*/
public $acceleratorType;
/**
* Output only. The state of the accelerator.
*
* @var string
*/
public $state;
/**
* Optional. The type of an accelator for a Cloud Data Fusion instance.
*
* Accepted values: ACCELERATOR_TYPE_UNSPECIFIED, CDC, HEALTHCARE,
* CCAI_INSIGHTS, CLOUDSEARCH
*
* @param self::ACCELERATOR_TYPE_* $acceleratorType
*/
public function setAcceleratorType($acceleratorType)
{
$this->acceleratorType = $acceleratorType;
}
/**
* @return self::ACCELERATOR_TYPE_*
*/
public function getAcceleratorType()
{
return $this->acceleratorType;
}
/**
* Output only. The state of the accelerator.
*
* Accepted values: STATE_UNSPECIFIED, ENABLED, DISABLED, UNKNOWN
*
* @param self::STATE_* $state
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return self::STATE_*
*/
public function getState()
{
return $this->state;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Accelerator::class, 'Google_Service_DataFusion_Accelerator');
@@ -0,0 +1,91 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\DataFusion;
class AssetLocation extends \Google\Collection
{
protected $collection_key = 'parentAsset';
protected $expectedType = IsolationExpectations::class;
protected $expectedDataType = '';
protected $extraParametersType = ExtraParameter::class;
protected $extraParametersDataType = 'array';
protected $locationDataType = LocationData::class;
protected $locationDataDataType = 'array';
protected $parentAssetType = CloudAsset::class;
protected $parentAssetDataType = 'array';
/**
* @param IsolationExpectations
*/
public function setExpected(IsolationExpectations $expected)
{
$this->expected = $expected;
}
/**
* @return IsolationExpectations
*/
public function getExpected()
{
return $this->expected;
}
/**
* @param ExtraParameter[]
*/
public function setExtraParameters($extraParameters)
{
$this->extraParameters = $extraParameters;
}
/**
* @return ExtraParameter[]
*/
public function getExtraParameters()
{
return $this->extraParameters;
}
/**
* @param LocationData[]
*/
public function setLocationData($locationData)
{
$this->locationData = $locationData;
}
/**
* @return LocationData[]
*/
public function getLocationData()
{
return $this->locationData;
}
/**
* @param CloudAsset[]
*/
public function setParentAsset($parentAsset)
{
$this->parentAsset = $parentAsset;
}
/**
* @return CloudAsset[]
*/
public function getParentAsset()
{
return $this->parentAsset;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AssetLocation::class, 'Google_Service_DataFusion_AssetLocation');
@@ -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\DataFusion;
class AuditConfig extends \Google\Collection
{
protected $collection_key = 'auditLogConfigs';
protected $auditLogConfigsType = AuditLogConfig::class;
protected $auditLogConfigsDataType = 'array';
/**
* Specifies a service that will be enabled for audit logging. For example,
* `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a
* special value that covers all services.
*
* @var string
*/
public $service;
/**
* The configuration for logging of each type of permission.
*
* @param AuditLogConfig[] $auditLogConfigs
*/
public function setAuditLogConfigs($auditLogConfigs)
{
$this->auditLogConfigs = $auditLogConfigs;
}
/**
* @return AuditLogConfig[]
*/
public function getAuditLogConfigs()
{
return $this->auditLogConfigs;
}
/**
* Specifies a service that will be enabled for audit logging. For example,
* `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a
* special value that covers all services.
*
* @param string $service
*/
public function setService($service)
{
$this->service = $service;
}
/**
* @return string
*/
public function getService()
{
return $this->service;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AuditConfig::class, 'Google_Service_DataFusion_AuditConfig');
@@ -0,0 +1,91 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\DataFusion;
class AuditLogConfig extends \Google\Collection
{
/**
* Default case. Should never be this.
*/
public const LOG_TYPE_LOG_TYPE_UNSPECIFIED = 'LOG_TYPE_UNSPECIFIED';
/**
* Admin reads. Example: CloudIAM getIamPolicy
*/
public const LOG_TYPE_ADMIN_READ = 'ADMIN_READ';
/**
* Data writes. Example: CloudSQL Users create
*/
public const LOG_TYPE_DATA_WRITE = 'DATA_WRITE';
/**
* Data reads. Example: CloudSQL Users list
*/
public const LOG_TYPE_DATA_READ = 'DATA_READ';
protected $collection_key = 'exemptedMembers';
/**
* Specifies the identities that do not cause logging for this type of
* permission. Follows the same format of Binding.members.
*
* @var string[]
*/
public $exemptedMembers;
/**
* The log type that this config enables.
*
* @var string
*/
public $logType;
/**
* Specifies the identities that do not cause logging for this type of
* permission. Follows the same format of Binding.members.
*
* @param string[] $exemptedMembers
*/
public function setExemptedMembers($exemptedMembers)
{
$this->exemptedMembers = $exemptedMembers;
}
/**
* @return string[]
*/
public function getExemptedMembers()
{
return $this->exemptedMembers;
}
/**
* The log type that this config enables.
*
* Accepted values: LOG_TYPE_UNSPECIFIED, ADMIN_READ, DATA_WRITE, DATA_READ
*
* @param self::LOG_TYPE_* $logType
*/
public function setLogType($logType)
{
$this->logType = $logType;
}
/**
* @return self::LOG_TYPE_*
*/
public function getLogType()
{
return $this->logType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AuditLogConfig::class, 'Google_Service_DataFusion_AuditLogConfig');
@@ -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\DataFusion;
class Binding extends \Google\Collection
{
protected $collection_key = 'members';
protected $conditionType = Expr::class;
protected $conditionDataType = '';
/**
* Specifies the principals requesting access for a Google Cloud resource.
* `members` can have the following values: * `allUsers`: A special identifier
* that represents anyone who is on the internet; with or without a Google
* account. * `allAuthenticatedUsers`: A special identifier that represents
* anyone who is authenticated with a Google account or a service account.
* Does not include identities that come from external identity providers
* (IdPs) through identity federation. * `user:{emailid}`: An email address
* that represents a specific Google account. For example, `alice@example.com`
* . * `serviceAccount:{emailid}`: An email address that represents a Google
* service account. For example, `my-other-app@appspot.gserviceaccount.com`. *
* `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An
* identifier for a [Kubernetes service
* account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-
* service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-
* kubernetes-sa]`. * `group:{emailid}`: An email address that represents a
* Google group. For example, `admins@example.com`. * `domain:{domain}`: The G
* Suite domain (primary) that represents all the users of that domain. For
* example, `google.com` or `example.com`. * `principal://iam.googleapis.com/l
* ocations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`
* : A single identity in a workforce identity pool. * `principalSet://iam.goo
* gleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`:
* All workforce identities in a group. * `principalSet://iam.googleapis.com/l
* ocations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attrib
* ute_value}`: All workforce identities with a specific attribute value. * `p
* rincipalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}`
* : All identities in a workforce identity pool. * `principal://iam.googleapi
* s.com/projects/{project_number}/locations/global/workloadIdentityPools/{poo
* l_id}/subject/{subject_attribute_value}`: A single identity in a workload
* identity pool. * `principalSet://iam.googleapis.com/projects/{project_numbe
* r}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A
* workload identity pool group. * `principalSet://iam.googleapis.com/projects
* /{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribut
* e.{attribute_name}/{attribute_value}`: All identities in a workload
* identity pool with a certain attribute. * `principalSet://iam.googleapis.co
* m/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id
* }`: All identities in a workload identity pool. *
* `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique
* identifier) representing a user that has been recently deleted. For
* example, `alice@example.com?uid=123456789012345678901`. If the user is
* recovered, this value reverts to `user:{emailid}` and the recovered user
* retains the role in the binding. *
* `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus
* unique identifier) representing a service account that has been recently
* deleted. For example, `my-other-
* app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service
* account is undeleted, this value reverts to `serviceAccount:{emailid}` and
* the undeleted service account retains the role in the binding. *
* `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique
* identifier) representing a Google group that has been recently deleted. For
* example, `admins@example.com?uid=123456789012345678901`. If the group is
* recovered, this value reverts to `group:{emailid}` and the recovered group
* retains the role in the binding. * `deleted:principal://iam.googleapis.com/
* locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}
* `: Deleted single identity in a workforce identity pool. For example,
* `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-
* pool-id/subject/my-subject-attribute-value`.
*
* @var string[]
*/
public $members;
/**
* Role that is assigned to the list of `members`, or principals. For example,
* `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the
* IAM roles and permissions, see the [IAM
* documentation](https://cloud.google.com/iam/docs/roles-overview). For a
* list of the available pre-defined roles, see
* [here](https://cloud.google.com/iam/docs/understanding-roles).
*
* @var string
*/
public $role;
/**
* The condition that is associated with this binding. If the condition
* evaluates to `true`, then this binding applies to the current request. If
* the condition evaluates to `false`, then this binding does not apply to the
* current request. However, a different role binding might grant the same
* role to one or more of the principals in this binding. To learn which
* resources support conditions in their IAM policies, see the [IAM
* documentation](https://cloud.google.com/iam/help/conditions/resource-
* policies).
*
* @param Expr $condition
*/
public function setCondition(Expr $condition)
{
$this->condition = $condition;
}
/**
* @return Expr
*/
public function getCondition()
{
return $this->condition;
}
/**
* Specifies the principals requesting access for a Google Cloud resource.
* `members` can have the following values: * `allUsers`: A special identifier
* that represents anyone who is on the internet; with or without a Google
* account. * `allAuthenticatedUsers`: A special identifier that represents
* anyone who is authenticated with a Google account or a service account.
* Does not include identities that come from external identity providers
* (IdPs) through identity federation. * `user:{emailid}`: An email address
* that represents a specific Google account. For example, `alice@example.com`
* . * `serviceAccount:{emailid}`: An email address that represents a Google
* service account. For example, `my-other-app@appspot.gserviceaccount.com`. *
* `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An
* identifier for a [Kubernetes service
* account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-
* service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-
* kubernetes-sa]`. * `group:{emailid}`: An email address that represents a
* Google group. For example, `admins@example.com`. * `domain:{domain}`: The G
* Suite domain (primary) that represents all the users of that domain. For
* example, `google.com` or `example.com`. * `principal://iam.googleapis.com/l
* ocations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`
* : A single identity in a workforce identity pool. * `principalSet://iam.goo
* gleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`:
* All workforce identities in a group. * `principalSet://iam.googleapis.com/l
* ocations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attrib
* ute_value}`: All workforce identities with a specific attribute value. * `p
* rincipalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}`
* : All identities in a workforce identity pool. * `principal://iam.googleapi
* s.com/projects/{project_number}/locations/global/workloadIdentityPools/{poo
* l_id}/subject/{subject_attribute_value}`: A single identity in a workload
* identity pool. * `principalSet://iam.googleapis.com/projects/{project_numbe
* r}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A
* workload identity pool group. * `principalSet://iam.googleapis.com/projects
* /{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribut
* e.{attribute_name}/{attribute_value}`: All identities in a workload
* identity pool with a certain attribute. * `principalSet://iam.googleapis.co
* m/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id
* }`: All identities in a workload identity pool. *
* `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique
* identifier) representing a user that has been recently deleted. For
* example, `alice@example.com?uid=123456789012345678901`. If the user is
* recovered, this value reverts to `user:{emailid}` and the recovered user
* retains the role in the binding. *
* `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus
* unique identifier) representing a service account that has been recently
* deleted. For example, `my-other-
* app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service
* account is undeleted, this value reverts to `serviceAccount:{emailid}` and
* the undeleted service account retains the role in the binding. *
* `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique
* identifier) representing a Google group that has been recently deleted. For
* example, `admins@example.com?uid=123456789012345678901`. If the group is
* recovered, this value reverts to `group:{emailid}` and the recovered group
* retains the role in the binding. * `deleted:principal://iam.googleapis.com/
* locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}
* `: Deleted single identity in a workforce identity pool. For example,
* `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-
* pool-id/subject/my-subject-attribute-value`.
*
* @param string[] $members
*/
public function setMembers($members)
{
$this->members = $members;
}
/**
* @return string[]
*/
public function getMembers()
{
return $this->members;
}
/**
* Role that is assigned to the list of `members`, or principals. For example,
* `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the
* IAM roles and permissions, see the [IAM
* documentation](https://cloud.google.com/iam/docs/roles-overview). For a
* list of the available pre-defined roles, see
* [here](https://cloud.google.com/iam/docs/understanding-roles).
*
* @param string $role
*/
public function setRole($role)
{
$this->role = $role;
}
/**
* @return string
*/
public function getRole()
{
return $this->role;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Binding::class, 'Google_Service_DataFusion_Binding');
@@ -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\DataFusion;
class BlobstoreLocation extends \Google\Collection
{
protected $collection_key = 'policyId';
/**
* @var string[]
*/
public $policyId;
/**
* @param string[]
*/
public function setPolicyId($policyId)
{
$this->policyId = $policyId;
}
/**
* @return string[]
*/
public function getPolicyId()
{
return $this->policyId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BlobstoreLocation::class, 'Google_Service_DataFusion_BlobstoreLocation');
@@ -0,0 +1,25 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\DataFusion;
class CancelOperationRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CancelOperationRequest::class, 'Google_Service_DataFusion_CancelOperationRequest');
@@ -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\DataFusion;
class CloudAsset extends \Google\Model
{
/**
* @var string
*/
public $assetName;
/**
* @var string
*/
public $assetType;
/**
* @param string
*/
public function setAssetName($assetName)
{
$this->assetName = $assetName;
}
/**
* @return string
*/
public function getAssetName()
{
return $this->assetName;
}
/**
* @param string
*/
public function setAssetType($assetType)
{
$this->assetType = $assetType;
}
/**
* @return string
*/
public function getAssetType()
{
return $this->assetType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudAsset::class, 'Google_Service_DataFusion_CloudAsset');
@@ -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\DataFusion;
class CloudAssetComposition extends \Google\Collection
{
protected $collection_key = 'childAsset';
protected $childAssetType = CloudAsset::class;
protected $childAssetDataType = 'array';
/**
* @param CloudAsset[]
*/
public function setChildAsset($childAsset)
{
$this->childAsset = $childAsset;
}
/**
* @return CloudAsset[]
*/
public function getChildAsset()
{
return $this->childAsset;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudAssetComposition::class, 'Google_Service_DataFusion_CloudAssetComposition');
@@ -0,0 +1,52 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\DataFusion;
class CryptoKeyConfig extends \Google\Model
{
/**
* Optional. The name of the key which is used to encrypt/decrypt customer
* data. For key in Cloud KMS, the key should be in the format of
* `projects/locations/keyRings/cryptoKeys`.
*
* @var string
*/
public $keyReference;
/**
* Optional. The name of the key which is used to encrypt/decrypt customer
* data. For key in Cloud KMS, the key should be in the format of
* `projects/locations/keyRings/cryptoKeys`.
*
* @param string $keyReference
*/
public function setKeyReference($keyReference)
{
$this->keyReference = $keyReference;
}
/**
* @return string
*/
public function getKeyReference()
{
return $this->keyReference;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CryptoKeyConfig::class, 'Google_Service_DataFusion_CryptoKeyConfig');
@@ -0,0 +1,97 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\DataFusion;
class DataResidencyAugmentedView extends \Google\Collection
{
protected $collection_key = 'tpIds';
/**
* @var string[]
*/
public $crGopoGuris;
/**
* @var string[]
*/
public $crGopoPrefixes;
protected $serviceDataType = ServiceData::class;
protected $serviceDataDataType = '';
/**
* @var string[]
*/
public $tpIds;
/**
* @param string[]
*/
public function setCrGopoGuris($crGopoGuris)
{
$this->crGopoGuris = $crGopoGuris;
}
/**
* @return string[]
*/
public function getCrGopoGuris()
{
return $this->crGopoGuris;
}
/**
* @param string[]
*/
public function setCrGopoPrefixes($crGopoPrefixes)
{
$this->crGopoPrefixes = $crGopoPrefixes;
}
/**
* @return string[]
*/
public function getCrGopoPrefixes()
{
return $this->crGopoPrefixes;
}
/**
* @param ServiceData
*/
public function setServiceData(ServiceData $serviceData)
{
$this->serviceData = $serviceData;
}
/**
* @return ServiceData
*/
public function getServiceData()
{
return $this->serviceData;
}
/**
* @param string[]
*/
public function setTpIds($tpIds)
{
$this->tpIds = $tpIds;
}
/**
* @return string[]
*/
public function getTpIds()
{
return $this->tpIds;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DataResidencyAugmentedView::class, 'Google_Service_DataFusion_DataResidencyAugmentedView');
@@ -0,0 +1,25 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\DataFusion;
class DatafusionEmpty extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DatafusionEmpty::class, 'Google_Service_DataFusion_DatafusionEmpty');
@@ -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\DataFusion;
class DirectLocationAssignment extends \Google\Collection
{
protected $collection_key = 'location';
protected $locationType = LocationAssignment::class;
protected $locationDataType = 'array';
/**
* @param LocationAssignment[]
*/
public function setLocation($location)
{
$this->location = $location;
}
/**
* @return LocationAssignment[]
*/
public function getLocation()
{
return $this->location;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DirectLocationAssignment::class, 'Google_Service_DataFusion_DirectLocationAssignment');
@@ -0,0 +1,138 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\DataFusion;
class DnsPeering extends \Google\Model
{
/**
* Optional. Optional description of the dns zone.
*
* @var string
*/
public $description;
/**
* Required. The dns name suffix of the zone.
*
* @var string
*/
public $domain;
/**
* Identifier. The resource name of the dns peering zone. Format: projects/{pr
* oject}/locations/{location}/instances/{instance}/dnsPeerings/{dns_peering}
*
* @var string
*/
public $name;
/**
* Optional. Optional target network to which dns peering should happen.
*
* @var string
*/
public $targetNetwork;
/**
* Optional. Optional target project to which dns peering should happen.
*
* @var string
*/
public $targetProject;
/**
* Optional. Optional description of the dns zone.
*
* @param string $description
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* Required. The dns name suffix of the zone.
*
* @param string $domain
*/
public function setDomain($domain)
{
$this->domain = $domain;
}
/**
* @return string
*/
public function getDomain()
{
return $this->domain;
}
/**
* Identifier. The resource name of the dns peering zone. Format: projects/{pr
* oject}/locations/{location}/instances/{instance}/dnsPeerings/{dns_peering}
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Optional. Optional target network to which dns peering should happen.
*
* @param string $targetNetwork
*/
public function setTargetNetwork($targetNetwork)
{
$this->targetNetwork = $targetNetwork;
}
/**
* @return string
*/
public function getTargetNetwork()
{
return $this->targetNetwork;
}
/**
* Optional. Optional target project to which dns peering should happen.
*
* @param string $targetProject
*/
public function setTargetProject($targetProject)
{
$this->targetProject = $targetProject;
}
/**
* @return string
*/
public function getTargetProject()
{
return $this->targetProject;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DnsPeering::class, 'Google_Service_DataFusion_DnsPeering');
@@ -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\DataFusion;
class EventPublishConfig extends \Google\Model
{
/**
* Required. Option to enable Event Publishing.
*
* @var bool
*/
public $enabled;
/**
* Required. The resource name of the Pub/Sub topic. Format:
* projects/{project_id}/topics/{topic_id}
*
* @var string
*/
public $topic;
/**
* Required. Option to enable Event Publishing.
*
* @param bool $enabled
*/
public function setEnabled($enabled)
{
$this->enabled = $enabled;
}
/**
* @return bool
*/
public function getEnabled()
{
return $this->enabled;
}
/**
* Required. The resource name of the Pub/Sub topic. Format:
* projects/{project_id}/topics/{topic_id}
*
* @param string $topic
*/
public function setTopic($topic)
{
$this->topic = $topic;
}
/**
* @return string
*/
public function getTopic()
{
return $this->topic;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EventPublishConfig::class, 'Google_Service_DataFusion_EventPublishConfig');
+122
View File
@@ -0,0 +1,122 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\DataFusion;
class Expr extends \Google\Model
{
/**
* Optional. Description of the expression. This is a longer text which
* describes the expression, e.g. when hovered over it in a UI.
*
* @var string
*/
public $description;
/**
* Textual representation of an expression in Common Expression Language
* syntax.
*
* @var string
*/
public $expression;
/**
* Optional. String indicating the location of the expression for error
* reporting, e.g. a file name and a position in the file.
*
* @var string
*/
public $location;
/**
* Optional. Title for the expression, i.e. a short string describing its
* purpose. This can be used e.g. in UIs which allow to enter the expression.
*
* @var string
*/
public $title;
/**
* Optional. Description of the expression. This is a longer text which
* describes the expression, e.g. when hovered over it in a UI.
*
* @param string $description
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* Textual representation of an expression in Common Expression Language
* syntax.
*
* @param string $expression
*/
public function setExpression($expression)
{
$this->expression = $expression;
}
/**
* @return string
*/
public function getExpression()
{
return $this->expression;
}
/**
* Optional. String indicating the location of the expression for error
* reporting, e.g. a file name and a position in the file.
*
* @param string $location
*/
public function setLocation($location)
{
$this->location = $location;
}
/**
* @return string
*/
public function getLocation()
{
return $this->location;
}
/**
* Optional. Title for the expression, i.e. a short string describing its
* purpose. This can be used e.g. in UIs which allow to enter the expression.
*
* @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(Expr::class, 'Google_Service_DataFusion_Expr');
@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\DataFusion;
class ExtraParameter extends \Google\Model
{
protected $regionalMigDistributionPolicyType = RegionalMigDistributionPolicy::class;
protected $regionalMigDistributionPolicyDataType = '';
/**
* @param RegionalMigDistributionPolicy
*/
public function setRegionalMigDistributionPolicy(RegionalMigDistributionPolicy $regionalMigDistributionPolicy)
{
$this->regionalMigDistributionPolicy = $regionalMigDistributionPolicy;
}
/**
* @return RegionalMigDistributionPolicy
*/
public function getRegionalMigDistributionPolicy()
{
return $this->regionalMigDistributionPolicy;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ExtraParameter::class, 'Google_Service_DataFusion_ExtraParameter');
@@ -0,0 +1,991 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\DataFusion;
class Instance extends \Google\Collection
{
/**
* Instance does not have a state yet
*/
public const STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
/**
* Instance is being created
*/
public const STATE_CREATING = 'CREATING';
/**
* Instance is active and ready for requests. This corresponds to 'RUNNING' in
* datafusion.v1beta1.
*/
public const STATE_ACTIVE = 'ACTIVE';
/**
* Instance creation failed
*/
public const STATE_FAILED = 'FAILED';
/**
* Instance is being deleted
*/
public const STATE_DELETING = 'DELETING';
/**
* Instance is being upgraded
*/
public const STATE_UPGRADING = 'UPGRADING';
/**
* Instance is being restarted
*/
public const STATE_RESTARTING = 'RESTARTING';
/**
* Instance is being updated on customer request
*/
public const STATE_UPDATING = 'UPDATING';
/**
* Instance is being auto-updated
*/
public const STATE_AUTO_UPDATING = 'AUTO_UPDATING';
/**
* Instance is being auto-upgraded
*/
public const STATE_AUTO_UPGRADING = 'AUTO_UPGRADING';
/**
* Instance is disabled
*/
public const STATE_DISABLED = 'DISABLED';
/**
* Instance is being enabled.
*/
public const STATE_ENABLING = 'ENABLING';
/**
* No type specified. The instance creation will fail.
*/
public const TYPE_TYPE_UNSPECIFIED = 'TYPE_UNSPECIFIED';
/**
* Basic Data Fusion instance. In Basic type, the user will be able to create
* data pipelines using point and click UI. However, there are certain
* limitations, such as fewer number of concurrent pipelines, no support for
* streaming pipelines, etc.
*/
public const TYPE_BASIC = 'BASIC';
/**
* Enterprise Data Fusion instance. In Enterprise type, the user will have all
* features available, such as support for streaming pipelines, higher number
* of concurrent pipelines, etc.
*/
public const TYPE_ENTERPRISE = 'ENTERPRISE';
/**
* Developer Data Fusion instance. In Developer type, the user will have all
* features available but with restrictive capabilities. This is to help
* enterprises design and develop their data ingestion and integration
* pipelines at low cost.
*/
public const TYPE_DEVELOPER = 'DEVELOPER';
protected $collection_key = 'maintenanceEvents';
protected $acceleratorsType = Accelerator::class;
protected $acceleratorsDataType = 'array';
/**
* Output only. Endpoint on which the REST APIs is accessible.
*
* @var string
*/
public $apiEndpoint;
protected $availableVersionType = Version::class;
protected $availableVersionDataType = 'array';
/**
* Output only. The time the instance was created.
*
* @var string
*/
public $createTime;
protected $cryptoKeyConfigType = CryptoKeyConfig::class;
protected $cryptoKeyConfigDataType = '';
/**
* Optional. Option to enable the Dataplex Lineage Integration feature.
*
* @var bool
*/
public $dataplexDataLineageIntegrationEnabled;
/**
* Optional. User-managed service account to set on Dataproc when Cloud Data
* Fusion creates Dataproc to run data processing pipelines. This allows users
* to have fine-grained access control on Dataproc's accesses to cloud
* resources.
*
* @var string
*/
public $dataprocServiceAccount;
/**
* Optional. A description of this instance.
*
* @var string
*/
public $description;
/**
* Output only. If the instance state is DISABLED, the reason for disabling
* the instance.
*
* @var string[]
*/
public $disabledReason;
/**
* Optional. Display name for an instance.
*
* @var string
*/
public $displayName;
/**
* Optional. Option to enable granular role-based access control.
*
* @var bool
*/
public $enableRbac;
/**
* Optional. Option to enable Dataproc Stackdriver Logging.
*
* @var bool
*/
public $enableStackdriverLogging;
/**
* Optional. Option to enable Stackdriver Monitoring.
*
* @var bool
*/
public $enableStackdriverMonitoring;
/**
* Output only. Option to enable granular zone separation.
*
* @var bool
*/
public $enableZoneSeparation;
protected $eventPublishConfigType = EventPublishConfig::class;
protected $eventPublishConfigDataType = '';
/**
* Output only. Cloud Storage bucket generated by Data Fusion in the customer
* project.
*
* @var string
*/
public $gcsBucket;
/**
* The resource labels for instance to use to annotate any related underlying
* resources such as Compute Engine VMs. The character '=' is not allowed to
* be used within the labels.
*
* @var string[]
*/
public $labels;
protected $loggingConfigType = LoggingConfig::class;
protected $loggingConfigDataType = '';
protected $maintenanceEventsType = MaintenanceEvent::class;
protected $maintenanceEventsDataType = 'array';
protected $maintenancePolicyType = MaintenancePolicy::class;
protected $maintenancePolicyDataType = '';
protected $monitoringConfigType = MonitoringConfig::class;
protected $monitoringConfigDataType = '';
/**
* Output only. The name of this instance is in the form of
* projects/{project}/locations/{location}/instances/{instance}.
*
* @var string
*/
public $name;
protected $networkConfigType = NetworkConfig::class;
protected $networkConfigDataType = '';
/**
* Optional. Map of additional options used to configure the behavior of Data
* Fusion instance.
*
* @var string[]
*/
public $options;
/**
* Output only. Service agent for the customer project.
*
* @var string
*/
public $p4ServiceAccount;
/**
* Optional. Current patch revision of the Data Fusion.
*
* @var string
*/
public $patchRevision;
/**
* Optional. Specifies whether the Data Fusion instance should be private. If
* set to true, all Data Fusion nodes will have private IP addresses and will
* not be able to access the public internet.
*
* @var bool
*/
public $privateInstance;
/**
* Output only. Reserved for future use.
*
* @var bool
*/
public $satisfiesPzi;
/**
* Output only. Reserved for future use.
*
* @var bool
*/
public $satisfiesPzs;
/**
* Output only. Deprecated. Use tenant_project_id instead to extract the
* tenant project ID.
*
* @deprecated
* @var string
*/
public $serviceAccount;
/**
* Output only. Endpoint on which the Data Fusion UI is accessible.
*
* @var string
*/
public $serviceEndpoint;
/**
* Output only. The current state of this Data Fusion instance.
*
* @var string
*/
public $state;
/**
* Output only. Additional information about the current state of this Data
* Fusion instance if available.
*
* @var string
*/
public $stateMessage;
/**
* Optional. Input only. Immutable. Tag keys/values directly bound to this
* resource. For example: "123/environment": "production", "123/costCenter":
* "marketing"
*
* @var string[]
*/
public $tags;
/**
* Output only. The name of the tenant project.
*
* @var string
*/
public $tenantProjectId;
/**
* Required. Instance type.
*
* @var string
*/
public $type;
/**
* Output only. The time the instance was last updated.
*
* @var string
*/
public $updateTime;
/**
* Optional. Current version of the Data Fusion. Only specifiable in Update.
*
* @var string
*/
public $version;
/**
* Output only. Endpoint on which the Data Fusion UI is accessible to third-
* party users
*
* @var string
*/
public $workforceIdentityServiceEndpoint;
/**
* Optional. Name of the zone in which the Data Fusion instance will be
* created. Only DEVELOPER instances use this field.
*
* @var string
*/
public $zone;
/**
* Output only. List of accelerators enabled for this CDF instance.
*
* @param Accelerator[] $accelerators
*/
public function setAccelerators($accelerators)
{
$this->accelerators = $accelerators;
}
/**
* @return Accelerator[]
*/
public function getAccelerators()
{
return $this->accelerators;
}
/**
* Output only. Endpoint on which the REST APIs is accessible.
*
* @param string $apiEndpoint
*/
public function setApiEndpoint($apiEndpoint)
{
$this->apiEndpoint = $apiEndpoint;
}
/**
* @return string
*/
public function getApiEndpoint()
{
return $this->apiEndpoint;
}
/**
* Output only. Available versions that the instance can be upgraded to using
* UpdateInstanceRequest.
*
* @param Version[] $availableVersion
*/
public function setAvailableVersion($availableVersion)
{
$this->availableVersion = $availableVersion;
}
/**
* @return Version[]
*/
public function getAvailableVersion()
{
return $this->availableVersion;
}
/**
* Output only. The time the instance was created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Optional. The crypto key configuration. This field is used by the Customer-
* Managed Encryption Keys (CMEK) feature.
*
* @param CryptoKeyConfig $cryptoKeyConfig
*/
public function setCryptoKeyConfig(CryptoKeyConfig $cryptoKeyConfig)
{
$this->cryptoKeyConfig = $cryptoKeyConfig;
}
/**
* @return CryptoKeyConfig
*/
public function getCryptoKeyConfig()
{
return $this->cryptoKeyConfig;
}
/**
* Optional. Option to enable the Dataplex Lineage Integration feature.
*
* @param bool $dataplexDataLineageIntegrationEnabled
*/
public function setDataplexDataLineageIntegrationEnabled($dataplexDataLineageIntegrationEnabled)
{
$this->dataplexDataLineageIntegrationEnabled = $dataplexDataLineageIntegrationEnabled;
}
/**
* @return bool
*/
public function getDataplexDataLineageIntegrationEnabled()
{
return $this->dataplexDataLineageIntegrationEnabled;
}
/**
* Optional. User-managed service account to set on Dataproc when Cloud Data
* Fusion creates Dataproc to run data processing pipelines. This allows users
* to have fine-grained access control on Dataproc's accesses to cloud
* resources.
*
* @param string $dataprocServiceAccount
*/
public function setDataprocServiceAccount($dataprocServiceAccount)
{
$this->dataprocServiceAccount = $dataprocServiceAccount;
}
/**
* @return string
*/
public function getDataprocServiceAccount()
{
return $this->dataprocServiceAccount;
}
/**
* Optional. A description of this instance.
*
* @param string $description
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* Output only. If the instance state is DISABLED, the reason for disabling
* the instance.
*
* @param string[] $disabledReason
*/
public function setDisabledReason($disabledReason)
{
$this->disabledReason = $disabledReason;
}
/**
* @return string[]
*/
public function getDisabledReason()
{
return $this->disabledReason;
}
/**
* Optional. Display name for an instance.
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* Optional. Option to enable granular role-based access control.
*
* @param bool $enableRbac
*/
public function setEnableRbac($enableRbac)
{
$this->enableRbac = $enableRbac;
}
/**
* @return bool
*/
public function getEnableRbac()
{
return $this->enableRbac;
}
/**
* Optional. Option to enable Dataproc Stackdriver Logging.
*
* @param bool $enableStackdriverLogging
*/
public function setEnableStackdriverLogging($enableStackdriverLogging)
{
$this->enableStackdriverLogging = $enableStackdriverLogging;
}
/**
* @return bool
*/
public function getEnableStackdriverLogging()
{
return $this->enableStackdriverLogging;
}
/**
* Optional. Option to enable Stackdriver Monitoring.
*
* @param bool $enableStackdriverMonitoring
*/
public function setEnableStackdriverMonitoring($enableStackdriverMonitoring)
{
$this->enableStackdriverMonitoring = $enableStackdriverMonitoring;
}
/**
* @return bool
*/
public function getEnableStackdriverMonitoring()
{
return $this->enableStackdriverMonitoring;
}
/**
* Output only. Option to enable granular zone separation.
*
* @param bool $enableZoneSeparation
*/
public function setEnableZoneSeparation($enableZoneSeparation)
{
$this->enableZoneSeparation = $enableZoneSeparation;
}
/**
* @return bool
*/
public function getEnableZoneSeparation()
{
return $this->enableZoneSeparation;
}
/**
* Optional. Option to enable and pass metadata for event publishing.
*
* @param EventPublishConfig $eventPublishConfig
*/
public function setEventPublishConfig(EventPublishConfig $eventPublishConfig)
{
$this->eventPublishConfig = $eventPublishConfig;
}
/**
* @return EventPublishConfig
*/
public function getEventPublishConfig()
{
return $this->eventPublishConfig;
}
/**
* Output only. Cloud Storage bucket generated by Data Fusion in the customer
* project.
*
* @param string $gcsBucket
*/
public function setGcsBucket($gcsBucket)
{
$this->gcsBucket = $gcsBucket;
}
/**
* @return string
*/
public function getGcsBucket()
{
return $this->gcsBucket;
}
/**
* The resource labels for instance to use to annotate any related underlying
* resources such as Compute Engine VMs. The character '=' is not allowed to
* be used within the labels.
*
* @param string[] $labels
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* Optional. The logging configuration for this instance. This field is
* supported only in CDF versions 6.11.0 and above.
*
* @param LoggingConfig $loggingConfig
*/
public function setLoggingConfig(LoggingConfig $loggingConfig)
{
$this->loggingConfig = $loggingConfig;
}
/**
* @return LoggingConfig
*/
public function getLoggingConfig()
{
return $this->loggingConfig;
}
/**
* Output only. The maintenance events for this instance.
*
* @param MaintenanceEvent[] $maintenanceEvents
*/
public function setMaintenanceEvents($maintenanceEvents)
{
$this->maintenanceEvents = $maintenanceEvents;
}
/**
* @return MaintenanceEvent[]
*/
public function getMaintenanceEvents()
{
return $this->maintenanceEvents;
}
/**
* Optional. Configure the maintenance policy for this instance.
*
* @param MaintenancePolicy $maintenancePolicy
*/
public function setMaintenancePolicy(MaintenancePolicy $maintenancePolicy)
{
$this->maintenancePolicy = $maintenancePolicy;
}
/**
* @return MaintenancePolicy
*/
public function getMaintenancePolicy()
{
return $this->maintenancePolicy;
}
/**
* Optional. The monitoring configuration for this instance.
*
* @param MonitoringConfig $monitoringConfig
*/
public function setMonitoringConfig(MonitoringConfig $monitoringConfig)
{
$this->monitoringConfig = $monitoringConfig;
}
/**
* @return MonitoringConfig
*/
public function getMonitoringConfig()
{
return $this->monitoringConfig;
}
/**
* Output only. The name of this instance is in the form of
* projects/{project}/locations/{location}/instances/{instance}.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Optional. Network configuration options. These are required when a private
* Data Fusion instance is to be created.
*
* @param NetworkConfig $networkConfig
*/
public function setNetworkConfig(NetworkConfig $networkConfig)
{
$this->networkConfig = $networkConfig;
}
/**
* @return NetworkConfig
*/
public function getNetworkConfig()
{
return $this->networkConfig;
}
/**
* Optional. Map of additional options used to configure the behavior of Data
* Fusion instance.
*
* @param string[] $options
*/
public function setOptions($options)
{
$this->options = $options;
}
/**
* @return string[]
*/
public function getOptions()
{
return $this->options;
}
/**
* Output only. Service agent for the customer project.
*
* @param string $p4ServiceAccount
*/
public function setP4ServiceAccount($p4ServiceAccount)
{
$this->p4ServiceAccount = $p4ServiceAccount;
}
/**
* @return string
*/
public function getP4ServiceAccount()
{
return $this->p4ServiceAccount;
}
/**
* Optional. Current patch revision of the Data Fusion.
*
* @param string $patchRevision
*/
public function setPatchRevision($patchRevision)
{
$this->patchRevision = $patchRevision;
}
/**
* @return string
*/
public function getPatchRevision()
{
return $this->patchRevision;
}
/**
* Optional. Specifies whether the Data Fusion instance should be private. If
* set to true, all Data Fusion nodes will have private IP addresses and will
* not be able to access the public internet.
*
* @param bool $privateInstance
*/
public function setPrivateInstance($privateInstance)
{
$this->privateInstance = $privateInstance;
}
/**
* @return bool
*/
public function getPrivateInstance()
{
return $this->privateInstance;
}
/**
* Output only. Reserved for future use.
*
* @param bool $satisfiesPzi
*/
public function setSatisfiesPzi($satisfiesPzi)
{
$this->satisfiesPzi = $satisfiesPzi;
}
/**
* @return bool
*/
public function getSatisfiesPzi()
{
return $this->satisfiesPzi;
}
/**
* Output only. Reserved for future use.
*
* @param bool $satisfiesPzs
*/
public function setSatisfiesPzs($satisfiesPzs)
{
$this->satisfiesPzs = $satisfiesPzs;
}
/**
* @return bool
*/
public function getSatisfiesPzs()
{
return $this->satisfiesPzs;
}
/**
* Output only. Deprecated. Use tenant_project_id instead to extract the
* tenant project ID.
*
* @deprecated
* @param string $serviceAccount
*/
public function setServiceAccount($serviceAccount)
{
$this->serviceAccount = $serviceAccount;
}
/**
* @deprecated
* @return string
*/
public function getServiceAccount()
{
return $this->serviceAccount;
}
/**
* Output only. Endpoint on which the Data Fusion UI is accessible.
*
* @param string $serviceEndpoint
*/
public function setServiceEndpoint($serviceEndpoint)
{
$this->serviceEndpoint = $serviceEndpoint;
}
/**
* @return string
*/
public function getServiceEndpoint()
{
return $this->serviceEndpoint;
}
/**
* Output only. The current state of this Data Fusion instance.
*
* Accepted values: STATE_UNSPECIFIED, CREATING, ACTIVE, FAILED, DELETING,
* UPGRADING, RESTARTING, UPDATING, AUTO_UPDATING, AUTO_UPGRADING, DISABLED,
* ENABLING
*
* @param self::STATE_* $state
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return self::STATE_*
*/
public function getState()
{
return $this->state;
}
/**
* Output only. Additional information about the current state of this Data
* Fusion instance if available.
*
* @param string $stateMessage
*/
public function setStateMessage($stateMessage)
{
$this->stateMessage = $stateMessage;
}
/**
* @return string
*/
public function getStateMessage()
{
return $this->stateMessage;
}
/**
* Optional. Input only. Immutable. Tag keys/values directly bound to this
* resource. For example: "123/environment": "production", "123/costCenter":
* "marketing"
*
* @param string[] $tags
*/
public function setTags($tags)
{
$this->tags = $tags;
}
/**
* @return string[]
*/
public function getTags()
{
return $this->tags;
}
/**
* Output only. The name of the tenant project.
*
* @param string $tenantProjectId
*/
public function setTenantProjectId($tenantProjectId)
{
$this->tenantProjectId = $tenantProjectId;
}
/**
* @return string
*/
public function getTenantProjectId()
{
return $this->tenantProjectId;
}
/**
* Required. Instance type.
*
* Accepted values: TYPE_UNSPECIFIED, BASIC, ENTERPRISE, DEVELOPER
*
* @param self::TYPE_* $type
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return self::TYPE_*
*/
public function getType()
{
return $this->type;
}
/**
* Output only. The time the instance was last updated.
*
* @param string $updateTime
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
/**
* Optional. Current version of the Data Fusion. Only specifiable in Update.
*
* @param string $version
*/
public function setVersion($version)
{
$this->version = $version;
}
/**
* @return string
*/
public function getVersion()
{
return $this->version;
}
/**
* Output only. Endpoint on which the Data Fusion UI is accessible to third-
* party users
*
* @param string $workforceIdentityServiceEndpoint
*/
public function setWorkforceIdentityServiceEndpoint($workforceIdentityServiceEndpoint)
{
$this->workforceIdentityServiceEndpoint = $workforceIdentityServiceEndpoint;
}
/**
* @return string
*/
public function getWorkforceIdentityServiceEndpoint()
{
return $this->workforceIdentityServiceEndpoint;
}
/**
* Optional. Name of the zone in which the Data Fusion instance will be
* created. Only DEVELOPER instances use this field.
*
* @param string $zone
*/
public function setZone($zone)
{
$this->zone = $zone;
}
/**
* @return string
*/
public function getZone()
{
return $this->zone;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Instance::class, 'Google_Service_DataFusion_Instance');
@@ -0,0 +1,152 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\DataFusion;
class IsolationExpectations extends \Google\Model
{
/**
* @var string
*/
public $ziOrgPolicy;
/**
* @var string
*/
public $ziRegionPolicy;
/**
* @var string
*/
public $ziRegionState;
/**
* @var string
*/
public $zoneIsolation;
/**
* @var string
*/
public $zoneSeparation;
/**
* @var string
*/
public $zsOrgPolicy;
/**
* @var string
*/
public $zsRegionState;
/**
* @param string
*/
public function setZiOrgPolicy($ziOrgPolicy)
{
$this->ziOrgPolicy = $ziOrgPolicy;
}
/**
* @return string
*/
public function getZiOrgPolicy()
{
return $this->ziOrgPolicy;
}
/**
* @param string
*/
public function setZiRegionPolicy($ziRegionPolicy)
{
$this->ziRegionPolicy = $ziRegionPolicy;
}
/**
* @return string
*/
public function getZiRegionPolicy()
{
return $this->ziRegionPolicy;
}
/**
* @param string
*/
public function setZiRegionState($ziRegionState)
{
$this->ziRegionState = $ziRegionState;
}
/**
* @return string
*/
public function getZiRegionState()
{
return $this->ziRegionState;
}
/**
* @param string
*/
public function setZoneIsolation($zoneIsolation)
{
$this->zoneIsolation = $zoneIsolation;
}
/**
* @return string
*/
public function getZoneIsolation()
{
return $this->zoneIsolation;
}
/**
* @param string
*/
public function setZoneSeparation($zoneSeparation)
{
$this->zoneSeparation = $zoneSeparation;
}
/**
* @return string
*/
public function getZoneSeparation()
{
return $this->zoneSeparation;
}
/**
* @param string
*/
public function setZsOrgPolicy($zsOrgPolicy)
{
$this->zsOrgPolicy = $zsOrgPolicy;
}
/**
* @return string
*/
public function getZsOrgPolicy()
{
return $this->zsOrgPolicy;
}
/**
* @param string
*/
public function setZsRegionState($zsRegionState)
{
$this->zsRegionState = $zsRegionState;
}
/**
* @return string
*/
public function getZsRegionState()
{
return $this->zsRegionState;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(IsolationExpectations::class, 'Google_Service_DataFusion_IsolationExpectations');
@@ -0,0 +1,90 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\DataFusion;
class ListAvailableVersionsResponse extends \Google\Collection
{
protected $collection_key = 'versions';
protected $availableVersionsType = Version::class;
protected $availableVersionsDataType = 'array';
/**
* Token to retrieve the next page of results or empty if there are no more
* results in the list.
*
* @var string
*/
public $nextPageToken;
protected $versionsType = Version::class;
protected $versionsDataType = 'array';
/**
* Represents a list of versions that are supported. Deprecated: Use versions
* field instead.
*
* @deprecated
* @param Version[] $availableVersions
*/
public function setAvailableVersions($availableVersions)
{
$this->availableVersions = $availableVersions;
}
/**
* @deprecated
* @return Version[]
*/
public function getAvailableVersions()
{
return $this->availableVersions;
}
/**
* Token to retrieve the next page of results or empty if there are no more
* results in the list.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* Represents a list of all versions.
*
* @param Version[] $versions
*/
public function setVersions($versions)
{
$this->versions = $versions;
}
/**
* @return Version[]
*/
public function getVersions()
{
return $this->versions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListAvailableVersionsResponse::class, 'Google_Service_DataFusion_ListAvailableVersionsResponse');
@@ -0,0 +1,69 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\DataFusion;
class ListDnsPeeringsResponse extends \Google\Collection
{
protected $collection_key = 'dnsPeerings';
protected $dnsPeeringsType = DnsPeering::class;
protected $dnsPeeringsDataType = 'array';
/**
* A token, which can be sent as `page_token` to retrieve the next page. If
* this field is omitted, there are no subsequent pages.
*
* @var string
*/
public $nextPageToken;
/**
* List of dns peering.
*
* @param DnsPeering[] $dnsPeerings
*/
public function setDnsPeerings($dnsPeerings)
{
$this->dnsPeerings = $dnsPeerings;
}
/**
* @return DnsPeering[]
*/
public function getDnsPeerings()
{
return $this->dnsPeerings;
}
/**
* A token, which can be sent as `page_token` to retrieve the next page. If
* this field is omitted, there are no subsequent pages.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListDnsPeeringsResponse::class, 'Google_Service_DataFusion_ListDnsPeeringsResponse');
@@ -0,0 +1,91 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\DataFusion;
class ListInstancesResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
protected $instancesType = Instance::class;
protected $instancesDataType = 'array';
/**
* Token to retrieve the next page of results or empty if there are no more
* results in the list.
*
* @var string
*/
public $nextPageToken;
/**
* Locations that could not be reached.
*
* @var string[]
*/
public $unreachable;
/**
* Represents a list of Data Fusion instances.
*
* @param Instance[] $instances
*/
public function setInstances($instances)
{
$this->instances = $instances;
}
/**
* @return Instance[]
*/
public function getInstances()
{
return $this->instances;
}
/**
* Token to retrieve the next page of results or empty if there are no more
* results in the list.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* Locations that could not be reached.
*
* @param string[] $unreachable
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListInstancesResponse::class, 'Google_Service_DataFusion_ListInstancesResponse');
@@ -0,0 +1,67 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\DataFusion;
class ListLocationsResponse extends \Google\Collection
{
protected $collection_key = 'locations';
protected $locationsType = Location::class;
protected $locationsDataType = 'array';
/**
* The standard List next-page token.
*
* @var string
*/
public $nextPageToken;
/**
* A list of locations that matches the specified filter in the request.
*
* @param Location[] $locations
*/
public function setLocations($locations)
{
$this->locations = $locations;
}
/**
* @return Location[]
*/
public function getLocations()
{
return $this->locations;
}
/**
* The standard List next-page token.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListLocationsResponse::class, 'Google_Service_DataFusion_ListLocationsResponse');
@@ -0,0 +1,95 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\DataFusion;
class ListOperationsResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
/**
* The standard List next-page token.
*
* @var string
*/
public $nextPageToken;
protected $operationsType = Operation::class;
protected $operationsDataType = 'array';
/**
* Unordered list. Unreachable resources. Populated when the request sets
* `ListOperationsRequest.return_partial_success` and reads across
* collections. For example, when attempting to list all resources across all
* supported locations.
*
* @var string[]
*/
public $unreachable;
/**
* The standard List next-page token.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* A list of operations that matches the specified filter in the request.
*
* @param Operation[] $operations
*/
public function setOperations($operations)
{
$this->operations = $operations;
}
/**
* @return Operation[]
*/
public function getOperations()
{
return $this->operations;
}
/**
* Unordered list. Unreachable resources. Populated when the request sets
* `ListOperationsRequest.return_partial_success` and reads across
* collections. For example, when attempting to list all resources across all
* supported locations.
*
* @param string[] $unreachable
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListOperationsResponse::class, 'Google_Service_DataFusion_ListOperationsResponse');
@@ -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\DataFusion;
class Location extends \Google\Model
{
/**
* The friendly name for this location, typically a nearby city name. For
* example, "Tokyo".
*
* @var string
*/
public $displayName;
/**
* Cross-service attributes for the location. For example
* {"cloud.googleapis.com/region": "us-east1"}
*
* @var string[]
*/
public $labels;
/**
* The canonical id for this location. For example: `"us-east1"`.
*
* @var string
*/
public $locationId;
/**
* Service-specific metadata. For example the available capacity at the given
* location.
*
* @var array[]
*/
public $metadata;
/**
* Resource name for the location, which may vary between implementations. For
* example: `"projects/example-project/locations/us-east1"`
*
* @var string
*/
public $name;
/**
* The friendly name for this location, typically a nearby city name. For
* example, "Tokyo".
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* Cross-service attributes for the location. For example
* {"cloud.googleapis.com/region": "us-east1"}
*
* @param string[] $labels
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* The canonical id for this location. For example: `"us-east1"`.
*
* @param string $locationId
*/
public function setLocationId($locationId)
{
$this->locationId = $locationId;
}
/**
* @return string
*/
public function getLocationId()
{
return $this->locationId;
}
/**
* Service-specific metadata. For example the available capacity at the given
* location.
*
* @param array[] $metadata
*/
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
/**
* @return array[]
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* Resource name for the location, which may vary between implementations. For
* example: `"projects/example-project/locations/us-east1"`
*
* @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(Location::class, 'Google_Service_DataFusion_Location');
@@ -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\DataFusion;
class LocationAssignment extends \Google\Model
{
/**
* @var string
*/
public $location;
/**
* @var string
*/
public $locationType;
/**
* @param string
*/
public function setLocation($location)
{
$this->location = $location;
}
/**
* @return string
*/
public function getLocation()
{
return $this->location;
}
/**
* @param string
*/
public function setLocationType($locationType)
{
$this->locationType = $locationType;
}
/**
* @return string
*/
public function getLocationType()
{
return $this->locationType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(LocationAssignment::class, 'Google_Service_DataFusion_LocationAssignment');
@@ -0,0 +1,122 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\DataFusion;
class LocationData extends \Google\Model
{
protected $blobstoreLocationType = BlobstoreLocation::class;
protected $blobstoreLocationDataType = '';
protected $childAssetLocationType = CloudAssetComposition::class;
protected $childAssetLocationDataType = '';
protected $directLocationType = DirectLocationAssignment::class;
protected $directLocationDataType = '';
protected $gcpProjectProxyType = TenantProjectProxy::class;
protected $gcpProjectProxyDataType = '';
protected $placerLocationType = PlacerLocation::class;
protected $placerLocationDataType = '';
protected $spannerLocationType = SpannerLocation::class;
protected $spannerLocationDataType = '';
/**
* @param BlobstoreLocation
*/
public function setBlobstoreLocation(BlobstoreLocation $blobstoreLocation)
{
$this->blobstoreLocation = $blobstoreLocation;
}
/**
* @return BlobstoreLocation
*/
public function getBlobstoreLocation()
{
return $this->blobstoreLocation;
}
/**
* @param CloudAssetComposition
*/
public function setChildAssetLocation(CloudAssetComposition $childAssetLocation)
{
$this->childAssetLocation = $childAssetLocation;
}
/**
* @return CloudAssetComposition
*/
public function getChildAssetLocation()
{
return $this->childAssetLocation;
}
/**
* @param DirectLocationAssignment
*/
public function setDirectLocation(DirectLocationAssignment $directLocation)
{
$this->directLocation = $directLocation;
}
/**
* @return DirectLocationAssignment
*/
public function getDirectLocation()
{
return $this->directLocation;
}
/**
* @param TenantProjectProxy
*/
public function setGcpProjectProxy(TenantProjectProxy $gcpProjectProxy)
{
$this->gcpProjectProxy = $gcpProjectProxy;
}
/**
* @return TenantProjectProxy
*/
public function getGcpProjectProxy()
{
return $this->gcpProjectProxy;
}
/**
* @param PlacerLocation
*/
public function setPlacerLocation(PlacerLocation $placerLocation)
{
$this->placerLocation = $placerLocation;
}
/**
* @return PlacerLocation
*/
public function getPlacerLocation()
{
return $this->placerLocation;
}
/**
* @param SpannerLocation
*/
public function setSpannerLocation(SpannerLocation $spannerLocation)
{
$this->spannerLocation = $spannerLocation;
}
/**
* @return SpannerLocation
*/
public function getSpannerLocation()
{
return $this->spannerLocation;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(LocationData::class, 'Google_Service_DataFusion_LocationData');
@@ -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\DataFusion;
class LoggingConfig extends \Google\Model
{
/**
* Optional. Option to enable the InstanceV2 logging for this instance. This
* field is supported only in CDF patch revision versions 6.11.1.1 and above.
*
* @var bool
*/
public $enableInstanceV2Logs;
/**
* Optional. Option to determine whether instance logs should be written to
* Cloud Logging. By default, instance logs are written to Cloud Logging.
*
* @var bool
*/
public $instanceCloudLoggingDisabled;
/**
* Optional. Option to enable the InstanceV2 logging for this instance. This
* field is supported only in CDF patch revision versions 6.11.1.1 and above.
*
* @param bool $enableInstanceV2Logs
*/
public function setEnableInstanceV2Logs($enableInstanceV2Logs)
{
$this->enableInstanceV2Logs = $enableInstanceV2Logs;
}
/**
* @return bool
*/
public function getEnableInstanceV2Logs()
{
return $this->enableInstanceV2Logs;
}
/**
* Optional. Option to determine whether instance logs should be written to
* Cloud Logging. By default, instance logs are written to Cloud Logging.
*
* @param bool $instanceCloudLoggingDisabled
*/
public function setInstanceCloudLoggingDisabled($instanceCloudLoggingDisabled)
{
$this->instanceCloudLoggingDisabled = $instanceCloudLoggingDisabled;
}
/**
* @return bool
*/
public function getInstanceCloudLoggingDisabled()
{
return $this->instanceCloudLoggingDisabled;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(LoggingConfig::class, 'Google_Service_DataFusion_LoggingConfig');
@@ -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\DataFusion;
class MaintenanceEvent extends \Google\Model
{
/**
* The state of the maintenance event is unspecified.
*/
public const STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
/**
* The maintenance is scheduled but has not started.
*/
public const STATE_SCHEDULED = 'SCHEDULED';
/**
* The maintenance has been started.
*/
public const STATE_STARTED = 'STARTED';
/**
* The maintenance has been completed.
*/
public const STATE_COMPLETED = 'COMPLETED';
/**
* Output only. The end time of the maintenance event provided in [RFC
* 3339](https://www.ietf.org/rfc/rfc3339.txt) format. Example:
* "2024-01-02T12:04:06-06:00" This field will be empty if the maintenance
* event is not yet complete.
*
* @var string
*/
public $endTime;
/**
* Output only. The start time of the maintenance event provided in [RFC
* 3339](https://www.ietf.org/rfc/rfc3339.txt) format. Example:
* "2024-01-01T12:04:06-04:00"
*
* @var string
*/
public $startTime;
/**
* Output only. The state of the maintenance event.
*
* @var string
*/
public $state;
/**
* Output only. The end time of the maintenance event provided in [RFC
* 3339](https://www.ietf.org/rfc/rfc3339.txt) format. Example:
* "2024-01-02T12:04:06-06:00" This field will be empty if the maintenance
* event is not yet complete.
*
* @param string $endTime
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* Output only. The start time of the maintenance event provided in [RFC
* 3339](https://www.ietf.org/rfc/rfc3339.txt) format. Example:
* "2024-01-01T12:04:06-04:00"
*
* @param string $startTime
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
/**
* Output only. The state of the maintenance event.
*
* Accepted values: STATE_UNSPECIFIED, SCHEDULED, STARTED, COMPLETED
*
* @param self::STATE_* $state
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return self::STATE_*
*/
public function getState()
{
return $this->state;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MaintenanceEvent::class, 'Google_Service_DataFusion_MaintenanceEvent');
@@ -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\DataFusion;
class MaintenancePolicy extends \Google\Model
{
protected $maintenanceExclusionWindowType = TimeWindow::class;
protected $maintenanceExclusionWindowDataType = '';
protected $maintenanceWindowType = MaintenanceWindow::class;
protected $maintenanceWindowDataType = '';
/**
* Optional. The maintenance exclusion window of the instance.
*
* @param TimeWindow $maintenanceExclusionWindow
*/
public function setMaintenanceExclusionWindow(TimeWindow $maintenanceExclusionWindow)
{
$this->maintenanceExclusionWindow = $maintenanceExclusionWindow;
}
/**
* @return TimeWindow
*/
public function getMaintenanceExclusionWindow()
{
return $this->maintenanceExclusionWindow;
}
/**
* Optional. The maintenance window of the instance.
*
* @param MaintenanceWindow $maintenanceWindow
*/
public function setMaintenanceWindow(MaintenanceWindow $maintenanceWindow)
{
$this->maintenanceWindow = $maintenanceWindow;
}
/**
* @return MaintenanceWindow
*/
public function getMaintenanceWindow()
{
return $this->maintenanceWindow;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MaintenancePolicy::class, 'Google_Service_DataFusion_MaintenancePolicy');
@@ -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\DataFusion;
class MaintenanceWindow extends \Google\Model
{
protected $recurringTimeWindowType = RecurringTimeWindow::class;
protected $recurringTimeWindowDataType = '';
/**
* Required. The recurring time window of the maintenance window.
*
* @param RecurringTimeWindow $recurringTimeWindow
*/
public function setRecurringTimeWindow(RecurringTimeWindow $recurringTimeWindow)
{
$this->recurringTimeWindow = $recurringTimeWindow;
}
/**
* @return RecurringTimeWindow
*/
public function getRecurringTimeWindow()
{
return $this->recurringTimeWindow;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MaintenanceWindow::class, 'Google_Service_DataFusion_MaintenanceWindow');
@@ -0,0 +1,50 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\DataFusion;
class MonitoringConfig extends \Google\Model
{
/**
* Optional. Option to enable the instance v2 metrics for this instance. This
* field is supported only in CDF versions 6.11.1.1 and above.
*
* @var bool
*/
public $enableInstanceV2Metrics;
/**
* Optional. Option to enable the instance v2 metrics for this instance. This
* field is supported only in CDF versions 6.11.1.1 and above.
*
* @param bool $enableInstanceV2Metrics
*/
public function setEnableInstanceV2Metrics($enableInstanceV2Metrics)
{
$this->enableInstanceV2Metrics = $enableInstanceV2Metrics;
}
/**
* @return bool
*/
public function getEnableInstanceV2Metrics()
{
return $this->enableInstanceV2Metrics;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MonitoringConfig::class, 'Google_Service_DataFusion_MonitoringConfig');
@@ -0,0 +1,149 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\DataFusion;
class NetworkConfig extends \Google\Model
{
/**
* No specific connection type was requested, the default value of VPC_PEERING
* is chosen.
*/
public const CONNECTION_TYPE_CONNECTION_TYPE_UNSPECIFIED = 'CONNECTION_TYPE_UNSPECIFIED';
/**
* Requests the use of VPC peerings for connecting the consumer and tenant
* projects.
*/
public const CONNECTION_TYPE_VPC_PEERING = 'VPC_PEERING';
/**
* Requests the use of Private Service Connect Interfaces for connecting the
* consumer and tenant projects.
*/
public const CONNECTION_TYPE_PRIVATE_SERVICE_CONNECT_INTERFACES = 'PRIVATE_SERVICE_CONNECT_INTERFACES';
/**
* Optional. Type of connection for establishing private IP connectivity
* between the Data Fusion customer project VPC and the corresponding tenant
* project from a predefined list of available connection modes. If this field
* is unspecified for a private instance, VPC peering is used.
*
* @var string
*/
public $connectionType;
/**
* Optional. The IP range in CIDR notation to use for the managed Data Fusion
* instance nodes. This range must not overlap with any other ranges used in
* the Data Fusion instance network. This is required only when using
* connection type VPC_PEERING. Format: a.b.c.d/22 Example: 192.168.0.0/22
*
* @var string
*/
public $ipAllocation;
/**
* Optional. Name of the network in the customer project with which the Tenant
* Project will be peered for executing pipelines. In case of shared VPC where
* the network resides in another host project the network should specified in
* the form of projects/{host-project-id}/global/networks/{network}. This is
* only required for connectivity type VPC_PEERING.
*
* @var string
*/
public $network;
protected $privateServiceConnectConfigType = PrivateServiceConnectConfig::class;
protected $privateServiceConnectConfigDataType = '';
/**
* Optional. Type of connection for establishing private IP connectivity
* between the Data Fusion customer project VPC and the corresponding tenant
* project from a predefined list of available connection modes. If this field
* is unspecified for a private instance, VPC peering is used.
*
* Accepted values: CONNECTION_TYPE_UNSPECIFIED, VPC_PEERING,
* PRIVATE_SERVICE_CONNECT_INTERFACES
*
* @param self::CONNECTION_TYPE_* $connectionType
*/
public function setConnectionType($connectionType)
{
$this->connectionType = $connectionType;
}
/**
* @return self::CONNECTION_TYPE_*
*/
public function getConnectionType()
{
return $this->connectionType;
}
/**
* Optional. The IP range in CIDR notation to use for the managed Data Fusion
* instance nodes. This range must not overlap with any other ranges used in
* the Data Fusion instance network. This is required only when using
* connection type VPC_PEERING. Format: a.b.c.d/22 Example: 192.168.0.0/22
*
* @param string $ipAllocation
*/
public function setIpAllocation($ipAllocation)
{
$this->ipAllocation = $ipAllocation;
}
/**
* @return string
*/
public function getIpAllocation()
{
return $this->ipAllocation;
}
/**
* Optional. Name of the network in the customer project with which the Tenant
* Project will be peered for executing pipelines. In case of shared VPC where
* the network resides in another host project the network should specified in
* the form of projects/{host-project-id}/global/networks/{network}. This is
* only required for connectivity type VPC_PEERING.
*
* @param string $network
*/
public function setNetwork($network)
{
$this->network = $network;
}
/**
* @return string
*/
public function getNetwork()
{
return $this->network;
}
/**
* Optional. Configuration for Private Service Connect. This is required only
* when using connection type PRIVATE_SERVICE_CONNECT_INTERFACES.
*
* @param PrivateServiceConnectConfig $privateServiceConnectConfig
*/
public function setPrivateServiceConnectConfig(PrivateServiceConnectConfig $privateServiceConnectConfig)
{
$this->privateServiceConnectConfig = $privateServiceConnectConfig;
}
/**
* @return PrivateServiceConnectConfig
*/
public function getPrivateServiceConnectConfig()
{
return $this->privateServiceConnectConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(NetworkConfig::class, 'Google_Service_DataFusion_NetworkConfig');
@@ -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\DataFusion;
class Operation extends \Google\Model
{
/**
* If the value is `false`, it means the operation is still in progress. If
* `true`, the operation is completed, and either `error` or `response` is
* available.
*
* @var bool
*/
public $done;
protected $errorType = Status::class;
protected $errorDataType = '';
/**
* Service-specific metadata associated with the operation. It typically
* contains progress information and common metadata such as create time. Some
* services might not provide such metadata. Any method that returns a long-
* running operation should document the metadata type, if any.
*
* @var array[]
*/
public $metadata;
/**
* The server-assigned name, which is only unique within the same service that
* originally returns it. If you use the default HTTP mapping, the `name`
* should be a resource name ending with `operations/{unique_id}`.
*
* @var string
*/
public $name;
/**
* The normal, successful response of the operation. If the original method
* returns no data on success, such as `Delete`, the response is
* `google.protobuf.Empty`. If the original method is standard
* `Get`/`Create`/`Update`, the response should be the resource. For other
* methods, the response should have the type `XxxResponse`, where `Xxx` is
* the original method name. For example, if the original method name is
* `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
*
* @var array[]
*/
public $response;
/**
* If the value is `false`, it means the operation is still in progress. If
* `true`, the operation is completed, and either `error` or `response` is
* available.
*
* @param bool $done
*/
public function setDone($done)
{
$this->done = $done;
}
/**
* @return bool
*/
public function getDone()
{
return $this->done;
}
/**
* The error result of the operation in case of failure or cancellation.
*
* @param Status $error
*/
public function setError(Status $error)
{
$this->error = $error;
}
/**
* @return Status
*/
public function getError()
{
return $this->error;
}
/**
* Service-specific metadata associated with the operation. It typically
* contains progress information and common metadata such as create time. Some
* services might not provide such metadata. Any method that returns a long-
* running operation should document the metadata type, if any.
*
* @param array[] $metadata
*/
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
/**
* @return array[]
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* The server-assigned name, which is only unique within the same service that
* originally returns it. If you use the default HTTP mapping, the `name`
* should be a resource name ending with `operations/{unique_id}`.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* The normal, successful response of the operation. If the original method
* returns no data on success, such as `Delete`, the response is
* `google.protobuf.Empty`. If the original method is standard
* `Get`/`Create`/`Update`, the response should be the resource. For other
* methods, the response should have the type `XxxResponse`, where `Xxx` is
* the original method name. For example, if the original method name is
* `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
*
* @param array[] $response
*/
public function setResponse($response)
{
$this->response = $response;
}
/**
* @return array[]
*/
public function getResponse()
{
return $this->response;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Operation::class, 'Google_Service_DataFusion_Operation');
@@ -0,0 +1,212 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\DataFusion;
class OperationMetadata extends \Google\Model
{
/**
* Map to hold any additional status info for the operation If there is an
* accelerator being enabled/disabled/deleted, this will be populated with
* accelerator name as key and status as ENABLING, DISABLING or DELETING
*
* @var string[]
*/
public $additionalStatus;
/**
* API version used to start the operation.
*
* @var string
*/
public $apiVersion;
/**
* The time the operation was created.
*
* @var string
*/
public $createTime;
/**
* The time the operation finished running.
*
* @var string
*/
public $endTime;
/**
* Identifies whether the user has requested cancellation of the operation.
* Operations that have successfully been cancelled have
* google.longrunning.Operation.error value with a google.rpc.Status.code of
* 1, corresponding to `Code.CANCELLED`.
*
* @var bool
*/
public $requestedCancellation;
/**
* Human-readable status of the operation if any.
*
* @var string
*/
public $statusDetail;
/**
* Server-defined resource path for the target of the operation.
*
* @var string
*/
public $target;
/**
* Name of the verb executed by the operation.
*
* @var string
*/
public $verb;
/**
* Map to hold any additional status info for the operation If there is an
* accelerator being enabled/disabled/deleted, this will be populated with
* accelerator name as key and status as ENABLING, DISABLING or DELETING
*
* @param string[] $additionalStatus
*/
public function setAdditionalStatus($additionalStatus)
{
$this->additionalStatus = $additionalStatus;
}
/**
* @return string[]
*/
public function getAdditionalStatus()
{
return $this->additionalStatus;
}
/**
* API version used to start the operation.
*
* @param string $apiVersion
*/
public function setApiVersion($apiVersion)
{
$this->apiVersion = $apiVersion;
}
/**
* @return string
*/
public function getApiVersion()
{
return $this->apiVersion;
}
/**
* The time the operation was created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* The time the operation finished running.
*
* @param string $endTime
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* Identifies whether the user has requested cancellation of the operation.
* Operations that have successfully been cancelled have
* google.longrunning.Operation.error value with a google.rpc.Status.code of
* 1, corresponding to `Code.CANCELLED`.
*
* @param bool $requestedCancellation
*/
public function setRequestedCancellation($requestedCancellation)
{
$this->requestedCancellation = $requestedCancellation;
}
/**
* @return bool
*/
public function getRequestedCancellation()
{
return $this->requestedCancellation;
}
/**
* Human-readable status of the operation if any.
*
* @param string $statusDetail
*/
public function setStatusDetail($statusDetail)
{
$this->statusDetail = $statusDetail;
}
/**
* @return string
*/
public function getStatusDetail()
{
return $this->statusDetail;
}
/**
* Server-defined resource path for the target of the operation.
*
* @param string $target
*/
public function setTarget($target)
{
$this->target = $target;
}
/**
* @return string
*/
public function getTarget()
{
return $this->target;
}
/**
* Name of the verb executed by the operation.
*
* @param string $verb
*/
public function setVerb($verb)
{
$this->verb = $verb;
}
/**
* @return string
*/
public function getVerb()
{
return $this->verb;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(OperationMetadata::class, 'Google_Service_DataFusion_OperationMetadata');
@@ -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\DataFusion;
class PersistentDiskData extends \Google\Collection
{
protected $collection_key = 'gcsBucketNames';
/**
* @var string[]
*/
public $cfsRoots;
/**
* @var string[]
*/
public $gcsBucketNames;
/**
* @param string[]
*/
public function setCfsRoots($cfsRoots)
{
$this->cfsRoots = $cfsRoots;
}
/**
* @return string[]
*/
public function getCfsRoots()
{
return $this->cfsRoots;
}
/**
* @param string[]
*/
public function setGcsBucketNames($gcsBucketNames)
{
$this->gcsBucketNames = $gcsBucketNames;
}
/**
* @return string[]
*/
public function getGcsBucketNames()
{
return $this->gcsBucketNames;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PersistentDiskData::class, 'Google_Service_DataFusion_PersistentDiskData');
@@ -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\DataFusion;
class PlacerLocation extends \Google\Model
{
/**
* @var string
*/
public $placerConfig;
/**
* @param string
*/
public function setPlacerConfig($placerConfig)
{
$this->placerConfig = $placerConfig;
}
/**
* @return string
*/
public function getPlacerConfig()
{
return $this->placerConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PlacerLocation::class, 'Google_Service_DataFusion_PlacerLocation');
@@ -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\DataFusion;
class Policy extends \Google\Collection
{
protected $collection_key = 'bindings';
protected $auditConfigsType = AuditConfig::class;
protected $auditConfigsDataType = 'array';
protected $bindingsType = Binding::class;
protected $bindingsDataType = 'array';
/**
* `etag` is used for optimistic concurrency control as a way to help prevent
* simultaneous updates of a policy from overwriting each other. It is
* strongly suggested that systems make use of the `etag` in the read-modify-
* write cycle to perform policy updates in order to avoid race conditions: An
* `etag` is returned in the response to `getIamPolicy`, and systems are
* expected to put that etag in the request to `setIamPolicy` to ensure that
* their change will be applied to the same version of the policy.
* **Important:** If you use IAM Conditions, you must include the `etag` field
* whenever you call `setIamPolicy`. If you omit this field, then IAM allows
* you to overwrite a version `3` policy with a version `1` policy, and all of
* the conditions in the version `3` policy are lost.
*
* @var string
*/
public $etag;
/**
* Specifies the format of the policy. Valid values are `0`, `1`, and `3`.
* Requests that specify an invalid value are rejected. Any operation that
* affects conditional role bindings must specify version `3`. This
* requirement applies to the following operations: * Getting a policy that
* includes a conditional role binding * Adding a conditional role binding to
* a policy * Changing a conditional role binding in a policy * Removing any
* role binding, with or without a condition, from a policy that includes
* conditions **Important:** If you use IAM Conditions, you must include the
* `etag` field whenever you call `setIamPolicy`. If you omit this field, then
* IAM allows you to overwrite a version `3` policy with a version `1` policy,
* and all of the conditions in the version `3` policy are lost. If a policy
* does not include any conditions, operations on that policy may specify any
* valid version or leave the field unset. To learn which resources support
* conditions in their IAM policies, see the [IAM
* documentation](https://cloud.google.com/iam/help/conditions/resource-
* policies).
*
* @var int
*/
public $version;
/**
* Specifies cloud audit logging configuration for this policy.
*
* @param AuditConfig[] $auditConfigs
*/
public function setAuditConfigs($auditConfigs)
{
$this->auditConfigs = $auditConfigs;
}
/**
* @return AuditConfig[]
*/
public function getAuditConfigs()
{
return $this->auditConfigs;
}
/**
* Associates a list of `members`, or principals, with a `role`. Optionally,
* may specify a `condition` that determines how and when the `bindings` are
* applied. Each of the `bindings` must contain at least one principal. The
* `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of
* these principals can be Google groups. Each occurrence of a principal
* counts towards these limits. For example, if the `bindings` grant 50
* different roles to `user:alice@example.com`, and not to any other
* principal, then you can add another 1,450 principals to the `bindings` in
* the `Policy`.
*
* @param Binding[] $bindings
*/
public function setBindings($bindings)
{
$this->bindings = $bindings;
}
/**
* @return Binding[]
*/
public function getBindings()
{
return $this->bindings;
}
/**
* `etag` is used for optimistic concurrency control as a way to help prevent
* simultaneous updates of a policy from overwriting each other. It is
* strongly suggested that systems make use of the `etag` in the read-modify-
* write cycle to perform policy updates in order to avoid race conditions: An
* `etag` is returned in the response to `getIamPolicy`, and systems are
* expected to put that etag in the request to `setIamPolicy` to ensure that
* their change will be applied to the same version of the policy.
* **Important:** If you use IAM Conditions, you must include the `etag` field
* whenever you call `setIamPolicy`. If you omit this field, then IAM allows
* you to overwrite a version `3` policy with a version `1` policy, and all of
* the conditions in the version `3` policy are lost.
*
* @param string $etag
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* Specifies the format of the policy. Valid values are `0`, `1`, and `3`.
* Requests that specify an invalid value are rejected. Any operation that
* affects conditional role bindings must specify version `3`. This
* requirement applies to the following operations: * Getting a policy that
* includes a conditional role binding * Adding a conditional role binding to
* a policy * Changing a conditional role binding in a policy * Removing any
* role binding, with or without a condition, from a policy that includes
* conditions **Important:** If you use IAM Conditions, you must include the
* `etag` field whenever you call `setIamPolicy`. If you omit this field, then
* IAM allows you to overwrite a version `3` policy with a version `1` policy,
* and all of the conditions in the version `3` policy are lost. If a policy
* does not include any conditions, operations on that policy may specify any
* valid version or leave the field unset. To learn which resources support
* conditions in their IAM policies, see the [IAM
* documentation](https://cloud.google.com/iam/help/conditions/resource-
* policies).
*
* @param int $version
*/
public function setVersion($version)
{
$this->version = $version;
}
/**
* @return int
*/
public function getVersion()
{
return $this->version;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Policy::class, 'Google_Service_DataFusion_Policy');
@@ -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\DataFusion;
class PrivateServiceConnectConfig extends \Google\Model
{
/**
* Output only. The CIDR block to which the CDF instance can't route traffic
* to in the consumer project VPC. The size of this block is /25. The format
* of this field is governed by RFC 4632. Example: 240.0.0.0/25
*
* @var string
*/
public $effectiveUnreachableCidrBlock;
/**
* Required. The reference to the network attachment used to establish private
* connectivity. It will be of the form projects/{project-
* id}/regions/{region}/networkAttachments/{network-attachment-id}.
*
* @var string
*/
public $networkAttachment;
/**
* Optional. Input only. The CIDR block to which the CDF instance can't route
* traffic to in the consumer project VPC. The size of this block should be at
* least /25. This range should not overlap with the primary address range of
* any subnetwork used by the network attachment. This range can be used for
* other purposes in the consumer VPC as long as there is no requirement for
* CDF to reach destinations using these addresses. If this value is not
* provided, the server chooses a non RFC 1918 address range. The format of
* this field is governed by RFC 4632. Example: 192.168.0.0/25
*
* @var string
*/
public $unreachableCidrBlock;
/**
* Output only. The CIDR block to which the CDF instance can't route traffic
* to in the consumer project VPC. The size of this block is /25. The format
* of this field is governed by RFC 4632. Example: 240.0.0.0/25
*
* @param string $effectiveUnreachableCidrBlock
*/
public function setEffectiveUnreachableCidrBlock($effectiveUnreachableCidrBlock)
{
$this->effectiveUnreachableCidrBlock = $effectiveUnreachableCidrBlock;
}
/**
* @return string
*/
public function getEffectiveUnreachableCidrBlock()
{
return $this->effectiveUnreachableCidrBlock;
}
/**
* Required. The reference to the network attachment used to establish private
* connectivity. It will be of the form projects/{project-
* id}/regions/{region}/networkAttachments/{network-attachment-id}.
*
* @param string $networkAttachment
*/
public function setNetworkAttachment($networkAttachment)
{
$this->networkAttachment = $networkAttachment;
}
/**
* @return string
*/
public function getNetworkAttachment()
{
return $this->networkAttachment;
}
/**
* Optional. Input only. The CIDR block to which the CDF instance can't route
* traffic to in the consumer project VPC. The size of this block should be at
* least /25. This range should not overlap with the primary address range of
* any subnetwork used by the network attachment. This range can be used for
* other purposes in the consumer VPC as long as there is no requirement for
* CDF to reach destinations using these addresses. If this value is not
* provided, the server chooses a non RFC 1918 address range. The format of
* this field is governed by RFC 4632. Example: 192.168.0.0/25
*
* @param string $unreachableCidrBlock
*/
public function setUnreachableCidrBlock($unreachableCidrBlock)
{
$this->unreachableCidrBlock = $unreachableCidrBlock;
}
/**
* @return string
*/
public function getUnreachableCidrBlock()
{
return $this->unreachableCidrBlock;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PrivateServiceConnectConfig::class, 'Google_Service_DataFusion_PrivateServiceConnectConfig');
@@ -0,0 +1,84 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\DataFusion;
class RecurringTimeWindow extends \Google\Model
{
/**
* Required. An RRULE with format
* [RFC-5545](https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how
* this window reccurs. They go on for the span of time between the start and
* end time. The only supported FREQ value is "WEEKLY". To have something
* repeat every weekday, use: "FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR". This
* specifies how frequently the window starts. To have a 9 am - 5 pm UTC-4
* window every weekday, use something like: ``` start time =
* 2019-01-01T09:00:00-0400 end time = 2019-01-01T17:00:00-0400 recurrence =
* FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR ```
*
* @var string
*/
public $recurrence;
protected $windowType = TimeWindow::class;
protected $windowDataType = '';
/**
* Required. An RRULE with format
* [RFC-5545](https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how
* this window reccurs. They go on for the span of time between the start and
* end time. The only supported FREQ value is "WEEKLY". To have something
* repeat every weekday, use: "FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR". This
* specifies how frequently the window starts. To have a 9 am - 5 pm UTC-4
* window every weekday, use something like: ``` start time =
* 2019-01-01T09:00:00-0400 end time = 2019-01-01T17:00:00-0400 recurrence =
* FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR ```
*
* @param string $recurrence
*/
public function setRecurrence($recurrence)
{
$this->recurrence = $recurrence;
}
/**
* @return string
*/
public function getRecurrence()
{
return $this->recurrence;
}
/**
* Required. The window representing the start and end time of recurrences.
* This field ignores the date components of the provided timestamps. Only the
* time of day and duration between start and end time are relevant.
*
* @param TimeWindow $window
*/
public function setWindow(TimeWindow $window)
{
$this->window = $window;
}
/**
* @return TimeWindow
*/
public function getWindow()
{
return $this->window;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RecurringTimeWindow::class, 'Google_Service_DataFusion_RecurringTimeWindow');
@@ -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\DataFusion;
class RegionalMigDistributionPolicy extends \Google\Collection
{
protected $collection_key = 'zones';
/**
* @var int
*/
public $targetShape;
protected $zonesType = ZoneConfiguration::class;
protected $zonesDataType = 'array';
/**
* @param int
*/
public function setTargetShape($targetShape)
{
$this->targetShape = $targetShape;
}
/**
* @return int
*/
public function getTargetShape()
{
return $this->targetShape;
}
/**
* @param ZoneConfiguration[]
*/
public function setZones($zones)
{
$this->zones = $zones;
}
/**
* @return ZoneConfiguration[]
*/
public function getZones()
{
return $this->zones;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RegionalMigDistributionPolicy::class, 'Google_Service_DataFusion_RegionalMigDistributionPolicy');
@@ -0,0 +1,33 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\DataFusion\Resource;
/**
* The "projects" collection of methods.
* Typical usage is:
* <code>
* $datafusionService = new Google\Service\DataFusion(...);
* $projects = $datafusionService->projects;
* </code>
*/
class Projects extends \Google\Service\Resource
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Projects::class, 'Google_Service_DataFusion_Resource_Projects');
@@ -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\DataFusion\Resource;
use Google\Service\DataFusion\ListLocationsResponse;
use Google\Service\DataFusion\Location;
/**
* The "locations" collection of methods.
* Typical usage is:
* <code>
* $datafusionService = new Google\Service\DataFusion(...);
* $locations = $datafusionService->projects_locations;
* </code>
*/
class ProjectsLocations extends \Google\Service\Resource
{
/**
* Gets information about a location. (locations.get)
*
* @param string $name Resource name for the location.
* @param array $optParams Optional parameters.
* @return Location
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Location::class);
}
/**
* Lists information about the supported locations for this service.
* (locations.listProjectsLocations)
*
* @param string $name The resource that owns the locations collection, if
* applicable.
* @param array $optParams Optional parameters.
*
* @opt_param string extraLocationTypes Optional. Do not use this field. It is
* unsupported and is ignored unless explicitly documented otherwise. This is
* primarily for internal usage.
* @opt_param string filter A filter to narrow down results to a preferred
* subset. The filtering language accepts strings like `"displayName=tokyo"`,
* and is documented in more detail in [AIP-160](https://google.aip.dev/160).
* @opt_param int pageSize The maximum number of results to return. If not set,
* the service selects a default.
* @opt_param string pageToken A page token received from the `next_page_token`
* field in the response. Send that page token to receive the subsequent page.
* @return ListLocationsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocations($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListLocationsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocations::class, 'Google_Service_DataFusion_Resource_ProjectsLocations');
@@ -0,0 +1,237 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\DataFusion\Resource;
use Google\Service\DataFusion\Instance;
use Google\Service\DataFusion\ListInstancesResponse;
use Google\Service\DataFusion\Operation;
use Google\Service\DataFusion\Policy;
use Google\Service\DataFusion\RestartInstanceRequest;
use Google\Service\DataFusion\SetIamPolicyRequest;
use Google\Service\DataFusion\TestIamPermissionsRequest;
use Google\Service\DataFusion\TestIamPermissionsResponse;
/**
* The "instances" collection of methods.
* Typical usage is:
* <code>
* $datafusionService = new Google\Service\DataFusion(...);
* $instances = $datafusionService->projects_locations_instances;
* </code>
*/
class ProjectsLocationsInstances extends \Google\Service\Resource
{
/**
* Creates a new Data Fusion instance in the specified project and location.
* (instances.create)
*
* @param string $parent Required. The instance's project and location in the
* format projects/{project}/locations/{location}.
* @param Instance $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string instanceId Required. The name of the instance to create.
* Instance name can only contain lowercase alphanumeric characters and hyphens.
* It must start with a letter and must not end with a hyphen. It can have a
* maximum of 30 characters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function create($parent, Instance $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Operation::class);
}
/**
* Deletes a single Date Fusion instance. (instances.delete)
*
* @param string $name Required. The instance resource name in the format
* projects/{project}/locations/{location}/instances/{instance}
* @param array $optParams Optional parameters.
*
* @opt_param bool force Optional. If set to true, any nested resources from
* this instance will also be deleted.
* @return Operation
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], Operation::class);
}
/**
* Gets details of a single Data Fusion instance. (instances.get)
*
* @param string $name Required. The instance resource name in the format
* projects/{project}/locations/{location}/instances/{instance}.
* @param array $optParams Optional parameters.
* @return Instance
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Instance::class);
}
/**
* Gets the access control policy for a resource. Returns an empty policy if the
* resource exists and does not have a policy set. (instances.getIamPolicy)
*
* @param string $resource REQUIRED: The resource for which the policy is being
* requested. See [Resource
* names](https://cloud.google.com/apis/design/resource_names) for the
* appropriate value for this field.
* @param array $optParams Optional parameters.
*
* @opt_param int options.requestedPolicyVersion Optional. The maximum policy
* version that will be used to format the policy. Valid values are 0, 1, and 3.
* Requests specifying an invalid value will be rejected. Requests for policies
* with any conditional role bindings must specify version 3. Policies with no
* conditional role bindings may specify any valid value or leave the field
* unset. The policy in the response might use the policy version that you
* specified, or it might use a lower policy version. For example, if you
* specify version 3, but the policy has no conditional role bindings, the
* response uses version 1. To learn which resources support conditions in their
* IAM policies, see the [IAM
* documentation](https://cloud.google.com/iam/help/conditions/resource-
* policies).
* @return Policy
* @throws \Google\Service\Exception
*/
public function getIamPolicy($resource, $optParams = [])
{
$params = ['resource' => $resource];
$params = array_merge($params, $optParams);
return $this->call('getIamPolicy', [$params], Policy::class);
}
/**
* Lists Data Fusion instances in the specified project and location.
* (instances.listProjectsLocationsInstances)
*
* @param string $parent Required. The project and location for which to
* retrieve instance information in the format
* projects/{project}/locations/{location}. If the location is specified as '-'
* (wildcard), then all regions available to the project are queried, and the
* results are aggregated.
* @param array $optParams Optional parameters.
*
* @opt_param string filter List filter.
* @opt_param string orderBy Sort results. Supported values are "name", "name
* desc", or "" (unsorted).
* @opt_param int pageSize The maximum number of items to return.
* @opt_param string pageToken The next_page_token value to use if there are
* additional results to retrieve for this list request.
* @return ListInstancesResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsInstances($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListInstancesResponse::class);
}
/**
* Updates a single Data Fusion instance. (instances.patch)
*
* @param string $name Output only. The name of this instance is in the form of
* projects/{project}/locations/{location}/instances/{instance}.
* @param Instance $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Field mask is used to specify the fields that
* the update will overwrite in an instance resource. The fields specified in
* the update_mask are relative to the resource, not the full request. A field
* will be overwritten if it is in the mask. If the user does not provide a
* mask, the label field will be overwritten.
* @return Operation
* @throws \Google\Service\Exception
*/
public function patch($name, Instance $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], Operation::class);
}
/**
* Restart a single Data Fusion instance. At the end of an operation instance is
* fully restarted. (instances.restart)
*
* @param string $name Required. Name of the Data Fusion instance which need to
* be restarted in the form of
* projects/{project}/locations/{location}/instances/{instance}
* @param RestartInstanceRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function restart($name, RestartInstanceRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('restart', [$params], Operation::class);
}
/**
* Sets the access control policy on the specified resource. Replaces any
* existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and
* `PERMISSION_DENIED` errors. (instances.setIamPolicy)
*
* @param string $resource REQUIRED: The resource for which the policy is being
* specified. See [Resource
* names](https://cloud.google.com/apis/design/resource_names) for the
* appropriate value for this field.
* @param SetIamPolicyRequest $postBody
* @param array $optParams Optional parameters.
* @return Policy
* @throws \Google\Service\Exception
*/
public function setIamPolicy($resource, SetIamPolicyRequest $postBody, $optParams = [])
{
$params = ['resource' => $resource, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('setIamPolicy', [$params], Policy::class);
}
/**
* Returns permissions that a caller has on the specified resource. If the
* resource does not exist, this will return an empty set of permissions, not a
* `NOT_FOUND` error. Note: This operation is designed to be used for building
* permission-aware UIs and command-line tools, not for authorization checking.
* This operation may "fail open" without warning.
* (instances.testIamPermissions)
*
* @param string $resource REQUIRED: The resource for which the policy detail is
* being requested. See [Resource
* names](https://cloud.google.com/apis/design/resource_names) for the
* appropriate value for this field.
* @param TestIamPermissionsRequest $postBody
* @param array $optParams Optional parameters.
* @return TestIamPermissionsResponse
* @throws \Google\Service\Exception
*/
public function testIamPermissions($resource, TestIamPermissionsRequest $postBody, $optParams = [])
{
$params = ['resource' => $resource, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('testIamPermissions', [$params], TestIamPermissionsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsInstances::class, 'Google_Service_DataFusion_Resource_ProjectsLocationsInstances');
@@ -0,0 +1,97 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\DataFusion\Resource;
use Google\Service\DataFusion\DatafusionEmpty;
use Google\Service\DataFusion\DnsPeering;
use Google\Service\DataFusion\ListDnsPeeringsResponse;
/**
* The "dnsPeerings" collection of methods.
* Typical usage is:
* <code>
* $datafusionService = new Google\Service\DataFusion(...);
* $dnsPeerings = $datafusionService->projects_locations_instances_dnsPeerings;
* </code>
*/
class ProjectsLocationsInstancesDnsPeerings extends \Google\Service\Resource
{
/**
* Creates DNS peering on the given resource. (dnsPeerings.create)
*
* @param string $parent Required. The resource on which DNS peering will be
* created.
* @param DnsPeering $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string dnsPeeringId Required. The name of the peering to create.
* @return DnsPeering
* @throws \Google\Service\Exception
*/
public function create($parent, DnsPeering $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], DnsPeering::class);
}
/**
* Deletes DNS peering on the given resource. (dnsPeerings.delete)
*
* @param string $name Required. The name of the DNS peering zone to delete.
* Format: projects/{project}/locations/{location}/instances/{instance}/dnsPeeri
* ngs/{dns_peering}
* @param array $optParams Optional parameters.
* @return DatafusionEmpty
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], DatafusionEmpty::class);
}
/**
* Lists DNS peerings for a given resource.
* (dnsPeerings.listProjectsLocationsInstancesDnsPeerings)
*
* @param string $parent Required. The parent, which owns this collection of dns
* peerings. Format:
* projects/{project}/locations/{location}/instances/{instance}
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize The maximum number of dns peerings to return. The
* service may return fewer than this value. If unspecified, at most 50 dns
* peerings will be returned. The maximum value is 200; values above 200 will be
* coerced to 200.
* @opt_param string pageToken A page token, received from a previous
* `ListDnsPeerings` call. Provide this to retrieve the subsequent page. When
* paginating, all other parameters provided to `ListDnsPeerings` must match the
* call that provided the page token.
* @return ListDnsPeeringsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsInstancesDnsPeerings($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListDnsPeeringsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsInstancesDnsPeerings::class, 'Google_Service_DataFusion_Resource_ProjectsLocationsInstancesDnsPeerings');
@@ -0,0 +1,121 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\DataFusion\Resource;
use Google\Service\DataFusion\CancelOperationRequest;
use Google\Service\DataFusion\DatafusionEmpty;
use Google\Service\DataFusion\ListOperationsResponse;
use Google\Service\DataFusion\Operation;
/**
* The "operations" collection of methods.
* Typical usage is:
* <code>
* $datafusionService = new Google\Service\DataFusion(...);
* $operations = $datafusionService->projects_locations_operations;
* </code>
*/
class ProjectsLocationsOperations extends \Google\Service\Resource
{
/**
* Starts asynchronous cancellation on a long-running operation. The server
* makes a best effort to cancel the operation, but success is not guaranteed.
* If the server doesn't support this method, it returns
* `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or
* other methods to check whether the cancellation succeeded or whether the
* operation completed despite cancellation. On successful cancellation, the
* operation is not deleted; instead, it becomes an operation with an
* Operation.error value with a google.rpc.Status.code of `1`, corresponding to
* `Code.CANCELLED`. (operations.cancel)
*
* @param string $name The name of the operation resource to be cancelled.
* @param CancelOperationRequest $postBody
* @param array $optParams Optional parameters.
* @return DatafusionEmpty
* @throws \Google\Service\Exception
*/
public function cancel($name, CancelOperationRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('cancel', [$params], DatafusionEmpty::class);
}
/**
* Deletes a long-running operation. This method indicates that the client is no
* longer interested in the operation result. It does not cancel the operation.
* If the server doesn't support this method, it returns
* `google.rpc.Code.UNIMPLEMENTED`. (operations.delete)
*
* @param string $name The name of the operation resource to be deleted.
* @param array $optParams Optional parameters.
* @return DatafusionEmpty
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], DatafusionEmpty::class);
}
/**
* Gets the latest state of a long-running operation. Clients can use this
* method to poll the operation result at intervals as recommended by the API
* service. (operations.get)
*
* @param string $name The name of the operation resource.
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Operation::class);
}
/**
* Lists operations that match the specified filter in the request. If the
* server doesn't support this method, it returns `UNIMPLEMENTED`.
* (operations.listProjectsLocationsOperations)
*
* @param string $name The name of the operation's parent resource.
* @param array $optParams Optional parameters.
*
* @opt_param string filter The standard list filter.
* @opt_param int pageSize The standard list page size.
* @opt_param string pageToken The standard list page token.
* @opt_param bool returnPartialSuccess When set to `true`, operations that are
* reachable are returned as normal, and those that are unreachable are returned
* in the ListOperationsResponse.unreachable field. This can only be `true` when
* reading across collections. For example, when `parent` is set to
* `"projects/example/locations/-"`. This field is not supported by default and
* will result in an `UNIMPLEMENTED` error if set unless explicitly documented
* otherwise in service or product specific documentation.
* @return ListOperationsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsOperations($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListOperationsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsOperations::class, 'Google_Service_DataFusion_Resource_ProjectsLocationsOperations');
@@ -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\DataFusion\Resource;
use Google\Service\DataFusion\ListAvailableVersionsResponse;
/**
* The "versions" collection of methods.
* Typical usage is:
* <code>
* $datafusionService = new Google\Service\DataFusion(...);
* $versions = $datafusionService->projects_locations_versions;
* </code>
*/
class ProjectsLocationsVersions extends \Google\Service\Resource
{
/**
* Lists possible versions for Data Fusion instances in the specified project
* and location. (versions.listProjectsLocationsVersions)
*
* @param string $parent Required. The project and location for which to
* retrieve instance information in the format
* projects/{project}/locations/{location}.
* @param array $optParams Optional parameters.
*
* @opt_param bool latestPatchOnly Whether or not to return the latest patch of
* every available minor version. If true, only the latest patch will be
* returned. Ex. if allowed versions is [6.1.1, 6.1.2, 6.2.0] then response will
* be [6.1.2, 6.2.0]
* @opt_param int pageSize The maximum number of items to return.
* @opt_param string pageToken The next_page_token value to use if there are
* additional results to retrieve for this list request.
* @return ListAvailableVersionsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsVersions($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListAvailableVersionsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsVersions::class, 'Google_Service_DataFusion_Resource_ProjectsLocationsVersions');
@@ -0,0 +1,25 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\DataFusion;
class RestartInstanceRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RestartInstanceRequest::class, 'Google_Service_DataFusion_RestartInstanceRequest');
@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\DataFusion;
class ServiceData extends \Google\Model
{
protected $pdType = PersistentDiskData::class;
protected $pdDataType = '';
/**
* @param PersistentDiskData
*/
public function setPd(PersistentDiskData $pd)
{
$this->pd = $pd;
}
/**
* @return PersistentDiskData
*/
public function getPd()
{
return $this->pd;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ServiceData::class, 'Google_Service_DataFusion_ServiceData');
@@ -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\DataFusion;
class SetIamPolicyRequest extends \Google\Model
{
protected $policyType = Policy::class;
protected $policyDataType = '';
/**
* OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
* the fields in the mask will be modified. If no mask is provided, the
* following default mask is used: `paths: "bindings, etag"`
*
* @var string
*/
public $updateMask;
/**
* REQUIRED: The complete policy to be applied to the `resource`. The size of
* the policy is limited to a few 10s of KB. An empty policy is a valid policy
* but certain Google Cloud services (such as Projects) might reject them.
*
* @param Policy $policy
*/
public function setPolicy(Policy $policy)
{
$this->policy = $policy;
}
/**
* @return Policy
*/
public function getPolicy()
{
return $this->policy;
}
/**
* OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
* the fields in the mask will be modified. If no mask is provided, the
* following default mask is used: `paths: "bindings, etag"`
*
* @param string $updateMask
*/
public function setUpdateMask($updateMask)
{
$this->updateMask = $updateMask;
}
/**
* @return string
*/
public function getUpdateMask()
{
return $this->updateMask;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SetIamPolicyRequest::class, 'Google_Service_DataFusion_SetIamPolicyRequest');
@@ -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\DataFusion;
class SpannerLocation extends \Google\Collection
{
protected $collection_key = 'dbName';
/**
* @var string[]
*/
public $backupName;
/**
* @var string[]
*/
public $dbName;
/**
* @param string[]
*/
public function setBackupName($backupName)
{
$this->backupName = $backupName;
}
/**
* @return string[]
*/
public function getBackupName()
{
return $this->backupName;
}
/**
* @param string[]
*/
public function setDbName($dbName)
{
$this->dbName = $dbName;
}
/**
* @return string[]
*/
public function getDbName()
{
return $this->dbName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SpannerLocation::class, 'Google_Service_DataFusion_SpannerLocation');
@@ -0,0 +1,99 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\DataFusion;
class Status extends \Google\Collection
{
protected $collection_key = 'details';
/**
* The status code, which should be an enum value of google.rpc.Code.
*
* @var int
*/
public $code;
/**
* A list of messages that carry the error details. There is a common set of
* message types for APIs to use.
*
* @var array[]
*/
public $details;
/**
* A developer-facing error message, which should be in English. Any user-
* facing error message should be localized and sent in the
* google.rpc.Status.details field, or localized by the client.
*
* @var string
*/
public $message;
/**
* The status code, which should be an enum value of google.rpc.Code.
*
* @param int $code
*/
public function setCode($code)
{
$this->code = $code;
}
/**
* @return int
*/
public function getCode()
{
return $this->code;
}
/**
* A list of messages that carry the error details. There is a common set of
* message types for APIs to use.
*
* @param array[] $details
*/
public function setDetails($details)
{
$this->details = $details;
}
/**
* @return array[]
*/
public function getDetails()
{
return $this->details;
}
/**
* A developer-facing error message, which should be in English. Any user-
* facing error message should be localized and sent in the
* google.rpc.Status.details field, or localized by the client.
*
* @param string $message
*/
public function setMessage($message)
{
$this->message = $message;
}
/**
* @return string
*/
public function getMessage()
{
return $this->message;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Status::class, 'Google_Service_DataFusion_Status');
@@ -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\DataFusion;
class TenantProjectProxy extends \Google\Collection
{
protected $collection_key = 'projectNumbers';
/**
* @var string[]
*/
public $projectNumbers;
/**
* @param string[]
*/
public function setProjectNumbers($projectNumbers)
{
$this->projectNumbers = $projectNumbers;
}
/**
* @return string[]
*/
public function getProjectNumbers()
{
return $this->projectNumbers;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TenantProjectProxy::class, 'Google_Service_DataFusion_TenantProjectProxy');
@@ -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\DataFusion;
class TestIamPermissionsRequest extends \Google\Collection
{
protected $collection_key = 'permissions';
/**
* The set of permissions to check for the `resource`. Permissions with
* wildcards (such as `*` or `storage.*`) are not allowed. For more
* information see [IAM
* Overview](https://cloud.google.com/iam/docs/overview#permissions).
*
* @var string[]
*/
public $permissions;
/**
* The set of permissions to check for the `resource`. Permissions with
* wildcards (such as `*` or `storage.*`) are not allowed. For more
* information see [IAM
* Overview](https://cloud.google.com/iam/docs/overview#permissions).
*
* @param string[] $permissions
*/
public function setPermissions($permissions)
{
$this->permissions = $permissions;
}
/**
* @return string[]
*/
public function getPermissions()
{
return $this->permissions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TestIamPermissionsRequest::class, 'Google_Service_DataFusion_TestIamPermissionsRequest');
@@ -0,0 +1,51 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\DataFusion;
class TestIamPermissionsResponse extends \Google\Collection
{
protected $collection_key = 'permissions';
/**
* A subset of `TestPermissionsRequest.permissions` that the caller is
* allowed.
*
* @var string[]
*/
public $permissions;
/**
* A subset of `TestPermissionsRequest.permissions` that the caller is
* allowed.
*
* @param string[] $permissions
*/
public function setPermissions($permissions)
{
$this->permissions = $permissions;
}
/**
* @return string[]
*/
public function getPermissions()
{
return $this->permissions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TestIamPermissionsResponse::class, 'Google_Service_DataFusion_TestIamPermissionsResponse');
@@ -0,0 +1,78 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\DataFusion;
class TimeWindow extends \Google\Model
{
/**
* Required. The end time of the time window provided in [RFC
* 3339](https://www.ietf.org/rfc/rfc3339.txt) format. The end time should
* take place after the start time. Example: "2024-01-02T12:04:06-06:00"
*
* @var string
*/
public $endTime;
/**
* Required. The start time of the time window provided in [RFC
* 3339](https://www.ietf.org/rfc/rfc3339.txt) format. Example:
* "2024-01-01T12:04:06-04:00"
*
* @var string
*/
public $startTime;
/**
* Required. The end time of the time window provided in [RFC
* 3339](https://www.ietf.org/rfc/rfc3339.txt) format. The end time should
* take place after the start time. Example: "2024-01-02T12:04:06-06:00"
*
* @param string $endTime
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* Required. The start time of the time window provided in [RFC
* 3339](https://www.ietf.org/rfc/rfc3339.txt) format. Example:
* "2024-01-01T12:04:06-04:00"
*
* @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(TimeWindow::class, 'Google_Service_DataFusion_TimeWindow');
@@ -0,0 +1,134 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\DataFusion;
class Version extends \Google\Collection
{
/**
* Version does not have availability yet
*/
public const TYPE_TYPE_UNSPECIFIED = 'TYPE_UNSPECIFIED';
/**
* Version is under development and not considered stable
*/
public const TYPE_TYPE_PREVIEW = 'TYPE_PREVIEW';
/**
* Version is available for public use
*/
public const TYPE_TYPE_GENERAL_AVAILABILITY = 'TYPE_GENERAL_AVAILABILITY';
/**
* Version is no longer supported.
*/
public const TYPE_TYPE_DEPRECATED = 'TYPE_DEPRECATED';
protected $collection_key = 'availableFeatures';
/**
* Represents a list of available feature names for a given version.
*
* @var string[]
*/
public $availableFeatures;
/**
* Whether this is currently the default version for Cloud Data Fusion
*
* @var bool
*/
public $defaultVersion;
/**
* Type represents the release availability of the version
*
* @var string
*/
public $type;
/**
* The version number of the Data Fusion instance, such as '6.0.1.0'.
*
* @var string
*/
public $versionNumber;
/**
* Represents a list of available feature names for a given version.
*
* @param string[] $availableFeatures
*/
public function setAvailableFeatures($availableFeatures)
{
$this->availableFeatures = $availableFeatures;
}
/**
* @return string[]
*/
public function getAvailableFeatures()
{
return $this->availableFeatures;
}
/**
* Whether this is currently the default version for Cloud Data Fusion
*
* @param bool $defaultVersion
*/
public function setDefaultVersion($defaultVersion)
{
$this->defaultVersion = $defaultVersion;
}
/**
* @return bool
*/
public function getDefaultVersion()
{
return $this->defaultVersion;
}
/**
* Type represents the release availability of the version
*
* Accepted values: TYPE_UNSPECIFIED, TYPE_PREVIEW, TYPE_GENERAL_AVAILABILITY,
* TYPE_DEPRECATED
*
* @param self::TYPE_* $type
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return self::TYPE_*
*/
public function getType()
{
return $this->type;
}
/**
* The version number of the Data Fusion instance, such as '6.0.1.0'.
*
* @param string $versionNumber
*/
public function setVersionNumber($versionNumber)
{
$this->versionNumber = $versionNumber;
}
/**
* @return string
*/
public function getVersionNumber()
{
return $this->versionNumber;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Version::class, 'Google_Service_DataFusion_Version');
@@ -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\DataFusion;
class ZoneConfiguration extends \Google\Model
{
/**
* @var string
*/
public $zone;
/**
* @param string
*/
public function setZone($zone)
{
$this->zone = $zone;
}
/**
* @return string
*/
public function getZone()
{
return $this->zone;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ZoneConfiguration::class, 'Google_Service_DataFusion_ZoneConfiguration');