gestione documentale avanzata 1 parte

This commit is contained in:
2026-05-28 09:34:28 +02:00
parent 3471befb1a
commit f2b0833b90
34482 changed files with 4312269 additions and 546 deletions
@@ -0,0 +1,70 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BeyondCorp;
class AllocatedConnection extends \Google\Model
{
/**
* Required. The ingress port of an allocated connection
*
* @var int
*/
public $ingressPort;
/**
* Required. The PSC uri of an allocated connection
*
* @var string
*/
public $pscUri;
/**
* Required. The ingress port of an allocated connection
*
* @param int $ingressPort
*/
public function setIngressPort($ingressPort)
{
$this->ingressPort = $ingressPort;
}
/**
* @return int
*/
public function getIngressPort()
{
return $this->ingressPort;
}
/**
* Required. The PSC uri of an allocated connection
*
* @param string $pscUri
*/
public function setPscUri($pscUri)
{
$this->pscUri = $pscUri;
}
/**
* @return string
*/
public function getPscUri()
{
return $this->pscUri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AllocatedConnection::class, 'Google_Service_BeyondCorp_AllocatedConnection');
@@ -0,0 +1,361 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BeyondCorp;
class AppGateway extends \Google\Collection
{
/**
* Default value. This value is unused.
*/
public const HOST_TYPE_HOST_TYPE_UNSPECIFIED = 'HOST_TYPE_UNSPECIFIED';
/**
* AppGateway hosted in a GCP regional managed instance group.
*/
public const HOST_TYPE_GCP_REGIONAL_MIG = 'GCP_REGIONAL_MIG';
/**
* Default value. This value is unused.
*/
public const STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
/**
* AppGateway is being created.
*/
public const STATE_CREATING = 'CREATING';
/**
* AppGateway has been created.
*/
public const STATE_CREATED = 'CREATED';
/**
* AppGateway's configuration is being updated.
*/
public const STATE_UPDATING = 'UPDATING';
/**
* AppGateway is being deleted.
*/
public const STATE_DELETING = 'DELETING';
/**
* AppGateway is down and may be restored in the future. This happens when
* CCFE sends ProjectState = OFF.
*/
public const STATE_DOWN = 'DOWN';
/**
* Default value. This value is unused.
*/
public const TYPE_TYPE_UNSPECIFIED = 'TYPE_UNSPECIFIED';
/**
* TCP Proxy based BeyondCorp Connection. API will default to this if unset.
*/
public const TYPE_TCP_PROXY = 'TCP_PROXY';
protected $collection_key = 'allocatedConnections';
protected $allocatedConnectionsType = AllocatedConnection::class;
protected $allocatedConnectionsDataType = 'array';
/**
* Output only. Timestamp when the resource was created.
*
* @var string
*/
public $createTime;
/**
* Optional. An arbitrary user-provided name for the AppGateway. Cannot exceed
* 64 characters.
*
* @var string
*/
public $displayName;
/**
* Required. The type of hosting used by the AppGateway.
*
* @var string
*/
public $hostType;
/**
* Optional. Resource labels to represent user provided metadata.
*
* @var string[]
*/
public $labels;
/**
* Required. Unique resource name of the AppGateway. The name is ignored when
* creating an AppGateway.
*
* @var string
*/
public $name;
/**
* Output only. Reserved for future use.
*
* @var bool
*/
public $satisfiesPzi;
/**
* Output only. Reserved for future use.
*
* @var bool
*/
public $satisfiesPzs;
/**
* Output only. The current state of the AppGateway.
*
* @var string
*/
public $state;
/**
* Required. The type of network connectivity used by the AppGateway.
*
* @var string
*/
public $type;
/**
* Output only. A unique identifier for the instance generated by the system.
*
* @var string
*/
public $uid;
/**
* Output only. Timestamp when the resource was last modified.
*
* @var string
*/
public $updateTime;
/**
* Output only. Server-defined URI for this resource.
*
* @var string
*/
public $uri;
/**
* Output only. A list of connections allocated for the Gateway
*
* @param AllocatedConnection[] $allocatedConnections
*/
public function setAllocatedConnections($allocatedConnections)
{
$this->allocatedConnections = $allocatedConnections;
}
/**
* @return AllocatedConnection[]
*/
public function getAllocatedConnections()
{
return $this->allocatedConnections;
}
/**
* Output only. Timestamp when the resource was created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Optional. An arbitrary user-provided name for the AppGateway. Cannot exceed
* 64 characters.
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* Required. The type of hosting used by the AppGateway.
*
* Accepted values: HOST_TYPE_UNSPECIFIED, GCP_REGIONAL_MIG
*
* @param self::HOST_TYPE_* $hostType
*/
public function setHostType($hostType)
{
$this->hostType = $hostType;
}
/**
* @return self::HOST_TYPE_*
*/
public function getHostType()
{
return $this->hostType;
}
/**
* Optional. Resource labels to represent user provided metadata.
*
* @param string[] $labels
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* Required. Unique resource name of the AppGateway. The name is ignored when
* creating an AppGateway.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Output only. Reserved for future use.
*
* @param bool $satisfiesPzi
*/
public function setSatisfiesPzi($satisfiesPzi)
{
$this->satisfiesPzi = $satisfiesPzi;
}
/**
* @return bool
*/
public function getSatisfiesPzi()
{
return $this->satisfiesPzi;
}
/**
* Output only. Reserved for future use.
*
* @param bool $satisfiesPzs
*/
public function setSatisfiesPzs($satisfiesPzs)
{
$this->satisfiesPzs = $satisfiesPzs;
}
/**
* @return bool
*/
public function getSatisfiesPzs()
{
return $this->satisfiesPzs;
}
/**
* Output only. The current state of the AppGateway.
*
* Accepted values: STATE_UNSPECIFIED, CREATING, CREATED, UPDATING, DELETING,
* DOWN
*
* @param self::STATE_* $state
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return self::STATE_*
*/
public function getState()
{
return $this->state;
}
/**
* Required. The type of network connectivity used by the AppGateway.
*
* Accepted values: TYPE_UNSPECIFIED, TCP_PROXY
*
* @param self::TYPE_* $type
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return self::TYPE_*
*/
public function getType()
{
return $this->type;
}
/**
* Output only. A unique identifier for the instance generated by the system.
*
* @param string $uid
*/
public function setUid($uid)
{
$this->uid = $uid;
}
/**
* @return string
*/
public function getUid()
{
return $this->uid;
}
/**
* Output only. Timestamp when the resource was last modified.
*
* @param string $updateTime
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
/**
* Output only. Server-defined URI for this resource.
*
* @param string $uri
*/
public function setUri($uri)
{
$this->uri = $uri;
}
/**
* @return string
*/
public function getUri()
{
return $this->uri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AppGateway::class, 'Google_Service_BeyondCorp_AppGateway');
@@ -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\BeyondCorp;
class AppGatewayOperationMetadata extends \Google\Model
{
/**
* Output only. API version used to start the operation.
*
* @var string
*/
public $apiVersion;
/**
* Output only. The time the operation was created.
*
* @var string
*/
public $createTime;
/**
* Output only. The time the operation finished running.
*
* @var string
*/
public $endTime;
/**
* Output only. Identifies whether the user has requested cancellation of the
* operation. Operations that have successfully been cancelled have
* google.longrunning.Operation.error value with a google.rpc.Status.code of
* `1`, corresponding to `Code.CANCELLED`.
*
* @var bool
*/
public $requestedCancellation;
/**
* Output only. Human-readable status of the operation, if any.
*
* @var string
*/
public $statusMessage;
/**
* Output only. Server-defined resource path for the target of the operation.
*
* @var string
*/
public $target;
/**
* Output only. Name of the verb executed by the operation.
*
* @var string
*/
public $verb;
/**
* Output only. API version used to start the operation.
*
* @param string $apiVersion
*/
public function setApiVersion($apiVersion)
{
$this->apiVersion = $apiVersion;
}
/**
* @return string
*/
public function getApiVersion()
{
return $this->apiVersion;
}
/**
* Output only. The time the operation was created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Output only. The time the operation finished running.
*
* @param string $endTime
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* Output only. Identifies whether the user has requested cancellation of the
* operation. Operations that have successfully been cancelled have
* google.longrunning.Operation.error value with a google.rpc.Status.code of
* `1`, corresponding to `Code.CANCELLED`.
*
* @param bool $requestedCancellation
*/
public function setRequestedCancellation($requestedCancellation)
{
$this->requestedCancellation = $requestedCancellation;
}
/**
* @return bool
*/
public function getRequestedCancellation()
{
return $this->requestedCancellation;
}
/**
* Output only. Human-readable status of the operation, if any.
*
* @param string $statusMessage
*/
public function setStatusMessage($statusMessage)
{
$this->statusMessage = $statusMessage;
}
/**
* @return string
*/
public function getStatusMessage()
{
return $this->statusMessage;
}
/**
* Output only. Server-defined resource path for the target of the operation.
*
* @param string $target
*/
public function setTarget($target)
{
$this->target = $target;
}
/**
* @return string
*/
public function getTarget()
{
return $this->target;
}
/**
* Output only. Name of the verb executed by the operation.
*
* @param string $verb
*/
public function setVerb($verb)
{
$this->verb = $verb;
}
/**
* @return string
*/
public function getVerb()
{
return $this->verb;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AppGatewayOperationMetadata::class, 'Google_Service_BeyondCorp_AppGatewayOperationMetadata');
@@ -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\BeyondCorp;
class ApplicationEndpoint extends \Google\Model
{
/**
* @var string
*/
public $host;
/**
* @var int
*/
public $port;
/**
* @param string
*/
public function setHost($host)
{
$this->host = $host;
}
/**
* @return string
*/
public function getHost()
{
return $this->host;
}
/**
* @param int
*/
public function setPort($port)
{
$this->port = $port;
}
/**
* @return int
*/
public function getPort()
{
return $this->port;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ApplicationEndpoint::class, 'Google_Service_BeyondCorp_ApplicationEndpoint');
@@ -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\BeyondCorp;
class BeyondcorpEmpty extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BeyondcorpEmpty::class, 'Google_Service_BeyondCorp_BeyondcorpEmpty');
@@ -0,0 +1,148 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BeyondCorp;
class ClientConnectorService extends \Google\Model
{
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $displayName;
protected $egressType = Egress::class;
protected $egressDataType = '';
protected $ingressType = Ingress::class;
protected $ingressDataType = '';
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $state;
/**
* @var string
*/
public $updateTime;
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param Egress
*/
public function setEgress(Egress $egress)
{
$this->egress = $egress;
}
/**
* @return Egress
*/
public function getEgress()
{
return $this->egress;
}
/**
* @param Ingress
*/
public function setIngress(Ingress $ingress)
{
$this->ingress = $ingress;
}
/**
* @return Ingress
*/
public function getIngress()
{
return $this->ingress;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param string
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ClientConnectorService::class, 'Google_Service_BeyondCorp_ClientConnectorService');
@@ -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\BeyondCorp;
class ClientConnectorServiceOperationMetadata 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(ClientConnectorServiceOperationMetadata::class, 'Google_Service_BeyondCorp_ClientConnectorServiceOperationMetadata');
@@ -0,0 +1,134 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BeyondCorp;
class ClientGateway extends \Google\Model
{
/**
* @var string
*/
public $clientConnectorService;
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $state;
/**
* @var string
*/
public $updateTime;
/**
* @param string
*/
public function setClientConnectorService($clientConnectorService)
{
$this->clientConnectorService = $clientConnectorService;
}
/**
* @return string
*/
public function getClientConnectorService()
{
return $this->clientConnectorService;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param string
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ClientGateway::class, 'Google_Service_BeyondCorp_ClientGateway');
@@ -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\BeyondCorp;
class ClientGatewayOperationMetadata 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(ClientGatewayOperationMetadata::class, 'Google_Service_BeyondCorp_ClientGatewayOperationMetadata');
@@ -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\BeyondCorp;
class CloudPubSubNotificationConfig extends \Google\Model
{
/**
* @var string
*/
public $pubsubSubscription;
/**
* @param string
*/
public function setPubsubSubscription($pubsubSubscription)
{
$this->pubsubSubscription = $pubsubSubscription;
}
/**
* @return string
*/
public function getPubsubSubscription()
{
return $this->pubsubSubscription;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudPubSubNotificationConfig::class, 'Google_Service_BeyondCorp_CloudPubSubNotificationConfig');
@@ -0,0 +1,188 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BeyondCorp;
class CloudSecurityZerotrustApplinkAppConnectorProtoConnectionConfig extends \Google\Collection
{
protected $collection_key = 'gateway';
/**
* application_endpoint is the endpoint of the application the form of
* host:port. For example, "localhost:80".
*
* @var string
*/
public $applicationEndpoint;
/**
* application_name represents the given name of the application the
* connection is connecting with.
*
* @var string
*/
public $applicationName;
protected $gatewayType = CloudSecurityZerotrustApplinkAppConnectorProtoGateway::class;
protected $gatewayDataType = 'array';
/**
* name is the unique ID for each connection. TODO(b/190732451) returns
* connection name from user-specified name in config. Now, name =
* ${application_name}:${application_endpoint}
*
* @var string
*/
public $name;
/**
* project represents the consumer project the connection belongs to.
*
* @var string
*/
public $project;
/**
* tunnels_per_gateway reflects the number of tunnels between a connector and
* a gateway.
*
* @var string
*/
public $tunnelsPerGateway;
/**
* user_port specifies the reserved port on gateways for user connections.
*
* @var int
*/
public $userPort;
/**
* application_endpoint is the endpoint of the application the form of
* host:port. For example, "localhost:80".
*
* @param string $applicationEndpoint
*/
public function setApplicationEndpoint($applicationEndpoint)
{
$this->applicationEndpoint = $applicationEndpoint;
}
/**
* @return string
*/
public function getApplicationEndpoint()
{
return $this->applicationEndpoint;
}
/**
* application_name represents the given name of the application the
* connection is connecting with.
*
* @param string $applicationName
*/
public function setApplicationName($applicationName)
{
$this->applicationName = $applicationName;
}
/**
* @return string
*/
public function getApplicationName()
{
return $this->applicationName;
}
/**
* gateway lists all instances running a gateway in GCP. They all connect to a
* connector on the host.
*
* @param CloudSecurityZerotrustApplinkAppConnectorProtoGateway[] $gateway
*/
public function setGateway($gateway)
{
$this->gateway = $gateway;
}
/**
* @return CloudSecurityZerotrustApplinkAppConnectorProtoGateway[]
*/
public function getGateway()
{
return $this->gateway;
}
/**
* name is the unique ID for each connection. TODO(b/190732451) returns
* connection name from user-specified name in config. Now, name =
* ${application_name}:${application_endpoint}
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* project represents the consumer project the connection belongs to.
*
* @param string $project
*/
public function setProject($project)
{
$this->project = $project;
}
/**
* @return string
*/
public function getProject()
{
return $this->project;
}
/**
* tunnels_per_gateway reflects the number of tunnels between a connector and
* a gateway.
*
* @param string $tunnelsPerGateway
*/
public function setTunnelsPerGateway($tunnelsPerGateway)
{
$this->tunnelsPerGateway = $tunnelsPerGateway;
}
/**
* @return string
*/
public function getTunnelsPerGateway()
{
return $this->tunnelsPerGateway;
}
/**
* user_port specifies the reserved port on gateways for user connections.
*
* @param int $userPort
*/
public function setUserPort($userPort)
{
$this->userPort = $userPort;
}
/**
* @return int
*/
public function getUserPort()
{
return $this->userPort;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudSecurityZerotrustApplinkAppConnectorProtoConnectionConfig::class, 'Google_Service_BeyondCorp_CloudSecurityZerotrustApplinkAppConnectorProtoConnectionConfig');
@@ -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\BeyondCorp;
class CloudSecurityZerotrustApplinkAppConnectorProtoConnectorDetails extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudSecurityZerotrustApplinkAppConnectorProtoConnectorDetails::class, 'Google_Service_BeyondCorp_CloudSecurityZerotrustApplinkAppConnectorProtoConnectorDetails');
@@ -0,0 +1,188 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BeyondCorp;
class CloudSecurityZerotrustApplinkAppConnectorProtoGateway extends \Google\Model
{
/**
* interface specifies the network interface of the gateway to connect to.
*
* @var string
*/
public $interface;
/**
* name is the name of an instance running a gateway. It is the unique ID for
* a gateway. All gateways under the same connection have the same prefix. It
* is derived from the gateway URL. For example, name=${instance} assuming a
* gateway URL. https://www.googleapis.com/compute/${version}/projects/${proje
* ct}/zones/${zone}/instances/${instance}
*
* @var string
*/
public $name;
/**
* port specifies the port of the gateway for tunnel connections from the
* connectors.
*
* @var string
*/
public $port;
/**
* project is the tenant project the gateway belongs to. Different from the
* project in the connection, it is a BeyondCorpAPI internally created project
* to manage all the gateways. It is sharing the same network with the
* consumer project user owned. It is derived from the gateway URL. For
* example, project=${project} assuming a gateway URL. https://www.googleapis.
* com/compute/${version}/projects/${project}/zones/${zone}/instances/${instan
* ce}
*
* @var string
*/
public $project;
/**
* self_link is the gateway URL in the form https://www.googleapis.com/compute
* /${version}/projects/${project}/zones/${zone}/instances/${instance}
*
* @var string
*/
public $selfLink;
/**
* zone represents the zone the instance belongs. It is derived from the
* gateway URL. For example, zone=${zone} assuming a gateway URL. https://www.
* googleapis.com/compute/${version}/projects/${project}/zones/${zone}/instanc
* es/${instance}
*
* @var string
*/
public $zone;
/**
* interface specifies the network interface of the gateway to connect to.
*
* @param string $interface
*/
public function setInterface($interface)
{
$this->interface = $interface;
}
/**
* @return string
*/
public function getInterface()
{
return $this->interface;
}
/**
* name is the name of an instance running a gateway. It is the unique ID for
* a gateway. All gateways under the same connection have the same prefix. It
* is derived from the gateway URL. For example, name=${instance} assuming a
* gateway URL. https://www.googleapis.com/compute/${version}/projects/${proje
* ct}/zones/${zone}/instances/${instance}
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* port specifies the port of the gateway for tunnel connections from the
* connectors.
*
* @param string $port
*/
public function setPort($port)
{
$this->port = $port;
}
/**
* @return string
*/
public function getPort()
{
return $this->port;
}
/**
* project is the tenant project the gateway belongs to. Different from the
* project in the connection, it is a BeyondCorpAPI internally created project
* to manage all the gateways. It is sharing the same network with the
* consumer project user owned. It is derived from the gateway URL. For
* example, project=${project} assuming a gateway URL. https://www.googleapis.
* com/compute/${version}/projects/${project}/zones/${zone}/instances/${instan
* ce}
*
* @param string $project
*/
public function setProject($project)
{
$this->project = $project;
}
/**
* @return string
*/
public function getProject()
{
return $this->project;
}
/**
* self_link is the gateway URL in the form https://www.googleapis.com/compute
* /${version}/projects/${project}/zones/${zone}/instances/${instance}
*
* @param string $selfLink
*/
public function setSelfLink($selfLink)
{
$this->selfLink = $selfLink;
}
/**
* @return string
*/
public function getSelfLink()
{
return $this->selfLink;
}
/**
* zone represents the zone the instance belongs. It is derived from the
* gateway URL. For example, zone=${zone} assuming a gateway URL. https://www.
* googleapis.com/compute/${version}/projects/${project}/zones/${zone}/instanc
* es/${instance}
*
* @param string $zone
*/
public function setZone($zone)
{
$this->zone = $zone;
}
/**
* @return string
*/
public function getZone()
{
return $this->zone;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudSecurityZerotrustApplinkAppConnectorProtoGateway::class, 'Google_Service_BeyondCorp_CloudSecurityZerotrustApplinkAppConnectorProtoGateway');
@@ -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\BeyondCorp;
class CloudSecurityZerotrustApplinkLogagentProtoLogAgentDetails extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudSecurityZerotrustApplinkLogagentProtoLogAgentDetails::class, 'Google_Service_BeyondCorp_CloudSecurityZerotrustApplinkLogagentProtoLogAgentDetails');
@@ -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\BeyondCorp;
class Config extends \Google\Collection
{
protected $collection_key = 'destinationRoutes';
protected $destinationRoutesType = DestinationRoute::class;
protected $destinationRoutesDataType = 'array';
/**
* @var string
*/
public $transportProtocol;
/**
* @param DestinationRoute[]
*/
public function setDestinationRoutes($destinationRoutes)
{
$this->destinationRoutes = $destinationRoutes;
}
/**
* @return DestinationRoute[]
*/
public function getDestinationRoutes()
{
return $this->destinationRoutes;
}
/**
* @param string
*/
public function setTransportProtocol($transportProtocol)
{
$this->transportProtocol = $transportProtocol;
}
/**
* @return string
*/
public function getTransportProtocol()
{
return $this->transportProtocol;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Config::class, 'Google_Service_BeyondCorp_Config');
@@ -0,0 +1,221 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BeyondCorp;
class Connection extends \Google\Collection
{
protected $collection_key = 'connectors';
protected $applicationEndpointType = ApplicationEndpoint::class;
protected $applicationEndpointDataType = '';
/**
* @var string[]
*/
public $connectors;
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $displayName;
protected $gatewayType = Gateway::class;
protected $gatewayDataType = '';
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $state;
/**
* @var string
*/
public $type;
/**
* @var string
*/
public $uid;
/**
* @var string
*/
public $updateTime;
/**
* @param ApplicationEndpoint
*/
public function setApplicationEndpoint(ApplicationEndpoint $applicationEndpoint)
{
$this->applicationEndpoint = $applicationEndpoint;
}
/**
* @return ApplicationEndpoint
*/
public function getApplicationEndpoint()
{
return $this->applicationEndpoint;
}
/**
* @param string[]
*/
public function setConnectors($connectors)
{
$this->connectors = $connectors;
}
/**
* @return string[]
*/
public function getConnectors()
{
return $this->connectors;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param Gateway
*/
public function setGateway(Gateway $gateway)
{
$this->gateway = $gateway;
}
/**
* @return Gateway
*/
public function getGateway()
{
return $this->gateway;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
/**
* @param string
*/
public function setUid($uid)
{
$this->uid = $uid;
}
/**
* @return string
*/
public function getUid()
{
return $this->uid;
}
/**
* @param string
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Connection::class, 'Google_Service_BeyondCorp_Connection');
@@ -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\BeyondCorp;
class ConnectionDetails extends \Google\Collection
{
protected $collection_key = 'recentMigVms';
protected $connectionType = Connection::class;
protected $connectionDataType = '';
/**
* @var string[]
*/
public $recentMigVms;
/**
* @param Connection
*/
public function setConnection(Connection $connection)
{
$this->connection = $connection;
}
/**
* @return Connection
*/
public function getConnection()
{
return $this->connection;
}
/**
* @param string[]
*/
public function setRecentMigVms($recentMigVms)
{
$this->recentMigVms = $recentMigVms;
}
/**
* @return string[]
*/
public function getRecentMigVms()
{
return $this->recentMigVms;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ConnectionDetails::class, 'Google_Service_BeyondCorp_ConnectionDetails');
@@ -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\BeyondCorp;
class ConnectionOperationMetadata 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(ConnectionOperationMetadata::class, 'Google_Service_BeyondCorp_ConnectionOperationMetadata');
@@ -0,0 +1,184 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BeyondCorp;
class Connector extends \Google\Model
{
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $displayName;
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $name;
protected $principalInfoType = PrincipalInfo::class;
protected $principalInfoDataType = '';
protected $resourceInfoType = ResourceInfo::class;
protected $resourceInfoDataType = '';
/**
* @var string
*/
public $state;
/**
* @var string
*/
public $uid;
/**
* @var string
*/
public $updateTime;
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @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 setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param PrincipalInfo
*/
public function setPrincipalInfo(PrincipalInfo $principalInfo)
{
$this->principalInfo = $principalInfo;
}
/**
* @return PrincipalInfo
*/
public function getPrincipalInfo()
{
return $this->principalInfo;
}
/**
* @param ResourceInfo
*/
public function setResourceInfo(ResourceInfo $resourceInfo)
{
$this->resourceInfo = $resourceInfo;
}
/**
* @return ResourceInfo
*/
public function getResourceInfo()
{
return $this->resourceInfo;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param string
*/
public function setUid($uid)
{
$this->uid = $uid;
}
/**
* @return string
*/
public function getUid()
{
return $this->uid;
}
/**
* @param string
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Connector::class, 'Google_Service_BeyondCorp_Connector');
@@ -0,0 +1,94 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BeyondCorp;
class ConnectorInstanceConfig extends \Google\Model
{
protected $imageConfigType = ImageConfig::class;
protected $imageConfigDataType = '';
/**
* @var array[]
*/
public $instanceConfig;
protected $notificationConfigType = NotificationConfig::class;
protected $notificationConfigDataType = '';
/**
* @var string
*/
public $sequenceNumber;
/**
* @param ImageConfig
*/
public function setImageConfig(ImageConfig $imageConfig)
{
$this->imageConfig = $imageConfig;
}
/**
* @return ImageConfig
*/
public function getImageConfig()
{
return $this->imageConfig;
}
/**
* @param array[]
*/
public function setInstanceConfig($instanceConfig)
{
$this->instanceConfig = $instanceConfig;
}
/**
* @return array[]
*/
public function getInstanceConfig()
{
return $this->instanceConfig;
}
/**
* @param NotificationConfig
*/
public function setNotificationConfig(NotificationConfig $notificationConfig)
{
$this->notificationConfig = $notificationConfig;
}
/**
* @return NotificationConfig
*/
public function getNotificationConfig()
{
return $this->notificationConfig;
}
/**
* @param string
*/
public function setSequenceNumber($sequenceNumber)
{
$this->sequenceNumber = $sequenceNumber;
}
/**
* @return string
*/
public function getSequenceNumber()
{
return $this->sequenceNumber;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ConnectorInstanceConfig::class, 'Google_Service_BeyondCorp_ConnectorInstanceConfig');
@@ -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\BeyondCorp;
class ConnectorOperationMetadata 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(ConnectorOperationMetadata::class, 'Google_Service_BeyondCorp_ConnectorOperationMetadata');
@@ -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\BeyondCorp;
class ContainerHealthDetails extends \Google\Model
{
/**
* @var string
*/
public $currentConfigVersion;
/**
* @var string
*/
public $errorMsg;
/**
* @var string
*/
public $expectedConfigVersion;
/**
* @var string[]
*/
public $extendedStatus;
/**
* @param string
*/
public function setCurrentConfigVersion($currentConfigVersion)
{
$this->currentConfigVersion = $currentConfigVersion;
}
/**
* @return string
*/
public function getCurrentConfigVersion()
{
return $this->currentConfigVersion;
}
/**
* @param string
*/
public function setErrorMsg($errorMsg)
{
$this->errorMsg = $errorMsg;
}
/**
* @return string
*/
public function getErrorMsg()
{
return $this->errorMsg;
}
/**
* @param string
*/
public function setExpectedConfigVersion($expectedConfigVersion)
{
$this->expectedConfigVersion = $expectedConfigVersion;
}
/**
* @return string
*/
public function getExpectedConfigVersion()
{
return $this->expectedConfigVersion;
}
/**
* @param string[]
*/
public function setExtendedStatus($extendedStatus)
{
$this->extendedStatus = $extendedStatus;
}
/**
* @return string[]
*/
public function getExtendedStatus()
{
return $this->extendedStatus;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ContainerHealthDetails::class, 'Google_Service_BeyondCorp_ContainerHealthDetails');
@@ -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\BeyondCorp;
class DestinationRoute extends \Google\Model
{
/**
* @var string
*/
public $address;
/**
* @var string
*/
public $netmask;
/**
* @param string
*/
public function setAddress($address)
{
$this->address = $address;
}
/**
* @return string
*/
public function getAddress()
{
return $this->address;
}
/**
* @param string
*/
public function setNetmask($netmask)
{
$this->netmask = $netmask;
}
/**
* @return string
*/
public function getNetmask()
{
return $this->netmask;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DestinationRoute::class, 'Google_Service_BeyondCorp_DestinationRoute');
@@ -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\BeyondCorp;
class Egress extends \Google\Model
{
protected $peeredVpcType = PeeredVpc::class;
protected $peeredVpcDataType = '';
/**
* @param PeeredVpc
*/
public function setPeeredVpc(PeeredVpc $peeredVpc)
{
$this->peeredVpc = $peeredVpc;
}
/**
* @return PeeredVpc
*/
public function getPeeredVpc()
{
return $this->peeredVpc;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Egress::class, 'Google_Service_BeyondCorp_Egress');
@@ -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\BeyondCorp;
class Gateway extends \Google\Model
{
/**
* @var string
*/
public $type;
/**
* @var string
*/
public $uri;
/**
* @var int
*/
public $userPort;
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
/**
* @param string
*/
public function setUri($uri)
{
$this->uri = $uri;
}
/**
* @return string
*/
public function getUri()
{
return $this->uri;
}
/**
* @param int
*/
public function setUserPort($userPort)
{
$this->userPort = $userPort;
}
/**
* @return int
*/
public function getUserPort()
{
return $this->userPort;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Gateway::class, 'Google_Service_BeyondCorp_Gateway');
@@ -0,0 +1,351 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BeyondCorp;
class GoogleCloudBeyondcorpAppconnectionsV1AppConnection extends \Google\Collection
{
/**
* Default value. This value is unused.
*/
public const STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
/**
* AppConnection is being created.
*/
public const STATE_CREATING = 'CREATING';
/**
* AppConnection has been created.
*/
public const STATE_CREATED = 'CREATED';
/**
* AppConnection's configuration is being updated.
*/
public const STATE_UPDATING = 'UPDATING';
/**
* AppConnection is being deleted.
*/
public const STATE_DELETING = 'DELETING';
/**
* AppConnection is down and may be restored in the future. This happens when
* CCFE sends ProjectState = OFF.
*/
public const STATE_DOWN = 'DOWN';
/**
* Default value. This value is unused.
*/
public const TYPE_TYPE_UNSPECIFIED = 'TYPE_UNSPECIFIED';
/**
* TCP Proxy based BeyondCorp AppConnection. API will default to this if
* unset.
*/
public const TYPE_TCP_PROXY = 'TCP_PROXY';
protected $collection_key = 'connectors';
protected $applicationEndpointType = GoogleCloudBeyondcorpAppconnectionsV1AppConnectionApplicationEndpoint::class;
protected $applicationEndpointDataType = '';
/**
* Optional. List of [google.cloud.beyondcorp.v1main.Connector.name] that are
* authorized to be associated with this AppConnection.
*
* @var string[]
*/
public $connectors;
/**
* Output only. Timestamp when the resource was created.
*
* @var string
*/
public $createTime;
/**
* Optional. An arbitrary user-provided name for the AppConnection. Cannot
* exceed 64 characters.
*
* @var string
*/
public $displayName;
protected $gatewayType = GoogleCloudBeyondcorpAppconnectionsV1AppConnectionGateway::class;
protected $gatewayDataType = '';
/**
* Optional. Resource labels to represent user provided metadata.
*
* @var string[]
*/
public $labels;
/**
* Required. Unique resource name of the AppConnection. The name is ignored
* when creating a AppConnection.
*
* @var string
*/
public $name;
/**
* Output only. Reserved for future use.
*
* @var bool
*/
public $satisfiesPzi;
/**
* Output only. Reserved for future use.
*
* @var bool
*/
public $satisfiesPzs;
/**
* Output only. The current state of the AppConnection.
*
* @var string
*/
public $state;
/**
* Required. The type of network connectivity used by the AppConnection.
*
* @var string
*/
public $type;
/**
* Output only. A unique identifier for the instance generated by the system.
*
* @var string
*/
public $uid;
/**
* Output only. Timestamp when the resource was last modified.
*
* @var string
*/
public $updateTime;
/**
* Required. Address of the remote application endpoint for the BeyondCorp
* AppConnection.
*
* @param GoogleCloudBeyondcorpAppconnectionsV1AppConnectionApplicationEndpoint $applicationEndpoint
*/
public function setApplicationEndpoint(GoogleCloudBeyondcorpAppconnectionsV1AppConnectionApplicationEndpoint $applicationEndpoint)
{
$this->applicationEndpoint = $applicationEndpoint;
}
/**
* @return GoogleCloudBeyondcorpAppconnectionsV1AppConnectionApplicationEndpoint
*/
public function getApplicationEndpoint()
{
return $this->applicationEndpoint;
}
/**
* Optional. List of [google.cloud.beyondcorp.v1main.Connector.name] that are
* authorized to be associated with this AppConnection.
*
* @param string[] $connectors
*/
public function setConnectors($connectors)
{
$this->connectors = $connectors;
}
/**
* @return string[]
*/
public function getConnectors()
{
return $this->connectors;
}
/**
* Output only. Timestamp when the resource was created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Optional. An arbitrary user-provided name for the AppConnection. Cannot
* exceed 64 characters.
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* Optional. Gateway used by the AppConnection.
*
* @param GoogleCloudBeyondcorpAppconnectionsV1AppConnectionGateway $gateway
*/
public function setGateway(GoogleCloudBeyondcorpAppconnectionsV1AppConnectionGateway $gateway)
{
$this->gateway = $gateway;
}
/**
* @return GoogleCloudBeyondcorpAppconnectionsV1AppConnectionGateway
*/
public function getGateway()
{
return $this->gateway;
}
/**
* Optional. Resource labels to represent user provided metadata.
*
* @param string[] $labels
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* Required. Unique resource name of the AppConnection. The name is ignored
* when creating a AppConnection.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Output only. Reserved for future use.
*
* @param bool $satisfiesPzi
*/
public function setSatisfiesPzi($satisfiesPzi)
{
$this->satisfiesPzi = $satisfiesPzi;
}
/**
* @return bool
*/
public function getSatisfiesPzi()
{
return $this->satisfiesPzi;
}
/**
* Output only. Reserved for future use.
*
* @param bool $satisfiesPzs
*/
public function setSatisfiesPzs($satisfiesPzs)
{
$this->satisfiesPzs = $satisfiesPzs;
}
/**
* @return bool
*/
public function getSatisfiesPzs()
{
return $this->satisfiesPzs;
}
/**
* Output only. The current state of the AppConnection.
*
* Accepted values: STATE_UNSPECIFIED, CREATING, CREATED, UPDATING, DELETING,
* DOWN
*
* @param self::STATE_* $state
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return self::STATE_*
*/
public function getState()
{
return $this->state;
}
/**
* Required. The type of network connectivity used by the AppConnection.
*
* Accepted values: TYPE_UNSPECIFIED, TCP_PROXY
*
* @param self::TYPE_* $type
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return self::TYPE_*
*/
public function getType()
{
return $this->type;
}
/**
* Output only. A unique identifier for the instance generated by the system.
*
* @param string $uid
*/
public function setUid($uid)
{
$this->uid = $uid;
}
/**
* @return string
*/
public function getUid()
{
return $this->uid;
}
/**
* Output only. Timestamp when the resource was last modified.
*
* @param string $updateTime
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudBeyondcorpAppconnectionsV1AppConnection::class, 'Google_Service_BeyondCorp_GoogleCloudBeyondcorpAppconnectionsV1AppConnection');
@@ -0,0 +1,70 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BeyondCorp;
class GoogleCloudBeyondcorpAppconnectionsV1AppConnectionApplicationEndpoint extends \Google\Model
{
/**
* Required. Hostname or IP address of the remote application endpoint.
*
* @var string
*/
public $host;
/**
* Required. Port of the remote application endpoint.
*
* @var int
*/
public $port;
/**
* Required. Hostname or IP address of the remote application endpoint.
*
* @param string $host
*/
public function setHost($host)
{
$this->host = $host;
}
/**
* @return string
*/
public function getHost()
{
return $this->host;
}
/**
* Required. Port of the remote application endpoint.
*
* @param int $port
*/
public function setPort($port)
{
$this->port = $port;
}
/**
* @return int
*/
public function getPort()
{
return $this->port;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudBeyondcorpAppconnectionsV1AppConnectionApplicationEndpoint::class, 'Google_Service_BeyondCorp_GoogleCloudBeyondcorpAppconnectionsV1AppConnectionApplicationEndpoint');
@@ -0,0 +1,150 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BeyondCorp;
class GoogleCloudBeyondcorpAppconnectionsV1AppConnectionGateway extends \Google\Model
{
/**
* Default value. This value is unused.
*/
public const TYPE_TYPE_UNSPECIFIED = 'TYPE_UNSPECIFIED';
/**
* Gateway hosted in a GCP regional managed instance group.
*/
public const TYPE_GCP_REGIONAL_MIG = 'GCP_REGIONAL_MIG';
/**
* Required. AppGateway name in following format:
* `projects/{project_id}/locations/{location_id}/appgateways/{gateway_id}`
*
* @var string
*/
public $appGateway;
/**
* Output only. Ingress port reserved on the gateways for this AppConnection,
* if not specified or zero, the default port is 19443.
*
* @var int
*/
public $ingressPort;
/**
* Output only. L7 private service connection for this resource.
*
* @var string
*/
public $l7psc;
/**
* Required. The type of hosting used by the gateway.
*
* @var string
*/
public $type;
/**
* Output only. Server-defined URI for this resource.
*
* @var string
*/
public $uri;
/**
* Required. AppGateway name in following format:
* `projects/{project_id}/locations/{location_id}/appgateways/{gateway_id}`
*
* @param string $appGateway
*/
public function setAppGateway($appGateway)
{
$this->appGateway = $appGateway;
}
/**
* @return string
*/
public function getAppGateway()
{
return $this->appGateway;
}
/**
* Output only. Ingress port reserved on the gateways for this AppConnection,
* if not specified or zero, the default port is 19443.
*
* @param int $ingressPort
*/
public function setIngressPort($ingressPort)
{
$this->ingressPort = $ingressPort;
}
/**
* @return int
*/
public function getIngressPort()
{
return $this->ingressPort;
}
/**
* Output only. L7 private service connection for this resource.
*
* @param string $l7psc
*/
public function setL7psc($l7psc)
{
$this->l7psc = $l7psc;
}
/**
* @return string
*/
public function getL7psc()
{
return $this->l7psc;
}
/**
* Required. The type of hosting used by the gateway.
*
* Accepted values: TYPE_UNSPECIFIED, GCP_REGIONAL_MIG
*
* @param self::TYPE_* $type
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return self::TYPE_*
*/
public function getType()
{
return $this->type;
}
/**
* Output only. Server-defined URI for this resource.
*
* @param string $uri
*/
public function setUri($uri)
{
$this->uri = $uri;
}
/**
* @return string
*/
public function getUri()
{
return $this->uri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudBeyondcorpAppconnectionsV1AppConnectionGateway::class, 'Google_Service_BeyondCorp_GoogleCloudBeyondcorpAppconnectionsV1AppConnectionGateway');
@@ -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\BeyondCorp;
class GoogleCloudBeyondcorpAppconnectionsV1AppConnectionOperationMetadata extends \Google\Model
{
/**
* Output only. API version used to start the operation.
*
* @var string
*/
public $apiVersion;
/**
* Output only. The time the operation was created.
*
* @var string
*/
public $createTime;
/**
* Output only. The time the operation finished running.
*
* @var string
*/
public $endTime;
/**
* Output only. Identifies whether the user has requested cancellation of the
* operation. Operations that have successfully been cancelled have
* google.longrunning.Operation.error value with a google.rpc.Status.code of
* 1, corresponding to `Code.CANCELLED`.
*
* @var bool
*/
public $requestedCancellation;
/**
* Output only. Human-readable status of the operation, if any.
*
* @var string
*/
public $statusMessage;
/**
* Output only. Server-defined resource path for the target of the operation.
*
* @var string
*/
public $target;
/**
* Output only. Name of the verb executed by the operation.
*
* @var string
*/
public $verb;
/**
* Output only. API version used to start the operation.
*
* @param string $apiVersion
*/
public function setApiVersion($apiVersion)
{
$this->apiVersion = $apiVersion;
}
/**
* @return string
*/
public function getApiVersion()
{
return $this->apiVersion;
}
/**
* Output only. The time the operation was created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Output only. The time the operation finished running.
*
* @param string $endTime
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* Output only. Identifies whether the user has requested cancellation of the
* operation. Operations that have successfully been cancelled have
* google.longrunning.Operation.error value with a google.rpc.Status.code of
* 1, corresponding to `Code.CANCELLED`.
*
* @param bool $requestedCancellation
*/
public function setRequestedCancellation($requestedCancellation)
{
$this->requestedCancellation = $requestedCancellation;
}
/**
* @return bool
*/
public function getRequestedCancellation()
{
return $this->requestedCancellation;
}
/**
* Output only. Human-readable status of the operation, if any.
*
* @param string $statusMessage
*/
public function setStatusMessage($statusMessage)
{
$this->statusMessage = $statusMessage;
}
/**
* @return string
*/
public function getStatusMessage()
{
return $this->statusMessage;
}
/**
* Output only. Server-defined resource path for the target of the operation.
*
* @param string $target
*/
public function setTarget($target)
{
$this->target = $target;
}
/**
* @return string
*/
public function getTarget()
{
return $this->target;
}
/**
* Output only. Name of the verb executed by the operation.
*
* @param string $verb
*/
public function setVerb($verb)
{
$this->verb = $verb;
}
/**
* @return string
*/
public function getVerb()
{
return $this->verb;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudBeyondcorpAppconnectionsV1AppConnectionOperationMetadata::class, 'Google_Service_BeyondCorp_GoogleCloudBeyondcorpAppconnectionsV1AppConnectionOperationMetadata');
@@ -0,0 +1,91 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BeyondCorp;
class GoogleCloudBeyondcorpAppconnectionsV1ListAppConnectionsResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
protected $appConnectionsType = GoogleCloudBeyondcorpAppconnectionsV1AppConnection::class;
protected $appConnectionsDataType = 'array';
/**
* A token to retrieve the next page of results, or empty if there are no more
* results in the list.
*
* @var string
*/
public $nextPageToken;
/**
* A list of locations that could not be reached.
*
* @var string[]
*/
public $unreachable;
/**
* A list of BeyondCorp AppConnections in the project.
*
* @param GoogleCloudBeyondcorpAppconnectionsV1AppConnection[] $appConnections
*/
public function setAppConnections($appConnections)
{
$this->appConnections = $appConnections;
}
/**
* @return GoogleCloudBeyondcorpAppconnectionsV1AppConnection[]
*/
public function getAppConnections()
{
return $this->appConnections;
}
/**
* A token to retrieve the next page of results, or empty if there are no more
* results in the list.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* A list of locations that could not be reached.
*
* @param string[] $unreachable
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudBeyondcorpAppconnectionsV1ListAppConnectionsResponse::class, 'Google_Service_BeyondCorp_GoogleCloudBeyondcorpAppconnectionsV1ListAppConnectionsResponse');
@@ -0,0 +1,91 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BeyondCorp;
class GoogleCloudBeyondcorpAppconnectionsV1ResolveAppConnectionsResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
protected $appConnectionDetailsType = GoogleCloudBeyondcorpAppconnectionsV1ResolveAppConnectionsResponseAppConnectionDetails::class;
protected $appConnectionDetailsDataType = 'array';
/**
* A token to retrieve the next page of results, or empty if there are no more
* results in the list.
*
* @var string
*/
public $nextPageToken;
/**
* A list of locations that could not be reached.
*
* @var string[]
*/
public $unreachable;
/**
* A list of BeyondCorp AppConnections with details in the project.
*
* @param GoogleCloudBeyondcorpAppconnectionsV1ResolveAppConnectionsResponseAppConnectionDetails[] $appConnectionDetails
*/
public function setAppConnectionDetails($appConnectionDetails)
{
$this->appConnectionDetails = $appConnectionDetails;
}
/**
* @return GoogleCloudBeyondcorpAppconnectionsV1ResolveAppConnectionsResponseAppConnectionDetails[]
*/
public function getAppConnectionDetails()
{
return $this->appConnectionDetails;
}
/**
* A token to retrieve the next page of results, or empty if there are no more
* results in the list.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* A list of locations that could not be reached.
*
* @param string[] $unreachable
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudBeyondcorpAppconnectionsV1ResolveAppConnectionsResponse::class, 'Google_Service_BeyondCorp_GoogleCloudBeyondcorpAppconnectionsV1ResolveAppConnectionsResponse');
@@ -0,0 +1,71 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BeyondCorp;
class GoogleCloudBeyondcorpAppconnectionsV1ResolveAppConnectionsResponseAppConnectionDetails extends \Google\Collection
{
protected $collection_key = 'recentMigVms';
protected $appConnectionType = GoogleCloudBeyondcorpAppconnectionsV1AppConnection::class;
protected $appConnectionDataType = '';
/**
* If type=GCP_REGIONAL_MIG, contains most recent VM instances, like `https://
* www.googleapis.com/compute/v1/projects/{project_id}/zones/{zone_id}/instanc
* es/{instance_id}`.
*
* @var string[]
*/
public $recentMigVms;
/**
* A BeyondCorp AppConnection in the project.
*
* @param GoogleCloudBeyondcorpAppconnectionsV1AppConnection $appConnection
*/
public function setAppConnection(GoogleCloudBeyondcorpAppconnectionsV1AppConnection $appConnection)
{
$this->appConnection = $appConnection;
}
/**
* @return GoogleCloudBeyondcorpAppconnectionsV1AppConnection
*/
public function getAppConnection()
{
return $this->appConnection;
}
/**
* If type=GCP_REGIONAL_MIG, contains most recent VM instances, like `https://
* www.googleapis.com/compute/v1/projects/{project_id}/zones/{zone_id}/instanc
* es/{instance_id}`.
*
* @param string[] $recentMigVms
*/
public function setRecentMigVms($recentMigVms)
{
$this->recentMigVms = $recentMigVms;
}
/**
* @return string[]
*/
public function getRecentMigVms()
{
return $this->recentMigVms;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudBeyondcorpAppconnectionsV1ResolveAppConnectionsResponseAppConnectionDetails::class, 'Google_Service_BeyondCorp_GoogleCloudBeyondcorpAppconnectionsV1ResolveAppConnectionsResponseAppConnectionDetails');
@@ -0,0 +1,221 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BeyondCorp;
class GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnection extends \Google\Collection
{
protected $collection_key = 'connectors';
protected $applicationEndpointType = GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionApplicationEndpoint::class;
protected $applicationEndpointDataType = '';
/**
* @var string[]
*/
public $connectors;
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $displayName;
protected $gatewayType = GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGateway::class;
protected $gatewayDataType = '';
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $state;
/**
* @var string
*/
public $type;
/**
* @var string
*/
public $uid;
/**
* @var string
*/
public $updateTime;
/**
* @param GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionApplicationEndpoint
*/
public function setApplicationEndpoint(GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionApplicationEndpoint $applicationEndpoint)
{
$this->applicationEndpoint = $applicationEndpoint;
}
/**
* @return GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionApplicationEndpoint
*/
public function getApplicationEndpoint()
{
return $this->applicationEndpoint;
}
/**
* @param string[]
*/
public function setConnectors($connectors)
{
$this->connectors = $connectors;
}
/**
* @return string[]
*/
public function getConnectors()
{
return $this->connectors;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGateway
*/
public function setGateway(GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGateway $gateway)
{
$this->gateway = $gateway;
}
/**
* @return GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGateway
*/
public function getGateway()
{
return $this->gateway;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
/**
* @param string
*/
public function setUid($uid)
{
$this->uid = $uid;
}
/**
* @return string
*/
public function getUid()
{
return $this->uid;
}
/**
* @param string
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnection::class, 'Google_Service_BeyondCorp_GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnection');
@@ -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\BeyondCorp;
class GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionApplicationEndpoint extends \Google\Model
{
/**
* @var string
*/
public $host;
/**
* @var int
*/
public $port;
/**
* @param string
*/
public function setHost($host)
{
$this->host = $host;
}
/**
* @return string
*/
public function getHost()
{
return $this->host;
}
/**
* @param int
*/
public function setPort($port)
{
$this->port = $port;
}
/**
* @return int
*/
public function getPort()
{
return $this->port;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionApplicationEndpoint::class, 'Google_Service_BeyondCorp_GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionApplicationEndpoint');
@@ -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\BeyondCorp;
class GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGateway extends \Google\Model
{
/**
* @var string
*/
public $appGateway;
/**
* @var int
*/
public $ingressPort;
/**
* @var string
*/
public $type;
/**
* @var string
*/
public $uri;
/**
* @param string
*/
public function setAppGateway($appGateway)
{
$this->appGateway = $appGateway;
}
/**
* @return string
*/
public function getAppGateway()
{
return $this->appGateway;
}
/**
* @param int
*/
public function setIngressPort($ingressPort)
{
$this->ingressPort = $ingressPort;
}
/**
* @return int
*/
public function getIngressPort()
{
return $this->ingressPort;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
/**
* @param string
*/
public function setUri($uri)
{
$this->uri = $uri;
}
/**
* @return string
*/
public function getUri()
{
return $this->uri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGateway::class, 'Google_Service_BeyondCorp_GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGateway');
@@ -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\BeyondCorp;
class GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionOperationMetadata extends \Google\Model
{
/**
* Output only. API version used to start the operation.
*
* @var string
*/
public $apiVersion;
/**
* Output only. The time the operation was created.
*
* @var string
*/
public $createTime;
/**
* Output only. The time the operation finished running.
*
* @var string
*/
public $endTime;
/**
* Output only. Identifies whether the user has requested cancellation of the
* operation. Operations that have successfully been cancelled have
* google.longrunning.Operation.error value with a google.rpc.Status.code of
* 1, corresponding to `Code.CANCELLED`.
*
* @var bool
*/
public $requestedCancellation;
/**
* Output only. Human-readable status of the operation, if any.
*
* @var string
*/
public $statusMessage;
/**
* Output only. Server-defined resource path for the target of the operation.
*
* @var string
*/
public $target;
/**
* Output only. Name of the verb executed by the operation.
*
* @var string
*/
public $verb;
/**
* Output only. API version used to start the operation.
*
* @param string $apiVersion
*/
public function setApiVersion($apiVersion)
{
$this->apiVersion = $apiVersion;
}
/**
* @return string
*/
public function getApiVersion()
{
return $this->apiVersion;
}
/**
* Output only. The time the operation was created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Output only. The time the operation finished running.
*
* @param string $endTime
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* Output only. Identifies whether the user has requested cancellation of the
* operation. Operations that have successfully been cancelled have
* google.longrunning.Operation.error value with a google.rpc.Status.code of
* 1, corresponding to `Code.CANCELLED`.
*
* @param bool $requestedCancellation
*/
public function setRequestedCancellation($requestedCancellation)
{
$this->requestedCancellation = $requestedCancellation;
}
/**
* @return bool
*/
public function getRequestedCancellation()
{
return $this->requestedCancellation;
}
/**
* Output only. Human-readable status of the operation, if any.
*
* @param string $statusMessage
*/
public function setStatusMessage($statusMessage)
{
$this->statusMessage = $statusMessage;
}
/**
* @return string
*/
public function getStatusMessage()
{
return $this->statusMessage;
}
/**
* Output only. Server-defined resource path for the target of the operation.
*
* @param string $target
*/
public function setTarget($target)
{
$this->target = $target;
}
/**
* @return string
*/
public function getTarget()
{
return $this->target;
}
/**
* Output only. Name of the verb executed by the operation.
*
* @param string $verb
*/
public function setVerb($verb)
{
$this->verb = $verb;
}
/**
* @return string
*/
public function getVerb()
{
return $this->verb;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionOperationMetadata::class, 'Google_Service_BeyondCorp_GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionOperationMetadata');
@@ -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\BeyondCorp;
class GoogleCloudBeyondcorpAppconnectionsV1alphaListAppConnectionsResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
protected $appConnectionsType = GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnection::class;
protected $appConnectionsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @var string[]
*/
public $unreachable;
/**
* @param GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnection[]
*/
public function setAppConnections($appConnections)
{
$this->appConnections = $appConnections;
}
/**
* @return GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnection[]
*/
public function getAppConnections()
{
return $this->appConnections;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param string[]
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudBeyondcorpAppconnectionsV1alphaListAppConnectionsResponse::class, 'Google_Service_BeyondCorp_GoogleCloudBeyondcorpAppconnectionsV1alphaListAppConnectionsResponse');
@@ -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\BeyondCorp;
class GoogleCloudBeyondcorpAppconnectionsV1alphaResolveAppConnectionsResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
protected $appConnectionDetailsType = GoogleCloudBeyondcorpAppconnectionsV1alphaResolveAppConnectionsResponseAppConnectionDetails::class;
protected $appConnectionDetailsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @var string[]
*/
public $unreachable;
/**
* @param GoogleCloudBeyondcorpAppconnectionsV1alphaResolveAppConnectionsResponseAppConnectionDetails[]
*/
public function setAppConnectionDetails($appConnectionDetails)
{
$this->appConnectionDetails = $appConnectionDetails;
}
/**
* @return GoogleCloudBeyondcorpAppconnectionsV1alphaResolveAppConnectionsResponseAppConnectionDetails[]
*/
public function getAppConnectionDetails()
{
return $this->appConnectionDetails;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param string[]
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudBeyondcorpAppconnectionsV1alphaResolveAppConnectionsResponse::class, 'Google_Service_BeyondCorp_GoogleCloudBeyondcorpAppconnectionsV1alphaResolveAppConnectionsResponse');
@@ -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\BeyondCorp;
class GoogleCloudBeyondcorpAppconnectionsV1alphaResolveAppConnectionsResponseAppConnectionDetails extends \Google\Collection
{
protected $collection_key = 'recentMigVms';
protected $appConnectionType = GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnection::class;
protected $appConnectionDataType = '';
/**
* @var string[]
*/
public $recentMigVms;
/**
* @param GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnection
*/
public function setAppConnection(GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnection $appConnection)
{
$this->appConnection = $appConnection;
}
/**
* @return GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnection
*/
public function getAppConnection()
{
return $this->appConnection;
}
/**
* @param string[]
*/
public function setRecentMigVms($recentMigVms)
{
$this->recentMigVms = $recentMigVms;
}
/**
* @return string[]
*/
public function getRecentMigVms()
{
return $this->recentMigVms;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudBeyondcorpAppconnectionsV1alphaResolveAppConnectionsResponseAppConnectionDetails::class, 'Google_Service_BeyondCorp_GoogleCloudBeyondcorpAppconnectionsV1alphaResolveAppConnectionsResponseAppConnectionDetails');
@@ -0,0 +1,248 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BeyondCorp;
class GoogleCloudBeyondcorpAppconnectorsV1AppConnector extends \Google\Model
{
/**
* Default value. This value is unused.
*/
public const STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
/**
* AppConnector is being created.
*/
public const STATE_CREATING = 'CREATING';
/**
* AppConnector has been created.
*/
public const STATE_CREATED = 'CREATED';
/**
* AppConnector's configuration is being updated.
*/
public const STATE_UPDATING = 'UPDATING';
/**
* AppConnector is being deleted.
*/
public const STATE_DELETING = 'DELETING';
/**
* AppConnector is down and may be restored in the future. This happens when
* CCFE sends ProjectState = OFF.
*/
public const STATE_DOWN = 'DOWN';
/**
* Output only. Timestamp when the resource was created.
*
* @var string
*/
public $createTime;
/**
* Optional. An arbitrary user-provided name for the AppConnector. Cannot
* exceed 64 characters.
*
* @var string
*/
public $displayName;
/**
* Optional. Resource labels to represent user provided metadata.
*
* @var string[]
*/
public $labels;
/**
* Required. Unique resource name of the AppConnector. The name is ignored
* when creating a AppConnector.
*
* @var string
*/
public $name;
protected $principalInfoType = GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfo::class;
protected $principalInfoDataType = '';
protected $resourceInfoType = GoogleCloudBeyondcorpAppconnectorsV1ResourceInfo::class;
protected $resourceInfoDataType = '';
/**
* Output only. The current state of the AppConnector.
*
* @var string
*/
public $state;
/**
* Output only. A unique identifier for the instance generated by the system.
*
* @var string
*/
public $uid;
/**
* Output only. Timestamp when the resource was last modified.
*
* @var string
*/
public $updateTime;
/**
* Output only. Timestamp when the resource was created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Optional. An arbitrary user-provided name for the AppConnector. Cannot
* exceed 64 characters.
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* Optional. Resource labels to represent user provided metadata.
*
* @param string[] $labels
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* Required. Unique resource name of the AppConnector. The name is ignored
* when creating a AppConnector.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Required. Principal information about the Identity of the AppConnector.
*
* @param GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfo $principalInfo
*/
public function setPrincipalInfo(GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfo $principalInfo)
{
$this->principalInfo = $principalInfo;
}
/**
* @return GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfo
*/
public function getPrincipalInfo()
{
return $this->principalInfo;
}
/**
* Optional. Resource info of the connector.
*
* @param GoogleCloudBeyondcorpAppconnectorsV1ResourceInfo $resourceInfo
*/
public function setResourceInfo(GoogleCloudBeyondcorpAppconnectorsV1ResourceInfo $resourceInfo)
{
$this->resourceInfo = $resourceInfo;
}
/**
* @return GoogleCloudBeyondcorpAppconnectorsV1ResourceInfo
*/
public function getResourceInfo()
{
return $this->resourceInfo;
}
/**
* Output only. The current state of the AppConnector.
*
* Accepted values: STATE_UNSPECIFIED, CREATING, CREATED, UPDATING, DELETING,
* DOWN
*
* @param self::STATE_* $state
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return self::STATE_*
*/
public function getState()
{
return $this->state;
}
/**
* Output only. A unique identifier for the instance generated by the system.
*
* @param string $uid
*/
public function setUid($uid)
{
$this->uid = $uid;
}
/**
* @return string
*/
public function getUid()
{
return $this->uid;
}
/**
* Output only. Timestamp when the resource was last modified.
*
* @param string $updateTime
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudBeyondcorpAppconnectorsV1AppConnector::class, 'Google_Service_BeyondCorp_GoogleCloudBeyondcorpAppconnectorsV1AppConnector');
@@ -0,0 +1,112 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BeyondCorp;
class GoogleCloudBeyondcorpAppconnectorsV1AppConnectorInstanceConfig extends \Google\Model
{
protected $imageConfigType = GoogleCloudBeyondcorpAppconnectorsV1ImageConfig::class;
protected $imageConfigDataType = '';
/**
* The SLM instance agent configuration.
*
* @var array[]
*/
public $instanceConfig;
protected $notificationConfigType = GoogleCloudBeyondcorpAppconnectorsV1NotificationConfig::class;
protected $notificationConfigDataType = '';
/**
* Required. A monotonically increasing number generated and maintained by the
* API provider. Every time a config changes in the backend, the
* sequenceNumber should be bumped up to reflect the change.
*
* @var string
*/
public $sequenceNumber;
/**
* ImageConfig defines the GCR images to run for the remote agent's control
* plane.
*
* @param GoogleCloudBeyondcorpAppconnectorsV1ImageConfig $imageConfig
*/
public function setImageConfig(GoogleCloudBeyondcorpAppconnectorsV1ImageConfig $imageConfig)
{
$this->imageConfig = $imageConfig;
}
/**
* @return GoogleCloudBeyondcorpAppconnectorsV1ImageConfig
*/
public function getImageConfig()
{
return $this->imageConfig;
}
/**
* The SLM instance agent configuration.
*
* @param array[] $instanceConfig
*/
public function setInstanceConfig($instanceConfig)
{
$this->instanceConfig = $instanceConfig;
}
/**
* @return array[]
*/
public function getInstanceConfig()
{
return $this->instanceConfig;
}
/**
* NotificationConfig defines the notification mechanism that the remote
* instance should subscribe to in order to receive notification.
*
* @param GoogleCloudBeyondcorpAppconnectorsV1NotificationConfig $notificationConfig
*/
public function setNotificationConfig(GoogleCloudBeyondcorpAppconnectorsV1NotificationConfig $notificationConfig)
{
$this->notificationConfig = $notificationConfig;
}
/**
* @return GoogleCloudBeyondcorpAppconnectorsV1NotificationConfig
*/
public function getNotificationConfig()
{
return $this->notificationConfig;
}
/**
* Required. A monotonically increasing number generated and maintained by the
* API provider. Every time a config changes in the backend, the
* sequenceNumber should be bumped up to reflect the change.
*
* @param string $sequenceNumber
*/
public function setSequenceNumber($sequenceNumber)
{
$this->sequenceNumber = $sequenceNumber;
}
/**
* @return string
*/
public function getSequenceNumber()
{
return $this->sequenceNumber;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudBeyondcorpAppconnectorsV1AppConnectorInstanceConfig::class, 'Google_Service_BeyondCorp_GoogleCloudBeyondcorpAppconnectorsV1AppConnectorInstanceConfig');
@@ -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\BeyondCorp;
class GoogleCloudBeyondcorpAppconnectorsV1AppConnectorOperationMetadata extends \Google\Model
{
/**
* Output only. API version used to start the operation.
*
* @var string
*/
public $apiVersion;
/**
* Output only. The time the operation was created.
*
* @var string
*/
public $createTime;
/**
* Output only. The time the operation finished running.
*
* @var string
*/
public $endTime;
/**
* Output only. Identifies whether the user has requested cancellation of the
* operation. Operations that have successfully been cancelled have
* google.longrunning.Operation.error value with a google.rpc.Status.code of
* `1`, corresponding to `Code.CANCELLED`.
*
* @var bool
*/
public $requestedCancellation;
/**
* Output only. Human-readable status of the operation, if any.
*
* @var string
*/
public $statusMessage;
/**
* Output only. Server-defined resource path for the target of the operation.
*
* @var string
*/
public $target;
/**
* Output only. Name of the verb executed by the operation.
*
* @var string
*/
public $verb;
/**
* Output only. API version used to start the operation.
*
* @param string $apiVersion
*/
public function setApiVersion($apiVersion)
{
$this->apiVersion = $apiVersion;
}
/**
* @return string
*/
public function getApiVersion()
{
return $this->apiVersion;
}
/**
* Output only. The time the operation was created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Output only. The time the operation finished running.
*
* @param string $endTime
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* Output only. Identifies whether the user has requested cancellation of the
* operation. Operations that have successfully been cancelled have
* google.longrunning.Operation.error value with a google.rpc.Status.code of
* `1`, corresponding to `Code.CANCELLED`.
*
* @param bool $requestedCancellation
*/
public function setRequestedCancellation($requestedCancellation)
{
$this->requestedCancellation = $requestedCancellation;
}
/**
* @return bool
*/
public function getRequestedCancellation()
{
return $this->requestedCancellation;
}
/**
* Output only. Human-readable status of the operation, if any.
*
* @param string $statusMessage
*/
public function setStatusMessage($statusMessage)
{
$this->statusMessage = $statusMessage;
}
/**
* @return string
*/
public function getStatusMessage()
{
return $this->statusMessage;
}
/**
* Output only. Server-defined resource path for the target of the operation.
*
* @param string $target
*/
public function setTarget($target)
{
$this->target = $target;
}
/**
* @return string
*/
public function getTarget()
{
return $this->target;
}
/**
* Output only. Name of the verb executed by the operation.
*
* @param string $verb
*/
public function setVerb($verb)
{
$this->verb = $verb;
}
/**
* @return string
*/
public function getVerb()
{
return $this->verb;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudBeyondcorpAppconnectorsV1AppConnectorOperationMetadata::class, 'Google_Service_BeyondCorp_GoogleCloudBeyondcorpAppconnectorsV1AppConnectorOperationMetadata');
@@ -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\BeyondCorp;
class GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfo extends \Google\Model
{
protected $serviceAccountType = GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfoServiceAccount::class;
protected $serviceAccountDataType = '';
/**
* A GCP service account.
*
* @param GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfoServiceAccount $serviceAccount
*/
public function setServiceAccount(GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfoServiceAccount $serviceAccount)
{
$this->serviceAccount = $serviceAccount;
}
/**
* @return GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfoServiceAccount
*/
public function getServiceAccount()
{
return $this->serviceAccount;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfo::class, 'Google_Service_BeyondCorp_GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfo');
@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BeyondCorp;
class GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfoServiceAccount extends \Google\Model
{
/**
* Email address of the service account.
*
* @var string
*/
public $email;
/**
* Email address of the service account.
*
* @param string $email
*/
public function setEmail($email)
{
$this->email = $email;
}
/**
* @return string
*/
public function getEmail()
{
return $this->email;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfoServiceAccount::class, 'Google_Service_BeyondCorp_GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfoServiceAccount');
@@ -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\BeyondCorp;
class GoogleCloudBeyondcorpAppconnectorsV1ContainerHealthDetails extends \Google\Model
{
/**
* The version of the current config.
*
* @var string
*/
public $currentConfigVersion;
/**
* The latest error message.
*
* @var string
*/
public $errorMsg;
/**
* The version of the expected config.
*
* @var string
*/
public $expectedConfigVersion;
/**
* The extended status. Such as ExitCode, StartedAt, FinishedAt, etc.
*
* @var string[]
*/
public $extendedStatus;
/**
* The version of the current config.
*
* @param string $currentConfigVersion
*/
public function setCurrentConfigVersion($currentConfigVersion)
{
$this->currentConfigVersion = $currentConfigVersion;
}
/**
* @return string
*/
public function getCurrentConfigVersion()
{
return $this->currentConfigVersion;
}
/**
* The latest error message.
*
* @param string $errorMsg
*/
public function setErrorMsg($errorMsg)
{
$this->errorMsg = $errorMsg;
}
/**
* @return string
*/
public function getErrorMsg()
{
return $this->errorMsg;
}
/**
* The version of the expected config.
*
* @param string $expectedConfigVersion
*/
public function setExpectedConfigVersion($expectedConfigVersion)
{
$this->expectedConfigVersion = $expectedConfigVersion;
}
/**
* @return string
*/
public function getExpectedConfigVersion()
{
return $this->expectedConfigVersion;
}
/**
* The extended status. Such as ExitCode, StartedAt, FinishedAt, etc.
*
* @param string[] $extendedStatus
*/
public function setExtendedStatus($extendedStatus)
{
$this->extendedStatus = $extendedStatus;
}
/**
* @return string[]
*/
public function getExtendedStatus()
{
return $this->extendedStatus;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudBeyondcorpAppconnectorsV1ContainerHealthDetails::class, 'Google_Service_BeyondCorp_GoogleCloudBeyondcorpAppconnectorsV1ContainerHealthDetails');
@@ -0,0 +1,78 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BeyondCorp;
class GoogleCloudBeyondcorpAppconnectorsV1ImageConfig extends \Google\Model
{
/**
* The stable image that the remote agent will fallback to if the target image
* fails. Format would be a gcr image path, e.g.: gcr.io/PROJECT-ID/my-
* image:tag1
*
* @var string
*/
public $stableImage;
/**
* The initial image the remote agent will attempt to run for the control
* plane. Format would be a gcr image path, e.g.: gcr.io/PROJECT-ID/my-
* image:tag1
*
* @var string
*/
public $targetImage;
/**
* The stable image that the remote agent will fallback to if the target image
* fails. Format would be a gcr image path, e.g.: gcr.io/PROJECT-ID/my-
* image:tag1
*
* @param string $stableImage
*/
public function setStableImage($stableImage)
{
$this->stableImage = $stableImage;
}
/**
* @return string
*/
public function getStableImage()
{
return $this->stableImage;
}
/**
* The initial image the remote agent will attempt to run for the control
* plane. Format would be a gcr image path, e.g.: gcr.io/PROJECT-ID/my-
* image:tag1
*
* @param string $targetImage
*/
public function setTargetImage($targetImage)
{
$this->targetImage = $targetImage;
}
/**
* @return string
*/
public function getTargetImage()
{
return $this->targetImage;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudBeyondcorpAppconnectorsV1ImageConfig::class, 'Google_Service_BeyondCorp_GoogleCloudBeyondcorpAppconnectorsV1ImageConfig');
@@ -0,0 +1,91 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BeyondCorp;
class GoogleCloudBeyondcorpAppconnectorsV1ListAppConnectorsResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
protected $appConnectorsType = GoogleCloudBeyondcorpAppconnectorsV1AppConnector::class;
protected $appConnectorsDataType = 'array';
/**
* A token to retrieve the next page of results, or empty if there are no more
* results in the list.
*
* @var string
*/
public $nextPageToken;
/**
* A list of locations that could not be reached.
*
* @var string[]
*/
public $unreachable;
/**
* A list of BeyondCorp AppConnectors in the project.
*
* @param GoogleCloudBeyondcorpAppconnectorsV1AppConnector[] $appConnectors
*/
public function setAppConnectors($appConnectors)
{
$this->appConnectors = $appConnectors;
}
/**
* @return GoogleCloudBeyondcorpAppconnectorsV1AppConnector[]
*/
public function getAppConnectors()
{
return $this->appConnectors;
}
/**
* A token to retrieve the next page of results, or empty if there are no more
* results in the list.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* A list of locations that could not be reached.
*
* @param string[] $unreachable
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudBeyondcorpAppconnectorsV1ListAppConnectorsResponse::class, 'Google_Service_BeyondCorp_GoogleCloudBeyondcorpAppconnectorsV1ListAppConnectorsResponse');
@@ -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\BeyondCorp;
class GoogleCloudBeyondcorpAppconnectorsV1NotificationConfig extends \Google\Model
{
protected $pubsubNotificationType = GoogleCloudBeyondcorpAppconnectorsV1NotificationConfigCloudPubSubNotificationConfig::class;
protected $pubsubNotificationDataType = '';
/**
* Cloud Pub/Sub Configuration to receive notifications.
*
* @param GoogleCloudBeyondcorpAppconnectorsV1NotificationConfigCloudPubSubNotificationConfig $pubsubNotification
*/
public function setPubsubNotification(GoogleCloudBeyondcorpAppconnectorsV1NotificationConfigCloudPubSubNotificationConfig $pubsubNotification)
{
$this->pubsubNotification = $pubsubNotification;
}
/**
* @return GoogleCloudBeyondcorpAppconnectorsV1NotificationConfigCloudPubSubNotificationConfig
*/
public function getPubsubNotification()
{
return $this->pubsubNotification;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudBeyondcorpAppconnectorsV1NotificationConfig::class, 'Google_Service_BeyondCorp_GoogleCloudBeyondcorpAppconnectorsV1NotificationConfig');
@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BeyondCorp;
class GoogleCloudBeyondcorpAppconnectorsV1NotificationConfigCloudPubSubNotificationConfig extends \Google\Model
{
/**
* The Pub/Sub subscription the AppConnector uses to receive notifications.
*
* @var string
*/
public $pubsubSubscription;
/**
* The Pub/Sub subscription the AppConnector uses to receive notifications.
*
* @param string $pubsubSubscription
*/
public function setPubsubSubscription($pubsubSubscription)
{
$this->pubsubSubscription = $pubsubSubscription;
}
/**
* @return string
*/
public function getPubsubSubscription()
{
return $this->pubsubSubscription;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudBeyondcorpAppconnectorsV1NotificationConfigCloudPubSubNotificationConfig::class, 'Google_Service_BeyondCorp_GoogleCloudBeyondcorpAppconnectorsV1NotificationConfigCloudPubSubNotificationConfig');
@@ -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\BeyondCorp;
class GoogleCloudBeyondcorpAppconnectorsV1RemoteAgentDetails extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudBeyondcorpAppconnectorsV1RemoteAgentDetails::class, 'Google_Service_BeyondCorp_GoogleCloudBeyondcorpAppconnectorsV1RemoteAgentDetails');
@@ -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\BeyondCorp;
class GoogleCloudBeyondcorpAppconnectorsV1ReportStatusRequest extends \Google\Model
{
/**
* Optional. An optional request ID to identify requests. Specify a unique
* request ID so that if you must retry your request, the server will know to
* ignore the request if it has already been completed. The server will
* guarantee that for at least 60 minutes since the first request. For
* example, consider a situation where you make an initial request and the
* request times out. If you make the request again with the same request ID,
* the server can check if original operation with the same request ID was
* received, and if so, will ignore the second request. This prevents clients
* from accidentally creating duplicate commitments. The request ID must be a
* valid UUID with the exception that zero UUID is not supported
* (00000000-0000-0000-0000-000000000000).
*
* @var string
*/
public $requestId;
protected $resourceInfoType = GoogleCloudBeyondcorpAppconnectorsV1ResourceInfo::class;
protected $resourceInfoDataType = '';
/**
* Optional. If set, validates request by executing a dry-run which would not
* alter the resource in any way.
*
* @var bool
*/
public $validateOnly;
/**
* Optional. An optional request ID to identify requests. Specify a unique
* request ID so that if you must retry your request, the server will know to
* ignore the request if it has already been completed. The server will
* guarantee that for at least 60 minutes since the first request. For
* example, consider a situation where you make an initial request and the
* request times out. If you make the request again with the same request ID,
* the server can check if original operation with the same request ID was
* received, and if so, will ignore the second request. This prevents clients
* from accidentally creating duplicate commitments. The request ID must be a
* valid UUID with the exception that zero UUID is not supported
* (00000000-0000-0000-0000-000000000000).
*
* @param string $requestId
*/
public function setRequestId($requestId)
{
$this->requestId = $requestId;
}
/**
* @return string
*/
public function getRequestId()
{
return $this->requestId;
}
/**
* Required. Resource info of the connector.
*
* @param GoogleCloudBeyondcorpAppconnectorsV1ResourceInfo $resourceInfo
*/
public function setResourceInfo(GoogleCloudBeyondcorpAppconnectorsV1ResourceInfo $resourceInfo)
{
$this->resourceInfo = $resourceInfo;
}
/**
* @return GoogleCloudBeyondcorpAppconnectorsV1ResourceInfo
*/
public function getResourceInfo()
{
return $this->resourceInfo;
}
/**
* Optional. If set, validates request by executing a dry-run which would not
* alter the resource in any way.
*
* @param bool $validateOnly
*/
public function setValidateOnly($validateOnly)
{
$this->validateOnly = $validateOnly;
}
/**
* @return bool
*/
public function getValidateOnly()
{
return $this->validateOnly;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudBeyondcorpAppconnectorsV1ReportStatusRequest::class, 'Google_Service_BeyondCorp_GoogleCloudBeyondcorpAppconnectorsV1ReportStatusRequest');
@@ -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\BeyondCorp;
class GoogleCloudBeyondcorpAppconnectorsV1ResolveInstanceConfigResponse extends \Google\Model
{
protected $instanceConfigType = GoogleCloudBeyondcorpAppconnectorsV1AppConnectorInstanceConfig::class;
protected $instanceConfigDataType = '';
/**
* AppConnectorInstanceConfig.
*
* @param GoogleCloudBeyondcorpAppconnectorsV1AppConnectorInstanceConfig $instanceConfig
*/
public function setInstanceConfig(GoogleCloudBeyondcorpAppconnectorsV1AppConnectorInstanceConfig $instanceConfig)
{
$this->instanceConfig = $instanceConfig;
}
/**
* @return GoogleCloudBeyondcorpAppconnectorsV1AppConnectorInstanceConfig
*/
public function getInstanceConfig()
{
return $this->instanceConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudBeyondcorpAppconnectorsV1ResolveInstanceConfigResponse::class, 'Google_Service_BeyondCorp_GoogleCloudBeyondcorpAppconnectorsV1ResolveInstanceConfigResponse');
@@ -0,0 +1,160 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BeyondCorp;
class GoogleCloudBeyondcorpAppconnectorsV1ResourceInfo extends \Google\Collection
{
/**
* Health status is unknown: not initialized or failed to retrieve.
*/
public const STATUS_HEALTH_STATUS_UNSPECIFIED = 'HEALTH_STATUS_UNSPECIFIED';
/**
* The resource is healthy.
*/
public const STATUS_HEALTHY = 'HEALTHY';
/**
* The resource is unhealthy.
*/
public const STATUS_UNHEALTHY = 'UNHEALTHY';
/**
* The resource is unresponsive.
*/
public const STATUS_UNRESPONSIVE = 'UNRESPONSIVE';
/**
* Some sub-resources are UNHEALTHY.
*/
public const STATUS_DEGRADED = 'DEGRADED';
protected $collection_key = 'sub';
/**
* Required. Unique Id for the resource.
*
* @var string
*/
public $id;
/**
* Specific details for the resource. This is for internal use only.
*
* @var array[]
*/
public $resource;
/**
* Overall health status. Overall status is derived based on the status of
* each sub level resources.
*
* @var string
*/
public $status;
protected $subType = GoogleCloudBeyondcorpAppconnectorsV1ResourceInfo::class;
protected $subDataType = 'array';
/**
* The timestamp to collect the info. It is suggested to be set by the topmost
* level resource only.
*
* @var string
*/
public $time;
/**
* Required. Unique Id for the resource.
*
* @param string $id
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* Specific details for the resource. This is for internal use only.
*
* @param array[] $resource
*/
public function setResource($resource)
{
$this->resource = $resource;
}
/**
* @return array[]
*/
public function getResource()
{
return $this->resource;
}
/**
* Overall health status. Overall status is derived based on the status of
* each sub level resources.
*
* Accepted values: HEALTH_STATUS_UNSPECIFIED, HEALTHY, UNHEALTHY,
* UNRESPONSIVE, DEGRADED
*
* @param self::STATUS_* $status
*/
public function setStatus($status)
{
$this->status = $status;
}
/**
* @return self::STATUS_*
*/
public function getStatus()
{
return $this->status;
}
/**
* List of Info for the sub level resources.
*
* @param GoogleCloudBeyondcorpAppconnectorsV1ResourceInfo[] $sub
*/
public function setSub($sub)
{
$this->sub = $sub;
}
/**
* @return GoogleCloudBeyondcorpAppconnectorsV1ResourceInfo[]
*/
public function getSub()
{
return $this->sub;
}
/**
* The timestamp to collect the info. It is suggested to be set by the topmost
* level resource only.
*
* @param string $time
*/
public function setTime($time)
{
$this->time = $time;
}
/**
* @return string
*/
public function getTime()
{
return $this->time;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudBeyondcorpAppconnectorsV1ResourceInfo::class, 'Google_Service_BeyondCorp_GoogleCloudBeyondcorpAppconnectorsV1ResourceInfo');
@@ -0,0 +1,184 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BeyondCorp;
class GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnector extends \Google\Model
{
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $displayName;
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $name;
protected $principalInfoType = GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfo::class;
protected $principalInfoDataType = '';
protected $resourceInfoType = GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfo::class;
protected $resourceInfoDataType = '';
/**
* @var string
*/
public $state;
/**
* @var string
*/
public $uid;
/**
* @var string
*/
public $updateTime;
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @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 setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfo
*/
public function setPrincipalInfo(GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfo $principalInfo)
{
$this->principalInfo = $principalInfo;
}
/**
* @return GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfo
*/
public function getPrincipalInfo()
{
return $this->principalInfo;
}
/**
* @param GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfo
*/
public function setResourceInfo(GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfo $resourceInfo)
{
$this->resourceInfo = $resourceInfo;
}
/**
* @return GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfo
*/
public function getResourceInfo()
{
return $this->resourceInfo;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param string
*/
public function setUid($uid)
{
$this->uid = $uid;
}
/**
* @return string
*/
public function getUid()
{
return $this->uid;
}
/**
* @param string
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnector::class, 'Google_Service_BeyondCorp_GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnector');
@@ -0,0 +1,94 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BeyondCorp;
class GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorInstanceConfig extends \Google\Model
{
protected $imageConfigType = GoogleCloudBeyondcorpAppconnectorsV1alphaImageConfig::class;
protected $imageConfigDataType = '';
/**
* @var array[]
*/
public $instanceConfig;
protected $notificationConfigType = GoogleCloudBeyondcorpAppconnectorsV1alphaNotificationConfig::class;
protected $notificationConfigDataType = '';
/**
* @var string
*/
public $sequenceNumber;
/**
* @param GoogleCloudBeyondcorpAppconnectorsV1alphaImageConfig
*/
public function setImageConfig(GoogleCloudBeyondcorpAppconnectorsV1alphaImageConfig $imageConfig)
{
$this->imageConfig = $imageConfig;
}
/**
* @return GoogleCloudBeyondcorpAppconnectorsV1alphaImageConfig
*/
public function getImageConfig()
{
return $this->imageConfig;
}
/**
* @param array[]
*/
public function setInstanceConfig($instanceConfig)
{
$this->instanceConfig = $instanceConfig;
}
/**
* @return array[]
*/
public function getInstanceConfig()
{
return $this->instanceConfig;
}
/**
* @param GoogleCloudBeyondcorpAppconnectorsV1alphaNotificationConfig
*/
public function setNotificationConfig(GoogleCloudBeyondcorpAppconnectorsV1alphaNotificationConfig $notificationConfig)
{
$this->notificationConfig = $notificationConfig;
}
/**
* @return GoogleCloudBeyondcorpAppconnectorsV1alphaNotificationConfig
*/
public function getNotificationConfig()
{
return $this->notificationConfig;
}
/**
* @param string
*/
public function setSequenceNumber($sequenceNumber)
{
$this->sequenceNumber = $sequenceNumber;
}
/**
* @return string
*/
public function getSequenceNumber()
{
return $this->sequenceNumber;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorInstanceConfig::class, 'Google_Service_BeyondCorp_GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorInstanceConfig');
@@ -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\BeyondCorp;
class GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorOperationMetadata extends \Google\Model
{
/**
* Output only. API version used to start the operation.
*
* @var string
*/
public $apiVersion;
/**
* Output only. The time the operation was created.
*
* @var string
*/
public $createTime;
/**
* Output only. The time the operation finished running.
*
* @var string
*/
public $endTime;
/**
* Output only. Identifies whether the user has requested cancellation of the
* operation. Operations that have successfully been cancelled have
* google.longrunning.Operation.error value with a google.rpc.Status.code of
* `1`, corresponding to `Code.CANCELLED`.
*
* @var bool
*/
public $requestedCancellation;
/**
* Output only. Human-readable status of the operation, if any.
*
* @var string
*/
public $statusMessage;
/**
* Output only. Server-defined resource path for the target of the operation.
*
* @var string
*/
public $target;
/**
* Output only. Name of the verb executed by the operation.
*
* @var string
*/
public $verb;
/**
* Output only. API version used to start the operation.
*
* @param string $apiVersion
*/
public function setApiVersion($apiVersion)
{
$this->apiVersion = $apiVersion;
}
/**
* @return string
*/
public function getApiVersion()
{
return $this->apiVersion;
}
/**
* Output only. The time the operation was created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Output only. The time the operation finished running.
*
* @param string $endTime
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* Output only. Identifies whether the user has requested cancellation of the
* operation. Operations that have successfully been cancelled have
* google.longrunning.Operation.error value with a google.rpc.Status.code of
* `1`, corresponding to `Code.CANCELLED`.
*
* @param bool $requestedCancellation
*/
public function setRequestedCancellation($requestedCancellation)
{
$this->requestedCancellation = $requestedCancellation;
}
/**
* @return bool
*/
public function getRequestedCancellation()
{
return $this->requestedCancellation;
}
/**
* Output only. Human-readable status of the operation, if any.
*
* @param string $statusMessage
*/
public function setStatusMessage($statusMessage)
{
$this->statusMessage = $statusMessage;
}
/**
* @return string
*/
public function getStatusMessage()
{
return $this->statusMessage;
}
/**
* Output only. Server-defined resource path for the target of the operation.
*
* @param string $target
*/
public function setTarget($target)
{
$this->target = $target;
}
/**
* @return string
*/
public function getTarget()
{
return $this->target;
}
/**
* Output only. Name of the verb executed by the operation.
*
* @param string $verb
*/
public function setVerb($verb)
{
$this->verb = $verb;
}
/**
* @return string
*/
public function getVerb()
{
return $this->verb;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorOperationMetadata::class, 'Google_Service_BeyondCorp_GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorOperationMetadata');
@@ -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\BeyondCorp;
class GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfo extends \Google\Model
{
protected $serviceAccountType = GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfoServiceAccount::class;
protected $serviceAccountDataType = '';
/**
* @param GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfoServiceAccount
*/
public function setServiceAccount(GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfoServiceAccount $serviceAccount)
{
$this->serviceAccount = $serviceAccount;
}
/**
* @return GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfoServiceAccount
*/
public function getServiceAccount()
{
return $this->serviceAccount;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfo::class, 'Google_Service_BeyondCorp_GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfo');
@@ -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\BeyondCorp;
class GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfoServiceAccount extends \Google\Model
{
/**
* @var string
*/
public $email;
/**
* @param string
*/
public function setEmail($email)
{
$this->email = $email;
}
/**
* @return string
*/
public function getEmail()
{
return $this->email;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfoServiceAccount::class, 'Google_Service_BeyondCorp_GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfoServiceAccount');
@@ -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\BeyondCorp;
class GoogleCloudBeyondcorpAppconnectorsV1alphaContainerHealthDetails extends \Google\Model
{
/**
* The version of the current config.
*
* @var string
*/
public $currentConfigVersion;
/**
* The latest error message.
*
* @var string
*/
public $errorMsg;
/**
* The version of the expected config.
*
* @var string
*/
public $expectedConfigVersion;
/**
* The extended status. Such as ExitCode, StartedAt, FinishedAt, etc.
*
* @var string[]
*/
public $extendedStatus;
/**
* The version of the current config.
*
* @param string $currentConfigVersion
*/
public function setCurrentConfigVersion($currentConfigVersion)
{
$this->currentConfigVersion = $currentConfigVersion;
}
/**
* @return string
*/
public function getCurrentConfigVersion()
{
return $this->currentConfigVersion;
}
/**
* The latest error message.
*
* @param string $errorMsg
*/
public function setErrorMsg($errorMsg)
{
$this->errorMsg = $errorMsg;
}
/**
* @return string
*/
public function getErrorMsg()
{
return $this->errorMsg;
}
/**
* The version of the expected config.
*
* @param string $expectedConfigVersion
*/
public function setExpectedConfigVersion($expectedConfigVersion)
{
$this->expectedConfigVersion = $expectedConfigVersion;
}
/**
* @return string
*/
public function getExpectedConfigVersion()
{
return $this->expectedConfigVersion;
}
/**
* The extended status. Such as ExitCode, StartedAt, FinishedAt, etc.
*
* @param string[] $extendedStatus
*/
public function setExtendedStatus($extendedStatus)
{
$this->extendedStatus = $extendedStatus;
}
/**
* @return string[]
*/
public function getExtendedStatus()
{
return $this->extendedStatus;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudBeyondcorpAppconnectorsV1alphaContainerHealthDetails::class, 'Google_Service_BeyondCorp_GoogleCloudBeyondcorpAppconnectorsV1alphaContainerHealthDetails');
@@ -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\BeyondCorp;
class GoogleCloudBeyondcorpAppconnectorsV1alphaImageConfig extends \Google\Model
{
/**
* @var string
*/
public $stableImage;
/**
* @var string
*/
public $targetImage;
/**
* @param string
*/
public function setStableImage($stableImage)
{
$this->stableImage = $stableImage;
}
/**
* @return string
*/
public function getStableImage()
{
return $this->stableImage;
}
/**
* @param string
*/
public function setTargetImage($targetImage)
{
$this->targetImage = $targetImage;
}
/**
* @return string
*/
public function getTargetImage()
{
return $this->targetImage;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudBeyondcorpAppconnectorsV1alphaImageConfig::class, 'Google_Service_BeyondCorp_GoogleCloudBeyondcorpAppconnectorsV1alphaImageConfig');
@@ -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\BeyondCorp;
class GoogleCloudBeyondcorpAppconnectorsV1alphaListAppConnectorsResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
protected $appConnectorsType = GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnector::class;
protected $appConnectorsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @var string[]
*/
public $unreachable;
/**
* @param GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnector[]
*/
public function setAppConnectors($appConnectors)
{
$this->appConnectors = $appConnectors;
}
/**
* @return GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnector[]
*/
public function getAppConnectors()
{
return $this->appConnectors;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param string[]
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudBeyondcorpAppconnectorsV1alphaListAppConnectorsResponse::class, 'Google_Service_BeyondCorp_GoogleCloudBeyondcorpAppconnectorsV1alphaListAppConnectorsResponse');
@@ -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\BeyondCorp;
class GoogleCloudBeyondcorpAppconnectorsV1alphaNotificationConfig extends \Google\Model
{
protected $pubsubNotificationType = GoogleCloudBeyondcorpAppconnectorsV1alphaNotificationConfigCloudPubSubNotificationConfig::class;
protected $pubsubNotificationDataType = '';
/**
* @param GoogleCloudBeyondcorpAppconnectorsV1alphaNotificationConfigCloudPubSubNotificationConfig
*/
public function setPubsubNotification(GoogleCloudBeyondcorpAppconnectorsV1alphaNotificationConfigCloudPubSubNotificationConfig $pubsubNotification)
{
$this->pubsubNotification = $pubsubNotification;
}
/**
* @return GoogleCloudBeyondcorpAppconnectorsV1alphaNotificationConfigCloudPubSubNotificationConfig
*/
public function getPubsubNotification()
{
return $this->pubsubNotification;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudBeyondcorpAppconnectorsV1alphaNotificationConfig::class, 'Google_Service_BeyondCorp_GoogleCloudBeyondcorpAppconnectorsV1alphaNotificationConfig');
@@ -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\BeyondCorp;
class GoogleCloudBeyondcorpAppconnectorsV1alphaNotificationConfigCloudPubSubNotificationConfig extends \Google\Model
{
/**
* @var string
*/
public $pubsubSubscription;
/**
* @param string
*/
public function setPubsubSubscription($pubsubSubscription)
{
$this->pubsubSubscription = $pubsubSubscription;
}
/**
* @return string
*/
public function getPubsubSubscription()
{
return $this->pubsubSubscription;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudBeyondcorpAppconnectorsV1alphaNotificationConfigCloudPubSubNotificationConfig::class, 'Google_Service_BeyondCorp_GoogleCloudBeyondcorpAppconnectorsV1alphaNotificationConfigCloudPubSubNotificationConfig');
@@ -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\BeyondCorp;
class GoogleCloudBeyondcorpAppconnectorsV1alphaRemoteAgentDetails extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudBeyondcorpAppconnectorsV1alphaRemoteAgentDetails::class, 'Google_Service_BeyondCorp_GoogleCloudBeyondcorpAppconnectorsV1alphaRemoteAgentDetails');
@@ -0,0 +1,78 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BeyondCorp;
class GoogleCloudBeyondcorpAppconnectorsV1alphaReportStatusRequest extends \Google\Model
{
/**
* @var string
*/
public $requestId;
protected $resourceInfoType = GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfo::class;
protected $resourceInfoDataType = '';
/**
* @var bool
*/
public $validateOnly;
/**
* @param string
*/
public function setRequestId($requestId)
{
$this->requestId = $requestId;
}
/**
* @return string
*/
public function getRequestId()
{
return $this->requestId;
}
/**
* @param GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfo
*/
public function setResourceInfo(GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfo $resourceInfo)
{
$this->resourceInfo = $resourceInfo;
}
/**
* @return GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfo
*/
public function getResourceInfo()
{
return $this->resourceInfo;
}
/**
* @param bool
*/
public function setValidateOnly($validateOnly)
{
$this->validateOnly = $validateOnly;
}
/**
* @return bool
*/
public function getValidateOnly()
{
return $this->validateOnly;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudBeyondcorpAppconnectorsV1alphaReportStatusRequest::class, 'Google_Service_BeyondCorp_GoogleCloudBeyondcorpAppconnectorsV1alphaReportStatusRequest');
@@ -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\BeyondCorp;
class GoogleCloudBeyondcorpAppconnectorsV1alphaResolveInstanceConfigResponse extends \Google\Model
{
protected $instanceConfigType = GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorInstanceConfig::class;
protected $instanceConfigDataType = '';
/**
* @param GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorInstanceConfig
*/
public function setInstanceConfig(GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorInstanceConfig $instanceConfig)
{
$this->instanceConfig = $instanceConfig;
}
/**
* @return GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorInstanceConfig
*/
public function getInstanceConfig()
{
return $this->instanceConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudBeyondcorpAppconnectorsV1alphaResolveInstanceConfigResponse::class, 'Google_Service_BeyondCorp_GoogleCloudBeyondcorpAppconnectorsV1alphaResolveInstanceConfigResponse');
@@ -0,0 +1,115 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BeyondCorp;
class GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfo extends \Google\Collection
{
protected $collection_key = 'sub';
/**
* @var string
*/
public $id;
/**
* @var array[]
*/
public $resource;
/**
* @var string
*/
public $status;
protected $subType = GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfo::class;
protected $subDataType = 'array';
/**
* @var string
*/
public $time;
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param array[]
*/
public function setResource($resource)
{
$this->resource = $resource;
}
/**
* @return array[]
*/
public function getResource()
{
return $this->resource;
}
/**
* @param string
*/
public function setStatus($status)
{
$this->status = $status;
}
/**
* @return string
*/
public function getStatus()
{
return $this->status;
}
/**
* @param GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfo[]
*/
public function setSub($sub)
{
$this->sub = $sub;
}
/**
* @return GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfo[]
*/
public function getSub()
{
return $this->sub;
}
/**
* @param string
*/
public function setTime($time)
{
$this->time = $time;
}
/**
* @return string
*/
public function getTime()
{
return $this->time;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfo::class, 'Google_Service_BeyondCorp_GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfo');
@@ -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\BeyondCorp;
class GoogleCloudBeyondcorpAppgatewaysV1alphaAppGatewayOperationMetadata extends \Google\Model
{
/**
* Output only. API version used to start the operation.
*
* @var string
*/
public $apiVersion;
/**
* Output only. The time the operation was created.
*
* @var string
*/
public $createTime;
/**
* Output only. The time the operation finished running.
*
* @var string
*/
public $endTime;
/**
* Output only. Identifies whether the user has requested cancellation of the
* operation. Operations that have successfully been cancelled have
* google.longrunning.Operation.error value with a google.rpc.Status.code of
* `1`, corresponding to `Code.CANCELLED`.
*
* @var bool
*/
public $requestedCancellation;
/**
* Output only. Human-readable status of the operation, if any.
*
* @var string
*/
public $statusMessage;
/**
* Output only. Server-defined resource path for the target of the operation.
*
* @var string
*/
public $target;
/**
* Output only. Name of the verb executed by the operation.
*
* @var string
*/
public $verb;
/**
* Output only. API version used to start the operation.
*
* @param string $apiVersion
*/
public function setApiVersion($apiVersion)
{
$this->apiVersion = $apiVersion;
}
/**
* @return string
*/
public function getApiVersion()
{
return $this->apiVersion;
}
/**
* Output only. The time the operation was created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Output only. The time the operation finished running.
*
* @param string $endTime
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* Output only. Identifies whether the user has requested cancellation of the
* operation. Operations that have successfully been cancelled have
* google.longrunning.Operation.error value with a google.rpc.Status.code of
* `1`, corresponding to `Code.CANCELLED`.
*
* @param bool $requestedCancellation
*/
public function setRequestedCancellation($requestedCancellation)
{
$this->requestedCancellation = $requestedCancellation;
}
/**
* @return bool
*/
public function getRequestedCancellation()
{
return $this->requestedCancellation;
}
/**
* Output only. Human-readable status of the operation, if any.
*
* @param string $statusMessage
*/
public function setStatusMessage($statusMessage)
{
$this->statusMessage = $statusMessage;
}
/**
* @return string
*/
public function getStatusMessage()
{
return $this->statusMessage;
}
/**
* Output only. Server-defined resource path for the target of the operation.
*
* @param string $target
*/
public function setTarget($target)
{
$this->target = $target;
}
/**
* @return string
*/
public function getTarget()
{
return $this->target;
}
/**
* Output only. Name of the verb executed by the operation.
*
* @param string $verb
*/
public function setVerb($verb)
{
$this->verb = $verb;
}
/**
* @return string
*/
public function getVerb()
{
return $this->verb;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudBeyondcorpAppgatewaysV1alphaAppGatewayOperationMetadata::class, 'Google_Service_BeyondCorp_GoogleCloudBeyondcorpAppgatewaysV1alphaAppGatewayOperationMetadata');
@@ -0,0 +1,134 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BeyondCorp;
class GoogleCloudBeyondcorpApplicationsV1alphaApplicationOperationMetadata extends \Google\Model
{
/**
* @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 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(GoogleCloudBeyondcorpApplicationsV1alphaApplicationOperationMetadata::class, 'Google_Service_BeyondCorp_GoogleCloudBeyondcorpApplicationsV1alphaApplicationOperationMetadata');
@@ -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\BeyondCorp;
class GoogleCloudBeyondcorpClientconnectorservicesV1alphaClientConnectorServiceOperationMetadata 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(GoogleCloudBeyondcorpClientconnectorservicesV1alphaClientConnectorServiceOperationMetadata::class, 'Google_Service_BeyondCorp_GoogleCloudBeyondcorpClientconnectorservicesV1alphaClientConnectorServiceOperationMetadata');
@@ -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\BeyondCorp;
class GoogleCloudBeyondcorpClientgatewaysV1alphaClientGatewayOperationMetadata 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(GoogleCloudBeyondcorpClientgatewaysV1alphaClientGatewayOperationMetadata::class, 'Google_Service_BeyondCorp_GoogleCloudBeyondcorpClientgatewaysV1alphaClientGatewayOperationMetadata');
@@ -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\BeyondCorp;
class GoogleCloudBeyondcorpConnectionsV1alphaConnectionOperationMetadata extends \Google\Model
{
/**
* Output only. API version used to start the operation.
*
* @var string
*/
public $apiVersion;
/**
* Output only. The time the operation was created.
*
* @var string
*/
public $createTime;
/**
* Output only. The time the operation finished running.
*
* @var string
*/
public $endTime;
/**
* Output only. Identifies whether the user has requested cancellation of the
* operation. Operations that have successfully been cancelled have
* Operation.error value with a google.rpc.Status.code of 1, corresponding to
* `Code.CANCELLED`.
*
* @var bool
*/
public $requestedCancellation;
/**
* Output only. Human-readable status of the operation, if any.
*
* @var string
*/
public $statusMessage;
/**
* Output only. Server-defined resource path for the target of the operation.
*
* @var string
*/
public $target;
/**
* Output only. Name of the verb executed by the operation.
*
* @var string
*/
public $verb;
/**
* Output only. API version used to start the operation.
*
* @param string $apiVersion
*/
public function setApiVersion($apiVersion)
{
$this->apiVersion = $apiVersion;
}
/**
* @return string
*/
public function getApiVersion()
{
return $this->apiVersion;
}
/**
* Output only. The time the operation was created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Output only. The time the operation finished running.
*
* @param string $endTime
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* Output only. Identifies whether the user has requested cancellation of the
* operation. Operations that have successfully been cancelled have
* Operation.error value with a google.rpc.Status.code of 1, corresponding to
* `Code.CANCELLED`.
*
* @param bool $requestedCancellation
*/
public function setRequestedCancellation($requestedCancellation)
{
$this->requestedCancellation = $requestedCancellation;
}
/**
* @return bool
*/
public function getRequestedCancellation()
{
return $this->requestedCancellation;
}
/**
* Output only. Human-readable status of the operation, if any.
*
* @param string $statusMessage
*/
public function setStatusMessage($statusMessage)
{
$this->statusMessage = $statusMessage;
}
/**
* @return string
*/
public function getStatusMessage()
{
return $this->statusMessage;
}
/**
* Output only. Server-defined resource path for the target of the operation.
*
* @param string $target
*/
public function setTarget($target)
{
$this->target = $target;
}
/**
* @return string
*/
public function getTarget()
{
return $this->target;
}
/**
* Output only. Name of the verb executed by the operation.
*
* @param string $verb
*/
public function setVerb($verb)
{
$this->verb = $verb;
}
/**
* @return string
*/
public function getVerb()
{
return $this->verb;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudBeyondcorpConnectionsV1alphaConnectionOperationMetadata::class, 'Google_Service_BeyondCorp_GoogleCloudBeyondcorpConnectionsV1alphaConnectionOperationMetadata');
@@ -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\BeyondCorp;
class GoogleCloudBeyondcorpConnectorsV1alphaConnectorOperationMetadata extends \Google\Model
{
/**
* Output only. API version used to start the operation.
*
* @var string
*/
public $apiVersion;
/**
* Output only. The time the operation was created.
*
* @var string
*/
public $createTime;
/**
* Output only. The time the operation finished running.
*
* @var string
*/
public $endTime;
/**
* Output only. Identifies whether the user has requested cancellation of the
* operation. Operations that have successfully been cancelled have
* Operation.error value with a google.rpc.Status.code of 1, corresponding to
* `Code.CANCELLED`.
*
* @var bool
*/
public $requestedCancellation;
/**
* Output only. Human-readable status of the operation, if any.
*
* @var string
*/
public $statusMessage;
/**
* Output only. Server-defined resource path for the target of the operation.
*
* @var string
*/
public $target;
/**
* Output only. Name of the verb executed by the operation.
*
* @var string
*/
public $verb;
/**
* Output only. API version used to start the operation.
*
* @param string $apiVersion
*/
public function setApiVersion($apiVersion)
{
$this->apiVersion = $apiVersion;
}
/**
* @return string
*/
public function getApiVersion()
{
return $this->apiVersion;
}
/**
* Output only. The time the operation was created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Output only. The time the operation finished running.
*
* @param string $endTime
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* Output only. Identifies whether the user has requested cancellation of the
* operation. Operations that have successfully been cancelled have
* Operation.error value with a google.rpc.Status.code of 1, corresponding to
* `Code.CANCELLED`.
*
* @param bool $requestedCancellation
*/
public function setRequestedCancellation($requestedCancellation)
{
$this->requestedCancellation = $requestedCancellation;
}
/**
* @return bool
*/
public function getRequestedCancellation()
{
return $this->requestedCancellation;
}
/**
* Output only. Human-readable status of the operation, if any.
*
* @param string $statusMessage
*/
public function setStatusMessage($statusMessage)
{
$this->statusMessage = $statusMessage;
}
/**
* @return string
*/
public function getStatusMessage()
{
return $this->statusMessage;
}
/**
* Output only. Server-defined resource path for the target of the operation.
*
* @param string $target
*/
public function setTarget($target)
{
$this->target = $target;
}
/**
* @return string
*/
public function getTarget()
{
return $this->target;
}
/**
* Output only. Name of the verb executed by the operation.
*
* @param string $verb
*/
public function setVerb($verb)
{
$this->verb = $verb;
}
/**
* @return string
*/
public function getVerb()
{
return $this->verb;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudBeyondcorpConnectorsV1alphaConnectorOperationMetadata::class, 'Google_Service_BeyondCorp_GoogleCloudBeyondcorpConnectorsV1alphaConnectorOperationMetadata');
@@ -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\BeyondCorp;
class GoogleCloudBeyondcorpConnectorsV1alphaContainerHealthDetails extends \Google\Model
{
/**
* The version of the current config.
*
* @var string
*/
public $currentConfigVersion;
/**
* The latest error message.
*
* @var string
*/
public $errorMsg;
/**
* The version of the expected config.
*
* @var string
*/
public $expectedConfigVersion;
/**
* The extended status. Such as ExitCode, StartedAt, FinishedAt, etc.
*
* @var string[]
*/
public $extendedStatus;
/**
* The version of the current config.
*
* @param string $currentConfigVersion
*/
public function setCurrentConfigVersion($currentConfigVersion)
{
$this->currentConfigVersion = $currentConfigVersion;
}
/**
* @return string
*/
public function getCurrentConfigVersion()
{
return $this->currentConfigVersion;
}
/**
* The latest error message.
*
* @param string $errorMsg
*/
public function setErrorMsg($errorMsg)
{
$this->errorMsg = $errorMsg;
}
/**
* @return string
*/
public function getErrorMsg()
{
return $this->errorMsg;
}
/**
* The version of the expected config.
*
* @param string $expectedConfigVersion
*/
public function setExpectedConfigVersion($expectedConfigVersion)
{
$this->expectedConfigVersion = $expectedConfigVersion;
}
/**
* @return string
*/
public function getExpectedConfigVersion()
{
return $this->expectedConfigVersion;
}
/**
* The extended status. Such as ExitCode, StartedAt, FinishedAt, etc.
*
* @param string[] $extendedStatus
*/
public function setExtendedStatus($extendedStatus)
{
$this->extendedStatus = $extendedStatus;
}
/**
* @return string[]
*/
public function getExtendedStatus()
{
return $this->extendedStatus;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudBeyondcorpConnectorsV1alphaContainerHealthDetails::class, 'Google_Service_BeyondCorp_GoogleCloudBeyondcorpConnectorsV1alphaContainerHealthDetails');
@@ -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\BeyondCorp;
class GoogleCloudBeyondcorpConnectorsV1alphaRemoteAgentDetails extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudBeyondcorpConnectorsV1alphaRemoteAgentDetails::class, 'Google_Service_BeyondCorp_GoogleCloudBeyondcorpConnectorsV1alphaRemoteAgentDetails');
@@ -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\BeyondCorp;
class GoogleCloudBeyondcorpNetconnectionsV1alphaNetConnectionOperationMetadata 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(GoogleCloudBeyondcorpNetconnectionsV1alphaNetConnectionOperationMetadata::class, 'Google_Service_BeyondCorp_GoogleCloudBeyondcorpNetconnectionsV1alphaNetConnectionOperationMetadata');
@@ -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\BeyondCorp;
class GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerServiceOperationMetadata extends \Google\Model
{
/**
* Output only. API version used to start the operation.
*
* @var string
*/
public $apiVersion;
/**
* Output only. The time the operation was created.
*
* @var string
*/
public $createTime;
/**
* Output only. The time the operation finished running.
*
* @var string
*/
public $endTime;
/**
* Output only. Identifies whether the caller has requested cancellation of
* the operation. Operations that have successfully been cancelled have
* Operation.error value with a google.rpc.Status.code of 1, corresponding to
* `Code.CANCELLED`.
*
* @var bool
*/
public $requestedCancellation;
/**
* Output only. Human-readable status of the operation, if any.
*
* @var string
*/
public $statusMessage;
/**
* Output only. Server-defined resource path for the target of the operation.
*
* @var string
*/
public $target;
/**
* Output only. Name of the verb executed by the operation.
*
* @var string
*/
public $verb;
/**
* Output only. API version used to start the operation.
*
* @param string $apiVersion
*/
public function setApiVersion($apiVersion)
{
$this->apiVersion = $apiVersion;
}
/**
* @return string
*/
public function getApiVersion()
{
return $this->apiVersion;
}
/**
* Output only. The time the operation was created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Output only. The time the operation finished running.
*
* @param string $endTime
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* Output only. Identifies whether the caller has requested cancellation of
* the operation. Operations that have successfully been cancelled have
* Operation.error value with a google.rpc.Status.code of 1, corresponding to
* `Code.CANCELLED`.
*
* @param bool $requestedCancellation
*/
public function setRequestedCancellation($requestedCancellation)
{
$this->requestedCancellation = $requestedCancellation;
}
/**
* @return bool
*/
public function getRequestedCancellation()
{
return $this->requestedCancellation;
}
/**
* Output only. Human-readable status of the operation, if any.
*
* @param string $statusMessage
*/
public function setStatusMessage($statusMessage)
{
$this->statusMessage = $statusMessage;
}
/**
* @return string
*/
public function getStatusMessage()
{
return $this->statusMessage;
}
/**
* Output only. Server-defined resource path for the target of the operation.
*
* @param string $target
*/
public function setTarget($target)
{
$this->target = $target;
}
/**
* @return string
*/
public function getTarget()
{
return $this->target;
}
/**
* Output only. Name of the verb executed by the operation.
*
* @param string $verb
*/
public function setVerb($verb)
{
$this->verb = $verb;
}
/**
* @return string
*/
public function getVerb()
{
return $this->verb;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerServiceOperationMetadata::class, 'Google_Service_BeyondCorp_GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerServiceOperationMetadata');
@@ -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\BeyondCorp;
class GoogleCloudBeyondcorpPartnerservicesV1mainPartnerServiceOperationMetadata extends \Google\Model
{
/**
* Output only. API version used to start the operation.
*
* @var string
*/
public $apiVersion;
/**
* Output only. The time the operation was created.
*
* @var string
*/
public $createTime;
/**
* Output only. The time the operation finished running.
*
* @var string
*/
public $endTime;
/**
* Output only. Identifies whether the caller has requested cancellation of
* the operation. Operations that have successfully been cancelled have
* Operation.error value with a google.rpc.Status.code of 1, corresponding to
* `Code.CANCELLED`.
*
* @var bool
*/
public $requestedCancellation;
/**
* Output only. Human-readable status of the operation, if any.
*
* @var string
*/
public $statusMessage;
/**
* Output only. Server-defined resource path for the target of the operation.
*
* @var string
*/
public $target;
/**
* Output only. Name of the verb executed by the operation.
*
* @var string
*/
public $verb;
/**
* Output only. API version used to start the operation.
*
* @param string $apiVersion
*/
public function setApiVersion($apiVersion)
{
$this->apiVersion = $apiVersion;
}
/**
* @return string
*/
public function getApiVersion()
{
return $this->apiVersion;
}
/**
* Output only. The time the operation was created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Output only. The time the operation finished running.
*
* @param string $endTime
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* Output only. Identifies whether the caller has requested cancellation of
* the operation. Operations that have successfully been cancelled have
* Operation.error value with a google.rpc.Status.code of 1, corresponding to
* `Code.CANCELLED`.
*
* @param bool $requestedCancellation
*/
public function setRequestedCancellation($requestedCancellation)
{
$this->requestedCancellation = $requestedCancellation;
}
/**
* @return bool
*/
public function getRequestedCancellation()
{
return $this->requestedCancellation;
}
/**
* Output only. Human-readable status of the operation, if any.
*
* @param string $statusMessage
*/
public function setStatusMessage($statusMessage)
{
$this->statusMessage = $statusMessage;
}
/**
* @return string
*/
public function getStatusMessage()
{
return $this->statusMessage;
}
/**
* Output only. Server-defined resource path for the target of the operation.
*
* @param string $target
*/
public function setTarget($target)
{
$this->target = $target;
}
/**
* @return string
*/
public function getTarget()
{
return $this->target;
}
/**
* Output only. Name of the verb executed by the operation.
*
* @param string $verb
*/
public function setVerb($verb)
{
$this->verb = $verb;
}
/**
* @return string
*/
public function getVerb()
{
return $this->verb;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudBeyondcorpPartnerservicesV1mainPartnerServiceOperationMetadata::class, 'Google_Service_BeyondCorp_GoogleCloudBeyondcorpPartnerservicesV1mainPartnerServiceOperationMetadata');
@@ -0,0 +1,198 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BeyondCorp;
class GoogleCloudBeyondcorpSecuritygatewaysV1Application extends \Google\Collection
{
/**
* Default value. This value is unused.
*/
public const SCHEMA_SCHEMA_UNSPECIFIED = 'SCHEMA_UNSPECIFIED';
/**
* Proxy which routes traffic to actual applications, like Netscaler Gateway.
*/
public const SCHEMA_PROXY_GATEWAY = 'PROXY_GATEWAY';
/**
* Service Discovery API endpoint when Service Discovery is enabled in
* Gateway.
*/
public const SCHEMA_API_GATEWAY = 'API_GATEWAY';
protected $collection_key = 'upstreams';
/**
* Output only. Timestamp when the resource was created.
*
* @var string
*/
public $createTime;
/**
* Optional. An arbitrary user-provided name for the application resource.
* Cannot exceed 64 characters.
*
* @var string
*/
public $displayName;
protected $endpointMatchersType = GoogleCloudBeyondcorpSecuritygatewaysV1EndpointMatcher::class;
protected $endpointMatchersDataType = 'array';
/**
* Identifier. Name of the resource.
*
* @var string
*/
public $name;
/**
* Optional. Type of the external application.
*
* @var string
*/
public $schema;
/**
* Output only. Timestamp when the resource was last modified.
*
* @var string
*/
public $updateTime;
protected $upstreamsType = GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstream::class;
protected $upstreamsDataType = 'array';
/**
* Output only. Timestamp when the resource was created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Optional. An arbitrary user-provided name for the application resource.
* Cannot exceed 64 characters.
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* Optional. An array of conditions to match the application's network
* endpoint. Each element in the array is an EndpointMatcher object, which
* defines a specific combination of a hostname pattern and one or more ports.
* The application is considered matched if at least one of the
* EndpointMatcher conditions in this array is met (the conditions are
* combined using OR logic). Each EndpointMatcher must contain a hostname
* pattern, such as "example.com", and one or more port numbers specified as a
* string, such as "443". Hostname and port number examples: "*.example.com",
* "443" "example.com" and "22" "example.com" and "22,33"
*
* @param GoogleCloudBeyondcorpSecuritygatewaysV1EndpointMatcher[] $endpointMatchers
*/
public function setEndpointMatchers($endpointMatchers)
{
$this->endpointMatchers = $endpointMatchers;
}
/**
* @return GoogleCloudBeyondcorpSecuritygatewaysV1EndpointMatcher[]
*/
public function getEndpointMatchers()
{
return $this->endpointMatchers;
}
/**
* Identifier. Name of the resource.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Optional. Type of the external application.
*
* Accepted values: SCHEMA_UNSPECIFIED, PROXY_GATEWAY, API_GATEWAY
*
* @param self::SCHEMA_* $schema
*/
public function setSchema($schema)
{
$this->schema = $schema;
}
/**
* @return self::SCHEMA_*
*/
public function getSchema()
{
return $this->schema;
}
/**
* Output only. Timestamp when the resource was last modified.
*
* @param string $updateTime
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
/**
* Optional. Which upstream resources to forward traffic to.
*
* @param GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstream[] $upstreams
*/
public function setUpstreams($upstreams)
{
$this->upstreams = $upstreams;
}
/**
* @return GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstream[]
*/
public function getUpstreams()
{
return $this->upstreams;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudBeyondcorpSecuritygatewaysV1Application::class, 'Google_Service_BeyondCorp_GoogleCloudBeyondcorpSecuritygatewaysV1Application');
@@ -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\BeyondCorp;
class GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstream extends \Google\Model
{
protected $egressPolicyType = GoogleCloudBeyondcorpSecuritygatewaysV1EgressPolicy::class;
protected $egressPolicyDataType = '';
protected $externalType = GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstreamExternal::class;
protected $externalDataType = '';
protected $networkType = GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstreamNetwork::class;
protected $networkDataType = '';
protected $proxyProtocolType = GoogleCloudBeyondcorpSecuritygatewaysV1ProxyProtocolConfig::class;
protected $proxyProtocolDataType = '';
/**
* Optional. Routing policy information.
*
* @param GoogleCloudBeyondcorpSecuritygatewaysV1EgressPolicy $egressPolicy
*/
public function setEgressPolicy(GoogleCloudBeyondcorpSecuritygatewaysV1EgressPolicy $egressPolicy)
{
$this->egressPolicy = $egressPolicy;
}
/**
* @return GoogleCloudBeyondcorpSecuritygatewaysV1EgressPolicy
*/
public function getEgressPolicy()
{
return $this->egressPolicy;
}
/**
* List of the external endpoints to forward traffic to.
*
* @param GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstreamExternal $external
*/
public function setExternal(GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstreamExternal $external)
{
$this->external = $external;
}
/**
* @return GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstreamExternal
*/
public function getExternal()
{
return $this->external;
}
/**
* Network to forward traffic to.
*
* @param GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstreamNetwork $network
*/
public function setNetwork(GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstreamNetwork $network)
{
$this->network = $network;
}
/**
* @return GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstreamNetwork
*/
public function getNetwork()
{
return $this->network;
}
/**
* Optional. Enables proxy protocol configuration for the upstream.
*
* @param GoogleCloudBeyondcorpSecuritygatewaysV1ProxyProtocolConfig $proxyProtocol
*/
public function setProxyProtocol(GoogleCloudBeyondcorpSecuritygatewaysV1ProxyProtocolConfig $proxyProtocol)
{
$this->proxyProtocol = $proxyProtocol;
}
/**
* @return GoogleCloudBeyondcorpSecuritygatewaysV1ProxyProtocolConfig
*/
public function getProxyProtocol()
{
return $this->proxyProtocol;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstream::class, 'Google_Service_BeyondCorp_GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstream');
@@ -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\BeyondCorp;
class GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstreamExternal extends \Google\Collection
{
protected $collection_key = 'endpoints';
protected $endpointsType = GoogleCloudBeyondcorpSecuritygatewaysV1Endpoint::class;
protected $endpointsDataType = 'array';
/**
* Required. List of the endpoints to forward traffic to.
*
* @param GoogleCloudBeyondcorpSecuritygatewaysV1Endpoint[] $endpoints
*/
public function setEndpoints($endpoints)
{
$this->endpoints = $endpoints;
}
/**
* @return GoogleCloudBeyondcorpSecuritygatewaysV1Endpoint[]
*/
public function getEndpoints()
{
return $this->endpoints;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstreamExternal::class, 'Google_Service_BeyondCorp_GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstreamExternal');
@@ -0,0 +1,50 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BeyondCorp;
class GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstreamNetwork extends \Google\Model
{
/**
* Required. Network name is of the format:
* `projects/{project}/global/networks/{network}
*
* @var string
*/
public $name;
/**
* Required. Network name is of the format:
* `projects/{project}/global/networks/{network}
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstreamNetwork::class, 'Google_Service_BeyondCorp_GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstreamNetwork');
@@ -0,0 +1,120 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BeyondCorp;
class GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeaders extends \Google\Model
{
/**
* The unspecified output type.
*/
public const OUTPUT_TYPE_OUTPUT_TYPE_UNSPECIFIED = 'OUTPUT_TYPE_UNSPECIFIED';
/**
* Protobuf output type.
*/
public const OUTPUT_TYPE_PROTOBUF = 'PROTOBUF';
/**
* JSON output type.
*/
public const OUTPUT_TYPE_JSON = 'JSON';
/**
* Explicitly disable header output.
*/
public const OUTPUT_TYPE_NONE = 'NONE';
protected $deviceInfoType = GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeadersDelegatedDeviceInfo::class;
protected $deviceInfoDataType = '';
protected $groupInfoType = GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeadersDelegatedGroupInfo::class;
protected $groupInfoDataType = '';
/**
* Optional. Default output type for all enabled headers.
*
* @var string
*/
public $outputType;
protected $userInfoType = GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeadersDelegatedUserInfo::class;
protected $userInfoDataType = '';
/**
* Optional. The device information configuration.
*
* @param GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeadersDelegatedDeviceInfo $deviceInfo
*/
public function setDeviceInfo(GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeadersDelegatedDeviceInfo $deviceInfo)
{
$this->deviceInfo = $deviceInfo;
}
/**
* @return GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeadersDelegatedDeviceInfo
*/
public function getDeviceInfo()
{
return $this->deviceInfo;
}
/**
* Optional. Group details.
*
* @param GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeadersDelegatedGroupInfo $groupInfo
*/
public function setGroupInfo(GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeadersDelegatedGroupInfo $groupInfo)
{
$this->groupInfo = $groupInfo;
}
/**
* @return GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeadersDelegatedGroupInfo
*/
public function getGroupInfo()
{
return $this->groupInfo;
}
/**
* Optional. Default output type for all enabled headers.
*
* Accepted values: OUTPUT_TYPE_UNSPECIFIED, PROTOBUF, JSON, NONE
*
* @param self::OUTPUT_TYPE_* $outputType
*/
public function setOutputType($outputType)
{
$this->outputType = $outputType;
}
/**
* @return self::OUTPUT_TYPE_*
*/
public function getOutputType()
{
return $this->outputType;
}
/**
* Optional. User details.
*
* @param GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeadersDelegatedUserInfo $userInfo
*/
public function setUserInfo(GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeadersDelegatedUserInfo $userInfo)
{
$this->userInfo = $userInfo;
}
/**
* @return GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeadersDelegatedUserInfo
*/
public function getUserInfo()
{
return $this->userInfo;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeaders::class, 'Google_Service_BeyondCorp_GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeaders');
@@ -0,0 +1,66 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BeyondCorp;
class GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeadersDelegatedDeviceInfo extends \Google\Model
{
/**
* The unspecified output type.
*/
public const OUTPUT_TYPE_OUTPUT_TYPE_UNSPECIFIED = 'OUTPUT_TYPE_UNSPECIFIED';
/**
* Protobuf output type.
*/
public const OUTPUT_TYPE_PROTOBUF = 'PROTOBUF';
/**
* JSON output type.
*/
public const OUTPUT_TYPE_JSON = 'JSON';
/**
* Explicitly disable header output.
*/
public const OUTPUT_TYPE_NONE = 'NONE';
/**
* Optional. The output type details for the delegated device.
*
* @var string
*/
public $outputType;
/**
* Optional. The output type details for the delegated device.
*
* Accepted values: OUTPUT_TYPE_UNSPECIFIED, PROTOBUF, JSON, NONE
*
* @param self::OUTPUT_TYPE_* $outputType
*/
public function setOutputType($outputType)
{
$this->outputType = $outputType;
}
/**
* @return self::OUTPUT_TYPE_*
*/
public function getOutputType()
{
return $this->outputType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeadersDelegatedDeviceInfo::class, 'Google_Service_BeyondCorp_GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeadersDelegatedDeviceInfo');
@@ -0,0 +1,66 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BeyondCorp;
class GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeadersDelegatedGroupInfo extends \Google\Model
{
/**
* The unspecified output type.
*/
public const OUTPUT_TYPE_OUTPUT_TYPE_UNSPECIFIED = 'OUTPUT_TYPE_UNSPECIFIED';
/**
* Protobuf output type.
*/
public const OUTPUT_TYPE_PROTOBUF = 'PROTOBUF';
/**
* JSON output type.
*/
public const OUTPUT_TYPE_JSON = 'JSON';
/**
* Explicitly disable header output.
*/
public const OUTPUT_TYPE_NONE = 'NONE';
/**
* Optional. The output type of the delegated group information.
*
* @var string
*/
public $outputType;
/**
* Optional. The output type of the delegated group information.
*
* Accepted values: OUTPUT_TYPE_UNSPECIFIED, PROTOBUF, JSON, NONE
*
* @param self::OUTPUT_TYPE_* $outputType
*/
public function setOutputType($outputType)
{
$this->outputType = $outputType;
}
/**
* @return self::OUTPUT_TYPE_*
*/
public function getOutputType()
{
return $this->outputType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeadersDelegatedGroupInfo::class, 'Google_Service_BeyondCorp_GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeadersDelegatedGroupInfo');
@@ -0,0 +1,66 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BeyondCorp;
class GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeadersDelegatedUserInfo extends \Google\Model
{
/**
* The unspecified output type.
*/
public const OUTPUT_TYPE_OUTPUT_TYPE_UNSPECIFIED = 'OUTPUT_TYPE_UNSPECIFIED';
/**
* Protobuf output type.
*/
public const OUTPUT_TYPE_PROTOBUF = 'PROTOBUF';
/**
* JSON output type.
*/
public const OUTPUT_TYPE_JSON = 'JSON';
/**
* Explicitly disable header output.
*/
public const OUTPUT_TYPE_NONE = 'NONE';
/**
* Optional. The delegated user's information.
*
* @var string
*/
public $outputType;
/**
* Optional. The delegated user's information.
*
* Accepted values: OUTPUT_TYPE_UNSPECIFIED, PROTOBUF, JSON, NONE
*
* @param self::OUTPUT_TYPE_* $outputType
*/
public function setOutputType($outputType)
{
$this->outputType = $outputType;
}
/**
* @return self::OUTPUT_TYPE_*
*/
public function getOutputType()
{
return $this->outputType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeadersDelegatedUserInfo::class, 'Google_Service_BeyondCorp_GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeadersDelegatedUserInfo');
@@ -0,0 +1,49 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BeyondCorp;
class GoogleCloudBeyondcorpSecuritygatewaysV1EgressPolicy extends \Google\Collection
{
protected $collection_key = 'regions';
/**
* Required. List of the regions where the application sends traffic.
*
* @var string[]
*/
public $regions;
/**
* Required. List of the regions where the application sends traffic.
*
* @param string[] $regions
*/
public function setRegions($regions)
{
$this->regions = $regions;
}
/**
* @return string[]
*/
public function getRegions()
{
return $this->regions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudBeyondcorpSecuritygatewaysV1EgressPolicy::class, 'Google_Service_BeyondCorp_GoogleCloudBeyondcorpSecuritygatewaysV1EgressPolicy');
@@ -0,0 +1,70 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BeyondCorp;
class GoogleCloudBeyondcorpSecuritygatewaysV1Endpoint extends \Google\Model
{
/**
* Required. Hostname of the endpoint.
*
* @var string
*/
public $hostname;
/**
* Required. Port of the endpoint.
*
* @var int
*/
public $port;
/**
* Required. Hostname of the endpoint.
*
* @param string $hostname
*/
public function setHostname($hostname)
{
$this->hostname = $hostname;
}
/**
* @return string
*/
public function getHostname()
{
return $this->hostname;
}
/**
* Required. Port of the endpoint.
*
* @param int $port
*/
public function setPort($port)
{
$this->port = $port;
}
/**
* @return int
*/
public function getPort()
{
return $this->port;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudBeyondcorpSecuritygatewaysV1Endpoint::class, 'Google_Service_BeyondCorp_GoogleCloudBeyondcorpSecuritygatewaysV1Endpoint');
@@ -0,0 +1,71 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BeyondCorp;
class GoogleCloudBeyondcorpSecuritygatewaysV1EndpointMatcher extends \Google\Collection
{
protected $collection_key = 'ports';
/**
* Required. Hostname of the application.
*
* @var string
*/
public $hostname;
/**
* Required. The ports of the application.
*
* @var int[]
*/
public $ports;
/**
* Required. Hostname of the application.
*
* @param string $hostname
*/
public function setHostname($hostname)
{
$this->hostname = $hostname;
}
/**
* @return string
*/
public function getHostname()
{
return $this->hostname;
}
/**
* Required. The ports of the application.
*
* @param int[] $ports
*/
public function setPorts($ports)
{
$this->ports = $ports;
}
/**
* @return int[]
*/
public function getPorts()
{
return $this->ports;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudBeyondcorpSecuritygatewaysV1EndpointMatcher::class, 'Google_Service_BeyondCorp_GoogleCloudBeyondcorpSecuritygatewaysV1EndpointMatcher');
@@ -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\BeyondCorp;
class GoogleCloudBeyondcorpSecuritygatewaysV1Hub extends \Google\Model
{
protected $internetGatewayType = GoogleCloudBeyondcorpSecuritygatewaysV1InternetGateway::class;
protected $internetGatewayDataType = '';
/**
* Optional. Internet Gateway configuration.
*
* @param GoogleCloudBeyondcorpSecuritygatewaysV1InternetGateway $internetGateway
*/
public function setInternetGateway(GoogleCloudBeyondcorpSecuritygatewaysV1InternetGateway $internetGateway)
{
$this->internetGateway = $internetGateway;
}
/**
* @return GoogleCloudBeyondcorpSecuritygatewaysV1InternetGateway
*/
public function getInternetGateway()
{
return $this->internetGateway;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudBeyondcorpSecuritygatewaysV1Hub::class, 'Google_Service_BeyondCorp_GoogleCloudBeyondcorpSecuritygatewaysV1Hub');
@@ -0,0 +1,49 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BeyondCorp;
class GoogleCloudBeyondcorpSecuritygatewaysV1InternetGateway extends \Google\Collection
{
protected $collection_key = 'assignedIps';
/**
* Output only. List of IP addresses assigned to the Cloud NAT.
*
* @var string[]
*/
public $assignedIps;
/**
* Output only. List of IP addresses assigned to the Cloud NAT.
*
* @param string[] $assignedIps
*/
public function setAssignedIps($assignedIps)
{
$this->assignedIps = $assignedIps;
}
/**
* @return string[]
*/
public function getAssignedIps()
{
return $this->assignedIps;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudBeyondcorpSecuritygatewaysV1InternetGateway::class, 'Google_Service_BeyondCorp_GoogleCloudBeyondcorpSecuritygatewaysV1InternetGateway');
@@ -0,0 +1,91 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BeyondCorp;
class GoogleCloudBeyondcorpSecuritygatewaysV1ListApplicationsResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
protected $applicationsType = GoogleCloudBeyondcorpSecuritygatewaysV1Application::class;
protected $applicationsDataType = 'array';
/**
* A token to retrieve the next page of results, or empty if there are no more
* results in the list.
*
* @var string
*/
public $nextPageToken;
/**
* A list of locations that could not be reached.
*
* @var string[]
*/
public $unreachable;
/**
* A list of BeyondCorp Application in the project.
*
* @param GoogleCloudBeyondcorpSecuritygatewaysV1Application[] $applications
*/
public function setApplications($applications)
{
$this->applications = $applications;
}
/**
* @return GoogleCloudBeyondcorpSecuritygatewaysV1Application[]
*/
public function getApplications()
{
return $this->applications;
}
/**
* A token to retrieve the next page of results, or empty if there are no more
* results in the list.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* A list of locations that could not be reached.
*
* @param string[] $unreachable
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudBeyondcorpSecuritygatewaysV1ListApplicationsResponse::class, 'Google_Service_BeyondCorp_GoogleCloudBeyondcorpSecuritygatewaysV1ListApplicationsResponse');
@@ -0,0 +1,91 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BeyondCorp;
class GoogleCloudBeyondcorpSecuritygatewaysV1ListSecurityGatewaysResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
/**
* A token to retrieve the next page of results, or empty if there are no more
* results in the list.
*
* @var string
*/
public $nextPageToken;
protected $securityGatewaysType = GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGateway::class;
protected $securityGatewaysDataType = 'array';
/**
* A list of locations that could not be reached.
*
* @var string[]
*/
public $unreachable;
/**
* A token to retrieve the next page of results, or empty if there are no more
* results in the list.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* A list of BeyondCorp SecurityGateway in the project.
*
* @param GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGateway[] $securityGateways
*/
public function setSecurityGateways($securityGateways)
{
$this->securityGateways = $securityGateways;
}
/**
* @return GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGateway[]
*/
public function getSecurityGateways()
{
return $this->securityGateways;
}
/**
* A list of locations that could not be reached.
*
* @param string[] $unreachable
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudBeyondcorpSecuritygatewaysV1ListSecurityGatewaysResponse::class, 'Google_Service_BeyondCorp_GoogleCloudBeyondcorpSecuritygatewaysV1ListSecurityGatewaysResponse');
@@ -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\BeyondCorp;
class GoogleCloudBeyondcorpSecuritygatewaysV1LoggingConfig extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudBeyondcorpSecuritygatewaysV1LoggingConfig::class, 'Google_Service_BeyondCorp_GoogleCloudBeyondcorpSecuritygatewaysV1LoggingConfig');
@@ -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\BeyondCorp;
class GoogleCloudBeyondcorpSecuritygatewaysV1NatGatewayConfig extends \Google\Collection
{
protected $collection_key = 'natIps';
/**
* @var string[]
*/
public $natIps;
/**
* @param string[]
*/
public function setNatIps($natIps)
{
$this->natIps = $natIps;
}
/**
* @return string[]
*/
public function getNatIps()
{
return $this->natIps;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudBeyondcorpSecuritygatewaysV1NatGatewayConfig::class, 'Google_Service_BeyondCorp_GoogleCloudBeyondcorpSecuritygatewaysV1NatGatewayConfig');
@@ -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\BeyondCorp;
class GoogleCloudBeyondcorpSecuritygatewaysV1Peering extends \Google\Collection
{
protected $collection_key = 'dnsZones';
/**
* @var string[]
*/
public $dnsZones;
/**
* @var string
*/
public $targetNetwork;
/**
* @param string[]
*/
public function setDnsZones($dnsZones)
{
$this->dnsZones = $dnsZones;
}
/**
* @return string[]
*/
public function getDnsZones()
{
return $this->dnsZones;
}
/**
* @param string
*/
public function setTargetNetwork($targetNetwork)
{
$this->targetNetwork = $targetNetwork;
}
/**
* @return string
*/
public function getTargetNetwork()
{
return $this->targetNetwork;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudBeyondcorpSecuritygatewaysV1Peering::class, 'Google_Service_BeyondCorp_GoogleCloudBeyondcorpSecuritygatewaysV1Peering');
@@ -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\BeyondCorp;
class GoogleCloudBeyondcorpSecuritygatewaysV1ProxyProtocolConfig extends \Google\Collection
{
/**
* Unspecified gateway identity.
*/
public const GATEWAY_IDENTITY_GATEWAY_IDENTITY_UNSPECIFIED = 'GATEWAY_IDENTITY_UNSPECIFIED';
/**
* Resource name for gateway identity, in the format: projects/{project_id}/lo
* cations/{location_id}/securityGateways/{security_gateway_id}
*/
public const GATEWAY_IDENTITY_RESOURCE_NAME = 'RESOURCE_NAME';
protected $collection_key = 'allowedClientHeaders';
/**
* Optional. List of the allowed client header names.
*
* @var string[]
*/
public $allowedClientHeaders;
/**
* Optional. Client IP configuration. The client IP address is included if
* true.
*
* @var bool
*/
public $clientIp;
protected $contextualHeadersType = GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeaders::class;
protected $contextualHeadersDataType = '';
/**
* Optional. The security gateway identity configuration.
*
* @var string
*/
public $gatewayIdentity;
/**
* Optional. Custom resource specific headers along with the values. The names
* should conform to RFC 9110: >Field names can contain alphanumeric
* characters, hyphens, and periods, can contain only ASCII-printable
* characters and tabs, and must start with a letter.
*
* @var string[]
*/
public $metadataHeaders;
/**
* Optional. List of the allowed client header names.
*
* @param string[] $allowedClientHeaders
*/
public function setAllowedClientHeaders($allowedClientHeaders)
{
$this->allowedClientHeaders = $allowedClientHeaders;
}
/**
* @return string[]
*/
public function getAllowedClientHeaders()
{
return $this->allowedClientHeaders;
}
/**
* Optional. Client IP configuration. The client IP address is included if
* true.
*
* @param bool $clientIp
*/
public function setClientIp($clientIp)
{
$this->clientIp = $clientIp;
}
/**
* @return bool
*/
public function getClientIp()
{
return $this->clientIp;
}
/**
* Optional. Configuration for the contextual headers.
*
* @param GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeaders $contextualHeaders
*/
public function setContextualHeaders(GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeaders $contextualHeaders)
{
$this->contextualHeaders = $contextualHeaders;
}
/**
* @return GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeaders
*/
public function getContextualHeaders()
{
return $this->contextualHeaders;
}
/**
* Optional. The security gateway identity configuration.
*
* Accepted values: GATEWAY_IDENTITY_UNSPECIFIED, RESOURCE_NAME
*
* @param self::GATEWAY_IDENTITY_* $gatewayIdentity
*/
public function setGatewayIdentity($gatewayIdentity)
{
$this->gatewayIdentity = $gatewayIdentity;
}
/**
* @return self::GATEWAY_IDENTITY_*
*/
public function getGatewayIdentity()
{
return $this->gatewayIdentity;
}
/**
* Optional. Custom resource specific headers along with the values. The names
* should conform to RFC 9110: >Field names can contain alphanumeric
* characters, hyphens, and periods, can contain only ASCII-printable
* characters and tabs, and must start with a letter.
*
* @param string[] $metadataHeaders
*/
public function setMetadataHeaders($metadataHeaders)
{
$this->metadataHeaders = $metadataHeaders;
}
/**
* @return string[]
*/
public function getMetadataHeaders()
{
return $this->metadataHeaders;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudBeyondcorpSecuritygatewaysV1ProxyProtocolConfig::class, 'Google_Service_BeyondCorp_GoogleCloudBeyondcorpSecuritygatewaysV1ProxyProtocolConfig');
@@ -0,0 +1,292 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BeyondCorp;
class GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGateway extends \Google\Collection
{
/**
* Default value. This value is unused.
*/
public const STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
/**
* SecurityGateway is being created.
*/
public const STATE_CREATING = 'CREATING';
/**
* SecurityGateway is being updated.
*/
public const STATE_UPDATING = 'UPDATING';
/**
* SecurityGateway is being deleted.
*/
public const STATE_DELETING = 'DELETING';
/**
* SecurityGateway is running.
*/
public const STATE_RUNNING = 'RUNNING';
/**
* SecurityGateway is down and may be restored in the future.
*/
public const STATE_DOWN = 'DOWN';
/**
* SecurityGateway encountered an error and is in an indeterministic state.
*/
public const STATE_ERROR = 'ERROR';
protected $collection_key = 'externalIps';
/**
* Output only. Timestamp when the resource was created.
*
* @var string
*/
public $createTime;
/**
* Output only. Service account used for operations that involve resources in
* consumer projects.
*
* @var string
*/
public $delegatingServiceAccount;
/**
* Optional. An arbitrary user-provided name for the SecurityGateway. Cannot
* exceed 64 characters.
*
* @var string
*/
public $displayName;
/**
* Output only. IP addresses that will be used for establishing connection to
* the endpoints.
*
* @var string[]
*/
public $externalIps;
protected $hubsType = GoogleCloudBeyondcorpSecuritygatewaysV1Hub::class;
protected $hubsDataType = 'map';
protected $loggingType = GoogleCloudBeyondcorpSecuritygatewaysV1LoggingConfig::class;
protected $loggingDataType = '';
/**
* Identifier. Name of the resource.
*
* @var string
*/
public $name;
protected $proxyProtocolConfigType = GoogleCloudBeyondcorpSecuritygatewaysV1ProxyProtocolConfig::class;
protected $proxyProtocolConfigDataType = '';
protected $serviceDiscoveryType = GoogleCloudBeyondcorpSecuritygatewaysV1ServiceDiscovery::class;
protected $serviceDiscoveryDataType = '';
/**
* Output only. The operational state of the SecurityGateway.
*
* @var string
*/
public $state;
/**
* Output only. Timestamp when the resource was last modified.
*
* @var string
*/
public $updateTime;
/**
* Output only. Timestamp when the resource was created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Output only. Service account used for operations that involve resources in
* consumer projects.
*
* @param string $delegatingServiceAccount
*/
public function setDelegatingServiceAccount($delegatingServiceAccount)
{
$this->delegatingServiceAccount = $delegatingServiceAccount;
}
/**
* @return string
*/
public function getDelegatingServiceAccount()
{
return $this->delegatingServiceAccount;
}
/**
* Optional. An arbitrary user-provided name for the SecurityGateway. Cannot
* exceed 64 characters.
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* Output only. IP addresses that will be used for establishing connection to
* the endpoints.
*
* @param string[] $externalIps
*/
public function setExternalIps($externalIps)
{
$this->externalIps = $externalIps;
}
/**
* @return string[]
*/
public function getExternalIps()
{
return $this->externalIps;
}
/**
* Optional. Map of Hubs that represents regional data path deployment with
* GCP region as a key.
*
* @param GoogleCloudBeyondcorpSecuritygatewaysV1Hub[] $hubs
*/
public function setHubs($hubs)
{
$this->hubs = $hubs;
}
/**
* @return GoogleCloudBeyondcorpSecuritygatewaysV1Hub[]
*/
public function getHubs()
{
return $this->hubs;
}
/**
* Optional. Configuration for Cloud Logging. If this field is present, the
* logging will be enabled.
*
* @param GoogleCloudBeyondcorpSecuritygatewaysV1LoggingConfig $logging
*/
public function setLogging(GoogleCloudBeyondcorpSecuritygatewaysV1LoggingConfig $logging)
{
$this->logging = $logging;
}
/**
* @return GoogleCloudBeyondcorpSecuritygatewaysV1LoggingConfig
*/
public function getLogging()
{
return $this->logging;
}
/**
* Identifier. Name of the resource.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Optional. Shared proxy configuration for all apps.
*
* @param GoogleCloudBeyondcorpSecuritygatewaysV1ProxyProtocolConfig $proxyProtocolConfig
*/
public function setProxyProtocolConfig(GoogleCloudBeyondcorpSecuritygatewaysV1ProxyProtocolConfig $proxyProtocolConfig)
{
$this->proxyProtocolConfig = $proxyProtocolConfig;
}
/**
* @return GoogleCloudBeyondcorpSecuritygatewaysV1ProxyProtocolConfig
*/
public function getProxyProtocolConfig()
{
return $this->proxyProtocolConfig;
}
/**
* Optional. Settings related to the Service Discovery.
*
* @param GoogleCloudBeyondcorpSecuritygatewaysV1ServiceDiscovery $serviceDiscovery
*/
public function setServiceDiscovery(GoogleCloudBeyondcorpSecuritygatewaysV1ServiceDiscovery $serviceDiscovery)
{
$this->serviceDiscovery = $serviceDiscovery;
}
/**
* @return GoogleCloudBeyondcorpSecuritygatewaysV1ServiceDiscovery
*/
public function getServiceDiscovery()
{
return $this->serviceDiscovery;
}
/**
* Output only. The operational state of the SecurityGateway.
*
* Accepted values: STATE_UNSPECIFIED, CREATING, UPDATING, DELETING, RUNNING,
* DOWN, ERROR
*
* @param self::STATE_* $state
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return self::STATE_*
*/
public function getState()
{
return $this->state;
}
/**
* Output only. Timestamp when the resource was last modified.
*
* @param string $updateTime
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGateway::class, 'Google_Service_BeyondCorp_GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGateway');
@@ -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\BeyondCorp;
class GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGatewayOperationMetadata extends \Google\Model
{
/**
* Output only. API version used to start the operation.
*
* @var string
*/
public $apiVersion;
/**
* Output only. The time the operation was created.
*
* @var string
*/
public $createTime;
/**
* Output only. The time the operation finished running.
*
* @var string
*/
public $endTime;
/**
* Output only. Identifies whether the user has requested cancellation of the
* operation. Operations that have been cancelled successfully have
* Operation.error value with a google.rpc.Status.code of 1, corresponding to
* `Code.CANCELLED`.
*
* @var bool
*/
public $requestedCancellation;
/**
* Output only. Human-readable status of the operation, if any.
*
* @var string
*/
public $statusMessage;
/**
* Output only. Server-defined resource path for the target of the operation.
*
* @var string
*/
public $target;
/**
* Output only. Name of the verb executed by the operation.
*
* @var string
*/
public $verb;
/**
* Output only. API version used to start the operation.
*
* @param string $apiVersion
*/
public function setApiVersion($apiVersion)
{
$this->apiVersion = $apiVersion;
}
/**
* @return string
*/
public function getApiVersion()
{
return $this->apiVersion;
}
/**
* Output only. The time the operation was created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Output only. The time the operation finished running.
*
* @param string $endTime
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* Output only. Identifies whether the user has requested cancellation of the
* operation. Operations that have been cancelled successfully have
* Operation.error value with a google.rpc.Status.code of 1, corresponding to
* `Code.CANCELLED`.
*
* @param bool $requestedCancellation
*/
public function setRequestedCancellation($requestedCancellation)
{
$this->requestedCancellation = $requestedCancellation;
}
/**
* @return bool
*/
public function getRequestedCancellation()
{
return $this->requestedCancellation;
}
/**
* Output only. Human-readable status of the operation, if any.
*
* @param string $statusMessage
*/
public function setStatusMessage($statusMessage)
{
$this->statusMessage = $statusMessage;
}
/**
* @return string
*/
public function getStatusMessage()
{
return $this->statusMessage;
}
/**
* Output only. Server-defined resource path for the target of the operation.
*
* @param string $target
*/
public function setTarget($target)
{
$this->target = $target;
}
/**
* @return string
*/
public function getTarget()
{
return $this->target;
}
/**
* Output only. Name of the verb executed by the operation.
*
* @param string $verb
*/
public function setVerb($verb)
{
$this->verb = $verb;
}
/**
* @return string
*/
public function getVerb()
{
return $this->verb;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGatewayOperationMetadata::class, 'Google_Service_BeyondCorp_GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGatewayOperationMetadata');
@@ -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\BeyondCorp;
class GoogleCloudBeyondcorpSecuritygatewaysV1ServiceDiscovery extends \Google\Model
{
protected $apiGatewayType = GoogleCloudBeyondcorpSecuritygatewaysV1ServiceDiscoveryApiGateway::class;
protected $apiGatewayDataType = '';
/**
* Optional. External API configuration.
*
* @param GoogleCloudBeyondcorpSecuritygatewaysV1ServiceDiscoveryApiGateway $apiGateway
*/
public function setApiGateway(GoogleCloudBeyondcorpSecuritygatewaysV1ServiceDiscoveryApiGateway $apiGateway)
{
$this->apiGateway = $apiGateway;
}
/**
* @return GoogleCloudBeyondcorpSecuritygatewaysV1ServiceDiscoveryApiGateway
*/
public function getApiGateway()
{
return $this->apiGateway;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudBeyondcorpSecuritygatewaysV1ServiceDiscovery::class, 'Google_Service_BeyondCorp_GoogleCloudBeyondcorpSecuritygatewaysV1ServiceDiscovery');

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