From 908a866797b9731352e650997112c8c3a0347ac5 Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Sun, 1 Oct 2023 18:10:14 -0700 Subject: [PATCH] Regenerate vmwareengine client (#3585) Generated in GitHub action: https://togithub.com/googleapis/googleapis/google-api-php-client-services/actions/workflows/codegen.yaml --- src/VMwareEngine.php | 1002 +++++++++++++++++ src/VMwareEngine/AuditConfig.php | 61 + src/VMwareEngine/AuditLogConfig.php | 63 ++ src/VMwareEngine/Binding.php | 79 ++ src/VMwareEngine/Cluster.php | 150 +++ src/VMwareEngine/Credentials.php | 62 + src/VMwareEngine/Expr.php | 98 ++ src/VMwareEngine/Hcx.php | 98 ++ src/VMwareEngine/HcxActivationKey.php | 116 ++ src/VMwareEngine/ListClustersResponse.php | 79 ++ .../ListHcxActivationKeysResponse.php | 79 ++ src/VMwareEngine/ListLocationsResponse.php | 61 + .../ListNetworkPoliciesResponse.php | 79 ++ src/VMwareEngine/ListNodeTypesResponse.php | 79 ++ src/VMwareEngine/ListOperationsResponse.php | 61 + .../ListPrivateCloudsResponse.php | 79 ++ ...PrivateConnectionPeeringRoutesResponse.php | 61 + .../ListPrivateConnectionsResponse.php | 79 ++ src/VMwareEngine/ListSubnetsResponse.php | 79 ++ .../ListVmwareEngineNetworksResponse.php | 79 ++ src/VMwareEngine/Location.php | 116 ++ src/VMwareEngine/ManagementCluster.php | 60 + src/VMwareEngine/NetworkConfig.php | 98 ++ src/VMwareEngine/NetworkPolicy.php | 202 ++++ src/VMwareEngine/NetworkService.php | 62 + src/VMwareEngine/NodeType.php | 171 +++ src/VMwareEngine/NodeTypeConfig.php | 62 + src/VMwareEngine/Nsx.php | 98 ++ src/VMwareEngine/Operation.php | 114 ++ src/VMwareEngine/OperationMetadata.php | 152 +++ src/VMwareEngine/PeeringRoute.php | 134 +++ src/VMwareEngine/Policy.php | 95 ++ src/VMwareEngine/PrivateCloud.php | 268 +++++ src/VMwareEngine/PrivateConnection.php | 260 +++++ .../ResetNsxCredentialsRequest.php | 44 + .../ResetVcenterCredentialsRequest.php | 44 + src/VMwareEngine/Resource/Projects.php | 33 + .../Resource/ProjectsLocations.php | 72 ++ .../ProjectsLocationsNetworkPolicies.php | 208 ++++ .../Resource/ProjectsLocationsNodeTypes.php | 87 ++ .../Resource/ProjectsLocationsOperations.php | 87 ++ .../ProjectsLocationsPrivateClouds.php | 376 +++++++ ...ProjectsLocationsPrivateCloudsClusters.php | 253 +++++ ...ocationsPrivateCloudsHcxActivationKeys.php | 195 ++++ .../ProjectsLocationsPrivateCloudsSubnets.php | 106 ++ .../ProjectsLocationsPrivateConnections.php | 202 ++++ ...cationsPrivateConnectionsPeeringRoutes.php | 62 + .../ProjectsLocationsVmwareEngineNetworks.php | 211 ++++ src/VMwareEngine/SetIamPolicyRequest.php | 60 + src/VMwareEngine/Status.php | 81 ++ src/VMwareEngine/Subnet.php | 116 ++ .../TestIamPermissionsRequest.php | 45 + .../TestIamPermissionsResponse.php | 45 + .../UndeletePrivateCloudRequest.php | 44 + src/VMwareEngine/Vcenter.php | 98 ++ src/VMwareEngine/VmwareEngineNetwork.php | 187 +++ src/VMwareEngine/VmwareengineEmpty.php | 25 + src/VMwareEngine/VpcNetwork.php | 62 + 58 files changed, 7179 insertions(+) create mode 100644 src/VMwareEngine.php create mode 100644 src/VMwareEngine/AuditConfig.php create mode 100644 src/VMwareEngine/AuditLogConfig.php create mode 100644 src/VMwareEngine/Binding.php create mode 100644 src/VMwareEngine/Cluster.php create mode 100644 src/VMwareEngine/Credentials.php create mode 100644 src/VMwareEngine/Expr.php create mode 100644 src/VMwareEngine/Hcx.php create mode 100644 src/VMwareEngine/HcxActivationKey.php create mode 100644 src/VMwareEngine/ListClustersResponse.php create mode 100644 src/VMwareEngine/ListHcxActivationKeysResponse.php create mode 100644 src/VMwareEngine/ListLocationsResponse.php create mode 100644 src/VMwareEngine/ListNetworkPoliciesResponse.php create mode 100644 src/VMwareEngine/ListNodeTypesResponse.php create mode 100644 src/VMwareEngine/ListOperationsResponse.php create mode 100644 src/VMwareEngine/ListPrivateCloudsResponse.php create mode 100644 src/VMwareEngine/ListPrivateConnectionPeeringRoutesResponse.php create mode 100644 src/VMwareEngine/ListPrivateConnectionsResponse.php create mode 100644 src/VMwareEngine/ListSubnetsResponse.php create mode 100644 src/VMwareEngine/ListVmwareEngineNetworksResponse.php create mode 100644 src/VMwareEngine/Location.php create mode 100644 src/VMwareEngine/ManagementCluster.php create mode 100644 src/VMwareEngine/NetworkConfig.php create mode 100644 src/VMwareEngine/NetworkPolicy.php create mode 100644 src/VMwareEngine/NetworkService.php create mode 100644 src/VMwareEngine/NodeType.php create mode 100644 src/VMwareEngine/NodeTypeConfig.php create mode 100644 src/VMwareEngine/Nsx.php create mode 100644 src/VMwareEngine/Operation.php create mode 100644 src/VMwareEngine/OperationMetadata.php create mode 100644 src/VMwareEngine/PeeringRoute.php create mode 100644 src/VMwareEngine/Policy.php create mode 100644 src/VMwareEngine/PrivateCloud.php create mode 100644 src/VMwareEngine/PrivateConnection.php create mode 100644 src/VMwareEngine/ResetNsxCredentialsRequest.php create mode 100644 src/VMwareEngine/ResetVcenterCredentialsRequest.php create mode 100644 src/VMwareEngine/Resource/Projects.php create mode 100644 src/VMwareEngine/Resource/ProjectsLocations.php create mode 100644 src/VMwareEngine/Resource/ProjectsLocationsNetworkPolicies.php create mode 100644 src/VMwareEngine/Resource/ProjectsLocationsNodeTypes.php create mode 100644 src/VMwareEngine/Resource/ProjectsLocationsOperations.php create mode 100644 src/VMwareEngine/Resource/ProjectsLocationsPrivateClouds.php create mode 100644 src/VMwareEngine/Resource/ProjectsLocationsPrivateCloudsClusters.php create mode 100644 src/VMwareEngine/Resource/ProjectsLocationsPrivateCloudsHcxActivationKeys.php create mode 100644 src/VMwareEngine/Resource/ProjectsLocationsPrivateCloudsSubnets.php create mode 100644 src/VMwareEngine/Resource/ProjectsLocationsPrivateConnections.php create mode 100644 src/VMwareEngine/Resource/ProjectsLocationsPrivateConnectionsPeeringRoutes.php create mode 100644 src/VMwareEngine/Resource/ProjectsLocationsVmwareEngineNetworks.php create mode 100644 src/VMwareEngine/SetIamPolicyRequest.php create mode 100644 src/VMwareEngine/Status.php create mode 100644 src/VMwareEngine/Subnet.php create mode 100644 src/VMwareEngine/TestIamPermissionsRequest.php create mode 100644 src/VMwareEngine/TestIamPermissionsResponse.php create mode 100644 src/VMwareEngine/UndeletePrivateCloudRequest.php create mode 100644 src/VMwareEngine/Vcenter.php create mode 100644 src/VMwareEngine/VmwareEngineNetwork.php create mode 100644 src/VMwareEngine/VmwareengineEmpty.php create mode 100644 src/VMwareEngine/VpcNetwork.php diff --git a/src/VMwareEngine.php b/src/VMwareEngine.php new file mode 100644 index 0000000000..455e57ee63 --- /dev/null +++ b/src/VMwareEngine.php @@ -0,0 +1,1002 @@ + + * The Google VMware Engine API lets you programmatically manage VMware + * environments.
+ * + *+ * For more information about this service, see the API + * Documentation + *
+ * + * @author Google, Inc. + */ +class VMwareEngine extends \Google\Service +{ + /** See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.. */ + const CLOUD_PLATFORM = + "https://www.googleapis.com/auth/cloud-platform"; + + public $projects_locations; + public $projects_locations_networkPolicies; + public $projects_locations_nodeTypes; + public $projects_locations_operations; + public $projects_locations_privateClouds; + public $projects_locations_privateClouds_clusters; + public $projects_locations_privateClouds_hcxActivationKeys; + public $projects_locations_privateClouds_subnets; + public $projects_locations_privateConnections; + public $projects_locations_privateConnections_peeringRoutes; + public $projects_locations_vmwareEngineNetworks; + + /** + * Constructs the internal representation of the VMwareEngine service. + * + * @param Client|array $clientOrConfig The client used to deliver requests, or a + * config array to pass to a new Client instance. + * @param string $rootUrl The root URL used for requests to the service. + */ + public function __construct($clientOrConfig = [], $rootUrl = null) + { + parent::__construct($clientOrConfig); + $this->rootUrl = $rootUrl ?: 'https://vmwareengine.googleapis.com/'; + $this->servicePath = ''; + $this->batchPath = 'batch'; + $this->version = 'v1'; + $this->serviceName = 'vmwareengine'; + + $this->projects_locations = new VMwareEngine\Resource\ProjectsLocations( + $this, + $this->serviceName, + 'locations', + [ + 'methods' => [ + 'get' => [ + 'path' => 'v1/{+name}', + 'httpMethod' => 'GET', + 'parameters' => [ + 'name' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + ], + ],'list' => [ + 'path' => 'v1/{+name}/locations', + 'httpMethod' => 'GET', + 'parameters' => [ + 'name' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + 'filter' => [ + 'location' => 'query', + 'type' => 'string', + ], + 'pageSize' => [ + 'location' => 'query', + 'type' => 'integer', + ], + 'pageToken' => [ + 'location' => 'query', + 'type' => 'string', + ], + ], + ], + ] + ] + ); + $this->projects_locations_networkPolicies = new VMwareEngine\Resource\ProjectsLocationsNetworkPolicies( + $this, + $this->serviceName, + 'networkPolicies', + [ + 'methods' => [ + 'create' => [ + 'path' => 'v1/{+parent}/networkPolicies', + 'httpMethod' => 'POST', + 'parameters' => [ + 'parent' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + 'networkPolicyId' => [ + 'location' => 'query', + 'type' => 'string', + ], + 'requestId' => [ + 'location' => 'query', + 'type' => 'string', + ], + ], + ],'delete' => [ + 'path' => 'v1/{+name}', + 'httpMethod' => 'DELETE', + 'parameters' => [ + 'name' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + 'requestId' => [ + 'location' => 'query', + 'type' => 'string', + ], + ], + ],'get' => [ + 'path' => 'v1/{+name}', + 'httpMethod' => 'GET', + 'parameters' => [ + 'name' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + ], + ],'list' => [ + 'path' => 'v1/{+parent}/networkPolicies', + 'httpMethod' => 'GET', + 'parameters' => [ + 'parent' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + 'filter' => [ + 'location' => 'query', + 'type' => 'string', + ], + 'orderBy' => [ + 'location' => 'query', + 'type' => 'string', + ], + 'pageSize' => [ + 'location' => 'query', + 'type' => 'integer', + ], + 'pageToken' => [ + 'location' => 'query', + 'type' => 'string', + ], + ], + ],'patch' => [ + 'path' => 'v1/{+name}', + 'httpMethod' => 'PATCH', + 'parameters' => [ + 'name' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + 'requestId' => [ + 'location' => 'query', + 'type' => 'string', + ], + 'updateMask' => [ + 'location' => 'query', + 'type' => 'string', + ], + ], + ], + ] + ] + ); + $this->projects_locations_nodeTypes = new VMwareEngine\Resource\ProjectsLocationsNodeTypes( + $this, + $this->serviceName, + 'nodeTypes', + [ + 'methods' => [ + 'get' => [ + 'path' => 'v1/{+name}', + 'httpMethod' => 'GET', + 'parameters' => [ + 'name' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + ], + ],'list' => [ + 'path' => 'v1/{+parent}/nodeTypes', + 'httpMethod' => 'GET', + 'parameters' => [ + 'parent' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + 'filter' => [ + 'location' => 'query', + 'type' => 'string', + ], + 'pageSize' => [ + 'location' => 'query', + 'type' => 'integer', + ], + 'pageToken' => [ + 'location' => 'query', + 'type' => 'string', + ], + ], + ], + ] + ] + ); + $this->projects_locations_operations = new VMwareEngine\Resource\ProjectsLocationsOperations( + $this, + $this->serviceName, + 'operations', + [ + 'methods' => [ + 'delete' => [ + 'path' => 'v1/{+name}', + 'httpMethod' => 'DELETE', + 'parameters' => [ + 'name' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + ], + ],'get' => [ + 'path' => 'v1/{+name}', + 'httpMethod' => 'GET', + 'parameters' => [ + 'name' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + ], + ],'list' => [ + 'path' => 'v1/{+name}/operations', + 'httpMethod' => 'GET', + 'parameters' => [ + 'name' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + 'filter' => [ + 'location' => 'query', + 'type' => 'string', + ], + 'pageSize' => [ + 'location' => 'query', + 'type' => 'integer', + ], + 'pageToken' => [ + 'location' => 'query', + 'type' => 'string', + ], + ], + ], + ] + ] + ); + $this->projects_locations_privateClouds = new VMwareEngine\Resource\ProjectsLocationsPrivateClouds( + $this, + $this->serviceName, + 'privateClouds', + [ + 'methods' => [ + 'create' => [ + 'path' => 'v1/{+parent}/privateClouds', + 'httpMethod' => 'POST', + 'parameters' => [ + 'parent' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + 'privateCloudId' => [ + 'location' => 'query', + 'type' => 'string', + ], + 'requestId' => [ + 'location' => 'query', + 'type' => 'string', + ], + 'validateOnly' => [ + 'location' => 'query', + 'type' => 'boolean', + ], + ], + ],'delete' => [ + 'path' => 'v1/{+name}', + 'httpMethod' => 'DELETE', + 'parameters' => [ + 'name' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + 'delayHours' => [ + 'location' => 'query', + 'type' => 'integer', + ], + 'force' => [ + 'location' => 'query', + 'type' => 'boolean', + ], + 'requestId' => [ + 'location' => 'query', + 'type' => 'string', + ], + ], + ],'get' => [ + 'path' => 'v1/{+name}', + 'httpMethod' => 'GET', + 'parameters' => [ + 'name' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + ], + ],'getIamPolicy' => [ + 'path' => 'v1/{+resource}:getIamPolicy', + 'httpMethod' => 'GET', + 'parameters' => [ + 'resource' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + 'options.requestedPolicyVersion' => [ + 'location' => 'query', + 'type' => 'integer', + ], + ], + ],'list' => [ + 'path' => 'v1/{+parent}/privateClouds', + 'httpMethod' => 'GET', + 'parameters' => [ + 'parent' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + 'filter' => [ + 'location' => 'query', + 'type' => 'string', + ], + 'orderBy' => [ + 'location' => 'query', + 'type' => 'string', + ], + 'pageSize' => [ + 'location' => 'query', + 'type' => 'integer', + ], + 'pageToken' => [ + 'location' => 'query', + 'type' => 'string', + ], + ], + ],'patch' => [ + 'path' => 'v1/{+name}', + 'httpMethod' => 'PATCH', + 'parameters' => [ + 'name' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + 'requestId' => [ + 'location' => 'query', + 'type' => 'string', + ], + 'updateMask' => [ + 'location' => 'query', + 'type' => 'string', + ], + ], + ],'resetNsxCredentials' => [ + 'path' => 'v1/{+privateCloud}:resetNsxCredentials', + 'httpMethod' => 'POST', + 'parameters' => [ + 'privateCloud' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + ], + ],'resetVcenterCredentials' => [ + 'path' => 'v1/{+privateCloud}:resetVcenterCredentials', + 'httpMethod' => 'POST', + 'parameters' => [ + 'privateCloud' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + ], + ],'setIamPolicy' => [ + 'path' => 'v1/{+resource}:setIamPolicy', + 'httpMethod' => 'POST', + 'parameters' => [ + 'resource' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + ], + ],'showNsxCredentials' => [ + 'path' => 'v1/{+privateCloud}:showNsxCredentials', + 'httpMethod' => 'GET', + 'parameters' => [ + 'privateCloud' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + ], + ],'showVcenterCredentials' => [ + 'path' => 'v1/{+privateCloud}:showVcenterCredentials', + 'httpMethod' => 'GET', + 'parameters' => [ + 'privateCloud' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + ], + ],'testIamPermissions' => [ + 'path' => 'v1/{+resource}:testIamPermissions', + 'httpMethod' => 'POST', + 'parameters' => [ + 'resource' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + ], + ],'undelete' => [ + 'path' => 'v1/{+name}:undelete', + 'httpMethod' => 'POST', + 'parameters' => [ + 'name' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + ], + ], + ] + ] + ); + $this->projects_locations_privateClouds_clusters = new VMwareEngine\Resource\ProjectsLocationsPrivateCloudsClusters( + $this, + $this->serviceName, + 'clusters', + [ + 'methods' => [ + 'create' => [ + 'path' => 'v1/{+parent}/clusters', + 'httpMethod' => 'POST', + 'parameters' => [ + 'parent' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + 'clusterId' => [ + 'location' => 'query', + 'type' => 'string', + ], + 'requestId' => [ + 'location' => 'query', + 'type' => 'string', + ], + 'validateOnly' => [ + 'location' => 'query', + 'type' => 'boolean', + ], + ], + ],'delete' => [ + 'path' => 'v1/{+name}', + 'httpMethod' => 'DELETE', + 'parameters' => [ + 'name' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + 'requestId' => [ + 'location' => 'query', + 'type' => 'string', + ], + ], + ],'get' => [ + 'path' => 'v1/{+name}', + 'httpMethod' => 'GET', + 'parameters' => [ + 'name' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + ], + ],'getIamPolicy' => [ + 'path' => 'v1/{+resource}:getIamPolicy', + 'httpMethod' => 'GET', + 'parameters' => [ + 'resource' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + 'options.requestedPolicyVersion' => [ + 'location' => 'query', + 'type' => 'integer', + ], + ], + ],'list' => [ + 'path' => 'v1/{+parent}/clusters', + 'httpMethod' => 'GET', + 'parameters' => [ + 'parent' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + 'filter' => [ + 'location' => 'query', + 'type' => 'string', + ], + 'orderBy' => [ + 'location' => 'query', + 'type' => 'string', + ], + 'pageSize' => [ + 'location' => 'query', + 'type' => 'integer', + ], + 'pageToken' => [ + 'location' => 'query', + 'type' => 'string', + ], + ], + ],'patch' => [ + 'path' => 'v1/{+name}', + 'httpMethod' => 'PATCH', + 'parameters' => [ + 'name' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + 'requestId' => [ + 'location' => 'query', + 'type' => 'string', + ], + 'updateMask' => [ + 'location' => 'query', + 'type' => 'string', + ], + 'validateOnly' => [ + 'location' => 'query', + 'type' => 'boolean', + ], + ], + ],'setIamPolicy' => [ + 'path' => 'v1/{+resource}:setIamPolicy', + 'httpMethod' => 'POST', + 'parameters' => [ + 'resource' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + ], + ],'testIamPermissions' => [ + 'path' => 'v1/{+resource}:testIamPermissions', + 'httpMethod' => 'POST', + 'parameters' => [ + 'resource' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + ], + ], + ] + ] + ); + $this->projects_locations_privateClouds_hcxActivationKeys = new VMwareEngine\Resource\ProjectsLocationsPrivateCloudsHcxActivationKeys( + $this, + $this->serviceName, + 'hcxActivationKeys', + [ + 'methods' => [ + 'create' => [ + 'path' => 'v1/{+parent}/hcxActivationKeys', + 'httpMethod' => 'POST', + 'parameters' => [ + 'parent' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + 'hcxActivationKeyId' => [ + 'location' => 'query', + 'type' => 'string', + ], + 'requestId' => [ + 'location' => 'query', + 'type' => 'string', + ], + ], + ],'get' => [ + 'path' => 'v1/{+name}', + 'httpMethod' => 'GET', + 'parameters' => [ + 'name' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + ], + ],'getIamPolicy' => [ + 'path' => 'v1/{+resource}:getIamPolicy', + 'httpMethod' => 'GET', + 'parameters' => [ + 'resource' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + 'options.requestedPolicyVersion' => [ + 'location' => 'query', + 'type' => 'integer', + ], + ], + ],'list' => [ + 'path' => 'v1/{+parent}/hcxActivationKeys', + 'httpMethod' => 'GET', + 'parameters' => [ + 'parent' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + 'pageSize' => [ + 'location' => 'query', + 'type' => 'integer', + ], + 'pageToken' => [ + 'location' => 'query', + 'type' => 'string', + ], + ], + ],'setIamPolicy' => [ + 'path' => 'v1/{+resource}:setIamPolicy', + 'httpMethod' => 'POST', + 'parameters' => [ + 'resource' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + ], + ],'testIamPermissions' => [ + 'path' => 'v1/{+resource}:testIamPermissions', + 'httpMethod' => 'POST', + 'parameters' => [ + 'resource' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + ], + ], + ] + ] + ); + $this->projects_locations_privateClouds_subnets = new VMwareEngine\Resource\ProjectsLocationsPrivateCloudsSubnets( + $this, + $this->serviceName, + 'subnets', + [ + 'methods' => [ + 'get' => [ + 'path' => 'v1/{+name}', + 'httpMethod' => 'GET', + 'parameters' => [ + 'name' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + ], + ],'list' => [ + 'path' => 'v1/{+parent}/subnets', + 'httpMethod' => 'GET', + 'parameters' => [ + 'parent' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + 'pageSize' => [ + 'location' => 'query', + 'type' => 'integer', + ], + 'pageToken' => [ + 'location' => 'query', + 'type' => 'string', + ], + ], + ],'patch' => [ + 'path' => 'v1/{+name}', + 'httpMethod' => 'PATCH', + 'parameters' => [ + 'name' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + 'updateMask' => [ + 'location' => 'query', + 'type' => 'string', + ], + ], + ], + ] + ] + ); + $this->projects_locations_privateConnections = new VMwareEngine\Resource\ProjectsLocationsPrivateConnections( + $this, + $this->serviceName, + 'privateConnections', + [ + 'methods' => [ + 'create' => [ + 'path' => 'v1/{+parent}/privateConnections', + 'httpMethod' => 'POST', + 'parameters' => [ + 'parent' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + 'privateConnectionId' => [ + 'location' => 'query', + 'type' => 'string', + ], + 'requestId' => [ + 'location' => 'query', + 'type' => 'string', + ], + ], + ],'delete' => [ + 'path' => 'v1/{+name}', + 'httpMethod' => 'DELETE', + 'parameters' => [ + 'name' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + 'requestId' => [ + 'location' => 'query', + 'type' => 'string', + ], + ], + ],'get' => [ + 'path' => 'v1/{+name}', + 'httpMethod' => 'GET', + 'parameters' => [ + 'name' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + ], + ],'list' => [ + 'path' => 'v1/{+parent}/privateConnections', + 'httpMethod' => 'GET', + 'parameters' => [ + 'parent' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + 'filter' => [ + 'location' => 'query', + 'type' => 'string', + ], + 'orderBy' => [ + 'location' => 'query', + 'type' => 'string', + ], + 'pageSize' => [ + 'location' => 'query', + 'type' => 'integer', + ], + 'pageToken' => [ + 'location' => 'query', + 'type' => 'string', + ], + ], + ],'patch' => [ + 'path' => 'v1/{+name}', + 'httpMethod' => 'PATCH', + 'parameters' => [ + 'name' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + 'requestId' => [ + 'location' => 'query', + 'type' => 'string', + ], + 'updateMask' => [ + 'location' => 'query', + 'type' => 'string', + ], + ], + ], + ] + ] + ); + $this->projects_locations_privateConnections_peeringRoutes = new VMwareEngine\Resource\ProjectsLocationsPrivateConnectionsPeeringRoutes( + $this, + $this->serviceName, + 'peeringRoutes', + [ + 'methods' => [ + 'list' => [ + 'path' => 'v1/{+parent}/peeringRoutes', + 'httpMethod' => 'GET', + 'parameters' => [ + 'parent' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + 'pageSize' => [ + 'location' => 'query', + 'type' => 'integer', + ], + 'pageToken' => [ + 'location' => 'query', + 'type' => 'string', + ], + ], + ], + ] + ] + ); + $this->projects_locations_vmwareEngineNetworks = new VMwareEngine\Resource\ProjectsLocationsVmwareEngineNetworks( + $this, + $this->serviceName, + 'vmwareEngineNetworks', + [ + 'methods' => [ + 'create' => [ + 'path' => 'v1/{+parent}/vmwareEngineNetworks', + 'httpMethod' => 'POST', + 'parameters' => [ + 'parent' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + 'requestId' => [ + 'location' => 'query', + 'type' => 'string', + ], + 'vmwareEngineNetworkId' => [ + 'location' => 'query', + 'type' => 'string', + ], + ], + ],'delete' => [ + 'path' => 'v1/{+name}', + 'httpMethod' => 'DELETE', + 'parameters' => [ + 'name' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + 'etag' => [ + 'location' => 'query', + 'type' => 'string', + ], + 'requestId' => [ + 'location' => 'query', + 'type' => 'string', + ], + ], + ],'get' => [ + 'path' => 'v1/{+name}', + 'httpMethod' => 'GET', + 'parameters' => [ + 'name' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + ], + ],'list' => [ + 'path' => 'v1/{+parent}/vmwareEngineNetworks', + 'httpMethod' => 'GET', + 'parameters' => [ + 'parent' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + 'filter' => [ + 'location' => 'query', + 'type' => 'string', + ], + 'orderBy' => [ + 'location' => 'query', + 'type' => 'string', + ], + 'pageSize' => [ + 'location' => 'query', + 'type' => 'integer', + ], + 'pageToken' => [ + 'location' => 'query', + 'type' => 'string', + ], + ], + ],'patch' => [ + 'path' => 'v1/{+name}', + 'httpMethod' => 'PATCH', + 'parameters' => [ + 'name' => [ + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ], + 'requestId' => [ + 'location' => 'query', + 'type' => 'string', + ], + 'updateMask' => [ + 'location' => 'query', + 'type' => 'string', + ], + ], + ], + ] + ] + ); + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(VMwareEngine::class, 'Google_Service_VMwareEngine'); diff --git a/src/VMwareEngine/AuditConfig.php b/src/VMwareEngine/AuditConfig.php new file mode 100644 index 0000000000..3783b3b71f --- /dev/null +++ b/src/VMwareEngine/AuditConfig.php @@ -0,0 +1,61 @@ +auditLogConfigs = $auditLogConfigs; + } + /** + * @return AuditLogConfig[] + */ + public function getAuditLogConfigs() + { + return $this->auditLogConfigs; + } + /** + * @param string + */ + public function setService($service) + { + $this->service = $service; + } + /** + * @return string + */ + public function getService() + { + return $this->service; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(AuditConfig::class, 'Google_Service_VMwareEngine_AuditConfig'); diff --git a/src/VMwareEngine/AuditLogConfig.php b/src/VMwareEngine/AuditLogConfig.php new file mode 100644 index 0000000000..2df461a31d --- /dev/null +++ b/src/VMwareEngine/AuditLogConfig.php @@ -0,0 +1,63 @@ +exemptedMembers = $exemptedMembers; + } + /** + * @return string[] + */ + public function getExemptedMembers() + { + return $this->exemptedMembers; + } + /** + * @param string + */ + public function setLogType($logType) + { + $this->logType = $logType; + } + /** + * @return string + */ + public function getLogType() + { + return $this->logType; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(AuditLogConfig::class, 'Google_Service_VMwareEngine_AuditLogConfig'); diff --git a/src/VMwareEngine/Binding.php b/src/VMwareEngine/Binding.php new file mode 100644 index 0000000000..06a5544093 --- /dev/null +++ b/src/VMwareEngine/Binding.php @@ -0,0 +1,79 @@ +condition = $condition; + } + /** + * @return Expr + */ + public function getCondition() + { + return $this->condition; + } + /** + * @param string[] + */ + public function setMembers($members) + { + $this->members = $members; + } + /** + * @return string[] + */ + public function getMembers() + { + return $this->members; + } + /** + * @param string + */ + public function setRole($role) + { + $this->role = $role; + } + /** + * @return string + */ + public function getRole() + { + return $this->role; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(Binding::class, 'Google_Service_VMwareEngine_Binding'); diff --git a/src/VMwareEngine/Cluster.php b/src/VMwareEngine/Cluster.php new file mode 100644 index 0000000000..4e001105ba --- /dev/null +++ b/src/VMwareEngine/Cluster.php @@ -0,0 +1,150 @@ +createTime = $createTime; + } + /** + * @return string + */ + public function getCreateTime() + { + return $this->createTime; + } + /** + * @param bool + */ + public function setManagement($management) + { + $this->management = $management; + } + /** + * @return bool + */ + public function getManagement() + { + return $this->management; + } + /** + * @param string + */ + public function setName($name) + { + $this->name = $name; + } + /** + * @return string + */ + public function getName() + { + return $this->name; + } + /** + * @param NodeTypeConfig[] + */ + public function setNodeTypeConfigs($nodeTypeConfigs) + { + $this->nodeTypeConfigs = $nodeTypeConfigs; + } + /** + * @return NodeTypeConfig[] + */ + public function getNodeTypeConfigs() + { + return $this->nodeTypeConfigs; + } + /** + * @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(Cluster::class, 'Google_Service_VMwareEngine_Cluster'); diff --git a/src/VMwareEngine/Credentials.php b/src/VMwareEngine/Credentials.php new file mode 100644 index 0000000000..e27a832f96 --- /dev/null +++ b/src/VMwareEngine/Credentials.php @@ -0,0 +1,62 @@ +password = $password; + } + /** + * @return string + */ + public function getPassword() + { + return $this->password; + } + /** + * @param string + */ + public function setUsername($username) + { + $this->username = $username; + } + /** + * @return string + */ + public function getUsername() + { + return $this->username; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(Credentials::class, 'Google_Service_VMwareEngine_Credentials'); diff --git a/src/VMwareEngine/Expr.php b/src/VMwareEngine/Expr.php new file mode 100644 index 0000000000..3be74bddc3 --- /dev/null +++ b/src/VMwareEngine/Expr.php @@ -0,0 +1,98 @@ +description = $description; + } + /** + * @return string + */ + public function getDescription() + { + return $this->description; + } + /** + * @param string + */ + public function setExpression($expression) + { + $this->expression = $expression; + } + /** + * @return string + */ + public function getExpression() + { + return $this->expression; + } + /** + * @param string + */ + public function setLocation($location) + { + $this->location = $location; + } + /** + * @return string + */ + public function getLocation() + { + return $this->location; + } + /** + * @param string + */ + public function setTitle($title) + { + $this->title = $title; + } + /** + * @return string + */ + public function getTitle() + { + return $this->title; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(Expr::class, 'Google_Service_VMwareEngine_Expr'); diff --git a/src/VMwareEngine/Hcx.php b/src/VMwareEngine/Hcx.php new file mode 100644 index 0000000000..43d22ba478 --- /dev/null +++ b/src/VMwareEngine/Hcx.php @@ -0,0 +1,98 @@ +fqdn = $fqdn; + } + /** + * @return string + */ + public function getFqdn() + { + return $this->fqdn; + } + /** + * @param string + */ + public function setInternalIp($internalIp) + { + $this->internalIp = $internalIp; + } + /** + * @return string + */ + public function getInternalIp() + { + return $this->internalIp; + } + /** + * @param string + */ + public function setState($state) + { + $this->state = $state; + } + /** + * @return string + */ + public function getState() + { + return $this->state; + } + /** + * @param string + */ + public function setVersion($version) + { + $this->version = $version; + } + /** + * @return string + */ + public function getVersion() + { + return $this->version; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(Hcx::class, 'Google_Service_VMwareEngine_Hcx'); diff --git a/src/VMwareEngine/HcxActivationKey.php b/src/VMwareEngine/HcxActivationKey.php new file mode 100644 index 0000000000..68cbb07b87 --- /dev/null +++ b/src/VMwareEngine/HcxActivationKey.php @@ -0,0 +1,116 @@ +activationKey = $activationKey; + } + /** + * @return string + */ + public function getActivationKey() + { + return $this->activationKey; + } + /** + * @param string + */ + public function setCreateTime($createTime) + { + $this->createTime = $createTime; + } + /** + * @return string + */ + public function getCreateTime() + { + return $this->createTime; + } + /** + * @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 setUid($uid) + { + $this->uid = $uid; + } + /** + * @return string + */ + public function getUid() + { + return $this->uid; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(HcxActivationKey::class, 'Google_Service_VMwareEngine_HcxActivationKey'); diff --git a/src/VMwareEngine/ListClustersResponse.php b/src/VMwareEngine/ListClustersResponse.php new file mode 100644 index 0000000000..5f75bc3a52 --- /dev/null +++ b/src/VMwareEngine/ListClustersResponse.php @@ -0,0 +1,79 @@ +clusters = $clusters; + } + /** + * @return Cluster[] + */ + public function getClusters() + { + return $this->clusters; + } + /** + * @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(ListClustersResponse::class, 'Google_Service_VMwareEngine_ListClustersResponse'); diff --git a/src/VMwareEngine/ListHcxActivationKeysResponse.php b/src/VMwareEngine/ListHcxActivationKeysResponse.php new file mode 100644 index 0000000000..0943a7e78d --- /dev/null +++ b/src/VMwareEngine/ListHcxActivationKeysResponse.php @@ -0,0 +1,79 @@ +hcxActivationKeys = $hcxActivationKeys; + } + /** + * @return HcxActivationKey[] + */ + public function getHcxActivationKeys() + { + return $this->hcxActivationKeys; + } + /** + * @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(ListHcxActivationKeysResponse::class, 'Google_Service_VMwareEngine_ListHcxActivationKeysResponse'); diff --git a/src/VMwareEngine/ListLocationsResponse.php b/src/VMwareEngine/ListLocationsResponse.php new file mode 100644 index 0000000000..8aa0b0cc94 --- /dev/null +++ b/src/VMwareEngine/ListLocationsResponse.php @@ -0,0 +1,61 @@ +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_VMwareEngine_ListLocationsResponse'); diff --git a/src/VMwareEngine/ListNetworkPoliciesResponse.php b/src/VMwareEngine/ListNetworkPoliciesResponse.php new file mode 100644 index 0000000000..0d61a4039e --- /dev/null +++ b/src/VMwareEngine/ListNetworkPoliciesResponse.php @@ -0,0 +1,79 @@ +networkPolicies = $networkPolicies; + } + /** + * @return NetworkPolicy[] + */ + public function getNetworkPolicies() + { + return $this->networkPolicies; + } + /** + * @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(ListNetworkPoliciesResponse::class, 'Google_Service_VMwareEngine_ListNetworkPoliciesResponse'); diff --git a/src/VMwareEngine/ListNodeTypesResponse.php b/src/VMwareEngine/ListNodeTypesResponse.php new file mode 100644 index 0000000000..69c6dfedfa --- /dev/null +++ b/src/VMwareEngine/ListNodeTypesResponse.php @@ -0,0 +1,79 @@ +nextPageToken = $nextPageToken; + } + /** + * @return string + */ + public function getNextPageToken() + { + return $this->nextPageToken; + } + /** + * @param NodeType[] + */ + public function setNodeTypes($nodeTypes) + { + $this->nodeTypes = $nodeTypes; + } + /** + * @return NodeType[] + */ + public function getNodeTypes() + { + return $this->nodeTypes; + } + /** + * @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(ListNodeTypesResponse::class, 'Google_Service_VMwareEngine_ListNodeTypesResponse'); diff --git a/src/VMwareEngine/ListOperationsResponse.php b/src/VMwareEngine/ListOperationsResponse.php new file mode 100644 index 0000000000..c867684b4d --- /dev/null +++ b/src/VMwareEngine/ListOperationsResponse.php @@ -0,0 +1,61 @@ +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_VMwareEngine_ListOperationsResponse'); diff --git a/src/VMwareEngine/ListPrivateCloudsResponse.php b/src/VMwareEngine/ListPrivateCloudsResponse.php new file mode 100644 index 0000000000..343f9b38c0 --- /dev/null +++ b/src/VMwareEngine/ListPrivateCloudsResponse.php @@ -0,0 +1,79 @@ +nextPageToken = $nextPageToken; + } + /** + * @return string + */ + public function getNextPageToken() + { + return $this->nextPageToken; + } + /** + * @param PrivateCloud[] + */ + public function setPrivateClouds($privateClouds) + { + $this->privateClouds = $privateClouds; + } + /** + * @return PrivateCloud[] + */ + public function getPrivateClouds() + { + return $this->privateClouds; + } + /** + * @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(ListPrivateCloudsResponse::class, 'Google_Service_VMwareEngine_ListPrivateCloudsResponse'); diff --git a/src/VMwareEngine/ListPrivateConnectionPeeringRoutesResponse.php b/src/VMwareEngine/ListPrivateConnectionPeeringRoutesResponse.php new file mode 100644 index 0000000000..04f7abaf58 --- /dev/null +++ b/src/VMwareEngine/ListPrivateConnectionPeeringRoutesResponse.php @@ -0,0 +1,61 @@ +nextPageToken = $nextPageToken; + } + /** + * @return string + */ + public function getNextPageToken() + { + return $this->nextPageToken; + } + /** + * @param PeeringRoute[] + */ + public function setPeeringRoutes($peeringRoutes) + { + $this->peeringRoutes = $peeringRoutes; + } + /** + * @return PeeringRoute[] + */ + public function getPeeringRoutes() + { + return $this->peeringRoutes; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(ListPrivateConnectionPeeringRoutesResponse::class, 'Google_Service_VMwareEngine_ListPrivateConnectionPeeringRoutesResponse'); diff --git a/src/VMwareEngine/ListPrivateConnectionsResponse.php b/src/VMwareEngine/ListPrivateConnectionsResponse.php new file mode 100644 index 0000000000..c2d28c96da --- /dev/null +++ b/src/VMwareEngine/ListPrivateConnectionsResponse.php @@ -0,0 +1,79 @@ +nextPageToken = $nextPageToken; + } + /** + * @return string + */ + public function getNextPageToken() + { + return $this->nextPageToken; + } + /** + * @param PrivateConnection[] + */ + public function setPrivateConnections($privateConnections) + { + $this->privateConnections = $privateConnections; + } + /** + * @return PrivateConnection[] + */ + public function getPrivateConnections() + { + return $this->privateConnections; + } + /** + * @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(ListPrivateConnectionsResponse::class, 'Google_Service_VMwareEngine_ListPrivateConnectionsResponse'); diff --git a/src/VMwareEngine/ListSubnetsResponse.php b/src/VMwareEngine/ListSubnetsResponse.php new file mode 100644 index 0000000000..a16ba21d52 --- /dev/null +++ b/src/VMwareEngine/ListSubnetsResponse.php @@ -0,0 +1,79 @@ +nextPageToken = $nextPageToken; + } + /** + * @return string + */ + public function getNextPageToken() + { + return $this->nextPageToken; + } + /** + * @param Subnet[] + */ + public function setSubnets($subnets) + { + $this->subnets = $subnets; + } + /** + * @return Subnet[] + */ + public function getSubnets() + { + return $this->subnets; + } + /** + * @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(ListSubnetsResponse::class, 'Google_Service_VMwareEngine_ListSubnetsResponse'); diff --git a/src/VMwareEngine/ListVmwareEngineNetworksResponse.php b/src/VMwareEngine/ListVmwareEngineNetworksResponse.php new file mode 100644 index 0000000000..d3688f571b --- /dev/null +++ b/src/VMwareEngine/ListVmwareEngineNetworksResponse.php @@ -0,0 +1,79 @@ +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; + } + /** + * @param VmwareEngineNetwork[] + */ + public function setVmwareEngineNetworks($vmwareEngineNetworks) + { + $this->vmwareEngineNetworks = $vmwareEngineNetworks; + } + /** + * @return VmwareEngineNetwork[] + */ + public function getVmwareEngineNetworks() + { + return $this->vmwareEngineNetworks; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(ListVmwareEngineNetworksResponse::class, 'Google_Service_VMwareEngine_ListVmwareEngineNetworksResponse'); diff --git a/src/VMwareEngine/Location.php b/src/VMwareEngine/Location.php new file mode 100644 index 0000000000..3081b54c5a --- /dev/null +++ b/src/VMwareEngine/Location.php @@ -0,0 +1,116 @@ +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_VMwareEngine_Location'); diff --git a/src/VMwareEngine/ManagementCluster.php b/src/VMwareEngine/ManagementCluster.php new file mode 100644 index 0000000000..d21885750a --- /dev/null +++ b/src/VMwareEngine/ManagementCluster.php @@ -0,0 +1,60 @@ +clusterId = $clusterId; + } + /** + * @return string + */ + public function getClusterId() + { + return $this->clusterId; + } + /** + * @param NodeTypeConfig[] + */ + public function setNodeTypeConfigs($nodeTypeConfigs) + { + $this->nodeTypeConfigs = $nodeTypeConfigs; + } + /** + * @return NodeTypeConfig[] + */ + public function getNodeTypeConfigs() + { + return $this->nodeTypeConfigs; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(ManagementCluster::class, 'Google_Service_VMwareEngine_ManagementCluster'); diff --git a/src/VMwareEngine/NetworkConfig.php b/src/VMwareEngine/NetworkConfig.php new file mode 100644 index 0000000000..3942332153 --- /dev/null +++ b/src/VMwareEngine/NetworkConfig.php @@ -0,0 +1,98 @@ +managementCidr = $managementCidr; + } + /** + * @return string + */ + public function getManagementCidr() + { + return $this->managementCidr; + } + /** + * @param int + */ + public function setManagementIpAddressLayoutVersion($managementIpAddressLayoutVersion) + { + $this->managementIpAddressLayoutVersion = $managementIpAddressLayoutVersion; + } + /** + * @return int + */ + public function getManagementIpAddressLayoutVersion() + { + return $this->managementIpAddressLayoutVersion; + } + /** + * @param string + */ + public function setVmwareEngineNetwork($vmwareEngineNetwork) + { + $this->vmwareEngineNetwork = $vmwareEngineNetwork; + } + /** + * @return string + */ + public function getVmwareEngineNetwork() + { + return $this->vmwareEngineNetwork; + } + /** + * @param string + */ + public function setVmwareEngineNetworkCanonical($vmwareEngineNetworkCanonical) + { + $this->vmwareEngineNetworkCanonical = $vmwareEngineNetworkCanonical; + } + /** + * @return string + */ + public function getVmwareEngineNetworkCanonical() + { + return $this->vmwareEngineNetworkCanonical; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(NetworkConfig::class, 'Google_Service_VMwareEngine_NetworkConfig'); diff --git a/src/VMwareEngine/NetworkPolicy.php b/src/VMwareEngine/NetworkPolicy.php new file mode 100644 index 0000000000..5f4649adfd --- /dev/null +++ b/src/VMwareEngine/NetworkPolicy.php @@ -0,0 +1,202 @@ +createTime = $createTime; + } + /** + * @return string + */ + public function getCreateTime() + { + return $this->createTime; + } + /** + * @param string + */ + public function setDescription($description) + { + $this->description = $description; + } + /** + * @return string + */ + public function getDescription() + { + return $this->description; + } + /** + * @param string + */ + public function setEdgeServicesCidr($edgeServicesCidr) + { + $this->edgeServicesCidr = $edgeServicesCidr; + } + /** + * @return string + */ + public function getEdgeServicesCidr() + { + return $this->edgeServicesCidr; + } + /** + * @param NetworkService + */ + public function setExternalIp(NetworkService $externalIp) + { + $this->externalIp = $externalIp; + } + /** + * @return NetworkService + */ + public function getExternalIp() + { + return $this->externalIp; + } + /** + * @param NetworkService + */ + public function setInternetAccess(NetworkService $internetAccess) + { + $this->internetAccess = $internetAccess; + } + /** + * @return NetworkService + */ + public function getInternetAccess() + { + return $this->internetAccess; + } + /** + * @param string + */ + public function setName($name) + { + $this->name = $name; + } + /** + * @return string + */ + public function getName() + { + return $this->name; + } + /** + * @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; + } + /** + * @param string + */ + public function setVmwareEngineNetwork($vmwareEngineNetwork) + { + $this->vmwareEngineNetwork = $vmwareEngineNetwork; + } + /** + * @return string + */ + public function getVmwareEngineNetwork() + { + return $this->vmwareEngineNetwork; + } + /** + * @param string + */ + public function setVmwareEngineNetworkCanonical($vmwareEngineNetworkCanonical) + { + $this->vmwareEngineNetworkCanonical = $vmwareEngineNetworkCanonical; + } + /** + * @return string + */ + public function getVmwareEngineNetworkCanonical() + { + return $this->vmwareEngineNetworkCanonical; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(NetworkPolicy::class, 'Google_Service_VMwareEngine_NetworkPolicy'); diff --git a/src/VMwareEngine/NetworkService.php b/src/VMwareEngine/NetworkService.php new file mode 100644 index 0000000000..1dbe9e8ebe --- /dev/null +++ b/src/VMwareEngine/NetworkService.php @@ -0,0 +1,62 @@ +enabled = $enabled; + } + /** + * @return bool + */ + public function getEnabled() + { + return $this->enabled; + } + /** + * @param string + */ + public function setState($state) + { + $this->state = $state; + } + /** + * @return string + */ + public function getState() + { + return $this->state; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(NetworkService::class, 'Google_Service_VMwareEngine_NetworkService'); diff --git a/src/VMwareEngine/NodeType.php b/src/VMwareEngine/NodeType.php new file mode 100644 index 0000000000..1d7ac0ee06 --- /dev/null +++ b/src/VMwareEngine/NodeType.php @@ -0,0 +1,171 @@ +availableCustomCoreCounts = $availableCustomCoreCounts; + } + /** + * @return int[] + */ + public function getAvailableCustomCoreCounts() + { + return $this->availableCustomCoreCounts; + } + /** + * @param int + */ + public function setDiskSizeGb($diskSizeGb) + { + $this->diskSizeGb = $diskSizeGb; + } + /** + * @return int + */ + public function getDiskSizeGb() + { + return $this->diskSizeGb; + } + /** + * @param string + */ + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + /** + * @return string + */ + public function getDisplayName() + { + return $this->displayName; + } + /** + * @param int + */ + public function setMemoryGb($memoryGb) + { + $this->memoryGb = $memoryGb; + } + /** + * @return int + */ + public function getMemoryGb() + { + return $this->memoryGb; + } + /** + * @param string + */ + public function setName($name) + { + $this->name = $name; + } + /** + * @return string + */ + public function getName() + { + return $this->name; + } + /** + * @param string + */ + public function setNodeTypeId($nodeTypeId) + { + $this->nodeTypeId = $nodeTypeId; + } + /** + * @return string + */ + public function getNodeTypeId() + { + return $this->nodeTypeId; + } + /** + * @param int + */ + public function setTotalCoreCount($totalCoreCount) + { + $this->totalCoreCount = $totalCoreCount; + } + /** + * @return int + */ + public function getTotalCoreCount() + { + return $this->totalCoreCount; + } + /** + * @param int + */ + public function setVirtualCpuCount($virtualCpuCount) + { + $this->virtualCpuCount = $virtualCpuCount; + } + /** + * @return int + */ + public function getVirtualCpuCount() + { + return $this->virtualCpuCount; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(NodeType::class, 'Google_Service_VMwareEngine_NodeType'); diff --git a/src/VMwareEngine/NodeTypeConfig.php b/src/VMwareEngine/NodeTypeConfig.php new file mode 100644 index 0000000000..a2df3b1b54 --- /dev/null +++ b/src/VMwareEngine/NodeTypeConfig.php @@ -0,0 +1,62 @@ +customCoreCount = $customCoreCount; + } + /** + * @return int + */ + public function getCustomCoreCount() + { + return $this->customCoreCount; + } + /** + * @param int + */ + public function setNodeCount($nodeCount) + { + $this->nodeCount = $nodeCount; + } + /** + * @return int + */ + public function getNodeCount() + { + return $this->nodeCount; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(NodeTypeConfig::class, 'Google_Service_VMwareEngine_NodeTypeConfig'); diff --git a/src/VMwareEngine/Nsx.php b/src/VMwareEngine/Nsx.php new file mode 100644 index 0000000000..968e5adc99 --- /dev/null +++ b/src/VMwareEngine/Nsx.php @@ -0,0 +1,98 @@ +fqdn = $fqdn; + } + /** + * @return string + */ + public function getFqdn() + { + return $this->fqdn; + } + /** + * @param string + */ + public function setInternalIp($internalIp) + { + $this->internalIp = $internalIp; + } + /** + * @return string + */ + public function getInternalIp() + { + return $this->internalIp; + } + /** + * @param string + */ + public function setState($state) + { + $this->state = $state; + } + /** + * @return string + */ + public function getState() + { + return $this->state; + } + /** + * @param string + */ + public function setVersion($version) + { + $this->version = $version; + } + /** + * @return string + */ + public function getVersion() + { + return $this->version; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(Nsx::class, 'Google_Service_VMwareEngine_Nsx'); diff --git a/src/VMwareEngine/Operation.php b/src/VMwareEngine/Operation.php new file mode 100644 index 0000000000..2e33e37f5c --- /dev/null +++ b/src/VMwareEngine/Operation.php @@ -0,0 +1,114 @@ +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_VMwareEngine_Operation'); diff --git a/src/VMwareEngine/OperationMetadata.php b/src/VMwareEngine/OperationMetadata.php new file mode 100644 index 0000000000..b28402cf1d --- /dev/null +++ b/src/VMwareEngine/OperationMetadata.php @@ -0,0 +1,152 @@ +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_VMwareEngine_OperationMetadata'); diff --git a/src/VMwareEngine/PeeringRoute.php b/src/VMwareEngine/PeeringRoute.php new file mode 100644 index 0000000000..56d98c59b3 --- /dev/null +++ b/src/VMwareEngine/PeeringRoute.php @@ -0,0 +1,134 @@ +destRange = $destRange; + } + /** + * @return string + */ + public function getDestRange() + { + return $this->destRange; + } + /** + * @param string + */ + public function setDirection($direction) + { + $this->direction = $direction; + } + /** + * @return string + */ + public function getDirection() + { + return $this->direction; + } + /** + * @param bool + */ + public function setImported($imported) + { + $this->imported = $imported; + } + /** + * @return bool + */ + public function getImported() + { + return $this->imported; + } + /** + * @param string + */ + public function setNextHopRegion($nextHopRegion) + { + $this->nextHopRegion = $nextHopRegion; + } + /** + * @return string + */ + public function getNextHopRegion() + { + return $this->nextHopRegion; + } + /** + * @param string + */ + public function setPriority($priority) + { + $this->priority = $priority; + } + /** + * @return string + */ + public function getPriority() + { + return $this->priority; + } + /** + * @param string + */ + public function setType($type) + { + $this->type = $type; + } + /** + * @return string + */ + public function getType() + { + return $this->type; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(PeeringRoute::class, 'Google_Service_VMwareEngine_PeeringRoute'); diff --git a/src/VMwareEngine/Policy.php b/src/VMwareEngine/Policy.php new file mode 100644 index 0000000000..1bc593d079 --- /dev/null +++ b/src/VMwareEngine/Policy.php @@ -0,0 +1,95 @@ +auditConfigs = $auditConfigs; + } + /** + * @return AuditConfig[] + */ + public function getAuditConfigs() + { + return $this->auditConfigs; + } + /** + * @param Binding[] + */ + public function setBindings($bindings) + { + $this->bindings = $bindings; + } + /** + * @return Binding[] + */ + public function getBindings() + { + return $this->bindings; + } + /** + * @param string + */ + public function setEtag($etag) + { + $this->etag = $etag; + } + /** + * @return string + */ + public function getEtag() + { + return $this->etag; + } + /** + * @param int + */ + public function setVersion($version) + { + $this->version = $version; + } + /** + * @return int + */ + public function getVersion() + { + return $this->version; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(Policy::class, 'Google_Service_VMwareEngine_Policy'); diff --git a/src/VMwareEngine/PrivateCloud.php b/src/VMwareEngine/PrivateCloud.php new file mode 100644 index 0000000000..4a3b4a1750 --- /dev/null +++ b/src/VMwareEngine/PrivateCloud.php @@ -0,0 +1,268 @@ +createTime = $createTime; + } + /** + * @return string + */ + public function getCreateTime() + { + return $this->createTime; + } + /** + * @param string + */ + public function setDeleteTime($deleteTime) + { + $this->deleteTime = $deleteTime; + } + /** + * @return string + */ + public function getDeleteTime() + { + return $this->deleteTime; + } + /** + * @param string + */ + public function setDescription($description) + { + $this->description = $description; + } + /** + * @return string + */ + public function getDescription() + { + return $this->description; + } + /** + * @param string + */ + public function setExpireTime($expireTime) + { + $this->expireTime = $expireTime; + } + /** + * @return string + */ + public function getExpireTime() + { + return $this->expireTime; + } + /** + * @param Hcx + */ + public function setHcx(Hcx $hcx) + { + $this->hcx = $hcx; + } + /** + * @return Hcx + */ + public function getHcx() + { + return $this->hcx; + } + /** + * @param ManagementCluster + */ + public function setManagementCluster(ManagementCluster $managementCluster) + { + $this->managementCluster = $managementCluster; + } + /** + * @return ManagementCluster + */ + public function getManagementCluster() + { + return $this->managementCluster; + } + /** + * @param string + */ + public function setName($name) + { + $this->name = $name; + } + /** + * @return string + */ + public function getName() + { + return $this->name; + } + /** + * @param NetworkConfig + */ + public function setNetworkConfig(NetworkConfig $networkConfig) + { + $this->networkConfig = $networkConfig; + } + /** + * @return NetworkConfig + */ + public function getNetworkConfig() + { + return $this->networkConfig; + } + /** + * @param Nsx + */ + public function setNsx(Nsx $nsx) + { + $this->nsx = $nsx; + } + /** + * @return Nsx + */ + public function getNsx() + { + return $this->nsx; + } + /** + * @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; + } + /** + * @param Vcenter + */ + public function setVcenter(Vcenter $vcenter) + { + $this->vcenter = $vcenter; + } + /** + * @return Vcenter + */ + public function getVcenter() + { + return $this->vcenter; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(PrivateCloud::class, 'Google_Service_VMwareEngine_PrivateCloud'); diff --git a/src/VMwareEngine/PrivateConnection.php b/src/VMwareEngine/PrivateConnection.php new file mode 100644 index 0000000000..2b8254e11b --- /dev/null +++ b/src/VMwareEngine/PrivateConnection.php @@ -0,0 +1,260 @@ +createTime = $createTime; + } + /** + * @return string + */ + public function getCreateTime() + { + return $this->createTime; + } + /** + * @param string + */ + public function setDescription($description) + { + $this->description = $description; + } + /** + * @return string + */ + public function getDescription() + { + return $this->description; + } + /** + * @param string + */ + public function setName($name) + { + $this->name = $name; + } + /** + * @return string + */ + public function getName() + { + return $this->name; + } + /** + * @param string + */ + public function setPeeringId($peeringId) + { + $this->peeringId = $peeringId; + } + /** + * @return string + */ + public function getPeeringId() + { + return $this->peeringId; + } + /** + * @param string + */ + public function setPeeringState($peeringState) + { + $this->peeringState = $peeringState; + } + /** + * @return string + */ + public function getPeeringState() + { + return $this->peeringState; + } + /** + * @param string + */ + public function setRoutingMode($routingMode) + { + $this->routingMode = $routingMode; + } + /** + * @return string + */ + public function getRoutingMode() + { + return $this->routingMode; + } + /** + * @param string + */ + public function setServiceNetwork($serviceNetwork) + { + $this->serviceNetwork = $serviceNetwork; + } + /** + * @return string + */ + public function getServiceNetwork() + { + return $this->serviceNetwork; + } + /** + * @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; + } + /** + * @param string + */ + public function setVmwareEngineNetwork($vmwareEngineNetwork) + { + $this->vmwareEngineNetwork = $vmwareEngineNetwork; + } + /** + * @return string + */ + public function getVmwareEngineNetwork() + { + return $this->vmwareEngineNetwork; + } + /** + * @param string + */ + public function setVmwareEngineNetworkCanonical($vmwareEngineNetworkCanonical) + { + $this->vmwareEngineNetworkCanonical = $vmwareEngineNetworkCanonical; + } + /** + * @return string + */ + public function getVmwareEngineNetworkCanonical() + { + return $this->vmwareEngineNetworkCanonical; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(PrivateConnection::class, 'Google_Service_VMwareEngine_PrivateConnection'); diff --git a/src/VMwareEngine/ResetNsxCredentialsRequest.php b/src/VMwareEngine/ResetNsxCredentialsRequest.php new file mode 100644 index 0000000000..04bc37e6cc --- /dev/null +++ b/src/VMwareEngine/ResetNsxCredentialsRequest.php @@ -0,0 +1,44 @@ +requestId = $requestId; + } + /** + * @return string + */ + public function getRequestId() + { + return $this->requestId; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(ResetNsxCredentialsRequest::class, 'Google_Service_VMwareEngine_ResetNsxCredentialsRequest'); diff --git a/src/VMwareEngine/ResetVcenterCredentialsRequest.php b/src/VMwareEngine/ResetVcenterCredentialsRequest.php new file mode 100644 index 0000000000..8802f61ea1 --- /dev/null +++ b/src/VMwareEngine/ResetVcenterCredentialsRequest.php @@ -0,0 +1,44 @@ +requestId = $requestId; + } + /** + * @return string + */ + public function getRequestId() + { + return $this->requestId; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(ResetVcenterCredentialsRequest::class, 'Google_Service_VMwareEngine_ResetVcenterCredentialsRequest'); diff --git a/src/VMwareEngine/Resource/Projects.php b/src/VMwareEngine/Resource/Projects.php new file mode 100644 index 0000000000..0def13f38c --- /dev/null +++ b/src/VMwareEngine/Resource/Projects.php @@ -0,0 +1,33 @@ + + * $vmwareengineService = new Google\Service\VMwareEngine(...); + * $projects = $vmwareengineService->projects; + * + */ +class Projects extends \Google\Service\Resource +{ +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(Projects::class, 'Google_Service_VMwareEngine_Resource_Projects'); diff --git a/src/VMwareEngine/Resource/ProjectsLocations.php b/src/VMwareEngine/Resource/ProjectsLocations.php new file mode 100644 index 0000000000..7042618491 --- /dev/null +++ b/src/VMwareEngine/Resource/ProjectsLocations.php @@ -0,0 +1,72 @@ + + * $vmwareengineService = new Google\Service\VMwareEngine(...); + * $locations = $vmwareengineService->projects_locations; + * + */ +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 + */ + 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 + */ + 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_VMwareEngine_Resource_ProjectsLocations'); diff --git a/src/VMwareEngine/Resource/ProjectsLocationsNetworkPolicies.php b/src/VMwareEngine/Resource/ProjectsLocationsNetworkPolicies.php new file mode 100644 index 0000000000..f3a1b662de --- /dev/null +++ b/src/VMwareEngine/Resource/ProjectsLocationsNetworkPolicies.php @@ -0,0 +1,208 @@ + + * $vmwareengineService = new Google\Service\VMwareEngine(...); + * $networkPolicies = $vmwareengineService->projects_locations_networkPolicies; + * + */ +class ProjectsLocationsNetworkPolicies extends \Google\Service\Resource +{ + /** + * Creates a new network policy in a given VMware Engine network of a project + * and location (region). A new network policy cannot be created if another + * network policy already exists in the same scope. (networkPolicies.create) + * + * @param string $parent Required. The resource name of the location (region) to + * create the new network policy in. Resource names are schemeless URIs that + * follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-central1` + * @param NetworkPolicy $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string networkPolicyId Required. The user-provided identifier of + * the network policy to be created. This identifier must be unique within + * parent `projects/{my-project}/locations/{us-central1}/networkPolicies` and + * becomes the final token in the name URI. The identifier must meet the + * following requirements: * Only contains 1-63 alphanumeric characters and + * hyphens * Begins with an alphabetical character * Ends with a non-hyphen + * character * Not formatted as a UUID * Complies with [RFC + * 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5) + * @opt_param string requestId Optional. A 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 guarantees that a request doesn't result in creation of duplicate + * commitments for at least 60 minutes. 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 + */ + public function create($parent, NetworkPolicy $postBody, $optParams = []) + { + $params = ['parent' => $parent, 'postBody' => $postBody]; + $params = array_merge($params, $optParams); + return $this->call('create', [$params], Operation::class); + } + /** + * Deletes a `NetworkPolicy` resource. A network policy cannot be deleted when + * `NetworkService.state` is set to `RECONCILING` for either its external IP or + * internet access service. (networkPolicies.delete) + * + * @param string $name Required. The resource name of the network policy to + * delete. Resource names are schemeless URIs that follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-central1/networkPolicies/my-network-policy` + * @param array $optParams Optional parameters. + * + * @opt_param string requestId Optional. A 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 guarantees that a request doesn't result in creation of duplicate + * commitments for at least 60 minutes. 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 + */ + public function delete($name, $optParams = []) + { + $params = ['name' => $name]; + $params = array_merge($params, $optParams); + return $this->call('delete', [$params], Operation::class); + } + /** + * Retrieves a `NetworkPolicy` resource by its resource name. + * (networkPolicies.get) + * + * @param string $name Required. The resource name of the network policy to + * retrieve. Resource names are schemeless URIs that follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-central1/networkPolicies/my-network-policy` + * @param array $optParams Optional parameters. + * @return NetworkPolicy + */ + public function get($name, $optParams = []) + { + $params = ['name' => $name]; + $params = array_merge($params, $optParams); + return $this->call('get', [$params], NetworkPolicy::class); + } + /** + * Lists `NetworkPolicy` resources in a specified project and location. + * (networkPolicies.listProjectsLocationsNetworkPolicies) + * + * @param string $parent Required. The resource name of the location (region) to + * query for network policies. Resource names are schemeless URIs that follow + * the conventions in https://cloud.google.com/apis/design/resource_names. For + * example: `projects/my-project/locations/us-central1` + * @param array $optParams Optional parameters. + * + * @opt_param string filter A filter expression that matches resources returned + * in the response. The expression must specify the field name, a comparison + * operator, and the value that you want to use for filtering. The value must be + * a string, a number, or a boolean. The comparison operator must be `=`, `!=`, + * `>`, or `<`. For example, if you are filtering a list of network policies, + * you can exclude the ones named `example-policy` by specifying `name != + * "example-policy"`. To filter on multiple expressions, provide each separate + * expression within parentheses. For example: ``` (name = "example-policy") + * (createTime > "2021-04-12T08:15:10.40Z") ``` By default, each expression is + * an `AND` expression. However, you can include `AND` and `OR` expressions + * explicitly. For example: ``` (name = "example-policy-1") AND (createTime > + * "2021-04-12T08:15:10.40Z") OR (name = "example-policy-2") ``` + * @opt_param string orderBy Sorts list results by a certain order. By default, + * returned results are ordered by `name` in ascending order. You can also sort + * results in descending order based on the `name` value using `orderBy="name + * desc"`. Currently, only ordering by `name` is supported. + * @opt_param int pageSize The maximum number of network policies to return in + * one page. The service may return fewer than this value. The maximum value is + * coerced to 1000. The default value of this field is 500. + * @opt_param string pageToken A page token, received from a previous + * `ListNetworkPolicies` call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListNetworkPolicies` must + * match the call that provided the page token. + * @return ListNetworkPoliciesResponse + */ + public function listProjectsLocationsNetworkPolicies($parent, $optParams = []) + { + $params = ['parent' => $parent]; + $params = array_merge($params, $optParams); + return $this->call('list', [$params], ListNetworkPoliciesResponse::class); + } + /** + * Modifies a `NetworkPolicy` resource. Only the following fields can be + * updated: `internet_access`, `external_ip`, `edge_services_cidr`. Only fields + * specified in `updateMask` are applied. When updating a network policy, the + * external IP network service can only be disabled if there are no external IP + * addresses present in the scope of the policy. Also, a `NetworkService` cannot + * be updated when `NetworkService.state` is set to `RECONCILING`. During + * operation processing, the resource is temporarily in the `ACTIVE` state + * before the operation fully completes. For that period of time, you can't + * update the resource. Use the operation status to determine when the + * processing fully completes. (networkPolicies.patch) + * + * @param string $name Output only. The resource name of this network policy. + * Resource names are schemeless URIs that follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-central1/networkPolicies/my-network-policy` + * @param NetworkPolicy $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string requestId Optional. A 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 guarantees that a request doesn't result in creation of duplicate + * commitments for at least 60 minutes. 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 `NetworkPolicy` 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 + */ + public function patch($name, NetworkPolicy $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(ProjectsLocationsNetworkPolicies::class, 'Google_Service_VMwareEngine_Resource_ProjectsLocationsNetworkPolicies'); diff --git a/src/VMwareEngine/Resource/ProjectsLocationsNodeTypes.php b/src/VMwareEngine/Resource/ProjectsLocationsNodeTypes.php new file mode 100644 index 0000000000..aa86049998 --- /dev/null +++ b/src/VMwareEngine/Resource/ProjectsLocationsNodeTypes.php @@ -0,0 +1,87 @@ + + * $vmwareengineService = new Google\Service\VMwareEngine(...); + * $nodeTypes = $vmwareengineService->projects_locations_nodeTypes; + * + */ +class ProjectsLocationsNodeTypes extends \Google\Service\Resource +{ + /** + * Gets details of a single `NodeType`. (nodeTypes.get) + * + * @param string $name Required. The resource name of the node type to retrieve. + * Resource names are schemeless URIs that follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-proj/locations/us-central1-a/nodeTypes/standard-72` + * @param array $optParams Optional parameters. + * @return NodeType + */ + public function get($name, $optParams = []) + { + $params = ['name' => $name]; + $params = array_merge($params, $optParams); + return $this->call('get', [$params], NodeType::class); + } + /** + * Lists node types (nodeTypes.listProjectsLocationsNodeTypes) + * + * @param string $parent Required. The resource name of the location to be + * queried for node types. Resource names are schemeless URIs that follow the + * conventions in https://cloud.google.com/apis/design/resource_names. For + * example: `projects/my-project/locations/us-central1-a` + * @param array $optParams Optional parameters. + * + * @opt_param string filter A filter expression that matches resources returned + * in the response. The expression must specify the field name, a comparison + * operator, and the value that you want to use for filtering. The value must be + * a string, a number, or a boolean. The comparison operator must be `=`, `!=`, + * `>`, or `<`. For example, if you are filtering a list of node types, you can + * exclude the ones named `standard-72` by specifying `name != "standard-72"`. + * To filter on multiple expressions, provide each separate expression within + * parentheses. For example: ``` (name = "standard-72") (virtual_cpu_count > 2) + * ``` By default, each expression is an `AND` expression. However, you can + * include `AND` and `OR` expressions explicitly. For example: ``` (name = + * "standard-96") AND (virtual_cpu_count > 2) OR (name = "standard-72") ``` + * @opt_param int pageSize The maximum number of node types to return in one + * page. The service may return fewer than this value. The maximum value is + * coerced to 1000. The default value of this field is 500. + * @opt_param string pageToken A page token, received from a previous + * `ListNodeTypes` call. Provide this to retrieve the subsequent page. When + * paginating, all other parameters provided to `ListNodeTypes` must match the + * call that provided the page token. + * @return ListNodeTypesResponse + */ + public function listProjectsLocationsNodeTypes($parent, $optParams = []) + { + $params = ['parent' => $parent]; + $params = array_merge($params, $optParams); + return $this->call('list', [$params], ListNodeTypesResponse::class); + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(ProjectsLocationsNodeTypes::class, 'Google_Service_VMwareEngine_Resource_ProjectsLocationsNodeTypes'); diff --git a/src/VMwareEngine/Resource/ProjectsLocationsOperations.php b/src/VMwareEngine/Resource/ProjectsLocationsOperations.php new file mode 100644 index 0000000000..6a096b10b3 --- /dev/null +++ b/src/VMwareEngine/Resource/ProjectsLocationsOperations.php @@ -0,0 +1,87 @@ + + * $vmwareengineService = new Google\Service\VMwareEngine(...); + * $operations = $vmwareengineService->projects_locations_operations; + * + */ +class ProjectsLocationsOperations extends \Google\Service\Resource +{ + /** + * 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 VmwareengineEmpty + */ + public function delete($name, $optParams = []) + { + $params = ['name' => $name]; + $params = array_merge($params, $optParams); + return $this->call('delete', [$params], VmwareengineEmpty::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 + */ + 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 + */ + 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_VMwareEngine_Resource_ProjectsLocationsOperations'); diff --git a/src/VMwareEngine/Resource/ProjectsLocationsPrivateClouds.php b/src/VMwareEngine/Resource/ProjectsLocationsPrivateClouds.php new file mode 100644 index 0000000000..e7f0e6acfe --- /dev/null +++ b/src/VMwareEngine/Resource/ProjectsLocationsPrivateClouds.php @@ -0,0 +1,376 @@ + + * $vmwareengineService = new Google\Service\VMwareEngine(...); + * $privateClouds = $vmwareengineService->projects_locations_privateClouds; + * + */ +class ProjectsLocationsPrivateClouds extends \Google\Service\Resource +{ + /** + * Creates a new `PrivateCloud` resource in a given project and location. + * Private clouds of type `STANDARD` and `TIME_LIMITED` are zonal resources, + * `STRETCHED` private clouds are regional. Creating a private cloud also + * creates a [management cluster](https://cloud.google.com/vmware- + * engine/docs/concepts-vmware-components) for that private cloud. + * (privateClouds.create) + * + * @param string $parent Required. The resource name of the location to create + * the new private cloud in. Resource names are schemeless URIs that follow the + * conventions in https://cloud.google.com/apis/design/resource_names. For + * example: `projects/my-project/locations/us-central1-a` + * @param PrivateCloud $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string privateCloudId Required. The user-provided identifier of + * the private cloud to be created. This identifier must be unique among each + * `PrivateCloud` within the parent and becomes the final token in the name URI. + * The identifier must meet the following requirements: * Only contains 1-63 + * alphanumeric characters and hyphens * Begins with an alphabetical character * + * Ends with a non-hyphen character * Not formatted as a UUID * Complies with + * [RFC 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5) + * @opt_param string requestId Optional. The request ID must be a valid UUID + * with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + * @opt_param bool validateOnly Optional. True if you want the request to be + * validated and not executed; false otherwise. + * @return Operation + */ + public function create($parent, PrivateCloud $postBody, $optParams = []) + { + $params = ['parent' => $parent, 'postBody' => $postBody]; + $params = array_merge($params, $optParams); + return $this->call('create', [$params], Operation::class); + } + /** + * Schedules a `PrivateCloud` resource for deletion. A `PrivateCloud` resource + * scheduled for deletion has `PrivateCloud.state` set to `DELETED` and + * `expireTime` set to the time when deletion is final and can no longer be + * reversed. The delete operation is marked as done as soon as the + * `PrivateCloud` is successfully scheduled for deletion (this also applies when + * `delayHours` is set to zero), and the operation is not kept in pending state + * until `PrivateCloud` is purged. `PrivateCloud` can be restored using + * `UndeletePrivateCloud` method before the `expireTime` elapses. When + * `expireTime` is reached, deletion is final and all private cloud resources + * are irreversibly removed and billing stops. During the final removal process, + * `PrivateCloud.state` is set to `PURGING`. `PrivateCloud` can be polled using + * standard `GET` method for the whole period of deletion and purging. It will + * not be returned only when it is completely purged. (privateClouds.delete) + * + * @param string $name Required. The resource name of the private cloud to + * delete. Resource names are schemeless URIs that follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` + * @param array $optParams Optional parameters. + * + * @opt_param int delayHours Optional. Time delay of the deletion specified in + * hours. The default value is `3`. Specifying a non-zero value for this field + * changes the value of `PrivateCloud.state` to `DELETED` and sets `expire_time` + * to the planned deletion time. Deletion can be cancelled before `expire_time` + * elapses using VmwareEngine.UndeletePrivateCloud. Specifying a value of `0` + * for this field instead begins the deletion process and ceases billing + * immediately. During the final deletion process, the value of + * `PrivateCloud.state` becomes `PURGING`. + * @opt_param bool force Optional. If set to true, cascade delete is enabled and + * all children of this private cloud resource are also deleted. When this flag + * is set to false, the private cloud will not be deleted if there are any + * children other than the management cluster. The management cluster is always + * deleted. + * @opt_param string requestId Optional. The request ID must be a valid UUID + * with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + * @return Operation + */ + public function delete($name, $optParams = []) + { + $params = ['name' => $name]; + $params = array_merge($params, $optParams); + return $this->call('delete', [$params], Operation::class); + } + /** + * Retrieves a `PrivateCloud` resource by its resource name. (privateClouds.get) + * + * @param string $name Required. The resource name of the private cloud to + * retrieve. Resource names are schemeless URIs that follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` + * @param array $optParams Optional parameters. + * @return PrivateCloud + */ + public function get($name, $optParams = []) + { + $params = ['name' => $name]; + $params = array_merge($params, $optParams); + return $this->call('get', [$params], PrivateCloud::class); + } + /** + * Gets the access control policy for a resource. Returns an empty policy if the + * resource exists and does not have a policy set. (privateClouds.getIamPolicy) + * + * @param string $resource REQUIRED: The resource for which the policy is being + * requested. See [Resource + * names](https://cloud.google.com/apis/design/resource_names) for the + * appropriate value for this field. + * @param array $optParams Optional parameters. + * + * @opt_param int options.requestedPolicyVersion Optional. The maximum policy + * version that will be used to format the policy. Valid values are 0, 1, and 3. + * Requests specifying an invalid value will be rejected. Requests for policies + * with any conditional role bindings must specify version 3. Policies with no + * conditional role bindings may specify any valid value or leave the field + * unset. The policy in the response might use the policy version that you + * specified, or it might use a lower policy version. For example, if you + * specify version 3, but the policy has no conditional role bindings, the + * response uses version 1. To learn which resources support conditions in their + * IAM policies, see the [IAM + * documentation](https://cloud.google.com/iam/help/conditions/resource- + * policies). + * @return Policy + */ + public function getIamPolicy($resource, $optParams = []) + { + $params = ['resource' => $resource]; + $params = array_merge($params, $optParams); + return $this->call('getIamPolicy', [$params], Policy::class); + } + /** + * Lists `PrivateCloud` resources in a given project and location. + * (privateClouds.listProjectsLocationsPrivateClouds) + * + * @param string $parent Required. The resource name of the private cloud to be + * queried for clusters. Resource names are schemeless URIs that follow the + * conventions in https://cloud.google.com/apis/design/resource_names. For + * example: `projects/my-project/locations/us-central1-a` + * @param array $optParams Optional parameters. + * + * @opt_param string filter A filter expression that matches resources returned + * in the response. The expression must specify the field name, a comparison + * operator, and the value that you want to use for filtering. The value must be + * a string, a number, or a boolean. The comparison operator must be `=`, `!=`, + * `>`, or `<`. For example, if you are filtering a list of private clouds, you + * can exclude the ones named `example-pc` by specifying `name != "example-pc"`. + * You can also filter nested fields. For example, you could specify + * `networkConfig.managementCidr = "192.168.0.0/24"` to include private clouds + * only if they have a matching address in their network configuration. To + * filter on multiple expressions, provide each separate expression within + * parentheses. For example: ``` (name = "example-pc") (createTime > + * "2021-04-12T08:15:10.40Z") ``` By default, each expression is an `AND` + * expression. However, you can include `AND` and `OR` expressions explicitly. + * For example: ``` (name = "private-cloud-1") AND (createTime > + * "2021-04-12T08:15:10.40Z") OR (name = "private-cloud-2") ``` + * @opt_param string orderBy Sorts list results by a certain order. By default, + * returned results are ordered by `name` in ascending order. You can also sort + * results in descending order based on the `name` value using `orderBy="name + * desc"`. Currently, only ordering by `name` is supported. + * @opt_param int pageSize The maximum number of private clouds to return in one + * page. The service may return fewer than this value. The maximum value is + * coerced to 1000. The default value of this field is 500. + * @opt_param string pageToken A page token, received from a previous + * `ListPrivateClouds` call. Provide this to retrieve the subsequent page. When + * paginating, all other parameters provided to `ListPrivateClouds` must match + * the call that provided the page token. + * @return ListPrivateCloudsResponse + */ + public function listProjectsLocationsPrivateClouds($parent, $optParams = []) + { + $params = ['parent' => $parent]; + $params = array_merge($params, $optParams); + return $this->call('list', [$params], ListPrivateCloudsResponse::class); + } + /** + * Modifies a `PrivateCloud` resource. Only the following fields can be updated: + * `description`. Only fields specified in `updateMask` are applied. During + * operation processing, the resource is temporarily in the `ACTIVE` state + * before the operation fully completes. For that period of time, you can't + * update the resource. Use the operation status to determine when the + * processing fully completes. (privateClouds.patch) + * + * @param string $name Output only. The resource name of this private cloud. + * Resource names are schemeless URIs that follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` + * @param PrivateCloud $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string requestId Optional. 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 `PrivateCloud` resource by the update. The + * fields specified in `updateMask` 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 + */ + public function patch($name, PrivateCloud $postBody, $optParams = []) + { + $params = ['name' => $name, 'postBody' => $postBody]; + $params = array_merge($params, $optParams); + return $this->call('patch', [$params], Operation::class); + } + /** + * Resets credentials of the NSX appliance. (privateClouds.resetNsxCredentials) + * + * @param string $privateCloud Required. The resource name of the private cloud + * to reset credentials for. Resource names are schemeless URIs that follow the + * conventions in https://cloud.google.com/apis/design/resource_names. For + * example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` + * @param ResetNsxCredentialsRequest $postBody + * @param array $optParams Optional parameters. + * @return Operation + */ + public function resetNsxCredentials($privateCloud, ResetNsxCredentialsRequest $postBody, $optParams = []) + { + $params = ['privateCloud' => $privateCloud, 'postBody' => $postBody]; + $params = array_merge($params, $optParams); + return $this->call('resetNsxCredentials', [$params], Operation::class); + } + /** + * Resets credentials of the Vcenter appliance. + * (privateClouds.resetVcenterCredentials) + * + * @param string $privateCloud Required. The resource name of the private cloud + * to reset credentials for. Resource names are schemeless URIs that follow the + * conventions in https://cloud.google.com/apis/design/resource_names. For + * example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` + * @param ResetVcenterCredentialsRequest $postBody + * @param array $optParams Optional parameters. + * @return Operation + */ + public function resetVcenterCredentials($privateCloud, ResetVcenterCredentialsRequest $postBody, $optParams = []) + { + $params = ['privateCloud' => $privateCloud, 'postBody' => $postBody]; + $params = array_merge($params, $optParams); + return $this->call('resetVcenterCredentials', [$params], Operation::class); + } + /** + * Sets the access control policy on the specified resource. Replaces any + * existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and + * `PERMISSION_DENIED` errors. (privateClouds.setIamPolicy) + * + * @param string $resource REQUIRED: The resource for which the policy is being + * specified. See [Resource + * names](https://cloud.google.com/apis/design/resource_names) for the + * appropriate value for this field. + * @param SetIamPolicyRequest $postBody + * @param array $optParams Optional parameters. + * @return Policy + */ + public function setIamPolicy($resource, SetIamPolicyRequest $postBody, $optParams = []) + { + $params = ['resource' => $resource, 'postBody' => $postBody]; + $params = array_merge($params, $optParams); + return $this->call('setIamPolicy', [$params], Policy::class); + } + /** + * Gets details of credentials for NSX appliance. + * (privateClouds.showNsxCredentials) + * + * @param string $privateCloud Required. The resource name of the private cloud + * to be queried for credentials. Resource names are schemeless URIs that follow + * the conventions in https://cloud.google.com/apis/design/resource_names. For + * example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` + * @param array $optParams Optional parameters. + * @return Credentials + */ + public function showNsxCredentials($privateCloud, $optParams = []) + { + $params = ['privateCloud' => $privateCloud]; + $params = array_merge($params, $optParams); + return $this->call('showNsxCredentials', [$params], Credentials::class); + } + /** + * Gets details of credentials for Vcenter appliance. + * (privateClouds.showVcenterCredentials) + * + * @param string $privateCloud Required. The resource name of the private cloud + * to be queried for credentials. Resource names are schemeless URIs that follow + * the conventions in https://cloud.google.com/apis/design/resource_names. For + * example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` + * @param array $optParams Optional parameters. + * @return Credentials + */ + public function showVcenterCredentials($privateCloud, $optParams = []) + { + $params = ['privateCloud' => $privateCloud]; + $params = array_merge($params, $optParams); + return $this->call('showVcenterCredentials', [$params], Credentials::class); + } + /** + * Returns permissions that a caller has on the specified resource. If the + * resource does not exist, this will return an empty set of permissions, not a + * `NOT_FOUND` error. Note: This operation is designed to be used for building + * permission-aware UIs and command-line tools, not for authorization checking. + * This operation may "fail open" without warning. + * (privateClouds.testIamPermissions) + * + * @param string $resource REQUIRED: The resource for which the policy detail is + * being requested. See [Resource + * names](https://cloud.google.com/apis/design/resource_names) for the + * appropriate value for this field. + * @param TestIamPermissionsRequest $postBody + * @param array $optParams Optional parameters. + * @return TestIamPermissionsResponse + */ + public function testIamPermissions($resource, TestIamPermissionsRequest $postBody, $optParams = []) + { + $params = ['resource' => $resource, 'postBody' => $postBody]; + $params = array_merge($params, $optParams); + return $this->call('testIamPermissions', [$params], TestIamPermissionsResponse::class); + } + /** + * Restores a private cloud that was previously scheduled for deletion by + * `DeletePrivateCloud`. A `PrivateCloud` resource scheduled for deletion has + * `PrivateCloud.state` set to `DELETED` and `PrivateCloud.expireTime` set to + * the time when deletion can no longer be reversed. (privateClouds.undelete) + * + * @param string $name Required. The resource name of the private cloud + * scheduled for deletion. Resource names are schemeless URIs that follow the + * conventions in https://cloud.google.com/apis/design/resource_names. For + * example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` + * @param UndeletePrivateCloudRequest $postBody + * @param array $optParams Optional parameters. + * @return Operation + */ + public function undelete($name, UndeletePrivateCloudRequest $postBody, $optParams = []) + { + $params = ['name' => $name, 'postBody' => $postBody]; + $params = array_merge($params, $optParams); + return $this->call('undelete', [$params], Operation::class); + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(ProjectsLocationsPrivateClouds::class, 'Google_Service_VMwareEngine_Resource_ProjectsLocationsPrivateClouds'); diff --git a/src/VMwareEngine/Resource/ProjectsLocationsPrivateCloudsClusters.php b/src/VMwareEngine/Resource/ProjectsLocationsPrivateCloudsClusters.php new file mode 100644 index 0000000000..1d247bcd6e --- /dev/null +++ b/src/VMwareEngine/Resource/ProjectsLocationsPrivateCloudsClusters.php @@ -0,0 +1,253 @@ + + * $vmwareengineService = new Google\Service\VMwareEngine(...); + * $clusters = $vmwareengineService->projects_locations_privateClouds_clusters; + * + */ +class ProjectsLocationsPrivateCloudsClusters extends \Google\Service\Resource +{ + /** + * Creates a new cluster in a given private cloud. Creating a new cluster + * provides additional nodes for use in the parent private cloud and requires + * sufficient [node quota](https://cloud.google.com/vmware-engine/quotas). + * (clusters.create) + * + * @param string $parent Required. The resource name of the private cloud to + * create a new cluster in. Resource names are schemeless URIs that follow the + * conventions in https://cloud.google.com/apis/design/resource_names. For + * example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` + * @param Cluster $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string clusterId Required. The user-provided identifier of the new + * `Cluster`. This identifier must be unique among clusters within the parent + * and becomes the final token in the name URI. The identifier must meet the + * following requirements: * Only contains 1-63 alphanumeric characters and + * hyphens * Begins with an alphabetical character * Ends with a non-hyphen + * character * Not formatted as a UUID * Complies with [RFC + * 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5) + * @opt_param string requestId Optional. The request ID must be a valid UUID + * with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + * @opt_param bool validateOnly Optional. True if you want the request to be + * validated and not executed; false otherwise. + * @return Operation + */ + public function create($parent, Cluster $postBody, $optParams = []) + { + $params = ['parent' => $parent, 'postBody' => $postBody]; + $params = array_merge($params, $optParams); + return $this->call('create', [$params], Operation::class); + } + /** + * Deletes a `Cluster` resource. To avoid unintended data loss, migrate or + * gracefully shut down any workloads running on the cluster before deletion. + * You cannot delete the management cluster of a private cloud using this + * method. (clusters.delete) + * + * @param string $name Required. The resource name of the cluster to delete. + * Resource names are schemeless URIs that follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-central1-a/privateClouds/my- + * cloud/clusters/my-cluster` + * @param array $optParams Optional parameters. + * + * @opt_param string requestId Optional. The request ID must be a valid UUID + * with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + * @return Operation + */ + public function delete($name, $optParams = []) + { + $params = ['name' => $name]; + $params = array_merge($params, $optParams); + return $this->call('delete', [$params], Operation::class); + } + /** + * Retrieves a `Cluster` resource by its resource name. (clusters.get) + * + * @param string $name Required. The cluster resource name to retrieve. Resource + * names are schemeless URIs that follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-central1-a/privateClouds/my- + * cloud/clusters/my-cluster` + * @param array $optParams Optional parameters. + * @return Cluster + */ + public function get($name, $optParams = []) + { + $params = ['name' => $name]; + $params = array_merge($params, $optParams); + return $this->call('get', [$params], Cluster::class); + } + /** + * Gets the access control policy for a resource. Returns an empty policy if the + * resource exists and does not have a policy set. (clusters.getIamPolicy) + * + * @param string $resource REQUIRED: The resource for which the policy is being + * requested. See [Resource + * names](https://cloud.google.com/apis/design/resource_names) for the + * appropriate value for this field. + * @param array $optParams Optional parameters. + * + * @opt_param int options.requestedPolicyVersion Optional. The maximum policy + * version that will be used to format the policy. Valid values are 0, 1, and 3. + * Requests specifying an invalid value will be rejected. Requests for policies + * with any conditional role bindings must specify version 3. Policies with no + * conditional role bindings may specify any valid value or leave the field + * unset. The policy in the response might use the policy version that you + * specified, or it might use a lower policy version. For example, if you + * specify version 3, but the policy has no conditional role bindings, the + * response uses version 1. To learn which resources support conditions in their + * IAM policies, see the [IAM + * documentation](https://cloud.google.com/iam/help/conditions/resource- + * policies). + * @return Policy + */ + public function getIamPolicy($resource, $optParams = []) + { + $params = ['resource' => $resource]; + $params = array_merge($params, $optParams); + return $this->call('getIamPolicy', [$params], Policy::class); + } + /** + * Lists `Cluster` resources in a given private cloud. + * (clusters.listProjectsLocationsPrivateCloudsClusters) + * + * @param string $parent Required. The resource name of the private cloud to + * query for clusters. Resource names are schemeless URIs that follow the + * conventions in https://cloud.google.com/apis/design/resource_names. For + * example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` + * @param array $optParams Optional parameters. + * + * @opt_param string filter To filter on multiple expressions, provide each + * separate expression within parentheses. For example: ``` (name = "example- + * cluster") (nodeCount = "3") ``` By default, each expression is an `AND` + * expression. However, you can include `AND` and `OR` expressions explicitly. + * For example: ``` (name = "example-cluster-1") AND (createTime > + * "2021-04-12T08:15:10.40Z") OR (name = "example-cluster-2") ``` + * @opt_param string orderBy Sorts list results by a certain order. By default, + * returned results are ordered by `name` in ascending order. You can also sort + * results in descending order based on the `name` value using `orderBy="name + * desc"`. Currently, only ordering by `name` is supported. + * @opt_param int pageSize The maximum number of clusters to return in one page. + * The service may return fewer than this value. The maximum value is coerced to + * 1000. The default value of this field is 500. + * @opt_param string pageToken A page token, received from a previous + * `ListClusters` call. Provide this to retrieve the subsequent page. When + * paginating, all other parameters provided to `ListClusters` must match the + * call that provided the page token. + * @return ListClustersResponse + */ + public function listProjectsLocationsPrivateCloudsClusters($parent, $optParams = []) + { + $params = ['parent' => $parent]; + $params = array_merge($params, $optParams); + return $this->call('list', [$params], ListClustersResponse::class); + } + /** + * Modifies a `Cluster` resource. Only fields specified in `updateMask` are + * applied. During operation processing, the resource is temporarily in the + * `ACTIVE` state before the operation fully completes. For that period of time, + * you can't update the resource. Use the operation status to determine when the + * processing fully completes. (clusters.patch) + * + * @param string $name Output only. The resource name of this cluster. Resource + * names are schemeless URIs that follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-central1-a/privateClouds/my- + * cloud/clusters/my-cluster` + * @param Cluster $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string requestId Optional. 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 `Cluster` resource by the update. The fields + * specified in the `updateMask` 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. + * @opt_param bool validateOnly Optional. True if you want the request to be + * validated and not executed; false otherwise. + * @return Operation + */ + public function patch($name, Cluster $postBody, $optParams = []) + { + $params = ['name' => $name, 'postBody' => $postBody]; + $params = array_merge($params, $optParams); + return $this->call('patch', [$params], Operation::class); + } + /** + * Sets the access control policy on the specified resource. Replaces any + * existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and + * `PERMISSION_DENIED` errors. (clusters.setIamPolicy) + * + * @param string $resource REQUIRED: The resource for which the policy is being + * specified. See [Resource + * names](https://cloud.google.com/apis/design/resource_names) for the + * appropriate value for this field. + * @param SetIamPolicyRequest $postBody + * @param array $optParams Optional parameters. + * @return Policy + */ + public function setIamPolicy($resource, SetIamPolicyRequest $postBody, $optParams = []) + { + $params = ['resource' => $resource, 'postBody' => $postBody]; + $params = array_merge($params, $optParams); + return $this->call('setIamPolicy', [$params], Policy::class); + } + /** + * Returns permissions that a caller has on the specified resource. If the + * resource does not exist, this will return an empty set of permissions, not a + * `NOT_FOUND` error. Note: This operation is designed to be used for building + * permission-aware UIs and command-line tools, not for authorization checking. + * This operation may "fail open" without warning. (clusters.testIamPermissions) + * + * @param string $resource REQUIRED: The resource for which the policy detail is + * being requested. See [Resource + * names](https://cloud.google.com/apis/design/resource_names) for the + * appropriate value for this field. + * @param TestIamPermissionsRequest $postBody + * @param array $optParams Optional parameters. + * @return TestIamPermissionsResponse + */ + public function testIamPermissions($resource, TestIamPermissionsRequest $postBody, $optParams = []) + { + $params = ['resource' => $resource, 'postBody' => $postBody]; + $params = array_merge($params, $optParams); + return $this->call('testIamPermissions', [$params], TestIamPermissionsResponse::class); + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(ProjectsLocationsPrivateCloudsClusters::class, 'Google_Service_VMwareEngine_Resource_ProjectsLocationsPrivateCloudsClusters'); diff --git a/src/VMwareEngine/Resource/ProjectsLocationsPrivateCloudsHcxActivationKeys.php b/src/VMwareEngine/Resource/ProjectsLocationsPrivateCloudsHcxActivationKeys.php new file mode 100644 index 0000000000..4689faa901 --- /dev/null +++ b/src/VMwareEngine/Resource/ProjectsLocationsPrivateCloudsHcxActivationKeys.php @@ -0,0 +1,195 @@ + + * $vmwareengineService = new Google\Service\VMwareEngine(...); + * $hcxActivationKeys = $vmwareengineService->projects_locations_privateClouds_hcxActivationKeys; + * + */ +class ProjectsLocationsPrivateCloudsHcxActivationKeys extends \Google\Service\Resource +{ + /** + * Creates a new HCX activation key in a given private cloud. + * (hcxActivationKeys.create) + * + * @param string $parent Required. The resource name of the private cloud to + * create the key for. Resource names are schemeless URIs that follow the + * conventions in https://cloud.google.com/apis/design/resource_names. For + * example: `projects/my-project/locations/us-central1/privateClouds/my-cloud` + * @param HcxActivationKey $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string hcxActivationKeyId Required. The user-provided identifier + * of the `HcxActivationKey` to be created. This identifier must be unique among + * `HcxActivationKey` resources within the parent and becomes the final token in + * the name URI. The identifier must meet the following requirements: * Only + * contains 1-63 alphanumeric characters and hyphens * Begins with an + * alphabetical character * Ends with a non-hyphen character * Not formatted as + * a UUID * Complies with [RFC + * 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5) + * @opt_param string requestId A 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 + * guarantees that a request doesn't result in creation of duplicate commitments + * for at least 60 minutes. 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 + */ + public function create($parent, HcxActivationKey $postBody, $optParams = []) + { + $params = ['parent' => $parent, 'postBody' => $postBody]; + $params = array_merge($params, $optParams); + return $this->call('create', [$params], Operation::class); + } + /** + * Retrieves a `HcxActivationKey` resource by its resource name. + * (hcxActivationKeys.get) + * + * @param string $name Required. The resource name of the HCX activation key to + * retrieve. Resource names are schemeless URIs that follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-central1/privateClouds/my- + * cloud/hcxActivationKeys/my-key` + * @param array $optParams Optional parameters. + * @return HcxActivationKey + */ + public function get($name, $optParams = []) + { + $params = ['name' => $name]; + $params = array_merge($params, $optParams); + return $this->call('get', [$params], HcxActivationKey::class); + } + /** + * Gets the access control policy for a resource. Returns an empty policy if the + * resource exists and does not have a policy set. + * (hcxActivationKeys.getIamPolicy) + * + * @param string $resource REQUIRED: The resource for which the policy is being + * requested. See [Resource + * names](https://cloud.google.com/apis/design/resource_names) for the + * appropriate value for this field. + * @param array $optParams Optional parameters. + * + * @opt_param int options.requestedPolicyVersion Optional. The maximum policy + * version that will be used to format the policy. Valid values are 0, 1, and 3. + * Requests specifying an invalid value will be rejected. Requests for policies + * with any conditional role bindings must specify version 3. Policies with no + * conditional role bindings may specify any valid value or leave the field + * unset. The policy in the response might use the policy version that you + * specified, or it might use a lower policy version. For example, if you + * specify version 3, but the policy has no conditional role bindings, the + * response uses version 1. To learn which resources support conditions in their + * IAM policies, see the [IAM + * documentation](https://cloud.google.com/iam/help/conditions/resource- + * policies). + * @return Policy + */ + public function getIamPolicy($resource, $optParams = []) + { + $params = ['resource' => $resource]; + $params = array_merge($params, $optParams); + return $this->call('getIamPolicy', [$params], Policy::class); + } + /** + * Lists `HcxActivationKey` resources in a given private cloud. + * (hcxActivationKeys.listProjectsLocationsPrivateCloudsHcxActivationKeys) + * + * @param string $parent Required. The resource name of the private cloud to be + * queried for HCX activation keys. Resource names are schemeless URIs that + * follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-central1/privateClouds/my-cloud` + * @param array $optParams Optional parameters. + * + * @opt_param int pageSize The maximum number of HCX activation keys to return + * in one page. The service may return fewer than this value. The maximum value + * is coerced to 1000. The default value of this field is 500. + * @opt_param string pageToken A page token, received from a previous + * `ListHcxActivationKeys` call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListHcxActivationKeys` + * must match the call that provided the page token. + * @return ListHcxActivationKeysResponse + */ + public function listProjectsLocationsPrivateCloudsHcxActivationKeys($parent, $optParams = []) + { + $params = ['parent' => $parent]; + $params = array_merge($params, $optParams); + return $this->call('list', [$params], ListHcxActivationKeysResponse::class); + } + /** + * Sets the access control policy on the specified resource. Replaces any + * existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and + * `PERMISSION_DENIED` errors. (hcxActivationKeys.setIamPolicy) + * + * @param string $resource REQUIRED: The resource for which the policy is being + * specified. See [Resource + * names](https://cloud.google.com/apis/design/resource_names) for the + * appropriate value for this field. + * @param SetIamPolicyRequest $postBody + * @param array $optParams Optional parameters. + * @return Policy + */ + public function setIamPolicy($resource, SetIamPolicyRequest $postBody, $optParams = []) + { + $params = ['resource' => $resource, 'postBody' => $postBody]; + $params = array_merge($params, $optParams); + return $this->call('setIamPolicy', [$params], Policy::class); + } + /** + * Returns permissions that a caller has on the specified resource. If the + * resource does not exist, this will return an empty set of permissions, not a + * `NOT_FOUND` error. Note: This operation is designed to be used for building + * permission-aware UIs and command-line tools, not for authorization checking. + * This operation may "fail open" without warning. + * (hcxActivationKeys.testIamPermissions) + * + * @param string $resource REQUIRED: The resource for which the policy detail is + * being requested. See [Resource + * names](https://cloud.google.com/apis/design/resource_names) for the + * appropriate value for this field. + * @param TestIamPermissionsRequest $postBody + * @param array $optParams Optional parameters. + * @return TestIamPermissionsResponse + */ + public function testIamPermissions($resource, TestIamPermissionsRequest $postBody, $optParams = []) + { + $params = ['resource' => $resource, 'postBody' => $postBody]; + $params = array_merge($params, $optParams); + return $this->call('testIamPermissions', [$params], TestIamPermissionsResponse::class); + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(ProjectsLocationsPrivateCloudsHcxActivationKeys::class, 'Google_Service_VMwareEngine_Resource_ProjectsLocationsPrivateCloudsHcxActivationKeys'); diff --git a/src/VMwareEngine/Resource/ProjectsLocationsPrivateCloudsSubnets.php b/src/VMwareEngine/Resource/ProjectsLocationsPrivateCloudsSubnets.php new file mode 100644 index 0000000000..76f968e74c --- /dev/null +++ b/src/VMwareEngine/Resource/ProjectsLocationsPrivateCloudsSubnets.php @@ -0,0 +1,106 @@ + + * $vmwareengineService = new Google\Service\VMwareEngine(...); + * $subnets = $vmwareengineService->projects_locations_privateClouds_subnets; + * + */ +class ProjectsLocationsPrivateCloudsSubnets extends \Google\Service\Resource +{ + /** + * Gets details of a single subnet. (subnets.get) + * + * @param string $name Required. The resource name of the subnet to retrieve. + * Resource names are schemeless URIs that follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-central1-a/privateClouds/my- + * cloud/subnets/my-subnet` + * @param array $optParams Optional parameters. + * @return Subnet + */ + public function get($name, $optParams = []) + { + $params = ['name' => $name]; + $params = array_merge($params, $optParams); + return $this->call('get', [$params], Subnet::class); + } + /** + * Lists subnets in a given private cloud. + * (subnets.listProjectsLocationsPrivateCloudsSubnets) + * + * @param string $parent Required. The resource name of the private cloud to be + * queried for subnets. Resource names are schemeless URIs that follow the + * conventions in https://cloud.google.com/apis/design/resource_names. For + * example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` + * @param array $optParams Optional parameters. + * + * @opt_param int pageSize The maximum number of subnets to return in one page. + * The service may return fewer than this value. The maximum value is coerced to + * 1000. The default value of this field is 500. + * @opt_param string pageToken A page token, received from a previous + * `ListSubnetsRequest` call. Provide this to retrieve the subsequent page. When + * paginating, all other parameters provided to `ListSubnetsRequest` must match + * the call that provided the page token. + * @return ListSubnetsResponse + */ + public function listProjectsLocationsPrivateCloudsSubnets($parent, $optParams = []) + { + $params = ['parent' => $parent]; + $params = array_merge($params, $optParams); + return $this->call('list', [$params], ListSubnetsResponse::class); + } + /** + * Updates the parameters of a single subnet. Only fields specified in + * `update_mask` are applied. *Note*: This API is synchronous and always returns + * a successful `google.longrunning.Operation` (LRO). The returned LRO will only + * have `done` and `response` fields. (subnets.patch) + * + * @param string $name Output only. The resource name of this subnet. Resource + * names are schemeless URIs that follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-central1-a/privateClouds/my- + * cloud/subnets/my-subnet` + * @param Subnet $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string updateMask Required. Field mask is used to specify the + * fields to be overwritten in the `Subnet` 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 + */ + public function patch($name, Subnet $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(ProjectsLocationsPrivateCloudsSubnets::class, 'Google_Service_VMwareEngine_Resource_ProjectsLocationsPrivateCloudsSubnets'); diff --git a/src/VMwareEngine/Resource/ProjectsLocationsPrivateConnections.php b/src/VMwareEngine/Resource/ProjectsLocationsPrivateConnections.php new file mode 100644 index 0000000000..ee31538495 --- /dev/null +++ b/src/VMwareEngine/Resource/ProjectsLocationsPrivateConnections.php @@ -0,0 +1,202 @@ + + * $vmwareengineService = new Google\Service\VMwareEngine(...); + * $privateConnections = $vmwareengineService->projects_locations_privateConnections; + * + */ +class ProjectsLocationsPrivateConnections extends \Google\Service\Resource +{ + /** + * Creates a new private connection that can be used for accessing private + * Clouds. (privateConnections.create) + * + * @param string $parent Required. The resource name of the location to create + * the new private connection in. Private connection is a regional resource. + * Resource names are schemeless URIs that follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-central1` + * @param PrivateConnection $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string privateConnectionId Required. The user-provided identifier + * of the new private connection. This identifier must be unique among private + * connection resources within the parent and becomes the final token in the + * name URI. The identifier must meet the following requirements: * Only + * contains 1-63 alphanumeric characters and hyphens * Begins with an + * alphabetical character * Ends with a non-hyphen character * Not formatted as + * a UUID * Complies with [RFC + * 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5) + * @opt_param string requestId Optional. A 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 guarantees that a request doesn't result in creation of duplicate + * commitments for at least 60 minutes. 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 + */ + public function create($parent, PrivateConnection $postBody, $optParams = []) + { + $params = ['parent' => $parent, 'postBody' => $postBody]; + $params = array_merge($params, $optParams); + return $this->call('create', [$params], Operation::class); + } + /** + * Deletes a `PrivateConnection` resource. When a private connection is deleted + * for a VMware Engine network, the connected network becomes inaccessible to + * that VMware Engine network. (privateConnections.delete) + * + * @param string $name Required. The resource name of the private connection to + * be deleted. Resource names are schemeless URIs that follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-central1/privateConnections/my-connection` + * @param array $optParams Optional parameters. + * + * @opt_param string requestId Optional. A 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 guarantees that a request doesn't result in creation of duplicate + * commitments for at least 60 minutes. 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 + */ + public function delete($name, $optParams = []) + { + $params = ['name' => $name]; + $params = array_merge($params, $optParams); + return $this->call('delete', [$params], Operation::class); + } + /** + * Retrieves a `PrivateConnection` resource by its resource name. The resource + * contains details of the private connection, such as connected network, + * routing mode and state. (privateConnections.get) + * + * @param string $name Required. The resource name of the private connection to + * retrieve. Resource names are schemeless URIs that follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-central1/privateConnections/my-connection` + * @param array $optParams Optional parameters. + * @return PrivateConnection + */ + public function get($name, $optParams = []) + { + $params = ['name' => $name]; + $params = array_merge($params, $optParams); + return $this->call('get', [$params], PrivateConnection::class); + } + /** + * Lists `PrivateConnection` resources in a given project and location. + * (privateConnections.listProjectsLocationsPrivateConnections) + * + * @param string $parent Required. The resource name of the location to query + * for private connections. Resource names are schemeless URIs that follow the + * conventions in https://cloud.google.com/apis/design/resource_names. For + * example: `projects/my-project/locations/us-central1` + * @param array $optParams Optional parameters. + * + * @opt_param string filter A filter expression that matches resources returned + * in the response. The expression must specify the field name, a comparison + * operator, and the value that you want to use for filtering. The value must be + * a string, a number, or a boolean. The comparison operator must be `=`, `!=`, + * `>`, or `<`. For example, if you are filtering a list of private connections, + * you can exclude the ones named `example-connection` by specifying `name != + * "example-connection"`. To filter on multiple expressions, provide each + * separate expression within parentheses. For example: ``` (name = "example- + * connection") (createTime > "2022-09-22T08:15:10.40Z") ``` By default, each + * expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (name = "example-connection-1") AND + * (createTime > "2021-04-12T08:15:10.40Z") OR (name = "example-connection-2") + * ``` + * @opt_param string orderBy Sorts list results by a certain order. By default, + * returned results are ordered by `name` in ascending order. You can also sort + * results in descending order based on the `name` value using `orderBy="name + * desc"`. Currently, only ordering by `name` is supported. + * @opt_param int pageSize The maximum number of private connections to return + * in one page. The maximum value is coerced to 1000. The default value of this + * field is 500. + * @opt_param string pageToken A page token, received from a previous + * `ListPrivateConnections` call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListPrivateConnections` + * must match the call that provided the page token. + * @return ListPrivateConnectionsResponse + */ + public function listProjectsLocationsPrivateConnections($parent, $optParams = []) + { + $params = ['parent' => $parent]; + $params = array_merge($params, $optParams); + return $this->call('list', [$params], ListPrivateConnectionsResponse::class); + } + /** + * Modifies a `PrivateConnection` resource. Only `description` and + * `routing_mode` fields can be updated. Only fields specified in `updateMask` + * are applied. (privateConnections.patch) + * + * @param string $name Output only. The resource name of the private connection. + * Resource names are schemeless URIs that follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-central1/privateConnections/my-connection` + * @param PrivateConnection $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string requestId Optional. A 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 guarantees that a request doesn't result in creation of duplicate + * commitments for at least 60 minutes. 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 `PrivateConnection` 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 + */ + public function patch($name, PrivateConnection $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(ProjectsLocationsPrivateConnections::class, 'Google_Service_VMwareEngine_Resource_ProjectsLocationsPrivateConnections'); diff --git a/src/VMwareEngine/Resource/ProjectsLocationsPrivateConnectionsPeeringRoutes.php b/src/VMwareEngine/Resource/ProjectsLocationsPrivateConnectionsPeeringRoutes.php new file mode 100644 index 0000000000..18b449226e --- /dev/null +++ b/src/VMwareEngine/Resource/ProjectsLocationsPrivateConnectionsPeeringRoutes.php @@ -0,0 +1,62 @@ + + * $vmwareengineService = new Google\Service\VMwareEngine(...); + * $peeringRoutes = $vmwareengineService->projects_locations_privateConnections_peeringRoutes; + * + */ +class ProjectsLocationsPrivateConnectionsPeeringRoutes extends \Google\Service\Resource +{ + /** + * Lists the private connection routes exchanged over a peering connection. + * (peeringRoutes.listProjectsLocationsPrivateConnectionsPeeringRoutes) + * + * @param string $parent Required. The resource name of the private connection + * to retrieve peering routes from. Resource names are schemeless URIs that + * follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-west1/privateConnections/my-connection` + * @param array $optParams Optional parameters. + * + * @opt_param int pageSize The maximum number of peering routes to return in one + * page. The service may return fewer than this value. The maximum value is + * coerced to 1000. The default value of this field is 500. + * @opt_param string pageToken A page token, received from a previous + * `ListPrivateConnectionPeeringRoutes` call. Provide this to retrieve the + * subsequent page. When paginating, all other parameters provided to + * `ListPrivateConnectionPeeringRoutes` must match the call that provided the + * page token. + * @return ListPrivateConnectionPeeringRoutesResponse + */ + public function listProjectsLocationsPrivateConnectionsPeeringRoutes($parent, $optParams = []) + { + $params = ['parent' => $parent]; + $params = array_merge($params, $optParams); + return $this->call('list', [$params], ListPrivateConnectionPeeringRoutesResponse::class); + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(ProjectsLocationsPrivateConnectionsPeeringRoutes::class, 'Google_Service_VMwareEngine_Resource_ProjectsLocationsPrivateConnectionsPeeringRoutes'); diff --git a/src/VMwareEngine/Resource/ProjectsLocationsVmwareEngineNetworks.php b/src/VMwareEngine/Resource/ProjectsLocationsVmwareEngineNetworks.php new file mode 100644 index 0000000000..45cace5f17 --- /dev/null +++ b/src/VMwareEngine/Resource/ProjectsLocationsVmwareEngineNetworks.php @@ -0,0 +1,211 @@ + + * $vmwareengineService = new Google\Service\VMwareEngine(...); + * $vmwareEngineNetworks = $vmwareengineService->projects_locations_vmwareEngineNetworks; + * + */ +class ProjectsLocationsVmwareEngineNetworks extends \Google\Service\Resource +{ + /** + * Creates a new VMware Engine network that can be used by a private cloud. + * (vmwareEngineNetworks.create) + * + * @param string $parent Required. The resource name of the location to create + * the new VMware Engine network in. A VMware Engine network of type `LEGACY` is + * a regional resource, and a VMware Engine network of type `STANDARD` is a + * global resource. Resource names are schemeless URIs that follow the + * conventions in https://cloud.google.com/apis/design/resource_names. For + * example: `projects/my-project/locations/global` + * @param VmwareEngineNetwork $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string requestId Optional. A 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 guarantees that a request doesn't result in creation of duplicate + * commitments for at least 60 minutes. 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 vmwareEngineNetworkId Required. The user-provided + * identifier of the new VMware Engine network. This identifier must be unique + * among VMware Engine network resources within the parent and becomes the final + * token in the name URI. The identifier must meet the following requirements: * + * For networks of type LEGACY, adheres to the format: `{region-id}-default`. + * Replace `{region-id}` with the region where you want to create the VMware + * Engine network. For example, "us-central1-default". * Only contains 1-63 + * alphanumeric characters and hyphens * Begins with an alphabetical character * + * Ends with a non-hyphen character * Not formatted as a UUID * Complies with + * [RFC 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5) + * @return Operation + */ + public function create($parent, VmwareEngineNetwork $postBody, $optParams = []) + { + $params = ['parent' => $parent, 'postBody' => $postBody]; + $params = array_merge($params, $optParams); + return $this->call('create', [$params], Operation::class); + } + /** + * Deletes a `VmwareEngineNetwork` resource. You can only delete a VMware Engine + * network after all resources that refer to it are deleted. For example, a + * private cloud, a network peering, and a network policy can all refer to the + * same VMware Engine network. (vmwareEngineNetworks.delete) + * + * @param string $name Required. The resource name of the VMware Engine network + * to be deleted. Resource names are schemeless URIs that follow the conventions + * in https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/global/vmwareEngineNetworks/my-network` + * @param array $optParams Optional parameters. + * + * @opt_param string etag Optional. Checksum used to ensure that the user- + * provided value is up to date before the server processes the request. The + * server compares provided checksum with the current checksum of the resource. + * If the user-provided value is out of date, this request returns an `ABORTED` + * error. + * @opt_param string requestId Optional. A 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 guarantees that a request doesn't result in creation of duplicate + * commitments for at least 60 minutes. 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 + */ + public function delete($name, $optParams = []) + { + $params = ['name' => $name]; + $params = array_merge($params, $optParams); + return $this->call('delete', [$params], Operation::class); + } + /** + * Retrieves a `VmwareEngineNetwork` resource by its resource name. The resource + * contains details of the VMware Engine network, such as its VMware Engine + * network type, peered networks in a service project, and state (for example, + * `CREATING`, `ACTIVE`, `DELETING`). (vmwareEngineNetworks.get) + * + * @param string $name Required. The resource name of the VMware Engine network + * to retrieve. Resource names are schemeless URIs that follow the conventions + * in https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/global/vmwareEngineNetworks/my-network` + * @param array $optParams Optional parameters. + * @return VmwareEngineNetwork + */ + public function get($name, $optParams = []) + { + $params = ['name' => $name]; + $params = array_merge($params, $optParams); + return $this->call('get', [$params], VmwareEngineNetwork::class); + } + /** + * Lists `VmwareEngineNetwork` resources in a given project and location. + * (vmwareEngineNetworks.listProjectsLocationsVmwareEngineNetworks) + * + * @param string $parent Required. The resource name of the location to query + * for VMware Engine networks. Resource names are schemeless URIs that follow + * the conventions in https://cloud.google.com/apis/design/resource_names. For + * example: `projects/my-project/locations/global` + * @param array $optParams Optional parameters. + * + * @opt_param string filter A filter expression that matches resources returned + * in the response. The expression must specify the field name, a comparison + * operator, and the value that you want to use for filtering. The value must be + * a string, a number, or a boolean. The comparison operator must be `=`, `!=`, + * `>`, or `<`. For example, if you are filtering a list of network peerings, + * you can exclude the ones named `example-network` by specifying `name != + * "example-network"`. To filter on multiple expressions, provide each separate + * expression within parentheses. For example: ``` (name = "example-network") + * (createTime > "2021-04-12T08:15:10.40Z") ``` By default, each expression is + * an `AND` expression. However, you can include `AND` and `OR` expressions + * explicitly. For example: ``` (name = "example-network-1") AND (createTime > + * "2021-04-12T08:15:10.40Z") OR (name = "example-network-2") ``` + * @opt_param string orderBy Sorts list results by a certain order. By default, + * returned results are ordered by `name` in ascending order. You can also sort + * results in descending order based on the `name` value using `orderBy="name + * desc"`. Currently, only ordering by `name` is supported. + * @opt_param int pageSize The maximum number of results to return in one page. + * The maximum value is coerced to 1000. The default value of this field is 500. + * @opt_param string pageToken A page token, received from a previous + * `ListVmwareEngineNetworks` call. Provide this to retrieve the subsequent + * page. When paginating, all other parameters provided to + * `ListVmwareEngineNetworks` must match the call that provided the page token. + * @return ListVmwareEngineNetworksResponse + */ + public function listProjectsLocationsVmwareEngineNetworks($parent, $optParams = []) + { + $params = ['parent' => $parent]; + $params = array_merge($params, $optParams); + return $this->call('list', [$params], ListVmwareEngineNetworksResponse::class); + } + /** + * Modifies a VMware Engine network resource. Only the following fields can be + * updated: `description`. Only fields specified in `updateMask` are applied. + * (vmwareEngineNetworks.patch) + * + * @param string $name Output only. The resource name of the VMware Engine + * network. Resource names are schemeless URIs that follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/global/vmwareEngineNetworks/my-network` + * @param VmwareEngineNetwork $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string requestId Optional. A 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 guarantees that a request doesn't result in creation of duplicate + * commitments for at least 60 minutes. 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 VMware Engine network 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. Only the + * following fields can be updated: `description`. + * @return Operation + */ + public function patch($name, VmwareEngineNetwork $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(ProjectsLocationsVmwareEngineNetworks::class, 'Google_Service_VMwareEngine_Resource_ProjectsLocationsVmwareEngineNetworks'); diff --git a/src/VMwareEngine/SetIamPolicyRequest.php b/src/VMwareEngine/SetIamPolicyRequest.php new file mode 100644 index 0000000000..6256a31b26 --- /dev/null +++ b/src/VMwareEngine/SetIamPolicyRequest.php @@ -0,0 +1,60 @@ +policy = $policy; + } + /** + * @return Policy + */ + public function getPolicy() + { + return $this->policy; + } + /** + * @param string + */ + public function setUpdateMask($updateMask) + { + $this->updateMask = $updateMask; + } + /** + * @return string + */ + public function getUpdateMask() + { + return $this->updateMask; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(SetIamPolicyRequest::class, 'Google_Service_VMwareEngine_SetIamPolicyRequest'); diff --git a/src/VMwareEngine/Status.php b/src/VMwareEngine/Status.php new file mode 100644 index 0000000000..008d0a86de --- /dev/null +++ b/src/VMwareEngine/Status.php @@ -0,0 +1,81 @@ +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_VMwareEngine_Status'); diff --git a/src/VMwareEngine/Subnet.php b/src/VMwareEngine/Subnet.php new file mode 100644 index 0000000000..1b5380fa27 --- /dev/null +++ b/src/VMwareEngine/Subnet.php @@ -0,0 +1,116 @@ +gatewayIp = $gatewayIp; + } + /** + * @return string + */ + public function getGatewayIp() + { + return $this->gatewayIp; + } + /** + * @param string + */ + public function setIpCidrRange($ipCidrRange) + { + $this->ipCidrRange = $ipCidrRange; + } + /** + * @return string + */ + public function getIpCidrRange() + { + return $this->ipCidrRange; + } + /** + * @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; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(Subnet::class, 'Google_Service_VMwareEngine_Subnet'); diff --git a/src/VMwareEngine/TestIamPermissionsRequest.php b/src/VMwareEngine/TestIamPermissionsRequest.php new file mode 100644 index 0000000000..8d366afa53 --- /dev/null +++ b/src/VMwareEngine/TestIamPermissionsRequest.php @@ -0,0 +1,45 @@ +permissions = $permissions; + } + /** + * @return string[] + */ + public function getPermissions() + { + return $this->permissions; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(TestIamPermissionsRequest::class, 'Google_Service_VMwareEngine_TestIamPermissionsRequest'); diff --git a/src/VMwareEngine/TestIamPermissionsResponse.php b/src/VMwareEngine/TestIamPermissionsResponse.php new file mode 100644 index 0000000000..00bf3d16a0 --- /dev/null +++ b/src/VMwareEngine/TestIamPermissionsResponse.php @@ -0,0 +1,45 @@ +permissions = $permissions; + } + /** + * @return string[] + */ + public function getPermissions() + { + return $this->permissions; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(TestIamPermissionsResponse::class, 'Google_Service_VMwareEngine_TestIamPermissionsResponse'); diff --git a/src/VMwareEngine/UndeletePrivateCloudRequest.php b/src/VMwareEngine/UndeletePrivateCloudRequest.php new file mode 100644 index 0000000000..061c8b93ef --- /dev/null +++ b/src/VMwareEngine/UndeletePrivateCloudRequest.php @@ -0,0 +1,44 @@ +requestId = $requestId; + } + /** + * @return string + */ + public function getRequestId() + { + return $this->requestId; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(UndeletePrivateCloudRequest::class, 'Google_Service_VMwareEngine_UndeletePrivateCloudRequest'); diff --git a/src/VMwareEngine/Vcenter.php b/src/VMwareEngine/Vcenter.php new file mode 100644 index 0000000000..14e5a147f9 --- /dev/null +++ b/src/VMwareEngine/Vcenter.php @@ -0,0 +1,98 @@ +fqdn = $fqdn; + } + /** + * @return string + */ + public function getFqdn() + { + return $this->fqdn; + } + /** + * @param string + */ + public function setInternalIp($internalIp) + { + $this->internalIp = $internalIp; + } + /** + * @return string + */ + public function getInternalIp() + { + return $this->internalIp; + } + /** + * @param string + */ + public function setState($state) + { + $this->state = $state; + } + /** + * @return string + */ + public function getState() + { + return $this->state; + } + /** + * @param string + */ + public function setVersion($version) + { + $this->version = $version; + } + /** + * @return string + */ + public function getVersion() + { + return $this->version; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(Vcenter::class, 'Google_Service_VMwareEngine_Vcenter'); diff --git a/src/VMwareEngine/VmwareEngineNetwork.php b/src/VMwareEngine/VmwareEngineNetwork.php new file mode 100644 index 0000000000..c26bcaac89 --- /dev/null +++ b/src/VMwareEngine/VmwareEngineNetwork.php @@ -0,0 +1,187 @@ +createTime = $createTime; + } + /** + * @return string + */ + public function getCreateTime() + { + return $this->createTime; + } + /** + * @param string + */ + public function setDescription($description) + { + $this->description = $description; + } + /** + * @return string + */ + public function getDescription() + { + return $this->description; + } + /** + * @param string + */ + public function setEtag($etag) + { + $this->etag = $etag; + } + /** + * @return string + */ + public function getEtag() + { + return $this->etag; + } + /** + * @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; + } + /** + * @param VpcNetwork[] + */ + public function setVpcNetworks($vpcNetworks) + { + $this->vpcNetworks = $vpcNetworks; + } + /** + * @return VpcNetwork[] + */ + public function getVpcNetworks() + { + return $this->vpcNetworks; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(VmwareEngineNetwork::class, 'Google_Service_VMwareEngine_VmwareEngineNetwork'); diff --git a/src/VMwareEngine/VmwareengineEmpty.php b/src/VMwareEngine/VmwareengineEmpty.php new file mode 100644 index 0000000000..13900e6219 --- /dev/null +++ b/src/VMwareEngine/VmwareengineEmpty.php @@ -0,0 +1,25 @@ +network = $network; + } + /** + * @return string + */ + public function getNetwork() + { + return $this->network; + } + /** + * @param string + */ + public function setType($type) + { + $this->type = $type; + } + /** + * @return string + */ + public function getType() + { + return $this->type; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(VpcNetwork::class, 'Google_Service_VMwareEngine_VpcNetwork');