Initial commit

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

View File

@@ -0,0 +1,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\BigQueryConnectionService;
class AuditConfig extends \Google\Collection
{
protected $collection_key = 'auditLogConfigs';
protected $auditLogConfigsType = AuditLogConfig::class;
protected $auditLogConfigsDataType = 'array';
/**
* @var string
*/
public $service;
/**
* @param AuditLogConfig[]
*/
public function setAuditLogConfigs($auditLogConfigs)
{
$this->auditLogConfigs = $auditLogConfigs;
}
/**
* @return AuditLogConfig[]
*/
public function getAuditLogConfigs()
{
return $this->auditLogConfigs;
}
/**
* @param string
*/
public function setService($service)
{
$this->service = $service;
}
/**
* @return string
*/
public function getService()
{
return $this->service;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AuditConfig::class, 'Google_Service_BigQueryConnectionService_AuditConfig');

View File

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

View File

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

View File

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

View File

@@ -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\BigQueryConnectionService;
class AzureProperties extends \Google\Model
{
/**
* @var string
*/
public $application;
/**
* @var string
*/
public $clientId;
/**
* @var string
*/
public $customerTenantId;
/**
* @var string
*/
public $federatedApplicationClientId;
/**
* @var string
*/
public $identity;
/**
* @var string
*/
public $objectId;
/**
* @var string
*/
public $redirectUri;
/**
* @param string
*/
public function setApplication($application)
{
$this->application = $application;
}
/**
* @return string
*/
public function getApplication()
{
return $this->application;
}
/**
* @param string
*/
public function setClientId($clientId)
{
$this->clientId = $clientId;
}
/**
* @return string
*/
public function getClientId()
{
return $this->clientId;
}
/**
* @param string
*/
public function setCustomerTenantId($customerTenantId)
{
$this->customerTenantId = $customerTenantId;
}
/**
* @return string
*/
public function getCustomerTenantId()
{
return $this->customerTenantId;
}
/**
* @param string
*/
public function setFederatedApplicationClientId($federatedApplicationClientId)
{
$this->federatedApplicationClientId = $federatedApplicationClientId;
}
/**
* @return string
*/
public function getFederatedApplicationClientId()
{
return $this->federatedApplicationClientId;
}
/**
* @param string
*/
public function setIdentity($identity)
{
$this->identity = $identity;
}
/**
* @return string
*/
public function getIdentity()
{
return $this->identity;
}
/**
* @param string
*/
public function setObjectId($objectId)
{
$this->objectId = $objectId;
}
/**
* @return string
*/
public function getObjectId()
{
return $this->objectId;
}
/**
* @param string
*/
public function setRedirectUri($redirectUri)
{
$this->redirectUri = $redirectUri;
}
/**
* @return string
*/
public function getRedirectUri()
{
return $this->redirectUri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AzureProperties::class, 'Google_Service_BigQueryConnectionService_AzureProperties');

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,134 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BigQueryConnectionService;
class CloudSpannerProperties extends \Google\Model
{
/**
* @var string
*/
public $database;
/**
* @var string
*/
public $databaseRole;
/**
* @var int
*/
public $maxParallelism;
/**
* @var bool
*/
public $useDataBoost;
/**
* @var bool
*/
public $useParallelism;
/**
* @var bool
*/
public $useServerlessAnalytics;
/**
* @param string
*/
public function setDatabase($database)
{
$this->database = $database;
}
/**
* @return string
*/
public function getDatabase()
{
return $this->database;
}
/**
* @param string
*/
public function setDatabaseRole($databaseRole)
{
$this->databaseRole = $databaseRole;
}
/**
* @return string
*/
public function getDatabaseRole()
{
return $this->databaseRole;
}
/**
* @param int
*/
public function setMaxParallelism($maxParallelism)
{
$this->maxParallelism = $maxParallelism;
}
/**
* @return int
*/
public function getMaxParallelism()
{
return $this->maxParallelism;
}
/**
* @param bool
*/
public function setUseDataBoost($useDataBoost)
{
$this->useDataBoost = $useDataBoost;
}
/**
* @return bool
*/
public function getUseDataBoost()
{
return $this->useDataBoost;
}
/**
* @param bool
*/
public function setUseParallelism($useParallelism)
{
$this->useParallelism = $useParallelism;
}
/**
* @return bool
*/
public function getUseParallelism()
{
return $this->useParallelism;
}
/**
* @param bool
*/
public function setUseServerlessAnalytics($useServerlessAnalytics)
{
$this->useServerlessAnalytics = $useServerlessAnalytics;
}
/**
* @return bool
*/
public function getUseServerlessAnalytics()
{
return $this->useServerlessAnalytics;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudSpannerProperties::class, 'Google_Service_BigQueryConnectionService_CloudSpannerProperties');

View File

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

View File

@@ -0,0 +1,114 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BigQueryConnectionService;
class CloudSqlProperties extends \Google\Model
{
protected $credentialType = CloudSqlCredential::class;
protected $credentialDataType = '';
/**
* @var string
*/
public $database;
/**
* @var string
*/
public $instanceId;
/**
* @var string
*/
public $serviceAccountId;
/**
* @var string
*/
public $type;
/**
* @param CloudSqlCredential
*/
public function setCredential(CloudSqlCredential $credential)
{
$this->credential = $credential;
}
/**
* @return CloudSqlCredential
*/
public function getCredential()
{
return $this->credential;
}
/**
* @param string
*/
public function setDatabase($database)
{
$this->database = $database;
}
/**
* @return string
*/
public function getDatabase()
{
return $this->database;
}
/**
* @param string
*/
public function setInstanceId($instanceId)
{
$this->instanceId = $instanceId;
}
/**
* @return string
*/
public function getInstanceId()
{
return $this->instanceId;
}
/**
* @param string
*/
public function setServiceAccountId($serviceAccountId)
{
$this->serviceAccountId = $serviceAccountId;
}
/**
* @return string
*/
public function getServiceAccountId()
{
return $this->serviceAccountId;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudSqlProperties::class, 'Google_Service_BigQueryConnectionService_CloudSqlProperties');

View File

@@ -0,0 +1,280 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BigQueryConnectionService;
class Connection extends \Google\Model
{
protected $awsType = AwsProperties::class;
protected $awsDataType = '';
protected $azureType = AzureProperties::class;
protected $azureDataType = '';
protected $cloudResourceType = CloudResourceProperties::class;
protected $cloudResourceDataType = '';
protected $cloudSpannerType = CloudSpannerProperties::class;
protected $cloudSpannerDataType = '';
protected $cloudSqlType = CloudSqlProperties::class;
protected $cloudSqlDataType = '';
protected $configurationType = ConnectorConfiguration::class;
protected $configurationDataType = '';
/**
* @var string
*/
public $creationTime;
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $friendlyName;
/**
* @var bool
*/
public $hasCredential;
/**
* @var string
*/
public $kmsKeyName;
/**
* @var string
*/
public $lastModifiedTime;
/**
* @var string
*/
public $name;
protected $salesforceDataCloudType = SalesforceDataCloudProperties::class;
protected $salesforceDataCloudDataType = '';
protected $sparkType = SparkProperties::class;
protected $sparkDataType = '';
/**
* @param AwsProperties
*/
public function setAws(AwsProperties $aws)
{
$this->aws = $aws;
}
/**
* @return AwsProperties
*/
public function getAws()
{
return $this->aws;
}
/**
* @param AzureProperties
*/
public function setAzure(AzureProperties $azure)
{
$this->azure = $azure;
}
/**
* @return AzureProperties
*/
public function getAzure()
{
return $this->azure;
}
/**
* @param CloudResourceProperties
*/
public function setCloudResource(CloudResourceProperties $cloudResource)
{
$this->cloudResource = $cloudResource;
}
/**
* @return CloudResourceProperties
*/
public function getCloudResource()
{
return $this->cloudResource;
}
/**
* @param CloudSpannerProperties
*/
public function setCloudSpanner(CloudSpannerProperties $cloudSpanner)
{
$this->cloudSpanner = $cloudSpanner;
}
/**
* @return CloudSpannerProperties
*/
public function getCloudSpanner()
{
return $this->cloudSpanner;
}
/**
* @param CloudSqlProperties
*/
public function setCloudSql(CloudSqlProperties $cloudSql)
{
$this->cloudSql = $cloudSql;
}
/**
* @return CloudSqlProperties
*/
public function getCloudSql()
{
return $this->cloudSql;
}
/**
* @param ConnectorConfiguration
*/
public function setConfiguration(ConnectorConfiguration $configuration)
{
$this->configuration = $configuration;
}
/**
* @return ConnectorConfiguration
*/
public function getConfiguration()
{
return $this->configuration;
}
/**
* @param string
*/
public function setCreationTime($creationTime)
{
$this->creationTime = $creationTime;
}
/**
* @return string
*/
public function getCreationTime()
{
return $this->creationTime;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setFriendlyName($friendlyName)
{
$this->friendlyName = $friendlyName;
}
/**
* @return string
*/
public function getFriendlyName()
{
return $this->friendlyName;
}
/**
* @param bool
*/
public function setHasCredential($hasCredential)
{
$this->hasCredential = $hasCredential;
}
/**
* @return bool
*/
public function getHasCredential()
{
return $this->hasCredential;
}
/**
* @param string
*/
public function setKmsKeyName($kmsKeyName)
{
$this->kmsKeyName = $kmsKeyName;
}
/**
* @return string
*/
public function getKmsKeyName()
{
return $this->kmsKeyName;
}
/**
* @param string
*/
public function setLastModifiedTime($lastModifiedTime)
{
$this->lastModifiedTime = $lastModifiedTime;
}
/**
* @return string
*/
public function getLastModifiedTime()
{
return $this->lastModifiedTime;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param SalesforceDataCloudProperties
*/
public function setSalesforceDataCloud(SalesforceDataCloudProperties $salesforceDataCloud)
{
$this->salesforceDataCloud = $salesforceDataCloud;
}
/**
* @return SalesforceDataCloudProperties
*/
public function getSalesforceDataCloud()
{
return $this->salesforceDataCloud;
}
/**
* @param SparkProperties
*/
public function setSpark(SparkProperties $spark)
{
$this->spark = $spark;
}
/**
* @return SparkProperties
*/
public function getSpark()
{
return $this->spark;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Connection::class, 'Google_Service_BigQueryConnectionService_Connection');

View File

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

View File

@@ -0,0 +1,108 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BigQueryConnectionService;
class ConnectorConfiguration extends \Google\Model
{
protected $assetType = ConnectorConfigurationAsset::class;
protected $assetDataType = '';
protected $authenticationType = ConnectorConfigurationAuthentication::class;
protected $authenticationDataType = '';
/**
* @var string
*/
public $connectorId;
protected $endpointType = ConnectorConfigurationEndpoint::class;
protected $endpointDataType = '';
protected $networkType = ConnectorConfigurationNetwork::class;
protected $networkDataType = '';
/**
* @param ConnectorConfigurationAsset
*/
public function setAsset(ConnectorConfigurationAsset $asset)
{
$this->asset = $asset;
}
/**
* @return ConnectorConfigurationAsset
*/
public function getAsset()
{
return $this->asset;
}
/**
* @param ConnectorConfigurationAuthentication
*/
public function setAuthentication(ConnectorConfigurationAuthentication $authentication)
{
$this->authentication = $authentication;
}
/**
* @return ConnectorConfigurationAuthentication
*/
public function getAuthentication()
{
return $this->authentication;
}
/**
* @param string
*/
public function setConnectorId($connectorId)
{
$this->connectorId = $connectorId;
}
/**
* @return string
*/
public function getConnectorId()
{
return $this->connectorId;
}
/**
* @param ConnectorConfigurationEndpoint
*/
public function setEndpoint(ConnectorConfigurationEndpoint $endpoint)
{
$this->endpoint = $endpoint;
}
/**
* @return ConnectorConfigurationEndpoint
*/
public function getEndpoint()
{
return $this->endpoint;
}
/**
* @param ConnectorConfigurationNetwork
*/
public function setNetwork(ConnectorConfigurationNetwork $network)
{
$this->network = $network;
}
/**
* @return ConnectorConfigurationNetwork
*/
public function getNetwork()
{
return $this->network;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ConnectorConfiguration::class, 'Google_Service_BigQueryConnectionService_ConnectorConfiguration');

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,95 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BigQueryConnectionService;
class Policy extends \Google\Collection
{
protected $collection_key = 'bindings';
protected $auditConfigsType = AuditConfig::class;
protected $auditConfigsDataType = 'array';
protected $bindingsType = Binding::class;
protected $bindingsDataType = 'array';
/**
* @var string
*/
public $etag;
/**
* @var int
*/
public $version;
/**
* @param AuditConfig[]
*/
public function setAuditConfigs($auditConfigs)
{
$this->auditConfigs = $auditConfigs;
}
/**
* @return AuditConfig[]
*/
public function getAuditConfigs()
{
return $this->auditConfigs;
}
/**
* @param Binding[]
*/
public function setBindings($bindings)
{
$this->bindings = $bindings;
}
/**
* @return Binding[]
*/
public function getBindings()
{
return $this->bindings;
}
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param int
*/
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_BigQueryConnectionService_Policy');

View File

@@ -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\BigQueryConnectionService\Resource;
/**
* The "projects" collection of methods.
* Typical usage is:
* <code>
* $bigqueryconnectionService = new Google\Service\BigQueryConnectionService(...);
* $projects = $bigqueryconnectionService->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_BigQueryConnectionService_Resource_Projects');

View File

@@ -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\BigQueryConnectionService\Resource;
/**
* The "locations" collection of methods.
* Typical usage is:
* <code>
* $bigqueryconnectionService = new Google\Service\BigQueryConnectionService(...);
* $locations = $bigqueryconnectionService->projects_locations;
* </code>
*/
class ProjectsLocations extends \Google\Service\Resource
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocations::class, 'Google_Service_BigQueryConnectionService_Resource_ProjectsLocations');

View File

@@ -0,0 +1,193 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BigQueryConnectionService\Resource;
use Google\Service\BigQueryConnectionService\BigqueryconnectionEmpty;
use Google\Service\BigQueryConnectionService\Connection;
use Google\Service\BigQueryConnectionService\GetIamPolicyRequest;
use Google\Service\BigQueryConnectionService\ListConnectionsResponse;
use Google\Service\BigQueryConnectionService\Policy;
use Google\Service\BigQueryConnectionService\SetIamPolicyRequest;
use Google\Service\BigQueryConnectionService\TestIamPermissionsRequest;
use Google\Service\BigQueryConnectionService\TestIamPermissionsResponse;
/**
* The "connections" collection of methods.
* Typical usage is:
* <code>
* $bigqueryconnectionService = new Google\Service\BigQueryConnectionService(...);
* $connections = $bigqueryconnectionService->projects_locations_connections;
* </code>
*/
class ProjectsLocationsConnections extends \Google\Service\Resource
{
/**
* Creates a new connection. (connections.create)
*
* @param string $parent Required. Parent resource name. Must be in the format
* `projects/{project_id}/locations/{location_id}`
* @param Connection $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string connectionId Optional. Connection id that should be
* assigned to the created connection.
* @return Connection
* @throws \Google\Service\Exception
*/
public function create($parent, Connection $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Connection::class);
}
/**
* Deletes connection and associated credential. (connections.delete)
*
* @param string $name Required. Name of the deleted connection, for example:
* `projects/{project_id}/locations/{location_id}/connections/{connection_id}`
* @param array $optParams Optional parameters.
* @return BigqueryconnectionEmpty
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], BigqueryconnectionEmpty::class);
}
/**
* Returns specified connection. (connections.get)
*
* @param string $name Required. Name of the requested connection, for example:
* `projects/{project_id}/locations/{location_id}/connections/{connection_id}`
* @param array $optParams Optional parameters.
* @return Connection
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Connection::class);
}
/**
* Gets the access control policy for a resource. Returns an empty policy if the
* resource exists and does not have a policy set. (connections.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 GetIamPolicyRequest $postBody
* @param array $optParams Optional parameters.
* @return Policy
* @throws \Google\Service\Exception
*/
public function getIamPolicy($resource, GetIamPolicyRequest $postBody, $optParams = [])
{
$params = ['resource' => $resource, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('getIamPolicy', [$params], Policy::class);
}
/**
* Returns a list of connections in the given project.
* (connections.listProjectsLocationsConnections)
*
* @param string $parent Required. Parent resource name. Must be in the form:
* `projects/{project_id}/locations/{location_id}`
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize Required. Page size.
* @opt_param string pageToken Page token.
* @return ListConnectionsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsConnections($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListConnectionsResponse::class);
}
/**
* Updates the specified connection. For security reasons, also resets
* credential if connection properties are in the update field mask.
* (connections.patch)
*
* @param string $name Required. Name of the connection to update, for example:
* `projects/{project_id}/locations/{location_id}/connections/{connection_id}`
* @param Connection $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Required. Update mask for the connection fields
* to be updated.
* @return Connection
* @throws \Google\Service\Exception
*/
public function patch($name, Connection $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], Connection::class);
}
/**
* Sets the access control policy on the specified resource. Replaces any
* existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and
* `PERMISSION_DENIED` errors. (connections.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.
* (connections.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(ProjectsLocationsConnections::class, 'Google_Service_BigQueryConnectionService_Resource_ProjectsLocationsConnections');

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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