Initial commit

This commit is contained in:
Local Administrator
2025-04-18 10:32:42 +02:00
commit b83134aca3
29643 changed files with 3045897 additions and 0 deletions
@@ -0,0 +1,96 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudControlsPartnerService;
class AccessApprovalRequest extends \Google\Model
{
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $requestTime;
/**
* @var string
*/
public $requestedExpirationTime;
protected $requestedReasonType = AccessReason::class;
protected $requestedReasonDataType = '';
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setRequestTime($requestTime)
{
$this->requestTime = $requestTime;
}
/**
* @return string
*/
public function getRequestTime()
{
return $this->requestTime;
}
/**
* @param string
*/
public function setRequestedExpirationTime($requestedExpirationTime)
{
$this->requestedExpirationTime = $requestedExpirationTime;
}
/**
* @return string
*/
public function getRequestedExpirationTime()
{
return $this->requestedExpirationTime;
}
/**
* @param AccessReason
*/
public function setRequestedReason(AccessReason $requestedReason)
{
$this->requestedReason = $requestedReason;
}
/**
* @return AccessReason
*/
public function getRequestedReason()
{
return $this->requestedReason;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AccessApprovalRequest::class, 'Google_Service_CloudControlsPartnerService_AccessApprovalRequest');
@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudControlsPartnerService;
class AccessReason extends \Google\Model
{
/**
* @var string
*/
public $detail;
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setDetail($detail)
{
$this->detail = $detail;
}
/**
* @return string
*/
public function getDetail()
{
return $this->detail;
}
/**
* @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(AccessReason::class, 'Google_Service_CloudControlsPartnerService_AccessReason');
@@ -0,0 +1,25 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudControlsPartnerService;
class CloudcontrolspartnerEmpty extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudcontrolspartnerEmpty::class, 'Google_Service_CloudControlsPartnerService_CloudcontrolspartnerEmpty');
@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudControlsPartnerService;
class ConnectionError extends \Google\Model
{
/**
* @var string
*/
public $errorDomain;
/**
* @var string
*/
public $errorMessage;
/**
* @param string
*/
public function setErrorDomain($errorDomain)
{
$this->errorDomain = $errorDomain;
}
/**
* @return string
*/
public function getErrorDomain()
{
return $this->errorDomain;
}
/**
* @param string
*/
public function setErrorMessage($errorMessage)
{
$this->errorMessage = $errorMessage;
}
/**
* @return string
*/
public function getErrorMessage()
{
return $this->errorMessage;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ConnectionError::class, 'Google_Service_CloudControlsPartnerService_ConnectionError');
@@ -0,0 +1,81 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudControlsPartnerService;
class Console extends \Google\Collection
{
protected $collection_key = 'steps';
/**
* @var string[]
*/
public $additionalLinks;
/**
* @var string[]
*/
public $consoleUris;
/**
* @var string[]
*/
public $steps;
/**
* @param string[]
*/
public function setAdditionalLinks($additionalLinks)
{
$this->additionalLinks = $additionalLinks;
}
/**
* @return string[]
*/
public function getAdditionalLinks()
{
return $this->additionalLinks;
}
/**
* @param string[]
*/
public function setConsoleUris($consoleUris)
{
$this->consoleUris = $consoleUris;
}
/**
* @return string[]
*/
public function getConsoleUris()
{
return $this->consoleUris;
}
/**
* @param string[]
*/
public function setSteps($steps)
{
$this->steps = $steps;
}
/**
* @return string[]
*/
public function getSteps()
{
return $this->steps;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Console::class, 'Google_Service_CloudControlsPartnerService_Console');
@@ -0,0 +1,114 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudControlsPartnerService;
class Customer extends \Google\Model
{
protected $customerOnboardingStateType = CustomerOnboardingState::class;
protected $customerOnboardingStateDataType = '';
/**
* @var string
*/
public $displayName;
/**
* @var bool
*/
public $isOnboarded;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $organizationDomain;
/**
* @param CustomerOnboardingState
*/
public function setCustomerOnboardingState(CustomerOnboardingState $customerOnboardingState)
{
$this->customerOnboardingState = $customerOnboardingState;
}
/**
* @return CustomerOnboardingState
*/
public function getCustomerOnboardingState()
{
return $this->customerOnboardingState;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param bool
*/
public function setIsOnboarded($isOnboarded)
{
$this->isOnboarded = $isOnboarded;
}
/**
* @return bool
*/
public function getIsOnboarded()
{
return $this->isOnboarded;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setOrganizationDomain($organizationDomain)
{
$this->organizationDomain = $organizationDomain;
}
/**
* @return string
*/
public function getOrganizationDomain()
{
return $this->organizationDomain;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Customer::class, 'Google_Service_CloudControlsPartnerService_Customer');
@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudControlsPartnerService;
class CustomerOnboardingState extends \Google\Collection
{
protected $collection_key = 'onboardingSteps';
protected $onboardingStepsType = CustomerOnboardingStep::class;
protected $onboardingStepsDataType = 'array';
/**
* @param CustomerOnboardingStep[]
*/
public function setOnboardingSteps($onboardingSteps)
{
$this->onboardingSteps = $onboardingSteps;
}
/**
* @return CustomerOnboardingStep[]
*/
public function getOnboardingSteps()
{
return $this->onboardingSteps;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CustomerOnboardingState::class, 'Google_Service_CloudControlsPartnerService_CustomerOnboardingState');
@@ -0,0 +1,98 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudControlsPartnerService;
class CustomerOnboardingStep extends \Google\Model
{
/**
* @var string
*/
public $completionState;
/**
* @var string
*/
public $completionTime;
/**
* @var string
*/
public $startTime;
/**
* @var string
*/
public $step;
/**
* @param string
*/
public function setCompletionState($completionState)
{
$this->completionState = $completionState;
}
/**
* @return string
*/
public function getCompletionState()
{
return $this->completionState;
}
/**
* @param string
*/
public function setCompletionTime($completionTime)
{
$this->completionTime = $completionTime;
}
/**
* @return string
*/
public function getCompletionTime()
{
return $this->completionTime;
}
/**
* @param string
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
/**
* @param string
*/
public function setStep($step)
{
$this->step = $step;
}
/**
* @return string
*/
public function getStep()
{
return $this->step;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CustomerOnboardingStep::class, 'Google_Service_CloudControlsPartnerService_CustomerOnboardingStep');
@@ -0,0 +1,78 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudControlsPartnerService;
class EkmConnection extends \Google\Model
{
protected $connectionErrorType = ConnectionError::class;
protected $connectionErrorDataType = '';
/**
* @var string
*/
public $connectionName;
/**
* @var string
*/
public $connectionState;
/**
* @param ConnectionError
*/
public function setConnectionError(ConnectionError $connectionError)
{
$this->connectionError = $connectionError;
}
/**
* @return ConnectionError
*/
public function getConnectionError()
{
return $this->connectionError;
}
/**
* @param string
*/
public function setConnectionName($connectionName)
{
$this->connectionName = $connectionName;
}
/**
* @return string
*/
public function getConnectionName()
{
return $this->connectionName;
}
/**
* @param string
*/
public function setConnectionState($connectionState)
{
$this->connectionState = $connectionState;
}
/**
* @return string
*/
public function getConnectionState()
{
return $this->connectionState;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EkmConnection::class, 'Google_Service_CloudControlsPartnerService_EkmConnection');
@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudControlsPartnerService;
class EkmConnections extends \Google\Collection
{
protected $collection_key = 'ekmConnections';
protected $ekmConnectionsType = EkmConnection::class;
protected $ekmConnectionsDataType = 'array';
/**
* @var string
*/
public $name;
/**
* @param EkmConnection[]
*/
public function setEkmConnections($ekmConnections)
{
$this->ekmConnections = $ekmConnections;
}
/**
* @return EkmConnection[]
*/
public function getEkmConnections()
{
return $this->ekmConnections;
}
/**
* @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(EkmConnections::class, 'Google_Service_CloudControlsPartnerService_EkmConnections');
@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudControlsPartnerService;
class EkmMetadata extends \Google\Model
{
/**
* @var string
*/
public $ekmEndpointUri;
/**
* @var string
*/
public $ekmSolution;
/**
* @param string
*/
public function setEkmEndpointUri($ekmEndpointUri)
{
$this->ekmEndpointUri = $ekmEndpointUri;
}
/**
* @return string
*/
public function getEkmEndpointUri()
{
return $this->ekmEndpointUri;
}
/**
* @param string
*/
public function setEkmSolution($ekmSolution)
{
$this->ekmSolution = $ekmSolution;
}
/**
* @return string
*/
public function getEkmSolution()
{
return $this->ekmSolution;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EkmMetadata::class, 'Google_Service_CloudControlsPartnerService_EkmMetadata');
@@ -0,0 +1,81 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudControlsPartnerService;
class Gcloud extends \Google\Collection
{
protected $collection_key = 'steps';
/**
* @var string[]
*/
public $additionalLinks;
/**
* @var string[]
*/
public $gcloudCommands;
/**
* @var string[]
*/
public $steps;
/**
* @param string[]
*/
public function setAdditionalLinks($additionalLinks)
{
$this->additionalLinks = $additionalLinks;
}
/**
* @return string[]
*/
public function getAdditionalLinks()
{
return $this->additionalLinks;
}
/**
* @param string[]
*/
public function setGcloudCommands($gcloudCommands)
{
$this->gcloudCommands = $gcloudCommands;
}
/**
* @return string[]
*/
public function getGcloudCommands()
{
return $this->gcloudCommands;
}
/**
* @param string[]
*/
public function setSteps($steps)
{
$this->steps = $steps;
}
/**
* @return string[]
*/
public function getSteps()
{
return $this->steps;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Gcloud::class, 'Google_Service_CloudControlsPartnerService_Gcloud');
@@ -0,0 +1,58 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudControlsPartnerService;
class Instructions extends \Google\Model
{
protected $consoleInstructionsType = Console::class;
protected $consoleInstructionsDataType = '';
protected $gcloudInstructionsType = Gcloud::class;
protected $gcloudInstructionsDataType = '';
/**
* @param Console
*/
public function setConsoleInstructions(Console $consoleInstructions)
{
$this->consoleInstructions = $consoleInstructions;
}
/**
* @return Console
*/
public function getConsoleInstructions()
{
return $this->consoleInstructions;
}
/**
* @param Gcloud
*/
public function setGcloudInstructions(Gcloud $gcloudInstructions)
{
$this->gcloudInstructions = $gcloudInstructions;
}
/**
* @return Gcloud
*/
public function getGcloudInstructions()
{
return $this->gcloudInstructions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Instructions::class, 'Google_Service_CloudControlsPartnerService_Instructions');
@@ -0,0 +1,79 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudControlsPartnerService;
class ListAccessApprovalRequestsResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
protected $accessApprovalRequestsType = AccessApprovalRequest::class;
protected $accessApprovalRequestsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @var string[]
*/
public $unreachable;
/**
* @param AccessApprovalRequest[]
*/
public function setAccessApprovalRequests($accessApprovalRequests)
{
$this->accessApprovalRequests = $accessApprovalRequests;
}
/**
* @return AccessApprovalRequest[]
*/
public function getAccessApprovalRequests()
{
return $this->accessApprovalRequests;
}
/**
* @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(ListAccessApprovalRequestsResponse::class, 'Google_Service_CloudControlsPartnerService_ListAccessApprovalRequestsResponse');
@@ -0,0 +1,79 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudControlsPartnerService;
class ListCustomersResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
protected $customersType = Customer::class;
protected $customersDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @var string[]
*/
public $unreachable;
/**
* @param Customer[]
*/
public function setCustomers($customers)
{
$this->customers = $customers;
}
/**
* @return Customer[]
*/
public function getCustomers()
{
return $this->customers;
}
/**
* @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(ListCustomersResponse::class, 'Google_Service_CloudControlsPartnerService_ListCustomersResponse');
@@ -0,0 +1,79 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudControlsPartnerService;
class ListViolationsResponse extends \Google\Collection
{
protected $collection_key = 'violations';
/**
* @var string
*/
public $nextPageToken;
/**
* @var string[]
*/
public $unreachable;
protected $violationsType = Violation::class;
protected $violationsDataType = 'array';
/**
* @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;
}
/**
* @param Violation[]
*/
public function setViolations($violations)
{
$this->violations = $violations;
}
/**
* @return Violation[]
*/
public function getViolations()
{
return $this->violations;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListViolationsResponse::class, 'Google_Service_CloudControlsPartnerService_ListViolationsResponse');
@@ -0,0 +1,79 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudControlsPartnerService;
class ListWorkloadsResponse extends \Google\Collection
{
protected $collection_key = 'workloads';
/**
* @var string
*/
public $nextPageToken;
/**
* @var string[]
*/
public $unreachable;
protected $workloadsType = Workload::class;
protected $workloadsDataType = 'array';
/**
* @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;
}
/**
* @param Workload[]
*/
public function setWorkloads($workloads)
{
$this->workloads = $workloads;
}
/**
* @return Workload[]
*/
public function getWorkloads()
{
return $this->workloads;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListWorkloadsResponse::class, 'Google_Service_CloudControlsPartnerService_ListWorkloadsResponse');
@@ -0,0 +1,152 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudControlsPartnerService;
class OperationMetadata extends \Google\Model
{
/**
* @var string
*/
public $apiVersion;
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $endTime;
/**
* @var bool
*/
public $requestedCancellation;
/**
* @var string
*/
public $statusMessage;
/**
* @var string
*/
public $target;
/**
* @var string
*/
public $verb;
/**
* @param string
*/
public function setApiVersion($apiVersion)
{
$this->apiVersion = $apiVersion;
}
/**
* @return string
*/
public function getApiVersion()
{
return $this->apiVersion;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* @param bool
*/
public function setRequestedCancellation($requestedCancellation)
{
$this->requestedCancellation = $requestedCancellation;
}
/**
* @return bool
*/
public function getRequestedCancellation()
{
return $this->requestedCancellation;
}
/**
* @param string
*/
public function setStatusMessage($statusMessage)
{
$this->statusMessage = $statusMessage;
}
/**
* @return string
*/
public function getStatusMessage()
{
return $this->statusMessage;
}
/**
* @param string
*/
public function setTarget($target)
{
$this->target = $target;
}
/**
* @return string
*/
public function getTarget()
{
return $this->target;
}
/**
* @param string
*/
public function setVerb($verb)
{
$this->verb = $verb;
}
/**
* @return string
*/
public function getVerb()
{
return $this->verb;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(OperationMetadata::class, 'Google_Service_CloudControlsPartnerService_OperationMetadata');
@@ -0,0 +1,149 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudControlsPartnerService;
class Partner extends \Google\Collection
{
protected $collection_key = 'skus';
/**
* @var string
*/
public $createTime;
protected $ekmSolutionsType = EkmMetadata::class;
protected $ekmSolutionsDataType = 'array';
/**
* @var string
*/
public $name;
/**
* @var string[]
*/
public $operatedCloudRegions;
/**
* @var string
*/
public $partnerProjectId;
protected $skusType = Sku::class;
protected $skusDataType = 'array';
/**
* @var string
*/
public $updateTime;
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param EkmMetadata[]
*/
public function setEkmSolutions($ekmSolutions)
{
$this->ekmSolutions = $ekmSolutions;
}
/**
* @return EkmMetadata[]
*/
public function getEkmSolutions()
{
return $this->ekmSolutions;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string[]
*/
public function setOperatedCloudRegions($operatedCloudRegions)
{
$this->operatedCloudRegions = $operatedCloudRegions;
}
/**
* @return string[]
*/
public function getOperatedCloudRegions()
{
return $this->operatedCloudRegions;
}
/**
* @param string
*/
public function setPartnerProjectId($partnerProjectId)
{
$this->partnerProjectId = $partnerProjectId;
}
/**
* @return string
*/
public function getPartnerProjectId()
{
return $this->partnerProjectId;
}
/**
* @param Sku[]
*/
public function setSkus($skus)
{
$this->skus = $skus;
}
/**
* @return Sku[]
*/
public function getSkus()
{
return $this->skus;
}
/**
* @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(Partner::class, 'Google_Service_CloudControlsPartnerService_Partner');
@@ -0,0 +1,63 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudControlsPartnerService;
class PartnerPermissions extends \Google\Collection
{
protected $collection_key = 'partnerPermissions';
/**
* @var string
*/
public $name;
/**
* @var string[]
*/
public $partnerPermissions;
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string[]
*/
public function setPartnerPermissions($partnerPermissions)
{
$this->partnerPermissions = $partnerPermissions;
}
/**
* @return string[]
*/
public function getPartnerPermissions()
{
return $this->partnerPermissions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PartnerPermissions::class, 'Google_Service_CloudControlsPartnerService_PartnerPermissions');
@@ -0,0 +1,79 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudControlsPartnerService;
class Remediation extends \Google\Collection
{
protected $collection_key = 'compliantValues';
/**
* @var string[]
*/
public $compliantValues;
protected $instructionsType = Instructions::class;
protected $instructionsDataType = '';
/**
* @var string
*/
public $remediationType;
/**
* @param string[]
*/
public function setCompliantValues($compliantValues)
{
$this->compliantValues = $compliantValues;
}
/**
* @return string[]
*/
public function getCompliantValues()
{
return $this->compliantValues;
}
/**
* @param Instructions
*/
public function setInstructions(Instructions $instructions)
{
$this->instructions = $instructions;
}
/**
* @return Instructions
*/
public function getInstructions()
{
return $this->instructions;
}
/**
* @param string
*/
public function setRemediationType($remediationType)
{
$this->remediationType = $remediationType;
}
/**
* @return string
*/
public function getRemediationType()
{
return $this->remediationType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Remediation::class, 'Google_Service_CloudControlsPartnerService_Remediation');
@@ -0,0 +1,33 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudControlsPartnerService\Resource;
/**
* The "organizations" collection of methods.
* Typical usage is:
* <code>
* $cloudcontrolspartnerService = new Google\Service\CloudControlsPartnerService(...);
* $organizations = $cloudcontrolspartnerService->organizations;
* </code>
*/
class Organizations extends \Google\Service\Resource
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Organizations::class, 'Google_Service_CloudControlsPartnerService_Resource_Organizations');
@@ -0,0 +1,50 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudControlsPartnerService\Resource;
use Google\Service\CloudControlsPartnerService\Partner;
/**
* The "locations" collection of methods.
* Typical usage is:
* <code>
* $cloudcontrolspartnerService = new Google\Service\CloudControlsPartnerService(...);
* $locations = $cloudcontrolspartnerService->organizations_locations;
* </code>
*/
class OrganizationsLocations extends \Google\Service\Resource
{
/**
* Get details of a Partner. (locations.getPartner)
*
* @param string $name Required. Format:
* `organizations/{organization}/locations/{location}/partner`
* @param array $optParams Optional parameters.
* @return Partner
* @throws \Google\Service\Exception
*/
public function getPartner($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('getPartner', [$params], Partner::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(OrganizationsLocations::class, 'Google_Service_CloudControlsPartnerService_Resource_OrganizationsLocations');
@@ -0,0 +1,129 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudControlsPartnerService\Resource;
use Google\Service\CloudControlsPartnerService\CloudcontrolspartnerEmpty;
use Google\Service\CloudControlsPartnerService\Customer;
use Google\Service\CloudControlsPartnerService\ListCustomersResponse;
/**
* The "customers" collection of methods.
* Typical usage is:
* <code>
* $cloudcontrolspartnerService = new Google\Service\CloudControlsPartnerService(...);
* $customers = $cloudcontrolspartnerService->organizations_locations_customers;
* </code>
*/
class OrganizationsLocationsCustomers extends \Google\Service\Resource
{
/**
* Creates a new customer. (customers.create)
*
* @param string $parent Required. Parent resource Format:
* `organizations/{organization}/locations/{location}`
* @param Customer $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string customerId Required. The customer id to use for the
* customer, which will become the final component of the customer's resource
* name. The specified value must be a valid Google cloud organization id.
* @return Customer
* @throws \Google\Service\Exception
*/
public function create($parent, Customer $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Customer::class);
}
/**
* Delete details of a single customer (customers.delete)
*
* @param string $name Required. name of the resource to be deleted format:
* name=organizations/locations/customers
* @param array $optParams Optional parameters.
* @return CloudcontrolspartnerEmpty
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], CloudcontrolspartnerEmpty::class);
}
/**
* Gets details of a single customer (customers.get)
*
* @param string $name Required. Format:
* `organizations/{organization}/locations/{location}/customers/{customer}`
* @param array $optParams Optional parameters.
* @return Customer
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Customer::class);
}
/**
* Lists customers of a partner identified by its Google Cloud organization ID
* (customers.listOrganizationsLocationsCustomers)
*
* @param string $parent Required. Parent resource Format:
* `organizations/{organization}/locations/{location}`
* @param array $optParams Optional parameters.
*
* @opt_param string filter Optional. Filtering results
* @opt_param string orderBy Optional. Hint for how to order the results
* @opt_param int pageSize The maximum number of Customers to return. The
* service may return fewer than this value. If unspecified, at most 500
* Customers will be returned.
* @opt_param string pageToken A page token, received from a previous
* `ListCustomers` call. Provide this to retrieve the subsequent page.
* @return ListCustomersResponse
* @throws \Google\Service\Exception
*/
public function listOrganizationsLocationsCustomers($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListCustomersResponse::class);
}
/**
* Update details of a single customer (customers.patch)
*
* @param string $name Identifier. Format:
* `organizations/{organization}/locations/{location}/customers/{customer}`
* @param Customer $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Optional. The list of fields to update
* @return Customer
* @throws \Google\Service\Exception
*/
public function patch($name, Customer $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], Customer::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(OrganizationsLocationsCustomers::class, 'Google_Service_CloudControlsPartnerService_Resource_OrganizationsLocationsCustomers');
@@ -0,0 +1,110 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudControlsPartnerService\Resource;
use Google\Service\CloudControlsPartnerService\EkmConnections;
use Google\Service\CloudControlsPartnerService\ListWorkloadsResponse;
use Google\Service\CloudControlsPartnerService\PartnerPermissions;
use Google\Service\CloudControlsPartnerService\Workload;
/**
* The "workloads" collection of methods.
* Typical usage is:
* <code>
* $cloudcontrolspartnerService = new Google\Service\CloudControlsPartnerService(...);
* $workloads = $cloudcontrolspartnerService->organizations_locations_customers_workloads;
* </code>
*/
class OrganizationsLocationsCustomersWorkloads extends \Google\Service\Resource
{
/**
* Gets details of a single workload (workloads.get)
*
* @param string $name Required. Format: `organizations/{organization}/locations
* /{location}/customers/{customer}/workloads/{workload}`
* @param array $optParams Optional parameters.
* @return Workload
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Workload::class);
}
/**
* Gets the EKM connections associated with a workload
* (workloads.getEkmConnections)
*
* @param string $name Required. Format: `organizations/{organization}/locations
* /{location}/customers/{customer}/workloads/{workload}/ekmConnections`
* @param array $optParams Optional parameters.
* @return EkmConnections
* @throws \Google\Service\Exception
*/
public function getEkmConnections($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('getEkmConnections', [$params], EkmConnections::class);
}
/**
* Gets the partner permissions granted for a workload
* (workloads.getPartnerPermissions)
*
* @param string $name Required. Name of the resource to get in the format: `org
* anizations/{organization}/locations/{location}/customers/{customer}/workloads
* /{workload}/partnerPermissions`
* @param array $optParams Optional parameters.
* @return PartnerPermissions
* @throws \Google\Service\Exception
*/
public function getPartnerPermissions($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('getPartnerPermissions', [$params], PartnerPermissions::class);
}
/**
* Lists customer workloads for a given customer org id
* (workloads.listOrganizationsLocationsCustomersWorkloads)
*
* @param string $parent Required. Parent resource Format:
* `organizations/{organization}/locations/{location}/customers/{customer}`
* @param array $optParams Optional parameters.
*
* @opt_param string filter Optional. Filtering results.
* @opt_param string orderBy Optional. Hint for how to order the results.
* @opt_param int pageSize The maximum number of workloads to return. The
* service may return fewer than this value. If unspecified, at most 500
* workloads will be returned.
* @opt_param string pageToken A page token, received from a previous
* `ListWorkloads` call. Provide this to retrieve the subsequent page.
* @return ListWorkloadsResponse
* @throws \Google\Service\Exception
*/
public function listOrganizationsLocationsCustomersWorkloads($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListWorkloadsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(OrganizationsLocationsCustomersWorkloads::class, 'Google_Service_CloudControlsPartnerService_Resource_OrganizationsLocationsCustomersWorkloads');
@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudControlsPartnerService\Resource;
use Google\Service\CloudControlsPartnerService\ListAccessApprovalRequestsResponse;
/**
* The "accessApprovalRequests" collection of methods.
* Typical usage is:
* <code>
* $cloudcontrolspartnerService = new Google\Service\CloudControlsPartnerService(...);
* $accessApprovalRequests = $cloudcontrolspartnerService->organizations_locations_customers_workloads_accessApprovalRequests;
* </code>
*/
class OrganizationsLocationsCustomersWorkloadsAccessApprovalRequests extends \Google\Service\Resource
{
/**
* Deprecated: Only returns access approval requests directly associated with an
* assured workload folder. (accessApprovalRequests.listOrganizationsLocationsCu
* stomersWorkloadsAccessApprovalRequests)
*
* @param string $parent Required. Parent resource Format: `organizations/{organ
* ization}/locations/{location}/customers/{customer}/workloads/{workload}`
* @param array $optParams Optional parameters.
*
* @opt_param string filter Optional. Filtering results.
* @opt_param string orderBy Optional. Hint for how to order the results.
* @opt_param int pageSize Optional. The maximum number of access requests to
* return. The service may return fewer than this value. If unspecified, at most
* 500 access requests will be returned.
* @opt_param string pageToken Optional. A page token, received from a previous
* `ListAccessApprovalRequests` call. Provide this to retrieve the subsequent
* page.
* @return ListAccessApprovalRequestsResponse
* @throws \Google\Service\Exception
*/
public function listOrganizationsLocationsCustomersWorkloadsAccessApprovalRequests($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListAccessApprovalRequestsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(OrganizationsLocationsCustomersWorkloadsAccessApprovalRequests::class, 'Google_Service_CloudControlsPartnerService_Resource_OrganizationsLocationsCustomersWorkloadsAccessApprovalRequests');
@@ -0,0 +1,86 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudControlsPartnerService\Resource;
use Google\Service\CloudControlsPartnerService\ListViolationsResponse;
use Google\Service\CloudControlsPartnerService\Violation;
/**
* The "violations" collection of methods.
* Typical usage is:
* <code>
* $cloudcontrolspartnerService = new Google\Service\CloudControlsPartnerService(...);
* $violations = $cloudcontrolspartnerService->organizations_locations_customers_workloads_violations;
* </code>
*/
class OrganizationsLocationsCustomersWorkloadsViolations extends \Google\Service\Resource
{
/**
* Gets details of a single Violation. (violations.get)
*
* @param string $name Required. Format: `organizations/{organization}/locations
* /{location}/customers/{customer}/workloads/{workload}/violations/{violation}`
* @param array $optParams Optional parameters.
* @return Violation
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Violation::class);
}
/**
* Lists Violations for a workload Callers may also choose to read across
* multiple Customers or for a single customer as per
* [AIP-159](https://google.aip.dev/159) by using '-' (the hyphen or dash
* character) as a wildcard character instead of {customer} & {workload}.
* Format: `organizations/{organization}/locations/{location}/customers/{custome
* r}/workloads/{workload}`
* (violations.listOrganizationsLocationsCustomersWorkloadsViolations)
*
* @param string $parent Required. Parent resource Format `organizations/{organi
* zation}/locations/{location}/customers/{customer}/workloads/{workload}`
* @param array $optParams Optional parameters.
*
* @opt_param string filter Optional. Filtering results
* @opt_param string interval.endTime Optional. Exclusive end of the interval.
* If specified, a Timestamp matching this interval will have to be before the
* end.
* @opt_param string interval.startTime Optional. Inclusive start of the
* interval. If specified, a Timestamp matching this interval will have to be
* the same or after the start.
* @opt_param string orderBy Optional. Hint for how to order the results
* @opt_param int pageSize Optional. The maximum number of customers row to
* return. The service may return fewer than this value. If unspecified, at most
* 10 customers will be returned.
* @opt_param string pageToken Optional. A page token, received from a previous
* `ListViolations` call. Provide this to retrieve the subsequent page.
* @return ListViolationsResponse
* @throws \Google\Service\Exception
*/
public function listOrganizationsLocationsCustomersWorkloadsViolations($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListViolationsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(OrganizationsLocationsCustomersWorkloadsViolations::class, 'Google_Service_CloudControlsPartnerService_Resource_OrganizationsLocationsCustomersWorkloadsViolations');
@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudControlsPartnerService;
class Sku extends \Google\Model
{
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $id;
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Sku::class, 'Google_Service_CloudControlsPartnerService_Sku');
@@ -0,0 +1,204 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudControlsPartnerService;
class Violation extends \Google\Model
{
/**
* @var string
*/
public $beginTime;
/**
* @var string
*/
public $category;
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $folderId;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $nonCompliantOrgPolicy;
protected $remediationType = Remediation::class;
protected $remediationDataType = '';
/**
* @var string
*/
public $resolveTime;
/**
* @var string
*/
public $state;
/**
* @var string
*/
public $updateTime;
/**
* @param string
*/
public function setBeginTime($beginTime)
{
$this->beginTime = $beginTime;
}
/**
* @return string
*/
public function getBeginTime()
{
return $this->beginTime;
}
/**
* @param string
*/
public function setCategory($category)
{
$this->category = $category;
}
/**
* @return string
*/
public function getCategory()
{
return $this->category;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setFolderId($folderId)
{
$this->folderId = $folderId;
}
/**
* @return string
*/
public function getFolderId()
{
return $this->folderId;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setNonCompliantOrgPolicy($nonCompliantOrgPolicy)
{
$this->nonCompliantOrgPolicy = $nonCompliantOrgPolicy;
}
/**
* @return string
*/
public function getNonCompliantOrgPolicy()
{
return $this->nonCompliantOrgPolicy;
}
/**
* @param Remediation
*/
public function setRemediation(Remediation $remediation)
{
$this->remediation = $remediation;
}
/**
* @return Remediation
*/
public function getRemediation()
{
return $this->remediation;
}
/**
* @param string
*/
public function setResolveTime($resolveTime)
{
$this->resolveTime = $resolveTime;
}
/**
* @return string
*/
public function getResolveTime()
{
return $this->resolveTime;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param string
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Violation::class, 'Google_Service_CloudControlsPartnerService_Violation');
@@ -0,0 +1,186 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudControlsPartnerService;
class Workload extends \Google\Model
{
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $folder;
/**
* @var string
*/
public $folderId;
/**
* @var bool
*/
public $isOnboarded;
/**
* @var string
*/
public $keyManagementProjectId;
/**
* @var string
*/
public $location;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $partner;
protected $workloadOnboardingStateType = WorkloadOnboardingState::class;
protected $workloadOnboardingStateDataType = '';
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setFolder($folder)
{
$this->folder = $folder;
}
/**
* @return string
*/
public function getFolder()
{
return $this->folder;
}
/**
* @param string
*/
public function setFolderId($folderId)
{
$this->folderId = $folderId;
}
/**
* @return string
*/
public function getFolderId()
{
return $this->folderId;
}
/**
* @param bool
*/
public function setIsOnboarded($isOnboarded)
{
$this->isOnboarded = $isOnboarded;
}
/**
* @return bool
*/
public function getIsOnboarded()
{
return $this->isOnboarded;
}
/**
* @param string
*/
public function setKeyManagementProjectId($keyManagementProjectId)
{
$this->keyManagementProjectId = $keyManagementProjectId;
}
/**
* @return string
*/
public function getKeyManagementProjectId()
{
return $this->keyManagementProjectId;
}
/**
* @param string
*/
public function setLocation($location)
{
$this->location = $location;
}
/**
* @return string
*/
public function getLocation()
{
return $this->location;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setPartner($partner)
{
$this->partner = $partner;
}
/**
* @return string
*/
public function getPartner()
{
return $this->partner;
}
/**
* @param WorkloadOnboardingState
*/
public function setWorkloadOnboardingState(WorkloadOnboardingState $workloadOnboardingState)
{
$this->workloadOnboardingState = $workloadOnboardingState;
}
/**
* @return WorkloadOnboardingState
*/
public function getWorkloadOnboardingState()
{
return $this->workloadOnboardingState;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Workload::class, 'Google_Service_CloudControlsPartnerService_Workload');
@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudControlsPartnerService;
class WorkloadOnboardingState extends \Google\Collection
{
protected $collection_key = 'onboardingSteps';
protected $onboardingStepsType = WorkloadOnboardingStep::class;
protected $onboardingStepsDataType = 'array';
/**
* @param WorkloadOnboardingStep[]
*/
public function setOnboardingSteps($onboardingSteps)
{
$this->onboardingSteps = $onboardingSteps;
}
/**
* @return WorkloadOnboardingStep[]
*/
public function getOnboardingSteps()
{
return $this->onboardingSteps;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(WorkloadOnboardingState::class, 'Google_Service_CloudControlsPartnerService_WorkloadOnboardingState');
@@ -0,0 +1,98 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudControlsPartnerService;
class WorkloadOnboardingStep extends \Google\Model
{
/**
* @var string
*/
public $completionState;
/**
* @var string
*/
public $completionTime;
/**
* @var string
*/
public $startTime;
/**
* @var string
*/
public $step;
/**
* @param string
*/
public function setCompletionState($completionState)
{
$this->completionState = $completionState;
}
/**
* @return string
*/
public function getCompletionState()
{
return $this->completionState;
}
/**
* @param string
*/
public function setCompletionTime($completionTime)
{
$this->completionTime = $completionTime;
}
/**
* @return string
*/
public function getCompletionTime()
{
return $this->completionTime;
}
/**
* @param string
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
/**
* @param string
*/
public function setStep($step)
{
$this->step = $step;
}
/**
* @return string
*/
public function getStep()
{
return $this->step;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(WorkloadOnboardingStep::class, 'Google_Service_CloudControlsPartnerService_WorkloadOnboardingStep');