Skip to content

Commit

Permalink
Regenerate pubsub client (#6056)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-code-bot authored Jan 8, 2025
1 parent 080f5d4 commit 466b8ca
Show file tree
Hide file tree
Showing 4 changed files with 468 additions and 0 deletions.
116 changes: 116 additions & 0 deletions src/Pubsub/AwsMsk.php
Original file line number Diff line number Diff line change
@@ -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\Pubsub;

class AwsMsk extends \Google\Model
{
/**
* @var string
*/
public $awsRoleArn;
/**
* @var string
*/
public $clusterArn;
/**
* @var string
*/
public $gcpServiceAccount;
/**
* @var string
*/
public $state;
/**
* @var string
*/
public $topic;

/**
* @param string
*/
public function setAwsRoleArn($awsRoleArn)
{
$this->awsRoleArn = $awsRoleArn;
}
/**
* @return string
*/
public function getAwsRoleArn()
{
return $this->awsRoleArn;
}
/**
* @param string
*/
public function setClusterArn($clusterArn)
{
$this->clusterArn = $clusterArn;
}
/**
* @return string
*/
public function getClusterArn()
{
return $this->clusterArn;
}
/**
* @param string
*/
public function setGcpServiceAccount($gcpServiceAccount)
{
$this->gcpServiceAccount = $gcpServiceAccount;
}
/**
* @return string
*/
public function getGcpServiceAccount()
{
return $this->gcpServiceAccount;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @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(AwsMsk::class, 'Google_Service_Pubsub_AwsMsk');
170 changes: 170 additions & 0 deletions src/Pubsub/AzureEventHubs.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,170 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/

namespace Google\Service\Pubsub;

class AzureEventHubs extends \Google\Model
{
/**
* @var string
*/
public $clientId;
/**
* @var string
*/
public $eventHub;
/**
* @var string
*/
public $gcpServiceAccount;
/**
* @var string
*/
public $namespace;
/**
* @var string
*/
public $resourceGroup;
/**
* @var string
*/
public $state;
/**
* @var string
*/
public $subscriptionId;
/**
* @var string
*/
public $tenantId;

/**
* @param string
*/
public function setClientId($clientId)
{
$this->clientId = $clientId;
}
/**
* @return string
*/
public function getClientId()
{
return $this->clientId;
}
/**
* @param string
*/
public function setEventHub($eventHub)
{
$this->eventHub = $eventHub;
}
/**
* @return string
*/
public function getEventHub()
{
return $this->eventHub;
}
/**
* @param string
*/
public function setGcpServiceAccount($gcpServiceAccount)
{
$this->gcpServiceAccount = $gcpServiceAccount;
}
/**
* @return string
*/
public function getGcpServiceAccount()
{
return $this->gcpServiceAccount;
}
/**
* @param string
*/
public function setNamespace($namespace)
{
$this->namespace = $namespace;
}
/**
* @return string
*/
public function getNamespace()
{
return $this->namespace;
}
/**
* @param string
*/
public function setResourceGroup($resourceGroup)
{
$this->resourceGroup = $resourceGroup;
}
/**
* @return string
*/
public function getResourceGroup()
{
return $this->resourceGroup;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param string
*/
public function setSubscriptionId($subscriptionId)
{
$this->subscriptionId = $subscriptionId;
}
/**
* @return string
*/
public function getSubscriptionId()
{
return $this->subscriptionId;
}
/**
* @param string
*/
public function setTenantId($tenantId)
{
$this->tenantId = $tenantId;
}
/**
* @return string
*/
public function getTenantId()
{
return $this->tenantId;
}
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AzureEventHubs::class, 'Google_Service_Pubsub_AzureEventHubs');
Loading

0 comments on commit 466b8ca

Please sign in to comment.