Initial commit

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

View File

@@ -0,0 +1,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\BlockchainNodeEngine;
class BlockchainNode extends \Google\Model
{
/**
* @var string
*/
public $blockchainType;
protected $connectionInfoType = ConnectionInfo::class;
protected $connectionInfoDataType = '';
/**
* @var string
*/
public $createTime;
protected $ethereumDetailsType = EthereumDetails::class;
protected $ethereumDetailsDataType = '';
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $name;
/**
* @var bool
*/
public $privateServiceConnectEnabled;
/**
* @var string
*/
public $state;
/**
* @var string
*/
public $updateTime;
/**
* @param string
*/
public function setBlockchainType($blockchainType)
{
$this->blockchainType = $blockchainType;
}
/**
* @return string
*/
public function getBlockchainType()
{
return $this->blockchainType;
}
/**
* @param ConnectionInfo
*/
public function setConnectionInfo(ConnectionInfo $connectionInfo)
{
$this->connectionInfo = $connectionInfo;
}
/**
* @return ConnectionInfo
*/
public function getConnectionInfo()
{
return $this->connectionInfo;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param EthereumDetails
*/
public function setEthereumDetails(EthereumDetails $ethereumDetails)
{
$this->ethereumDetails = $ethereumDetails;
}
/**
* @return EthereumDetails
*/
public function getEthereumDetails()
{
return $this->ethereumDetails;
}
/**
* @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 bool
*/
public function setPrivateServiceConnectEnabled($privateServiceConnectEnabled)
{
$this->privateServiceConnectEnabled = $privateServiceConnectEnabled;
}
/**
* @return bool
*/
public function getPrivateServiceConnectEnabled()
{
return $this->privateServiceConnectEnabled;
}
/**
* @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(BlockchainNode::class, 'Google_Service_BlockchainNodeEngine_BlockchainNode');

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,182 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BlockchainNodeEngine;
class EthereumDetails extends \Google\Model
{
protected $additionalEndpointsType = EthereumEndpoints::class;
protected $additionalEndpointsDataType = '';
/**
* @var bool
*/
public $apiEnableAdmin;
/**
* @var bool
*/
public $apiEnableDebug;
/**
* @var string
*/
public $consensusClient;
/**
* @var string
*/
public $executionClient;
protected $gethDetailsType = GethDetails::class;
protected $gethDetailsDataType = '';
/**
* @var string
*/
public $network;
/**
* @var string
*/
public $nodeType;
protected $validatorConfigType = ValidatorConfig::class;
protected $validatorConfigDataType = '';
/**
* @param EthereumEndpoints
*/
public function setAdditionalEndpoints(EthereumEndpoints $additionalEndpoints)
{
$this->additionalEndpoints = $additionalEndpoints;
}
/**
* @return EthereumEndpoints
*/
public function getAdditionalEndpoints()
{
return $this->additionalEndpoints;
}
/**
* @param bool
*/
public function setApiEnableAdmin($apiEnableAdmin)
{
$this->apiEnableAdmin = $apiEnableAdmin;
}
/**
* @return bool
*/
public function getApiEnableAdmin()
{
return $this->apiEnableAdmin;
}
/**
* @param bool
*/
public function setApiEnableDebug($apiEnableDebug)
{
$this->apiEnableDebug = $apiEnableDebug;
}
/**
* @return bool
*/
public function getApiEnableDebug()
{
return $this->apiEnableDebug;
}
/**
* @param string
*/
public function setConsensusClient($consensusClient)
{
$this->consensusClient = $consensusClient;
}
/**
* @return string
*/
public function getConsensusClient()
{
return $this->consensusClient;
}
/**
* @param string
*/
public function setExecutionClient($executionClient)
{
$this->executionClient = $executionClient;
}
/**
* @return string
*/
public function getExecutionClient()
{
return $this->executionClient;
}
/**
* @param GethDetails
*/
public function setGethDetails(GethDetails $gethDetails)
{
$this->gethDetails = $gethDetails;
}
/**
* @return GethDetails
*/
public function getGethDetails()
{
return $this->gethDetails;
}
/**
* @param string
*/
public function setNetwork($network)
{
$this->network = $network;
}
/**
* @return string
*/
public function getNetwork()
{
return $this->network;
}
/**
* @param string
*/
public function setNodeType($nodeType)
{
$this->nodeType = $nodeType;
}
/**
* @return string
*/
public function getNodeType()
{
return $this->nodeType;
}
/**
* @param ValidatorConfig
*/
public function setValidatorConfig(ValidatorConfig $validatorConfig)
{
$this->validatorConfig = $validatorConfig;
}
/**
* @return ValidatorConfig
*/
public function getValidatorConfig()
{
return $this->validatorConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EthereumDetails::class, 'Google_Service_BlockchainNodeEngine_EthereumDetails');

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,114 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BlockchainNodeEngine;
class Operation extends \Google\Model
{
/**
* @var bool
*/
public $done;
protected $errorType = Status::class;
protected $errorDataType = '';
/**
* @var array[]
*/
public $metadata;
/**
* @var string
*/
public $name;
/**
* @var array[]
*/
public $response;
/**
* @param bool
*/
public function setDone($done)
{
$this->done = $done;
}
/**
* @return bool
*/
public function getDone()
{
return $this->done;
}
/**
* @param Status
*/
public function setError(Status $error)
{
$this->error = $error;
}
/**
* @return Status
*/
public function getError()
{
return $this->error;
}
/**
* @param array[]
*/
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
/**
* @return array[]
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param array[]
*/
public function setResponse($response)
{
$this->response = $response;
}
/**
* @return array[]
*/
public function getResponse()
{
return $this->response;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Operation::class, 'Google_Service_BlockchainNodeEngine_Operation');

View File

@@ -0,0 +1,152 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BlockchainNodeEngine;
class OperationMetadata extends \Google\Model
{
/**
* @var string
*/
public $apiVersion;
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $endTime;
/**
* @var bool
*/
public $requestedCancellation;
/**
* @var string
*/
public $statusMessage;
/**
* @var string
*/
public $target;
/**
* @var string
*/
public $verb;
/**
* @param string
*/
public function setApiVersion($apiVersion)
{
$this->apiVersion = $apiVersion;
}
/**
* @return string
*/
public function getApiVersion()
{
return $this->apiVersion;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* @param bool
*/
public function setRequestedCancellation($requestedCancellation)
{
$this->requestedCancellation = $requestedCancellation;
}
/**
* @return bool
*/
public function getRequestedCancellation()
{
return $this->requestedCancellation;
}
/**
* @param string
*/
public function setStatusMessage($statusMessage)
{
$this->statusMessage = $statusMessage;
}
/**
* @return string
*/
public function getStatusMessage()
{
return $this->statusMessage;
}
/**
* @param string
*/
public function setTarget($target)
{
$this->target = $target;
}
/**
* @return string
*/
public function getTarget()
{
return $this->target;
}
/**
* @param string
*/
public function setVerb($verb)
{
$this->verb = $verb;
}
/**
* @return string
*/
public function getVerb()
{
return $this->verb;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(OperationMetadata::class, 'Google_Service_BlockchainNodeEngine_OperationMetadata');

View File

@@ -0,0 +1,114 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BlockchainNodeEngine;
class PolygonDetails extends \Google\Model
{
protected $additionalEndpointsType = PolygonEndpoints::class;
protected $additionalEndpointsDataType = '';
/**
* @var string
*/
public $blockProducerClient;
/**
* @var string
*/
public $network;
/**
* @var string
*/
public $nodeType;
/**
* @var string
*/
public $validationClient;
/**
* @param PolygonEndpoints
*/
public function setAdditionalEndpoints(PolygonEndpoints $additionalEndpoints)
{
$this->additionalEndpoints = $additionalEndpoints;
}
/**
* @return PolygonEndpoints
*/
public function getAdditionalEndpoints()
{
return $this->additionalEndpoints;
}
/**
* @param string
*/
public function setBlockProducerClient($blockProducerClient)
{
$this->blockProducerClient = $blockProducerClient;
}
/**
* @return string
*/
public function getBlockProducerClient()
{
return $this->blockProducerClient;
}
/**
* @param string
*/
public function setNetwork($network)
{
$this->network = $network;
}
/**
* @return string
*/
public function getNetwork()
{
return $this->network;
}
/**
* @param string
*/
public function setNodeType($nodeType)
{
$this->nodeType = $nodeType;
}
/**
* @return string
*/
public function getNodeType()
{
return $this->nodeType;
}
/**
* @param string
*/
public function setValidationClient($validationClient)
{
$this->validationClient = $validationClient;
}
/**
* @return string
*/
public function getValidationClient()
{
return $this->validationClient;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PolygonDetails::class, 'Google_Service_BlockchainNodeEngine_PolygonDetails');

View File

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

View File

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

View File

@@ -0,0 +1,74 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BlockchainNodeEngine\Resource;
use Google\Service\BlockchainNodeEngine\ListLocationsResponse;
use Google\Service\BlockchainNodeEngine\Location;
/**
* The "locations" collection of methods.
* Typical usage is:
* <code>
* $blockchainnodeengineService = new Google\Service\BlockchainNodeEngine(...);
* $locations = $blockchainnodeengineService->projects_locations;
* </code>
*/
class ProjectsLocations extends \Google\Service\Resource
{
/**
* Gets information about a location. (locations.get)
*
* @param string $name Resource name for the location.
* @param array $optParams Optional parameters.
* @return Location
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Location::class);
}
/**
* Lists information about the supported locations for this service.
* (locations.listProjectsLocations)
*
* @param string $name The resource that owns the locations collection, if
* applicable.
* @param array $optParams Optional parameters.
*
* @opt_param string filter A filter to narrow down results to a preferred
* subset. The filtering language accepts strings like `"displayName=tokyo"`,
* and is documented in more detail in [AIP-160](https://google.aip.dev/160).
* @opt_param int pageSize The maximum number of results to return. If not set,
* the service selects a default.
* @opt_param string pageToken A page token received from the `next_page_token`
* field in the response. Send that page token to receive the subsequent page.
* @return ListLocationsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocations($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListLocationsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocations::class, 'Google_Service_BlockchainNodeEngine_Resource_ProjectsLocations');

View File

@@ -0,0 +1,166 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BlockchainNodeEngine\Resource;
use Google\Service\BlockchainNodeEngine\BlockchainNode;
use Google\Service\BlockchainNodeEngine\ListBlockchainNodesResponse;
use Google\Service\BlockchainNodeEngine\Operation;
/**
* The "blockchainNodes" collection of methods.
* Typical usage is:
* <code>
* $blockchainnodeengineService = new Google\Service\BlockchainNodeEngine(...);
* $blockchainNodes = $blockchainnodeengineService->projects_locations_blockchainNodes;
* </code>
*/
class ProjectsLocationsBlockchainNodes extends \Google\Service\Resource
{
/**
* Creates a new blockchain node in a given project and location.
* (blockchainNodes.create)
*
* @param string $parent Required. Value for parent.
* @param BlockchainNode $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string blockchainNodeId Required. ID of the requesting object.
* @opt_param string requestId 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).
* @return Operation
* @throws \Google\Service\Exception
*/
public function create($parent, BlockchainNode $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Operation::class);
}
/**
* Deletes a single blockchain node. (blockchainNodes.delete)
*
* @param string $name Required. The fully qualified name of the blockchain node
* to delete. e.g. `projects/my-project/locations/us-
* central1/blockchainNodes/my-node`.
* @param array $optParams Optional parameters.
*
* @opt_param string requestId 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 after 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).
* @return Operation
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], Operation::class);
}
/**
* Gets details of a single blockchain node. (blockchainNodes.get)
*
* @param string $name Required. The fully qualified name of the blockchain node
* to fetch. e.g. `projects/my-project/locations/us-central1/blockchainNodes/my-
* node`.
* @param array $optParams Optional parameters.
* @return BlockchainNode
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], BlockchainNode::class);
}
/**
* Lists blockchain nodes in a given project and location.
* (blockchainNodes.listProjectsLocationsBlockchainNodes)
*
* @param string $parent Required. Parent value for `ListNodesRequest`.
* @param array $optParams Optional parameters.
*
* @opt_param string filter Filtering results.
* @opt_param string orderBy Hint for how to order the results.
* @opt_param int pageSize Requested page size. Server may return fewer items
* than requested. If unspecified, server will pick an appropriate default.
* @opt_param string pageToken A token identifying a page of results the server
* should return.
* @return ListBlockchainNodesResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsBlockchainNodes($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListBlockchainNodesResponse::class);
}
/**
* Updates the parameters of a single blockchain node. (blockchainNodes.patch)
*
* @param string $name Output only. The fully qualified name of the blockchain
* node. e.g. `projects/my-project/locations/us-central1/blockchainNodes/my-
* node`.
* @param BlockchainNode $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string requestId 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).
* @opt_param string updateMask Required. Field mask is used to specify the
* fields to be overwritten in the Blockchain node resource by the update. The
* fields specified in the `update_mask` are relative to the resource, not the
* full request. A field will be overwritten if it is in the mask. If the user
* does not provide a mask then all fields will be overwritten.
* @return Operation
* @throws \Google\Service\Exception
*/
public function patch($name, BlockchainNode $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], Operation::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsBlockchainNodes::class, 'Google_Service_BlockchainNodeEngine_Resource_ProjectsLocationsBlockchainNodes');

View File

@@ -0,0 +1,114 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BlockchainNodeEngine\Resource;
use Google\Service\BlockchainNodeEngine\CancelOperationRequest;
use Google\Service\BlockchainNodeEngine\GoogleProtobufEmpty;
use Google\Service\BlockchainNodeEngine\ListOperationsResponse;
use Google\Service\BlockchainNodeEngine\Operation;
/**
* The "operations" collection of methods.
* Typical usage is:
* <code>
* $blockchainnodeengineService = new Google\Service\BlockchainNodeEngine(...);
* $operations = $blockchainnodeengineService->projects_locations_operations;
* </code>
*/
class ProjectsLocationsOperations extends \Google\Service\Resource
{
/**
* Starts asynchronous cancellation on a long-running operation. The server
* makes a best effort to cancel the operation, but success is not guaranteed.
* If the server doesn't support this method, it returns
* `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or
* other methods to check whether the cancellation succeeded or whether the
* operation completed despite cancellation. On successful cancellation, the
* operation is not deleted; instead, it becomes an operation with an
* Operation.error value with a google.rpc.Status.code of `1`, corresponding to
* `Code.CANCELLED`. (operations.cancel)
*
* @param string $name The name of the operation resource to be cancelled.
* @param CancelOperationRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleProtobufEmpty
* @throws \Google\Service\Exception
*/
public function cancel($name, CancelOperationRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('cancel', [$params], GoogleProtobufEmpty::class);
}
/**
* Deletes a long-running operation. This method indicates that the client is no
* longer interested in the operation result. It does not cancel the operation.
* If the server doesn't support this method, it returns
* `google.rpc.Code.UNIMPLEMENTED`. (operations.delete)
*
* @param string $name The name of the operation resource to be deleted.
* @param array $optParams Optional parameters.
* @return GoogleProtobufEmpty
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], GoogleProtobufEmpty::class);
}
/**
* Gets the latest state of a long-running operation. Clients can use this
* method to poll the operation result at intervals as recommended by the API
* service. (operations.get)
*
* @param string $name The name of the operation resource.
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Operation::class);
}
/**
* Lists operations that match the specified filter in the request. If the
* server doesn't support this method, it returns `UNIMPLEMENTED`.
* (operations.listProjectsLocationsOperations)
*
* @param string $name The name of the operation's parent resource.
* @param array $optParams Optional parameters.
*
* @opt_param string filter The standard list filter.
* @opt_param int pageSize The standard list page size.
* @opt_param string pageToken The standard list page token.
* @return ListOperationsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsOperations($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListOperationsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsOperations::class, 'Google_Service_BlockchainNodeEngine_Resource_ProjectsLocationsOperations');

View File

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

View File

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