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,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\AnalyticsHub;
class AnalyticsHubSubscriptionInfo extends \Google\Model
{
/**
* @var string
*/
public $listing;
/**
* @var string
*/
public $subscription;
/**
* @param string
*/
public function setListing($listing)
{
$this->listing = $listing;
}
/**
* @return string
*/
public function getListing()
{
return $this->listing;
}
/**
* @param string
*/
public function setSubscription($subscription)
{
$this->subscription = $subscription;
}
/**
* @return string
*/
public function getSubscription()
{
return $this->subscription;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AnalyticsHubSubscriptionInfo::class, 'Google_Service_AnalyticsHub_AnalyticsHubSubscriptionInfo');

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

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\AnalyticsHub;
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_AnalyticsHub_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\AnalyticsHub;
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_AnalyticsHub_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\AnalyticsHub;
class AvroConfig extends \Google\Model
{
/**
* @var bool
*/
public $useTopicSchema;
/**
* @var bool
*/
public $writeMetadata;
/**
* @param bool
*/
public function setUseTopicSchema($useTopicSchema)
{
$this->useTopicSchema = $useTopicSchema;
}
/**
* @return bool
*/
public function getUseTopicSchema()
{
return $this->useTopicSchema;
}
/**
* @param bool
*/
public function setWriteMetadata($writeMetadata)
{
$this->writeMetadata = $writeMetadata;
}
/**
* @return bool
*/
public function getWriteMetadata()
{
return $this->writeMetadata;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AvroConfig::class, 'Google_Service_AnalyticsHub_AvroConfig');

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\AnalyticsHub;
class BigQueryConfig extends \Google\Model
{
/**
* @var bool
*/
public $dropUnknownFields;
/**
* @var string
*/
public $serviceAccountEmail;
/**
* @var string
*/
public $state;
/**
* @var string
*/
public $table;
/**
* @var bool
*/
public $useTableSchema;
/**
* @var bool
*/
public $useTopicSchema;
/**
* @var bool
*/
public $writeMetadata;
/**
* @param bool
*/
public function setDropUnknownFields($dropUnknownFields)
{
$this->dropUnknownFields = $dropUnknownFields;
}
/**
* @return bool
*/
public function getDropUnknownFields()
{
return $this->dropUnknownFields;
}
/**
* @param string
*/
public function setServiceAccountEmail($serviceAccountEmail)
{
$this->serviceAccountEmail = $serviceAccountEmail;
}
/**
* @return string
*/
public function getServiceAccountEmail()
{
return $this->serviceAccountEmail;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param string
*/
public function setTable($table)
{
$this->table = $table;
}
/**
* @return string
*/
public function getTable()
{
return $this->table;
}
/**
* @param bool
*/
public function setUseTableSchema($useTableSchema)
{
$this->useTableSchema = $useTableSchema;
}
/**
* @return bool
*/
public function getUseTableSchema()
{
return $this->useTableSchema;
}
/**
* @param bool
*/
public function setUseTopicSchema($useTopicSchema)
{
$this->useTopicSchema = $useTopicSchema;
}
/**
* @return bool
*/
public function getUseTopicSchema()
{
return $this->useTopicSchema;
}
/**
* @param bool
*/
public function setWriteMetadata($writeMetadata)
{
$this->writeMetadata = $writeMetadata;
}
/**
* @return bool
*/
public function getWriteMetadata()
{
return $this->writeMetadata;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BigQueryConfig::class, 'Google_Service_AnalyticsHub_BigQueryConfig');

View File

@@ -0,0 +1,77 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AnalyticsHub;
class BigQueryDatasetSource extends \Google\Collection
{
protected $collection_key = 'selectedResources';
/**
* @var string
*/
public $dataset;
protected $restrictedExportPolicyType = RestrictedExportPolicy::class;
protected $restrictedExportPolicyDataType = '';
protected $selectedResourcesType = SelectedResource::class;
protected $selectedResourcesDataType = 'array';
/**
* @param string
*/
public function setDataset($dataset)
{
$this->dataset = $dataset;
}
/**
* @return string
*/
public function getDataset()
{
return $this->dataset;
}
/**
* @param RestrictedExportPolicy
*/
public function setRestrictedExportPolicy(RestrictedExportPolicy $restrictedExportPolicy)
{
$this->restrictedExportPolicy = $restrictedExportPolicy;
}
/**
* @return RestrictedExportPolicy
*/
public function getRestrictedExportPolicy()
{
return $this->restrictedExportPolicy;
}
/**
* @param SelectedResource[]
*/
public function setSelectedResources($selectedResources)
{
$this->selectedResources = $selectedResources;
}
/**
* @return SelectedResource[]
*/
public function getSelectedResources()
{
return $this->selectedResources;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BigQueryDatasetSource::class, 'Google_Service_AnalyticsHub_BigQueryDatasetSource');

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\AnalyticsHub;
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_AnalyticsHub_Binding');

View File

@@ -0,0 +1,220 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AnalyticsHub;
class CloudStorageConfig extends \Google\Model
{
protected $avroConfigType = AvroConfig::class;
protected $avroConfigDataType = '';
/**
* @var string
*/
public $bucket;
/**
* @var string
*/
public $filenameDatetimeFormat;
/**
* @var string
*/
public $filenamePrefix;
/**
* @var string
*/
public $filenameSuffix;
/**
* @var string
*/
public $maxBytes;
/**
* @var string
*/
public $maxDuration;
/**
* @var string
*/
public $maxMessages;
/**
* @var string
*/
public $serviceAccountEmail;
/**
* @var string
*/
public $state;
protected $textConfigType = TextConfig::class;
protected $textConfigDataType = '';
/**
* @param AvroConfig
*/
public function setAvroConfig(AvroConfig $avroConfig)
{
$this->avroConfig = $avroConfig;
}
/**
* @return AvroConfig
*/
public function getAvroConfig()
{
return $this->avroConfig;
}
/**
* @param string
*/
public function setBucket($bucket)
{
$this->bucket = $bucket;
}
/**
* @return string
*/
public function getBucket()
{
return $this->bucket;
}
/**
* @param string
*/
public function setFilenameDatetimeFormat($filenameDatetimeFormat)
{
$this->filenameDatetimeFormat = $filenameDatetimeFormat;
}
/**
* @return string
*/
public function getFilenameDatetimeFormat()
{
return $this->filenameDatetimeFormat;
}
/**
* @param string
*/
public function setFilenamePrefix($filenamePrefix)
{
$this->filenamePrefix = $filenamePrefix;
}
/**
* @return string
*/
public function getFilenamePrefix()
{
return $this->filenamePrefix;
}
/**
* @param string
*/
public function setFilenameSuffix($filenameSuffix)
{
$this->filenameSuffix = $filenameSuffix;
}
/**
* @return string
*/
public function getFilenameSuffix()
{
return $this->filenameSuffix;
}
/**
* @param string
*/
public function setMaxBytes($maxBytes)
{
$this->maxBytes = $maxBytes;
}
/**
* @return string
*/
public function getMaxBytes()
{
return $this->maxBytes;
}
/**
* @param string
*/
public function setMaxDuration($maxDuration)
{
$this->maxDuration = $maxDuration;
}
/**
* @return string
*/
public function getMaxDuration()
{
return $this->maxDuration;
}
/**
* @param string
*/
public function setMaxMessages($maxMessages)
{
$this->maxMessages = $maxMessages;
}
/**
* @return string
*/
public function getMaxMessages()
{
return $this->maxMessages;
}
/**
* @param string
*/
public function setServiceAccountEmail($serviceAccountEmail)
{
$this->serviceAccountEmail = $serviceAccountEmail;
}
/**
* @return string
*/
public function getServiceAccountEmail()
{
return $this->serviceAccountEmail;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param TextConfig
*/
public function setTextConfig(TextConfig $textConfig)
{
$this->textConfig = $textConfig;
}
/**
* @return TextConfig
*/
public function getTextConfig()
{
return $this->textConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudStorageConfig::class, 'Google_Service_AnalyticsHub_CloudStorageConfig');

View File

@@ -0,0 +1,186 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AnalyticsHub;
class DataExchange extends \Google\Model
{
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $discoveryType;
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $documentation;
/**
* @var string
*/
public $icon;
/**
* @var int
*/
public $listingCount;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $primaryContact;
protected $sharingEnvironmentConfigType = SharingEnvironmentConfig::class;
protected $sharingEnvironmentConfigDataType = '';
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setDiscoveryType($discoveryType)
{
$this->discoveryType = $discoveryType;
}
/**
* @return string
*/
public function getDiscoveryType()
{
return $this->discoveryType;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setDocumentation($documentation)
{
$this->documentation = $documentation;
}
/**
* @return string
*/
public function getDocumentation()
{
return $this->documentation;
}
/**
* @param string
*/
public function setIcon($icon)
{
$this->icon = $icon;
}
/**
* @return string
*/
public function getIcon()
{
return $this->icon;
}
/**
* @param int
*/
public function setListingCount($listingCount)
{
$this->listingCount = $listingCount;
}
/**
* @return int
*/
public function getListingCount()
{
return $this->listingCount;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setPrimaryContact($primaryContact)
{
$this->primaryContact = $primaryContact;
}
/**
* @return string
*/
public function getPrimaryContact()
{
return $this->primaryContact;
}
/**
* @param SharingEnvironmentConfig
*/
public function setSharingEnvironmentConfig(SharingEnvironmentConfig $sharingEnvironmentConfig)
{
$this->sharingEnvironmentConfig = $sharingEnvironmentConfig;
}
/**
* @return SharingEnvironmentConfig
*/
public function getSharingEnvironmentConfig()
{
return $this->sharingEnvironmentConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DataExchange::class, 'Google_Service_AnalyticsHub_DataExchange');

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\AnalyticsHub;
class DataProvider extends \Google\Model
{
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $primaryContact;
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setPrimaryContact($primaryContact)
{
$this->primaryContact = $primaryContact;
}
/**
* @return string
*/
public function getPrimaryContact()
{
return $this->primaryContact;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DataProvider::class, 'Google_Service_AnalyticsHub_DataProvider');

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\AnalyticsHub;
class DcrExchangeConfig extends \Google\Model
{
/**
* @var bool
*/
public $singleLinkedDatasetPerCleanroom;
/**
* @var bool
*/
public $singleSelectedResourceSharingRestriction;
/**
* @param bool
*/
public function setSingleLinkedDatasetPerCleanroom($singleLinkedDatasetPerCleanroom)
{
$this->singleLinkedDatasetPerCleanroom = $singleLinkedDatasetPerCleanroom;
}
/**
* @return bool
*/
public function getSingleLinkedDatasetPerCleanroom()
{
return $this->singleLinkedDatasetPerCleanroom;
}
/**
* @param bool
*/
public function setSingleSelectedResourceSharingRestriction($singleSelectedResourceSharingRestriction)
{
$this->singleSelectedResourceSharingRestriction = $singleSelectedResourceSharingRestriction;
}
/**
* @return bool
*/
public function getSingleSelectedResourceSharingRestriction()
{
return $this->singleSelectedResourceSharingRestriction;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DcrExchangeConfig::class, 'Google_Service_AnalyticsHub_DcrExchangeConfig');

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\AnalyticsHub;
class DeadLetterPolicy extends \Google\Model
{
/**
* @var string
*/
public $deadLetterTopic;
/**
* @var int
*/
public $maxDeliveryAttempts;
/**
* @param string
*/
public function setDeadLetterTopic($deadLetterTopic)
{
$this->deadLetterTopic = $deadLetterTopic;
}
/**
* @return string
*/
public function getDeadLetterTopic()
{
return $this->deadLetterTopic;
}
/**
* @param int
*/
public function setMaxDeliveryAttempts($maxDeliveryAttempts)
{
$this->maxDeliveryAttempts = $maxDeliveryAttempts;
}
/**
* @return int
*/
public function getMaxDeliveryAttempts()
{
return $this->maxDeliveryAttempts;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DeadLetterPolicy::class, 'Google_Service_AnalyticsHub_DeadLetterPolicy');

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

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\AnalyticsHub;
class DestinationDataset extends \Google\Model
{
protected $datasetReferenceType = DestinationDatasetReference::class;
protected $datasetReferenceDataType = '';
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $friendlyName;
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $location;
/**
* @param DestinationDatasetReference
*/
public function setDatasetReference(DestinationDatasetReference $datasetReference)
{
$this->datasetReference = $datasetReference;
}
/**
* @return DestinationDatasetReference
*/
public function getDatasetReference()
{
return $this->datasetReference;
}
/**
* @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 string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setLocation($location)
{
$this->location = $location;
}
/**
* @return string
*/
public function getLocation()
{
return $this->location;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DestinationDataset::class, 'Google_Service_AnalyticsHub_DestinationDataset');

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\AnalyticsHub;
class DestinationDatasetReference extends \Google\Model
{
/**
* @var string
*/
public $datasetId;
/**
* @var string
*/
public $projectId;
/**
* @param string
*/
public function setDatasetId($datasetId)
{
$this->datasetId = $datasetId;
}
/**
* @return string
*/
public function getDatasetId()
{
return $this->datasetId;
}
/**
* @param string
*/
public function setProjectId($projectId)
{
$this->projectId = $projectId;
}
/**
* @return string
*/
public function getProjectId()
{
return $this->projectId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DestinationDatasetReference::class, 'Google_Service_AnalyticsHub_DestinationDatasetReference');

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\AnalyticsHub;
class DestinationPubSubSubscription extends \Google\Model
{
protected $pubsubSubscriptionType = GooglePubsubV1Subscription::class;
protected $pubsubSubscriptionDataType = '';
/**
* @param GooglePubsubV1Subscription
*/
public function setPubsubSubscription(GooglePubsubV1Subscription $pubsubSubscription)
{
$this->pubsubSubscription = $pubsubSubscription;
}
/**
* @return GooglePubsubV1Subscription
*/
public function getPubsubSubscription()
{
return $this->pubsubSubscription;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DestinationPubSubSubscription::class, 'Google_Service_AnalyticsHub_DestinationPubSubSubscription');

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\AnalyticsHub;
class ExpirationPolicy extends \Google\Model
{
/**
* @var string
*/
public $ttl;
/**
* @param string
*/
public function setTtl($ttl)
{
$this->ttl = $ttl;
}
/**
* @return string
*/
public function getTtl()
{
return $this->ttl;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ExpirationPolicy::class, 'Google_Service_AnalyticsHub_ExpirationPolicy');

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\AnalyticsHub;
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_AnalyticsHub_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\AnalyticsHub;
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_AnalyticsHub_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\AnalyticsHub;
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_AnalyticsHub_GetPolicyOptions');

View File

@@ -0,0 +1,336 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AnalyticsHub;
class GooglePubsubV1Subscription extends \Google\Model
{
/**
* @var int
*/
public $ackDeadlineSeconds;
protected $analyticsHubSubscriptionInfoType = AnalyticsHubSubscriptionInfo::class;
protected $analyticsHubSubscriptionInfoDataType = '';
protected $bigqueryConfigType = BigQueryConfig::class;
protected $bigqueryConfigDataType = '';
protected $cloudStorageConfigType = CloudStorageConfig::class;
protected $cloudStorageConfigDataType = '';
protected $deadLetterPolicyType = DeadLetterPolicy::class;
protected $deadLetterPolicyDataType = '';
/**
* @var bool
*/
public $detached;
/**
* @var bool
*/
public $enableExactlyOnceDelivery;
/**
* @var bool
*/
public $enableMessageOrdering;
protected $expirationPolicyType = ExpirationPolicy::class;
protected $expirationPolicyDataType = '';
/**
* @var string
*/
public $filter;
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $messageRetentionDuration;
/**
* @var string
*/
public $name;
protected $pushConfigType = PushConfig::class;
protected $pushConfigDataType = '';
/**
* @var bool
*/
public $retainAckedMessages;
protected $retryPolicyType = RetryPolicy::class;
protected $retryPolicyDataType = '';
/**
* @var string
*/
public $state;
/**
* @var string
*/
public $topicMessageRetentionDuration;
/**
* @param int
*/
public function setAckDeadlineSeconds($ackDeadlineSeconds)
{
$this->ackDeadlineSeconds = $ackDeadlineSeconds;
}
/**
* @return int
*/
public function getAckDeadlineSeconds()
{
return $this->ackDeadlineSeconds;
}
/**
* @param AnalyticsHubSubscriptionInfo
*/
public function setAnalyticsHubSubscriptionInfo(AnalyticsHubSubscriptionInfo $analyticsHubSubscriptionInfo)
{
$this->analyticsHubSubscriptionInfo = $analyticsHubSubscriptionInfo;
}
/**
* @return AnalyticsHubSubscriptionInfo
*/
public function getAnalyticsHubSubscriptionInfo()
{
return $this->analyticsHubSubscriptionInfo;
}
/**
* @param BigQueryConfig
*/
public function setBigqueryConfig(BigQueryConfig $bigqueryConfig)
{
$this->bigqueryConfig = $bigqueryConfig;
}
/**
* @return BigQueryConfig
*/
public function getBigqueryConfig()
{
return $this->bigqueryConfig;
}
/**
* @param CloudStorageConfig
*/
public function setCloudStorageConfig(CloudStorageConfig $cloudStorageConfig)
{
$this->cloudStorageConfig = $cloudStorageConfig;
}
/**
* @return CloudStorageConfig
*/
public function getCloudStorageConfig()
{
return $this->cloudStorageConfig;
}
/**
* @param DeadLetterPolicy
*/
public function setDeadLetterPolicy(DeadLetterPolicy $deadLetterPolicy)
{
$this->deadLetterPolicy = $deadLetterPolicy;
}
/**
* @return DeadLetterPolicy
*/
public function getDeadLetterPolicy()
{
return $this->deadLetterPolicy;
}
/**
* @param bool
*/
public function setDetached($detached)
{
$this->detached = $detached;
}
/**
* @return bool
*/
public function getDetached()
{
return $this->detached;
}
/**
* @param bool
*/
public function setEnableExactlyOnceDelivery($enableExactlyOnceDelivery)
{
$this->enableExactlyOnceDelivery = $enableExactlyOnceDelivery;
}
/**
* @return bool
*/
public function getEnableExactlyOnceDelivery()
{
return $this->enableExactlyOnceDelivery;
}
/**
* @param bool
*/
public function setEnableMessageOrdering($enableMessageOrdering)
{
$this->enableMessageOrdering = $enableMessageOrdering;
}
/**
* @return bool
*/
public function getEnableMessageOrdering()
{
return $this->enableMessageOrdering;
}
/**
* @param ExpirationPolicy
*/
public function setExpirationPolicy(ExpirationPolicy $expirationPolicy)
{
$this->expirationPolicy = $expirationPolicy;
}
/**
* @return ExpirationPolicy
*/
public function getExpirationPolicy()
{
return $this->expirationPolicy;
}
/**
* @param string
*/
public function setFilter($filter)
{
$this->filter = $filter;
}
/**
* @return string
*/
public function getFilter()
{
return $this->filter;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setMessageRetentionDuration($messageRetentionDuration)
{
$this->messageRetentionDuration = $messageRetentionDuration;
}
/**
* @return string
*/
public function getMessageRetentionDuration()
{
return $this->messageRetentionDuration;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param PushConfig
*/
public function setPushConfig(PushConfig $pushConfig)
{
$this->pushConfig = $pushConfig;
}
/**
* @return PushConfig
*/
public function getPushConfig()
{
return $this->pushConfig;
}
/**
* @param bool
*/
public function setRetainAckedMessages($retainAckedMessages)
{
$this->retainAckedMessages = $retainAckedMessages;
}
/**
* @return bool
*/
public function getRetainAckedMessages()
{
return $this->retainAckedMessages;
}
/**
* @param RetryPolicy
*/
public function setRetryPolicy(RetryPolicy $retryPolicy)
{
$this->retryPolicy = $retryPolicy;
}
/**
* @return RetryPolicy
*/
public function getRetryPolicy()
{
return $this->retryPolicy;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param string
*/
public function setTopicMessageRetentionDuration($topicMessageRetentionDuration)
{
$this->topicMessageRetentionDuration = $topicMessageRetentionDuration;
}
/**
* @return string
*/
public function getTopicMessageRetentionDuration()
{
return $this->topicMessageRetentionDuration;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GooglePubsubV1Subscription::class, 'Google_Service_AnalyticsHub_GooglePubsubV1Subscription');

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\AnalyticsHub;
class LinkedResource extends \Google\Model
{
/**
* @var string
*/
public $linkedDataset;
/**
* @var string
*/
public $linkedPubsubSubscription;
/**
* @var string
*/
public $listing;
/**
* @param string
*/
public function setLinkedDataset($linkedDataset)
{
$this->linkedDataset = $linkedDataset;
}
/**
* @return string
*/
public function getLinkedDataset()
{
return $this->linkedDataset;
}
/**
* @param string
*/
public function setLinkedPubsubSubscription($linkedPubsubSubscription)
{
$this->linkedPubsubSubscription = $linkedPubsubSubscription;
}
/**
* @return string
*/
public function getLinkedPubsubSubscription()
{
return $this->linkedPubsubSubscription;
}
/**
* @param string
*/
public function setListing($listing)
{
$this->listing = $listing;
}
/**
* @return string
*/
public function getListing()
{
return $this->listing;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(LinkedResource::class, 'Google_Service_AnalyticsHub_LinkedResource');

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\AnalyticsHub;
class ListDataExchangesResponse extends \Google\Collection
{
protected $collection_key = 'dataExchanges';
protected $dataExchangesType = DataExchange::class;
protected $dataExchangesDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param DataExchange[]
*/
public function setDataExchanges($dataExchanges)
{
$this->dataExchanges = $dataExchanges;
}
/**
* @return DataExchange[]
*/
public function getDataExchanges()
{
return $this->dataExchanges;
}
/**
* @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(ListDataExchangesResponse::class, 'Google_Service_AnalyticsHub_ListDataExchangesResponse');

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\AnalyticsHub;
class ListListingsResponse extends \Google\Collection
{
protected $collection_key = 'listings';
protected $listingsType = Listing::class;
protected $listingsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param Listing[]
*/
public function setListings($listings)
{
$this->listings = $listings;
}
/**
* @return Listing[]
*/
public function getListings()
{
return $this->listings;
}
/**
* @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(ListListingsResponse::class, 'Google_Service_AnalyticsHub_ListListingsResponse');

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\AnalyticsHub;
class ListLocationsResponse extends \Google\Collection
{
protected $collection_key = 'locations';
protected $locationsType = Location::class;
protected $locationsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param Location[]
*/
public function setLocations($locations)
{
$this->locations = $locations;
}
/**
* @return Location[]
*/
public function getLocations()
{
return $this->locations;
}
/**
* @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(ListLocationsResponse::class, 'Google_Service_AnalyticsHub_ListLocationsResponse');

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\AnalyticsHub;
class ListOrgDataExchangesResponse extends \Google\Collection
{
protected $collection_key = 'dataExchanges';
protected $dataExchangesType = DataExchange::class;
protected $dataExchangesDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param DataExchange[]
*/
public function setDataExchanges($dataExchanges)
{
$this->dataExchanges = $dataExchanges;
}
/**
* @return DataExchange[]
*/
public function getDataExchanges()
{
return $this->dataExchanges;
}
/**
* @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(ListOrgDataExchangesResponse::class, 'Google_Service_AnalyticsHub_ListOrgDataExchangesResponse');

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\AnalyticsHub;
class ListSharedResourceSubscriptionsResponse extends \Google\Collection
{
protected $collection_key = 'sharedResourceSubscriptions';
/**
* @var string
*/
public $nextPageToken;
protected $sharedResourceSubscriptionsType = Subscription::class;
protected $sharedResourceSubscriptionsDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param Subscription[]
*/
public function setSharedResourceSubscriptions($sharedResourceSubscriptions)
{
$this->sharedResourceSubscriptions = $sharedResourceSubscriptions;
}
/**
* @return Subscription[]
*/
public function getSharedResourceSubscriptions()
{
return $this->sharedResourceSubscriptions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListSharedResourceSubscriptionsResponse::class, 'Google_Service_AnalyticsHub_ListSharedResourceSubscriptionsResponse');

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\AnalyticsHub;
class ListSubscriptionsResponse extends \Google\Collection
{
protected $collection_key = 'subscriptions';
/**
* @var string
*/
public $nextPageToken;
protected $subscriptionsType = Subscription::class;
protected $subscriptionsDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param Subscription[]
*/
public function setSubscriptions($subscriptions)
{
$this->subscriptions = $subscriptions;
}
/**
* @return Subscription[]
*/
public function getSubscriptions()
{
return $this->subscriptions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListSubscriptionsResponse::class, 'Google_Service_AnalyticsHub_ListSubscriptionsResponse');

View File

@@ -0,0 +1,305 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AnalyticsHub;
class Listing extends \Google\Collection
{
protected $collection_key = 'categories';
protected $bigqueryDatasetType = BigQueryDatasetSource::class;
protected $bigqueryDatasetDataType = '';
/**
* @var string[]
*/
public $categories;
protected $dataProviderType = DataProvider::class;
protected $dataProviderDataType = '';
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $discoveryType;
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $documentation;
/**
* @var string
*/
public $icon;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $primaryContact;
protected $publisherType = Publisher::class;
protected $publisherDataType = '';
protected $pubsubTopicType = PubSubTopicSource::class;
protected $pubsubTopicDataType = '';
/**
* @var string
*/
public $requestAccess;
/**
* @var string
*/
public $resourceType;
protected $restrictedExportConfigType = RestrictedExportConfig::class;
protected $restrictedExportConfigDataType = '';
/**
* @var string
*/
public $state;
/**
* @param BigQueryDatasetSource
*/
public function setBigqueryDataset(BigQueryDatasetSource $bigqueryDataset)
{
$this->bigqueryDataset = $bigqueryDataset;
}
/**
* @return BigQueryDatasetSource
*/
public function getBigqueryDataset()
{
return $this->bigqueryDataset;
}
/**
* @param string[]
*/
public function setCategories($categories)
{
$this->categories = $categories;
}
/**
* @return string[]
*/
public function getCategories()
{
return $this->categories;
}
/**
* @param DataProvider
*/
public function setDataProvider(DataProvider $dataProvider)
{
$this->dataProvider = $dataProvider;
}
/**
* @return DataProvider
*/
public function getDataProvider()
{
return $this->dataProvider;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setDiscoveryType($discoveryType)
{
$this->discoveryType = $discoveryType;
}
/**
* @return string
*/
public function getDiscoveryType()
{
return $this->discoveryType;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setDocumentation($documentation)
{
$this->documentation = $documentation;
}
/**
* @return string
*/
public function getDocumentation()
{
return $this->documentation;
}
/**
* @param string
*/
public function setIcon($icon)
{
$this->icon = $icon;
}
/**
* @return string
*/
public function getIcon()
{
return $this->icon;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setPrimaryContact($primaryContact)
{
$this->primaryContact = $primaryContact;
}
/**
* @return string
*/
public function getPrimaryContact()
{
return $this->primaryContact;
}
/**
* @param Publisher
*/
public function setPublisher(Publisher $publisher)
{
$this->publisher = $publisher;
}
/**
* @return Publisher
*/
public function getPublisher()
{
return $this->publisher;
}
/**
* @param PubSubTopicSource
*/
public function setPubsubTopic(PubSubTopicSource $pubsubTopic)
{
$this->pubsubTopic = $pubsubTopic;
}
/**
* @return PubSubTopicSource
*/
public function getPubsubTopic()
{
return $this->pubsubTopic;
}
/**
* @param string
*/
public function setRequestAccess($requestAccess)
{
$this->requestAccess = $requestAccess;
}
/**
* @return string
*/
public function getRequestAccess()
{
return $this->requestAccess;
}
/**
* @param string
*/
public function setResourceType($resourceType)
{
$this->resourceType = $resourceType;
}
/**
* @return string
*/
public function getResourceType()
{
return $this->resourceType;
}
/**
* @param RestrictedExportConfig
*/
public function setRestrictedExportConfig(RestrictedExportConfig $restrictedExportConfig)
{
$this->restrictedExportConfig = $restrictedExportConfig;
}
/**
* @return RestrictedExportConfig
*/
public function getRestrictedExportConfig()
{
return $this->restrictedExportConfig;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Listing::class, 'Google_Service_AnalyticsHub_Listing');

View File

@@ -0,0 +1,116 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AnalyticsHub;
class Location extends \Google\Model
{
/**
* @var string
*/
public $displayName;
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $locationId;
/**
* @var array[]
*/
public $metadata;
/**
* @var string
*/
public $name;
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setLocationId($locationId)
{
$this->locationId = $locationId;
}
/**
* @return string
*/
public function getLocationId()
{
return $this->locationId;
}
/**
* @param array[]
*/
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
/**
* @return array[]
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Location::class, 'Google_Service_AnalyticsHub_Location');

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\AnalyticsHub;
class NoWrapper extends \Google\Model
{
/**
* @var bool
*/
public $writeMetadata;
/**
* @param bool
*/
public function setWriteMetadata($writeMetadata)
{
$this->writeMetadata = $writeMetadata;
}
/**
* @return bool
*/
public function getWriteMetadata()
{
return $this->writeMetadata;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(NoWrapper::class, 'Google_Service_AnalyticsHub_NoWrapper');

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

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\AnalyticsHub;
class Operation extends \Google\Model
{
/**
* @var bool
*/
public $done;
protected $errorType = Status::class;
protected $errorDataType = '';
/**
* @var array[]
*/
public $metadata;
/**
* @var string
*/
public $name;
/**
* @var array[]
*/
public $response;
/**
* @param bool
*/
public function setDone($done)
{
$this->done = $done;
}
/**
* @return bool
*/
public function getDone()
{
return $this->done;
}
/**
* @param Status
*/
public function setError(Status $error)
{
$this->error = $error;
}
/**
* @return Status
*/
public function getError()
{
return $this->error;
}
/**
* @param array[]
*/
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
/**
* @return array[]
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param array[]
*/
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_AnalyticsHub_Operation');

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\AnalyticsHub;
class OperationMetadata extends \Google\Model
{
/**
* @var string
*/
public $apiVersion;
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $endTime;
/**
* @var bool
*/
public $requestedCancellation;
/**
* @var string
*/
public $statusMessage;
/**
* @var string
*/
public $target;
/**
* @var string
*/
public $verb;
/**
* @param string
*/
public function setApiVersion($apiVersion)
{
$this->apiVersion = $apiVersion;
}
/**
* @return string
*/
public function getApiVersion()
{
return $this->apiVersion;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* @param bool
*/
public function setRequestedCancellation($requestedCancellation)
{
$this->requestedCancellation = $requestedCancellation;
}
/**
* @return bool
*/
public function getRequestedCancellation()
{
return $this->requestedCancellation;
}
/**
* @param string
*/
public function setStatusMessage($statusMessage)
{
$this->statusMessage = $statusMessage;
}
/**
* @return string
*/
public function getStatusMessage()
{
return $this->statusMessage;
}
/**
* @param string
*/
public function setTarget($target)
{
$this->target = $target;
}
/**
* @return string
*/
public function getTarget()
{
return $this->target;
}
/**
* @param string
*/
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_AnalyticsHub_OperationMetadata');

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\AnalyticsHub;
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_AnalyticsHub_Policy');

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\AnalyticsHub;
class PubSubTopicSource extends \Google\Collection
{
protected $collection_key = 'dataAffinityRegions';
/**
* @var string[]
*/
public $dataAffinityRegions;
/**
* @var string
*/
public $topic;
/**
* @param string[]
*/
public function setDataAffinityRegions($dataAffinityRegions)
{
$this->dataAffinityRegions = $dataAffinityRegions;
}
/**
* @return string[]
*/
public function getDataAffinityRegions()
{
return $this->dataAffinityRegions;
}
/**
* @param string
*/
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(PubSubTopicSource::class, 'Google_Service_AnalyticsHub_PubSubTopicSource');

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\AnalyticsHub;
class Publisher extends \Google\Model
{
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $primaryContact;
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setPrimaryContact($primaryContact)
{
$this->primaryContact = $primaryContact;
}
/**
* @return string
*/
public function getPrimaryContact()
{
return $this->primaryContact;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Publisher::class, 'Google_Service_AnalyticsHub_Publisher');

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

View File

@@ -0,0 +1,110 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AnalyticsHub;
class PushConfig extends \Google\Model
{
/**
* @var string[]
*/
public $attributes;
protected $noWrapperType = NoWrapper::class;
protected $noWrapperDataType = '';
protected $oidcTokenType = OidcToken::class;
protected $oidcTokenDataType = '';
protected $pubsubWrapperType = PubsubWrapper::class;
protected $pubsubWrapperDataType = '';
/**
* @var string
*/
public $pushEndpoint;
/**
* @param string[]
*/
public function setAttributes($attributes)
{
$this->attributes = $attributes;
}
/**
* @return string[]
*/
public function getAttributes()
{
return $this->attributes;
}
/**
* @param NoWrapper
*/
public function setNoWrapper(NoWrapper $noWrapper)
{
$this->noWrapper = $noWrapper;
}
/**
* @return NoWrapper
*/
public function getNoWrapper()
{
return $this->noWrapper;
}
/**
* @param OidcToken
*/
public function setOidcToken(OidcToken $oidcToken)
{
$this->oidcToken = $oidcToken;
}
/**
* @return OidcToken
*/
public function getOidcToken()
{
return $this->oidcToken;
}
/**
* @param PubsubWrapper
*/
public function setPubsubWrapper(PubsubWrapper $pubsubWrapper)
{
$this->pubsubWrapper = $pubsubWrapper;
}
/**
* @return PubsubWrapper
*/
public function getPubsubWrapper()
{
return $this->pubsubWrapper;
}
/**
* @param string
*/
public function setPushEndpoint($pushEndpoint)
{
$this->pushEndpoint = $pushEndpoint;
}
/**
* @return string
*/
public function getPushEndpoint()
{
return $this->pushEndpoint;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PushConfig::class, 'Google_Service_AnalyticsHub_PushConfig');

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

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\AnalyticsHub;
class RefreshSubscriptionResponse extends \Google\Model
{
protected $subscriptionType = Subscription::class;
protected $subscriptionDataType = '';
/**
* @param Subscription
*/
public function setSubscription(Subscription $subscription)
{
$this->subscription = $subscription;
}
/**
* @return Subscription
*/
public function getSubscription()
{
return $this->subscription;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RefreshSubscriptionResponse::class, 'Google_Service_AnalyticsHub_RefreshSubscriptionResponse');

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

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

View File

@@ -0,0 +1,57 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AnalyticsHub\Resource;
use Google\Service\AnalyticsHub\ListOrgDataExchangesResponse;
/**
* The "dataExchanges" collection of methods.
* Typical usage is:
* <code>
* $analyticshubService = new Google\Service\AnalyticsHub(...);
* $dataExchanges = $analyticshubService->organizations_locations_dataExchanges;
* </code>
*/
class OrganizationsLocationsDataExchanges extends \Google\Service\Resource
{
/**
* Lists all data exchanges from projects in a given organization and location.
* (dataExchanges.listOrganizationsLocationsDataExchanges)
*
* @param string $organization Required. The organization resource path of the
* projects containing DataExchanges. e.g. `organizations/myorg/locations/US`.
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize The maximum number of results to return in a single
* response page. Leverage the page tokens to iterate through the entire
* collection.
* @opt_param string pageToken Page token, returned by a previous call, to
* request the next page of results.
* @return ListOrgDataExchangesResponse
* @throws \Google\Service\Exception
*/
public function listOrganizationsLocationsDataExchanges($organization, $optParams = [])
{
$params = ['organization' => $organization];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListOrgDataExchangesResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(OrganizationsLocationsDataExchanges::class, 'Google_Service_AnalyticsHub_Resource_OrganizationsLocationsDataExchanges');

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\AnalyticsHub\Resource;
/**
* The "projects" collection of methods.
* Typical usage is:
* <code>
* $analyticshubService = new Google\Service\AnalyticsHub(...);
* $projects = $analyticshubService->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_AnalyticsHub_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\AnalyticsHub\Resource;
/**
* The "locations" collection of methods.
* Typical usage is:
* <code>
* $analyticshubService = new Google\Service\AnalyticsHub(...);
* $locations = $analyticshubService->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_AnalyticsHub_Resource_ProjectsLocations');

View File

@@ -0,0 +1,234 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AnalyticsHub\Resource;
use Google\Service\AnalyticsHub\AnalyticshubEmpty;
use Google\Service\AnalyticsHub\DataExchange;
use Google\Service\AnalyticsHub\GetIamPolicyRequest;
use Google\Service\AnalyticsHub\ListDataExchangesResponse;
use Google\Service\AnalyticsHub\ListSharedResourceSubscriptionsResponse;
use Google\Service\AnalyticsHub\Operation;
use Google\Service\AnalyticsHub\Policy;
use Google\Service\AnalyticsHub\SetIamPolicyRequest;
use Google\Service\AnalyticsHub\SubscribeDataExchangeRequest;
use Google\Service\AnalyticsHub\TestIamPermissionsRequest;
use Google\Service\AnalyticsHub\TestIamPermissionsResponse;
/**
* The "dataExchanges" collection of methods.
* Typical usage is:
* <code>
* $analyticshubService = new Google\Service\AnalyticsHub(...);
* $dataExchanges = $analyticshubService->projects_locations_dataExchanges;
* </code>
*/
class ProjectsLocationsDataExchanges extends \Google\Service\Resource
{
/**
* Creates a new data exchange. (dataExchanges.create)
*
* @param string $parent Required. The parent resource path of the data
* exchange. e.g. `projects/myproject/locations/US`.
* @param DataExchange $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string dataExchangeId Required. The ID of the data exchange. Must
* contain only Unicode letters, numbers (0-9), underscores (_). Should not use
* characters that require URL-escaping, or characters outside of ASCII, spaces.
* Max length: 100 bytes.
* @return DataExchange
* @throws \Google\Service\Exception
*/
public function create($parent, DataExchange $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], DataExchange::class);
}
/**
* Deletes an existing data exchange. (dataExchanges.delete)
*
* @param string $name Required. The full name of the data exchange resource
* that you want to delete. For example,
* `projects/myproject/locations/US/dataExchanges/123`.
* @param array $optParams Optional parameters.
* @return AnalyticshubEmpty
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], AnalyticshubEmpty::class);
}
/**
* Gets the details of a data exchange. (dataExchanges.get)
*
* @param string $name Required. The resource name of the data exchange. e.g.
* `projects/myproject/locations/US/dataExchanges/123`.
* @param array $optParams Optional parameters.
* @return DataExchange
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], DataExchange::class);
}
/**
* Gets the IAM policy. (dataExchanges.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);
}
/**
* Lists all data exchanges in a given project and location.
* (dataExchanges.listProjectsLocationsDataExchanges)
*
* @param string $parent Required. The parent resource path of the data
* exchanges. e.g. `projects/myproject/locations/US`.
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize The maximum number of results to return in a single
* response page. Leverage the page tokens to iterate through the entire
* collection.
* @opt_param string pageToken Page token, returned by a previous call, to
* request the next page of results.
* @return ListDataExchangesResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsDataExchanges($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListDataExchangesResponse::class);
}
/**
* Lists all subscriptions on a given Data Exchange or Listing.
* (dataExchanges.listSubscriptions)
*
* @param string $resource Required. Resource name of the requested target. This
* resource may be either a Listing or a DataExchange. e.g.
* projects/123/locations/US/dataExchanges/456 OR e.g.
* projects/123/locations/US/dataExchanges/456/listings/789
* @param array $optParams Optional parameters.
*
* @opt_param bool includeDeletedSubscriptions If selected, includes deleted
* subscriptions in the response (up to 63 days after deletion).
* @opt_param int pageSize The maximum number of results to return in a single
* response page.
* @opt_param string pageToken Page token, returned by a previous call.
* @return ListSharedResourceSubscriptionsResponse
* @throws \Google\Service\Exception
*/
public function listSubscriptions($resource, $optParams = [])
{
$params = ['resource' => $resource];
$params = array_merge($params, $optParams);
return $this->call('listSubscriptions', [$params], ListSharedResourceSubscriptionsResponse::class);
}
/**
* Updates an existing data exchange. (dataExchanges.patch)
*
* @param string $name Output only. The resource name of the data exchange. e.g.
* `projects/myproject/locations/US/dataExchanges/123`.
* @param DataExchange $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Required. Field mask specifies the fields to
* update in the data exchange resource. The fields specified in the
* `updateMask` are relative to the resource and are not a full request.
* @return DataExchange
* @throws \Google\Service\Exception
*/
public function patch($name, DataExchange $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], DataExchange::class);
}
/**
* Sets the IAM policy. (dataExchanges.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);
}
/**
* Creates a Subscription to a Data Clean Room. This is a long-running operation
* as it will create one or more linked datasets. (dataExchanges.subscribe)
*
* @param string $name Required. Resource name of the Data Exchange. e.g.
* `projects/publisherproject/locations/US/dataExchanges/123`
* @param SubscribeDataExchangeRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function subscribe($name, SubscribeDataExchangeRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('subscribe', [$params], Operation::class);
}
/**
* Returns the permissions that a caller has. (dataExchanges.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(ProjectsLocationsDataExchanges::class, 'Google_Service_AnalyticsHub_Resource_ProjectsLocationsDataExchanges');

View File

@@ -0,0 +1,236 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AnalyticsHub\Resource;
use Google\Service\AnalyticsHub\AnalyticshubEmpty;
use Google\Service\AnalyticsHub\GetIamPolicyRequest;
use Google\Service\AnalyticsHub\ListListingsResponse;
use Google\Service\AnalyticsHub\ListSharedResourceSubscriptionsResponse;
use Google\Service\AnalyticsHub\Listing;
use Google\Service\AnalyticsHub\Policy;
use Google\Service\AnalyticsHub\SetIamPolicyRequest;
use Google\Service\AnalyticsHub\SubscribeListingRequest;
use Google\Service\AnalyticsHub\SubscribeListingResponse;
use Google\Service\AnalyticsHub\TestIamPermissionsRequest;
use Google\Service\AnalyticsHub\TestIamPermissionsResponse;
/**
* The "listings" collection of methods.
* Typical usage is:
* <code>
* $analyticshubService = new Google\Service\AnalyticsHub(...);
* $listings = $analyticshubService->projects_locations_dataExchanges_listings;
* </code>
*/
class ProjectsLocationsDataExchangesListings extends \Google\Service\Resource
{
/**
* Creates a new listing. (listings.create)
*
* @param string $parent Required. The parent resource path of the listing. e.g.
* `projects/myproject/locations/US/dataExchanges/123`.
* @param Listing $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string listingId Required. The ID of the listing to create. Must
* contain only Unicode letters, numbers (0-9), underscores (_). Should not use
* characters that require URL-escaping, or characters outside of ASCII, spaces.
* Max length: 100 bytes.
* @return Listing
* @throws \Google\Service\Exception
*/
public function create($parent, Listing $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Listing::class);
}
/**
* Deletes a listing. (listings.delete)
*
* @param string $name Required. Resource name of the listing to delete. e.g.
* `projects/myproject/locations/US/dataExchanges/123/listings/456`.
* @param array $optParams Optional parameters.
* @return AnalyticshubEmpty
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], AnalyticshubEmpty::class);
}
/**
* Gets the details of a listing. (listings.get)
*
* @param string $name Required. The resource name of the listing. e.g.
* `projects/myproject/locations/US/dataExchanges/123/listings/456`.
* @param array $optParams Optional parameters.
* @return Listing
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Listing::class);
}
/**
* Gets the IAM policy. (listings.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);
}
/**
* Lists all listings in a given project and location.
* (listings.listProjectsLocationsDataExchangesListings)
*
* @param string $parent Required. The parent resource path of the listing. e.g.
* `projects/myproject/locations/US/dataExchanges/123`.
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize The maximum number of results to return in a single
* response page. Leverage the page tokens to iterate through the entire
* collection.
* @opt_param string pageToken Page token, returned by a previous call, to
* request the next page of results.
* @return ListListingsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsDataExchangesListings($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListListingsResponse::class);
}
/**
* Lists all subscriptions on a given Data Exchange or Listing.
* (listings.listSubscriptions)
*
* @param string $resource Required. Resource name of the requested target. This
* resource may be either a Listing or a DataExchange. e.g.
* projects/123/locations/US/dataExchanges/456 OR e.g.
* projects/123/locations/US/dataExchanges/456/listings/789
* @param array $optParams Optional parameters.
*
* @opt_param bool includeDeletedSubscriptions If selected, includes deleted
* subscriptions in the response (up to 63 days after deletion).
* @opt_param int pageSize The maximum number of results to return in a single
* response page.
* @opt_param string pageToken Page token, returned by a previous call.
* @return ListSharedResourceSubscriptionsResponse
* @throws \Google\Service\Exception
*/
public function listSubscriptions($resource, $optParams = [])
{
$params = ['resource' => $resource];
$params = array_merge($params, $optParams);
return $this->call('listSubscriptions', [$params], ListSharedResourceSubscriptionsResponse::class);
}
/**
* Updates an existing listing. (listings.patch)
*
* @param string $name Output only. The resource name of the listing. e.g.
* `projects/myproject/locations/US/dataExchanges/123/listings/456`
* @param Listing $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Required. Field mask specifies the fields to
* update in the listing resource. The fields specified in the `updateMask` are
* relative to the resource and are not a full request.
* @return Listing
* @throws \Google\Service\Exception
*/
public function patch($name, Listing $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], Listing::class);
}
/**
* Sets the IAM policy. (listings.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);
}
/**
* Subscribes to a listing. Currently, with Analytics Hub, you can create
* listings that reference only BigQuery datasets. Upon subscription to a
* listing for a BigQuery dataset, Analytics Hub creates a linked dataset in the
* subscriber's project. (listings.subscribe)
*
* @param string $name Required. Resource name of the listing that you want to
* subscribe to. e.g.
* `projects/myproject/locations/US/dataExchanges/123/listings/456`.
* @param SubscribeListingRequest $postBody
* @param array $optParams Optional parameters.
* @return SubscribeListingResponse
* @throws \Google\Service\Exception
*/
public function subscribe($name, SubscribeListingRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('subscribe', [$params], SubscribeListingResponse::class);
}
/**
* Returns the permissions that a caller has. (listings.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(ProjectsLocationsDataExchangesListings::class, 'Google_Service_AnalyticsHub_Resource_ProjectsLocationsDataExchangesListings');

View File

@@ -0,0 +1,172 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AnalyticsHub\Resource;
use Google\Service\AnalyticsHub\GetIamPolicyRequest;
use Google\Service\AnalyticsHub\ListSubscriptionsResponse;
use Google\Service\AnalyticsHub\Operation;
use Google\Service\AnalyticsHub\Policy;
use Google\Service\AnalyticsHub\RefreshSubscriptionRequest;
use Google\Service\AnalyticsHub\RevokeSubscriptionRequest;
use Google\Service\AnalyticsHub\RevokeSubscriptionResponse;
use Google\Service\AnalyticsHub\SetIamPolicyRequest;
use Google\Service\AnalyticsHub\Subscription;
/**
* The "subscriptions" collection of methods.
* Typical usage is:
* <code>
* $analyticshubService = new Google\Service\AnalyticsHub(...);
* $subscriptions = $analyticshubService->projects_locations_subscriptions;
* </code>
*/
class ProjectsLocationsSubscriptions extends \Google\Service\Resource
{
/**
* Deletes a subscription. (subscriptions.delete)
*
* @param string $name Required. Resource name of the subscription to delete.
* e.g. projects/123/locations/US/subscriptions/456
* @param array $optParams Optional parameters.
* @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 the details of a Subscription. (subscriptions.get)
*
* @param string $name Required. Resource name of the subscription. e.g.
* projects/123/locations/US/subscriptions/456
* @param array $optParams Optional parameters.
* @return Subscription
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Subscription::class);
}
/**
* Gets the IAM policy. (subscriptions.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);
}
/**
* Lists all subscriptions in a given project and location.
* (subscriptions.listProjectsLocationsSubscriptions)
*
* @param string $parent Required. The parent resource path of the subscription.
* e.g. projects/myproject/locations/US
* @param array $optParams Optional parameters.
*
* @opt_param string filter An expression for filtering the results of the
* request. Eligible fields for filtering are: + `listing` + `data_exchange`
* Alternatively, a literal wrapped in double quotes may be provided. This will
* be checked for an exact match against both fields above. In all cases, the
* full Data Exchange or Listing resource name must be provided. Some example of
* using filters: +
* data_exchange="projects/myproject/locations/us/dataExchanges/123" +
* listing="projects/123/locations/us/dataExchanges/456/listings/789" +
* "projects/myproject/locations/us/dataExchanges/123"
* @opt_param int pageSize The maximum number of results to return in a single
* response page.
* @opt_param string pageToken Page token, returned by a previous call.
* @return ListSubscriptionsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsSubscriptions($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListSubscriptionsResponse::class);
}
/**
* Refreshes a Subscription to a Data Exchange. A Data Exchange can become stale
* when a publisher adds or removes data. This is a long-running operation as it
* may create many linked datasets. (subscriptions.refresh)
*
* @param string $name Required. Resource name of the Subscription to refresh.
* e.g. `projects/subscriberproject/locations/US/subscriptions/123`
* @param RefreshSubscriptionRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function refresh($name, RefreshSubscriptionRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('refresh', [$params], Operation::class);
}
/**
* Revokes a given subscription. (subscriptions.revoke)
*
* @param string $name Required. Resource name of the subscription to revoke.
* e.g. projects/123/locations/US/subscriptions/456
* @param RevokeSubscriptionRequest $postBody
* @param array $optParams Optional parameters.
* @return RevokeSubscriptionResponse
* @throws \Google\Service\Exception
*/
public function revoke($name, RevokeSubscriptionRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('revoke', [$params], RevokeSubscriptionResponse::class);
}
/**
* Sets the IAM policy. (subscriptions.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);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsSubscriptions::class, 'Google_Service_AnalyticsHub_Resource_ProjectsLocationsSubscriptions');

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\AnalyticsHub;
class RestrictedExportConfig extends \Google\Model
{
/**
* @var bool
*/
public $enabled;
/**
* @var bool
*/
public $restrictDirectTableAccess;
/**
* @var bool
*/
public $restrictQueryResult;
/**
* @param bool
*/
public function setEnabled($enabled)
{
$this->enabled = $enabled;
}
/**
* @return bool
*/
public function getEnabled()
{
return $this->enabled;
}
/**
* @param bool
*/
public function setRestrictDirectTableAccess($restrictDirectTableAccess)
{
$this->restrictDirectTableAccess = $restrictDirectTableAccess;
}
/**
* @return bool
*/
public function getRestrictDirectTableAccess()
{
return $this->restrictDirectTableAccess;
}
/**
* @param bool
*/
public function setRestrictQueryResult($restrictQueryResult)
{
$this->restrictQueryResult = $restrictQueryResult;
}
/**
* @return bool
*/
public function getRestrictQueryResult()
{
return $this->restrictQueryResult;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RestrictedExportConfig::class, 'Google_Service_AnalyticsHub_RestrictedExportConfig');

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\AnalyticsHub;
class RestrictedExportPolicy extends \Google\Model
{
/**
* @var bool
*/
public $enabled;
/**
* @var bool
*/
public $restrictDirectTableAccess;
/**
* @var bool
*/
public $restrictQueryResult;
/**
* @param bool
*/
public function setEnabled($enabled)
{
$this->enabled = $enabled;
}
/**
* @return bool
*/
public function getEnabled()
{
return $this->enabled;
}
/**
* @param bool
*/
public function setRestrictDirectTableAccess($restrictDirectTableAccess)
{
$this->restrictDirectTableAccess = $restrictDirectTableAccess;
}
/**
* @return bool
*/
public function getRestrictDirectTableAccess()
{
return $this->restrictDirectTableAccess;
}
/**
* @param bool
*/
public function setRestrictQueryResult($restrictQueryResult)
{
$this->restrictQueryResult = $restrictQueryResult;
}
/**
* @return bool
*/
public function getRestrictQueryResult()
{
return $this->restrictQueryResult;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RestrictedExportPolicy::class, 'Google_Service_AnalyticsHub_RestrictedExportPolicy');

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\AnalyticsHub;
class RetryPolicy extends \Google\Model
{
/**
* @var string
*/
public $maximumBackoff;
/**
* @var string
*/
public $minimumBackoff;
/**
* @param string
*/
public function setMaximumBackoff($maximumBackoff)
{
$this->maximumBackoff = $maximumBackoff;
}
/**
* @return string
*/
public function getMaximumBackoff()
{
return $this->maximumBackoff;
}
/**
* @param string
*/
public function setMinimumBackoff($minimumBackoff)
{
$this->minimumBackoff = $minimumBackoff;
}
/**
* @return string
*/
public function getMinimumBackoff()
{
return $this->minimumBackoff;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RetryPolicy::class, 'Google_Service_AnalyticsHub_RetryPolicy');

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

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

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\AnalyticsHub;
class SelectedResource extends \Google\Model
{
/**
* @var string
*/
public $table;
/**
* @param string
*/
public function setTable($table)
{
$this->table = $table;
}
/**
* @return string
*/
public function getTable()
{
return $this->table;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SelectedResource::class, 'Google_Service_AnalyticsHub_SelectedResource');

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\AnalyticsHub;
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_AnalyticsHub_SetIamPolicyRequest');

View File

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

View File

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

View File

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

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\AnalyticsHub;
class SubscribeDataExchangeResponse extends \Google\Model
{
protected $subscriptionType = Subscription::class;
protected $subscriptionDataType = '';
/**
* @param Subscription
*/
public function setSubscription(Subscription $subscription)
{
$this->subscription = $subscription;
}
/**
* @return Subscription
*/
public function getSubscription()
{
return $this->subscription;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SubscribeDataExchangeResponse::class, 'Google_Service_AnalyticsHub_SubscribeDataExchangeResponse');

View File

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

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\AnalyticsHub;
class SubscribeListingResponse extends \Google\Model
{
protected $subscriptionType = Subscription::class;
protected $subscriptionDataType = '';
/**
* @param Subscription
*/
public function setSubscription(Subscription $subscription)
{
$this->subscription = $subscription;
}
/**
* @return Subscription
*/
public function getSubscription()
{
return $this->subscription;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SubscribeListingResponse::class, 'Google_Service_AnalyticsHub_SubscribeListingResponse');

View File

@@ -0,0 +1,239 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AnalyticsHub;
class Subscription extends \Google\Collection
{
protected $collection_key = 'linkedResources';
/**
* @var string
*/
public $creationTime;
/**
* @var string
*/
public $dataExchange;
/**
* @var string
*/
public $lastModifyTime;
protected $linkedDatasetMapType = LinkedResource::class;
protected $linkedDatasetMapDataType = 'map';
protected $linkedResourcesType = LinkedResource::class;
protected $linkedResourcesDataType = 'array';
/**
* @var string
*/
public $listing;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $organizationDisplayName;
/**
* @var string
*/
public $organizationId;
/**
* @var string
*/
public $resourceType;
/**
* @var string
*/
public $state;
/**
* @var string
*/
public $subscriberContact;
/**
* @param string
*/
public function setCreationTime($creationTime)
{
$this->creationTime = $creationTime;
}
/**
* @return string
*/
public function getCreationTime()
{
return $this->creationTime;
}
/**
* @param string
*/
public function setDataExchange($dataExchange)
{
$this->dataExchange = $dataExchange;
}
/**
* @return string
*/
public function getDataExchange()
{
return $this->dataExchange;
}
/**
* @param string
*/
public function setLastModifyTime($lastModifyTime)
{
$this->lastModifyTime = $lastModifyTime;
}
/**
* @return string
*/
public function getLastModifyTime()
{
return $this->lastModifyTime;
}
/**
* @param LinkedResource[]
*/
public function setLinkedDatasetMap($linkedDatasetMap)
{
$this->linkedDatasetMap = $linkedDatasetMap;
}
/**
* @return LinkedResource[]
*/
public function getLinkedDatasetMap()
{
return $this->linkedDatasetMap;
}
/**
* @param LinkedResource[]
*/
public function setLinkedResources($linkedResources)
{
$this->linkedResources = $linkedResources;
}
/**
* @return LinkedResource[]
*/
public function getLinkedResources()
{
return $this->linkedResources;
}
/**
* @param string
*/
public function setListing($listing)
{
$this->listing = $listing;
}
/**
* @return string
*/
public function getListing()
{
return $this->listing;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setOrganizationDisplayName($organizationDisplayName)
{
$this->organizationDisplayName = $organizationDisplayName;
}
/**
* @return string
*/
public function getOrganizationDisplayName()
{
return $this->organizationDisplayName;
}
/**
* @param string
*/
public function setOrganizationId($organizationId)
{
$this->organizationId = $organizationId;
}
/**
* @return string
*/
public function getOrganizationId()
{
return $this->organizationId;
}
/**
* @param string
*/
public function setResourceType($resourceType)
{
$this->resourceType = $resourceType;
}
/**
* @return string
*/
public function getResourceType()
{
return $this->resourceType;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param string
*/
public function setSubscriberContact($subscriberContact)
{
$this->subscriberContact = $subscriberContact;
}
/**
* @return string
*/
public function getSubscriberContact()
{
return $this->subscriberContact;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Subscription::class, 'Google_Service_AnalyticsHub_Subscription');

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\AnalyticsHub;
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_AnalyticsHub_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\AnalyticsHub;
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_AnalyticsHub_TestIamPermissionsResponse');

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