gestione documentale avanzata 1 parte

This commit is contained in:
2026-05-28 09:34:28 +02:00
parent 3471befb1a
commit f2b0833b90
34482 changed files with 4312269 additions and 546 deletions
@@ -0,0 +1,116 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudControlsPartnerService;
class AccessApprovalRequest extends \Google\Model
{
/**
* Identifier. Format: `organizations/{organization}/locations/{location}/cust
* omers/{customer}/workloads/{workload}/accessApprovalRequests/{access_approv
* al_request}`
*
* @var string
*/
public $name;
/**
* The time at which approval was requested.
*
* @var string
*/
public $requestTime;
/**
* The requested expiration for the approval. If the request is approved,
* access will be granted from the time of approval until the expiration time.
*
* @var string
*/
public $requestedExpirationTime;
protected $requestedReasonType = AccessReason::class;
protected $requestedReasonDataType = '';
/**
* Identifier. Format: `organizations/{organization}/locations/{location}/cust
* omers/{customer}/workloads/{workload}/accessApprovalRequests/{access_approv
* al_request}`
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* The time at which approval was requested.
*
* @param string $requestTime
*/
public function setRequestTime($requestTime)
{
$this->requestTime = $requestTime;
}
/**
* @return string
*/
public function getRequestTime()
{
return $this->requestTime;
}
/**
* The requested expiration for the approval. If the request is approved,
* access will be granted from the time of approval until the expiration time.
*
* @param string $requestedExpirationTime
*/
public function setRequestedExpirationTime($requestedExpirationTime)
{
$this->requestedExpirationTime = $requestedExpirationTime;
}
/**
* @return string
*/
public function getRequestedExpirationTime()
{
return $this->requestedExpirationTime;
}
/**
* The justification for which approval is being requested.
*
* @param AccessReason $requestedReason
*/
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,116 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudControlsPartnerService;
class AccessReason extends \Google\Model
{
/**
* Default value for proto, shouldn't be used.
*/
public const TYPE_TYPE_UNSPECIFIED = 'TYPE_UNSPECIFIED';
/**
* Customer made a request or raised an issue that required the principal to
* access customer data. `detail` is of the form ("#####" is the issue ID): -
* "Feedback Report: #####" - "Case Number: #####" - "Case ID: #####" - "E-PIN
* Reference: #####" - "Google-#####" - "T-#####"
*/
public const TYPE_CUSTOMER_INITIATED_SUPPORT = 'CUSTOMER_INITIATED_SUPPORT';
/**
* The principal accessed customer data in order to diagnose or resolve a
* suspected issue in services. Often this access is used to confirm that
* customers are not affected by a suspected service issue or to remediate a
* reversible system issue.
*/
public const TYPE_GOOGLE_INITIATED_SERVICE = 'GOOGLE_INITIATED_SERVICE';
/**
* Google initiated service for security, fraud, abuse, or compliance
* purposes.
*/
public const TYPE_GOOGLE_INITIATED_REVIEW = 'GOOGLE_INITIATED_REVIEW';
/**
* The principal was compelled to access customer data in order to respond to
* a legal third party data request or process, including legal processes from
* customers themselves.
*/
public const TYPE_THIRD_PARTY_DATA_REQUEST = 'THIRD_PARTY_DATA_REQUEST';
/**
* The principal accessed customer data in order to diagnose or resolve a
* suspected issue in services or a known outage.
*/
public const TYPE_GOOGLE_RESPONSE_TO_PRODUCTION_ALERT = 'GOOGLE_RESPONSE_TO_PRODUCTION_ALERT';
/**
* Similar to 'GOOGLE_INITIATED_SERVICE' or 'GOOGLE_INITIATED_REVIEW', but
* with universe agnostic naming. The principal accessed customer data in
* order to diagnose or resolve a suspected issue in services or a known
* outage, or for security, fraud, abuse, or compliance review purposes.
*/
public const TYPE_CLOUD_INITIATED_ACCESS = 'CLOUD_INITIATED_ACCESS';
/**
* More detail about certain reason types. See comments for each type above.
*
* @var string
*/
public $detail;
/**
* Type of access justification.
*
* @var string
*/
public $type;
/**
* More detail about certain reason types. See comments for each type above.
*
* @param string $detail
*/
public function setDetail($detail)
{
$this->detail = $detail;
}
/**
* @return string
*/
public function getDetail()
{
return $this->detail;
}
/**
* Type of access justification.
*
* Accepted values: TYPE_UNSPECIFIED, CUSTOMER_INITIATED_SUPPORT,
* GOOGLE_INITIATED_SERVICE, GOOGLE_INITIATED_REVIEW,
* THIRD_PARTY_DATA_REQUEST, GOOGLE_RESPONSE_TO_PRODUCTION_ALERT,
* CLOUD_INITIATED_ACCESS
*
* @param self::TYPE_* $type
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return self::TYPE_*
*/
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,70 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudControlsPartnerService;
class ConnectionError extends \Google\Model
{
/**
* The error domain for the error
*
* @var string
*/
public $errorDomain;
/**
* The error message for the error
*
* @var string
*/
public $errorMessage;
/**
* The error domain for the error
*
* @param string $errorDomain
*/
public function setErrorDomain($errorDomain)
{
$this->errorDomain = $errorDomain;
}
/**
* @return string
*/
public function getErrorDomain()
{
return $this->errorDomain;
}
/**
* The error message for the error
*
* @param string $errorMessage
*/
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,93 @@
<?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';
/**
* Additional urls for more information about steps
*
* @var string[]
*/
public $additionalLinks;
/**
* Link to console page where violations can be resolved
*
* @var string[]
*/
public $consoleUris;
/**
* Steps to resolve violation via cloud console
*
* @var string[]
*/
public $steps;
/**
* Additional urls for more information about steps
*
* @param string[] $additionalLinks
*/
public function setAdditionalLinks($additionalLinks)
{
$this->additionalLinks = $additionalLinks;
}
/**
* @return string[]
*/
public function getAdditionalLinks()
{
return $this->additionalLinks;
}
/**
* Link to console page where violations can be resolved
*
* @param string[] $consoleUris
*/
public function setConsoleUris($consoleUris)
{
$this->consoleUris = $consoleUris;
}
/**
* @return string[]
*/
public function getConsoleUris()
{
return $this->consoleUris;
}
/**
* Steps to resolve violation via cloud console
*
* @param string[] $steps
*/
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,136 @@
<?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 = '';
/**
* Required. Display name for the customer
*
* @var string
*/
public $displayName;
/**
* Output only. Indicates whether a customer is fully onboarded
*
* @var bool
*/
public $isOnboarded;
/**
* Identifier. Format:
* `organizations/{organization}/locations/{location}/customers/{customer}`
*
* @var string
*/
public $name;
/**
* Output only. The customer organization domain, extracted from CRM
* Organizations display_name field. e.g. "google.com"
*
* @var string
*/
public $organizationDomain;
/**
* Output only. Container for customer onboarding steps
*
* @param CustomerOnboardingState $customerOnboardingState
*/
public function setCustomerOnboardingState(CustomerOnboardingState $customerOnboardingState)
{
$this->customerOnboardingState = $customerOnboardingState;
}
/**
* @return CustomerOnboardingState
*/
public function getCustomerOnboardingState()
{
return $this->customerOnboardingState;
}
/**
* Required. Display name for the customer
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* Output only. Indicates whether a customer is fully onboarded
*
* @param bool $isOnboarded
*/
public function setIsOnboarded($isOnboarded)
{
$this->isOnboarded = $isOnboarded;
}
/**
* @return bool
*/
public function getIsOnboarded()
{
return $this->isOnboarded;
}
/**
* Identifier. Format:
* `organizations/{organization}/locations/{location}/customers/{customer}`
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Output only. The customer organization domain, extracted from CRM
* Organizations display_name field. e.g. "google.com"
*
* @param string $organizationDomain
*/
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,45 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudControlsPartnerService;
class CustomerOnboardingState extends \Google\Collection
{
protected $collection_key = 'onboardingSteps';
protected $onboardingStepsType = CustomerOnboardingStep::class;
protected $onboardingStepsDataType = 'array';
/**
* List of customer onboarding steps
*
* @param CustomerOnboardingStep[] $onboardingSteps
*/
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,151 @@
<?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
{
/**
* Unspecified completion state.
*/
public const COMPLETION_STATE_COMPLETION_STATE_UNSPECIFIED = 'COMPLETION_STATE_UNSPECIFIED';
/**
* Task started (has start date) but not yet completed.
*/
public const COMPLETION_STATE_PENDING = 'PENDING';
/**
* Succeeded state.
*/
public const COMPLETION_STATE_SUCCEEDED = 'SUCCEEDED';
/**
* Failed state.
*/
public const COMPLETION_STATE_FAILED = 'FAILED';
/**
* Not applicable state.
*/
public const COMPLETION_STATE_NOT_APPLICABLE = 'NOT_APPLICABLE';
/**
* Unspecified step
*/
public const STEP_STEP_UNSPECIFIED = 'STEP_UNSPECIFIED';
/**
* KAJ Enrollment
*/
public const STEP_KAJ_ENROLLMENT = 'KAJ_ENROLLMENT';
/**
* Customer Environment
*/
public const STEP_CUSTOMER_ENVIRONMENT = 'CUSTOMER_ENVIRONMENT';
/**
* Output only. Current state of the step
*
* @var string
*/
public $completionState;
/**
* The completion time of the onboarding step
*
* @var string
*/
public $completionTime;
/**
* The starting time of the onboarding step
*
* @var string
*/
public $startTime;
/**
* The onboarding step
*
* @var string
*/
public $step;
/**
* Output only. Current state of the step
*
* Accepted values: COMPLETION_STATE_UNSPECIFIED, PENDING, SUCCEEDED, FAILED,
* NOT_APPLICABLE
*
* @param self::COMPLETION_STATE_* $completionState
*/
public function setCompletionState($completionState)
{
$this->completionState = $completionState;
}
/**
* @return self::COMPLETION_STATE_*
*/
public function getCompletionState()
{
return $this->completionState;
}
/**
* The completion time of the onboarding step
*
* @param string $completionTime
*/
public function setCompletionTime($completionTime)
{
$this->completionTime = $completionTime;
}
/**
* @return string
*/
public function getCompletionTime()
{
return $this->completionTime;
}
/**
* The starting time of the onboarding step
*
* @param string $startTime
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
/**
* The onboarding step
*
* Accepted values: STEP_UNSPECIFIED, KAJ_ENROLLMENT, CUSTOMER_ENVIRONMENT
*
* @param self::STEP_* $step
*/
public function setStep($step)
{
$this->step = $step;
}
/**
* @return self::STEP_*
*/
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,113 @@
<?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
{
/**
* Unspecified EKM connection state
*/
public const CONNECTION_STATE_CONNECTION_STATE_UNSPECIFIED = 'CONNECTION_STATE_UNSPECIFIED';
/**
* Available EKM connection state
*/
public const CONNECTION_STATE_AVAILABLE = 'AVAILABLE';
/**
* Not available EKM connection state
*/
public const CONNECTION_STATE_NOT_AVAILABLE = 'NOT_AVAILABLE';
/**
* Error EKM connection state
*/
public const CONNECTION_STATE_ERROR = 'ERROR';
/**
* Permission denied EKM connection state
*/
public const CONNECTION_STATE_PERMISSION_DENIED = 'PERMISSION_DENIED';
protected $connectionErrorType = ConnectionError::class;
protected $connectionErrorDataType = '';
/**
* Resource name of the EKM connection in the format:
* projects/{project}/locations/{location}/ekmConnections/{ekm_connection}
*
* @var string
*/
public $connectionName;
/**
* Output only. The connection state
*
* @var string
*/
public $connectionState;
/**
* The connection error that occurred if any
*
* @param ConnectionError $connectionError
*/
public function setConnectionError(ConnectionError $connectionError)
{
$this->connectionError = $connectionError;
}
/**
* @return ConnectionError
*/
public function getConnectionError()
{
return $this->connectionError;
}
/**
* Resource name of the EKM connection in the format:
* projects/{project}/locations/{location}/ekmConnections/{ekm_connection}
*
* @param string $connectionName
*/
public function setConnectionName($connectionName)
{
$this->connectionName = $connectionName;
}
/**
* @return string
*/
public function getConnectionName()
{
return $this->connectionName;
}
/**
* Output only. The connection state
*
* Accepted values: CONNECTION_STATE_UNSPECIFIED, AVAILABLE, NOT_AVAILABLE,
* ERROR, PERMISSION_DENIED
*
* @param self::CONNECTION_STATE_* $connectionState
*/
public function setConnectionState($connectionState)
{
$this->connectionState = $connectionState;
}
/**
* @return self::CONNECTION_STATE_*
*/
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,69 @@
<?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';
/**
* Identifier. Format: `organizations/{organization}/locations/{location}/cust
* omers/{customer}/workloads/{workload}/ekmConnections`
*
* @var string
*/
public $name;
/**
* The EKM connections associated with the workload
*
* @param EkmConnection[] $ekmConnections
*/
public function setEkmConnections($ekmConnections)
{
$this->ekmConnections = $ekmConnections;
}
/**
* @return EkmConnection[]
*/
public function getEkmConnections()
{
return $this->ekmConnections;
}
/**
* Identifier. Format: `organizations/{organization}/locations/{location}/cust
* omers/{customer}/workloads/{workload}/ekmConnections`
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EkmConnections::class, 'Google_Service_CloudControlsPartnerService_EkmConnections');
@@ -0,0 +1,97 @@
<?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
{
/**
* Unspecified EKM solution
*/
public const EKM_SOLUTION_EKM_SOLUTION_UNSPECIFIED = 'EKM_SOLUTION_UNSPECIFIED';
/**
* EKM Partner Fortanix
*/
public const EKM_SOLUTION_FORTANIX = 'FORTANIX';
/**
* EKM Partner FutureX
*/
public const EKM_SOLUTION_FUTUREX = 'FUTUREX';
/**
* EKM Partner Thales
*/
public const EKM_SOLUTION_THALES = 'THALES';
/**
* This enum value is never used.
*
* @deprecated
*/
public const EKM_SOLUTION_VIRTRU = 'VIRTRU';
/**
* Endpoint for sending requests to the EKM for key provisioning during
* Assured Workload creation.
*
* @var string
*/
public $ekmEndpointUri;
/**
* The Cloud EKM partner.
*
* @var string
*/
public $ekmSolution;
/**
* Endpoint for sending requests to the EKM for key provisioning during
* Assured Workload creation.
*
* @param string $ekmEndpointUri
*/
public function setEkmEndpointUri($ekmEndpointUri)
{
$this->ekmEndpointUri = $ekmEndpointUri;
}
/**
* @return string
*/
public function getEkmEndpointUri()
{
return $this->ekmEndpointUri;
}
/**
* The Cloud EKM partner.
*
* Accepted values: EKM_SOLUTION_UNSPECIFIED, FORTANIX, FUTUREX, THALES,
* VIRTRU
*
* @param self::EKM_SOLUTION_* $ekmSolution
*/
public function setEkmSolution($ekmSolution)
{
$this->ekmSolution = $ekmSolution;
}
/**
* @return self::EKM_SOLUTION_*
*/
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,93 @@
<?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';
/**
* Additional urls for more information about steps
*
* @var string[]
*/
public $additionalLinks;
/**
* Gcloud command to resolve violation
*
* @var string[]
*/
public $gcloudCommands;
/**
* Steps to resolve violation via gcloud cli
*
* @var string[]
*/
public $steps;
/**
* Additional urls for more information about steps
*
* @param string[] $additionalLinks
*/
public function setAdditionalLinks($additionalLinks)
{
$this->additionalLinks = $additionalLinks;
}
/**
* @return string[]
*/
public function getAdditionalLinks()
{
return $this->additionalLinks;
}
/**
* Gcloud command to resolve violation
*
* @param string[] $gcloudCommands
*/
public function setGcloudCommands($gcloudCommands)
{
$this->gcloudCommands = $gcloudCommands;
}
/**
* @return string[]
*/
public function getGcloudCommands()
{
return $this->gcloudCommands;
}
/**
* Steps to resolve violation via gcloud cli
*
* @param string[] $steps
*/
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,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 Instructions extends \Google\Model
{
protected $consoleInstructionsType = Console::class;
protected $consoleInstructionsDataType = '';
protected $gcloudInstructionsType = Gcloud::class;
protected $gcloudInstructionsDataType = '';
/**
* Remediation instructions to resolve violation via cloud console
*
* @param Console $consoleInstructions
*/
public function setConsoleInstructions(Console $consoleInstructions)
{
$this->consoleInstructions = $consoleInstructions;
}
/**
* @return Console
*/
public function getConsoleInstructions()
{
return $this->consoleInstructions;
}
/**
* Remediation instructions to resolve violation via gcloud cli
*
* @param Gcloud $gcloudInstructions
*/
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,91 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudControlsPartnerService;
class ListAccessApprovalRequestsResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
protected $accessApprovalRequestsType = AccessApprovalRequest::class;
protected $accessApprovalRequestsDataType = 'array';
/**
* A token that can be sent as `page_token` to retrieve the next page. If this
* field is omitted, there are no subsequent pages.
*
* @var string
*/
public $nextPageToken;
/**
* Locations that could not be reached.
*
* @var string[]
*/
public $unreachable;
/**
* List of access approval requests
*
* @param AccessApprovalRequest[] $accessApprovalRequests
*/
public function setAccessApprovalRequests($accessApprovalRequests)
{
$this->accessApprovalRequests = $accessApprovalRequests;
}
/**
* @return AccessApprovalRequest[]
*/
public function getAccessApprovalRequests()
{
return $this->accessApprovalRequests;
}
/**
* A token that can be sent as `page_token` to retrieve the next page. If this
* field is omitted, there are no subsequent pages.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* Locations that could not be reached.
*
* @param string[] $unreachable
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListAccessApprovalRequestsResponse::class, 'Google_Service_CloudControlsPartnerService_ListAccessApprovalRequestsResponse');
@@ -0,0 +1,91 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudControlsPartnerService;
class ListCustomersResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
protected $customersType = Customer::class;
protected $customersDataType = 'array';
/**
* A token that can be sent as `page_token` to retrieve the next page. If this
* field is omitted, there are no subsequent pages.
*
* @var string
*/
public $nextPageToken;
/**
* Locations that could not be reached.
*
* @var string[]
*/
public $unreachable;
/**
* List of customers
*
* @param Customer[] $customers
*/
public function setCustomers($customers)
{
$this->customers = $customers;
}
/**
* @return Customer[]
*/
public function getCustomers()
{
return $this->customers;
}
/**
* A token that can be sent as `page_token` to retrieve the next page. If this
* field is omitted, there are no subsequent pages.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* Locations that could not be reached.
*
* @param string[] $unreachable
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListCustomersResponse::class, 'Google_Service_CloudControlsPartnerService_ListCustomersResponse');
@@ -0,0 +1,93 @@
<?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';
/**
* A token that can be sent as `page_token` to retrieve the next page. If this
* field is omitted, there are no subsequent pages.
*
* @var string
*/
public $nextPageToken;
/**
* Workloads that could not be reached due to permission errors or any other
* error. Ref: https://google.aip.dev/217
*
* @var string[]
*/
public $unreachable;
protected $violationsType = Violation::class;
protected $violationsDataType = 'array';
/**
* A token that can be sent as `page_token` to retrieve the next page. If this
* field is omitted, there are no subsequent pages.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* Workloads that could not be reached due to permission errors or any other
* error. Ref: https://google.aip.dev/217
*
* @param string[] $unreachable
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
/**
* List of violation
*
* @param Violation[] $violations
*/
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,91 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudControlsPartnerService;
class ListWorkloadsResponse extends \Google\Collection
{
protected $collection_key = 'workloads';
/**
* A token that can be sent as `page_token` to retrieve the next page. If this
* field is omitted, there are no subsequent pages.
*
* @var string
*/
public $nextPageToken;
/**
* Locations that could not be reached.
*
* @var string[]
*/
public $unreachable;
protected $workloadsType = Workload::class;
protected $workloadsDataType = 'array';
/**
* A token that can be sent as `page_token` to retrieve the next page. If this
* field is omitted, there are no subsequent pages.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* Locations that could not be reached.
*
* @param string[] $unreachable
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
/**
* List of customer workloads
*
* @param Workload[] $workloads
*/
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,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 OperationMetadata extends \Google\Model
{
/**
* Output only. API version used to start the operation.
*
* @var string
*/
public $apiVersion;
/**
* Output only. The time the operation was created.
*
* @var string
*/
public $createTime;
/**
* Output only. The time the operation finished running.
*
* @var string
*/
public $endTime;
/**
* Output only. Identifies whether the user has requested cancellation of the
* operation. Operations that have been cancelled successfully have
* Operation.error value with a google.rpc.Status.code of 1, corresponding to
* `Code.CANCELLED`.
*
* @var bool
*/
public $requestedCancellation;
/**
* Output only. Human-readable status of the operation, if any.
*
* @var string
*/
public $statusMessage;
/**
* Output only. Server-defined resource path for the target of the operation.
*
* @var string
*/
public $target;
/**
* Output only. Name of the verb executed by the operation.
*
* @var string
*/
public $verb;
/**
* Output only. API version used to start the operation.
*
* @param string $apiVersion
*/
public function setApiVersion($apiVersion)
{
$this->apiVersion = $apiVersion;
}
/**
* @return string
*/
public function getApiVersion()
{
return $this->apiVersion;
}
/**
* Output only. The time the operation was created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Output only. The time the operation finished running.
*
* @param string $endTime
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* Output only. Identifies whether the user has requested cancellation of the
* operation. Operations that have been cancelled successfully have
* Operation.error value with a google.rpc.Status.code of 1, corresponding to
* `Code.CANCELLED`.
*
* @param bool $requestedCancellation
*/
public function setRequestedCancellation($requestedCancellation)
{
$this->requestedCancellation = $requestedCancellation;
}
/**
* @return bool
*/
public function getRequestedCancellation()
{
return $this->requestedCancellation;
}
/**
* Output only. Human-readable status of the operation, if any.
*
* @param string $statusMessage
*/
public function setStatusMessage($statusMessage)
{
$this->statusMessage = $statusMessage;
}
/**
* @return string
*/
public function getStatusMessage()
{
return $this->statusMessage;
}
/**
* Output only. Server-defined resource path for the target of the operation.
*
* @param string $target
*/
public function setTarget($target)
{
$this->target = $target;
}
/**
* @return string
*/
public function getTarget()
{
return $this->target;
}
/**
* Output only. Name of the verb executed by the operation.
*
* @param string $verb
*/
public function setVerb($verb)
{
$this->verb = $verb;
}
/**
* @return string
*/
public function getVerb()
{
return $this->verb;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(OperationMetadata::class, 'Google_Service_CloudControlsPartnerService_OperationMetadata');
@@ -0,0 +1,183 @@
<?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';
/**
* Output only. Time the resource was created
*
* @var string
*/
public $createTime;
protected $ekmSolutionsType = EkmMetadata::class;
protected $ekmSolutionsDataType = 'array';
/**
* Identifier. The resource name of the partner. Format:
* `organizations/{organization}/locations/{location}/partner` Example:
* "organizations/123456/locations/us-central1/partner"
*
* @var string
*/
public $name;
/**
* List of Google Cloud regions that the partner sells services to customers.
* Valid Google Cloud regions found here:
* https://cloud.google.com/compute/docs/regions-zones
*
* @var string[]
*/
public $operatedCloudRegions;
/**
* Google Cloud project ID in the partner's Google Cloud organization for
* receiving enhanced Logs for Partners.
*
* @var string
*/
public $partnerProjectId;
protected $skusType = Sku::class;
protected $skusDataType = 'array';
/**
* Output only. The last time the resource was updated
*
* @var string
*/
public $updateTime;
/**
* Output only. Time the resource was created
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* List of Google Cloud supported EKM partners supported by the partner
*
* @param EkmMetadata[] $ekmSolutions
*/
public function setEkmSolutions($ekmSolutions)
{
$this->ekmSolutions = $ekmSolutions;
}
/**
* @return EkmMetadata[]
*/
public function getEkmSolutions()
{
return $this->ekmSolutions;
}
/**
* Identifier. The resource name of the partner. Format:
* `organizations/{organization}/locations/{location}/partner` Example:
* "organizations/123456/locations/us-central1/partner"
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* List of Google Cloud regions that the partner sells services to customers.
* Valid Google Cloud regions found here:
* https://cloud.google.com/compute/docs/regions-zones
*
* @param string[] $operatedCloudRegions
*/
public function setOperatedCloudRegions($operatedCloudRegions)
{
$this->operatedCloudRegions = $operatedCloudRegions;
}
/**
* @return string[]
*/
public function getOperatedCloudRegions()
{
return $this->operatedCloudRegions;
}
/**
* Google Cloud project ID in the partner's Google Cloud organization for
* receiving enhanced Logs for Partners.
*
* @param string $partnerProjectId
*/
public function setPartnerProjectId($partnerProjectId)
{
$this->partnerProjectId = $partnerProjectId;
}
/**
* @return string
*/
public function getPartnerProjectId()
{
return $this->partnerProjectId;
}
/**
* List of SKUs the partner is offering
*
* @param Sku[] $skus
*/
public function setSkus($skus)
{
$this->skus = $skus;
}
/**
* @return Sku[]
*/
public function getSkus()
{
return $this->skus;
}
/**
* Output only. The last time the resource was updated
*
* @param string $updateTime
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Partner::class, 'Google_Service_CloudControlsPartnerService_Partner');
@@ -0,0 +1,73 @@
<?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';
/**
* Identifier. Format: `organizations/{organization}/locations/{location}/cust
* omers/{customer}/workloads/{workload}/partnerPermissions`
*
* @var string
*/
public $name;
/**
* The partner permissions granted for the workload
*
* @var string[]
*/
public $partnerPermissions;
/**
* Identifier. Format: `organizations/{organization}/locations/{location}/cust
* omers/{customer}/workloads/{workload}/partnerPermissions`
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* The partner permissions granted for the workload
*
* @param string[] $partnerPermissions
*/
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,126 @@
<?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
{
/**
* Unspecified remediation type
*/
public const REMEDIATION_TYPE_REMEDIATION_TYPE_UNSPECIFIED = 'REMEDIATION_TYPE_UNSPECIFIED';
/**
* Remediation type for boolean org policy
*/
public const REMEDIATION_TYPE_REMEDIATION_BOOLEAN_ORG_POLICY_VIOLATION = 'REMEDIATION_BOOLEAN_ORG_POLICY_VIOLATION';
/**
* Remediation type for list org policy which have allowed values in the
* monitoring rule
*/
public const REMEDIATION_TYPE_REMEDIATION_LIST_ALLOWED_VALUES_ORG_POLICY_VIOLATION = 'REMEDIATION_LIST_ALLOWED_VALUES_ORG_POLICY_VIOLATION';
/**
* Remediation type for list org policy which have denied values in the
* monitoring rule
*/
public const REMEDIATION_TYPE_REMEDIATION_LIST_DENIED_VALUES_ORG_POLICY_VIOLATION = 'REMEDIATION_LIST_DENIED_VALUES_ORG_POLICY_VIOLATION';
/**
* Remediation type for gcp.restrictCmekCryptoKeyProjects
*/
public const REMEDIATION_TYPE_REMEDIATION_RESTRICT_CMEK_CRYPTO_KEY_PROJECTS_ORG_POLICY_VIOLATION = 'REMEDIATION_RESTRICT_CMEK_CRYPTO_KEY_PROJECTS_ORG_POLICY_VIOLATION';
/**
* Remediation type for resource violation.
*/
public const REMEDIATION_TYPE_REMEDIATION_RESOURCE_VIOLATION = 'REMEDIATION_RESOURCE_VIOLATION';
protected $collection_key = 'compliantValues';
/**
* Values that can resolve the violation For example: for list org policy
* violations, this will either be the list of allowed or denied values
*
* @var string[]
*/
public $compliantValues;
protected $instructionsType = Instructions::class;
protected $instructionsDataType = '';
/**
* Output only. Remediation type based on the type of org policy values
* violated
*
* @var string
*/
public $remediationType;
/**
* Values that can resolve the violation For example: for list org policy
* violations, this will either be the list of allowed or denied values
*
* @param string[] $compliantValues
*/
public function setCompliantValues($compliantValues)
{
$this->compliantValues = $compliantValues;
}
/**
* @return string[]
*/
public function getCompliantValues()
{
return $this->compliantValues;
}
/**
* Required. Remediation instructions to resolve violations
*
* @param Instructions $instructions
*/
public function setInstructions(Instructions $instructions)
{
$this->instructions = $instructions;
}
/**
* @return Instructions
*/
public function getInstructions()
{
return $this->instructions;
}
/**
* Output only. Remediation type based on the type of org policy values
* violated
*
* Accepted values: REMEDIATION_TYPE_UNSPECIFIED,
* REMEDIATION_BOOLEAN_ORG_POLICY_VIOLATION,
* REMEDIATION_LIST_ALLOWED_VALUES_ORG_POLICY_VIOLATION,
* REMEDIATION_LIST_DENIED_VALUES_ORG_POLICY_VIOLATION,
* REMEDIATION_RESTRICT_CMEK_CRYPTO_KEY_PROJECTS_ORG_POLICY_VIOLATION,
* REMEDIATION_RESOURCE_VIOLATION
*
* @param self::REMEDIATION_TYPE_* $remediationType
*/
public function setRemediationType($remediationType)
{
$this->remediationType = $remediationType;
}
/**
* @return self::REMEDIATION_TYPE_*
*/
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,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 Sku extends \Google\Model
{
/**
* Display name of the product identified by the SKU. A partner may want to
* show partner branded names for their offerings such as local sovereign
* cloud solutions.
*
* @var string
*/
public $displayName;
/**
* Argentum product SKU, that is associated with the partner offerings to
* customers used by Syntro for billing purposes. SKUs can represent resold
* Google products or support services.
*
* @var string
*/
public $id;
/**
* Display name of the product identified by the SKU. A partner may want to
* show partner branded names for their offerings such as local sovereign
* cloud solutions.
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* Argentum product SKU, that is associated with the partner offerings to
* customers used by Syntro for billing purposes. SKUs can represent resold
* Google products or support services.
*
* @param string $id
*/
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,276 @@
<?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
{
/**
* Unspecified state.
*/
public const STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
/**
* Violation is resolved.
*/
public const STATE_RESOLVED = 'RESOLVED';
/**
* Violation is Unresolved
*/
public const STATE_UNRESOLVED = 'UNRESOLVED';
/**
* Violation is Exception
*/
public const STATE_EXCEPTION = 'EXCEPTION';
/**
* Output only. Time of the event which triggered the Violation.
*
* @var string
*/
public $beginTime;
/**
* Output only. Category under which this violation is mapped. e.g. Location,
* Service Usage, Access, Encryption, etc.
*
* @var string
*/
public $category;
/**
* Output only. Description for the Violation. e.g. OrgPolicy
* gcp.resourceLocations has non compliant value.
*
* @var string
*/
public $description;
/**
* The folder_id of the violation
*
* @var string
*/
public $folderId;
/**
* Identifier. Format: `organizations/{organization}/locations/{location}/cust
* omers/{customer}/workloads/{workload}/violations/{violation}`
*
* @var string
*/
public $name;
/**
* Output only. Immutable. Name of the OrgPolicy which was modified with non-
* compliant change and resulted this violation. Format:
* `projects/{project_number}/policies/{constraint_name}`
* `folders/{folder_id}/policies/{constraint_name}`
* `organizations/{organization_id}/policies/{constraint_name}`
*
* @var string
*/
public $nonCompliantOrgPolicy;
protected $remediationType = Remediation::class;
protected $remediationDataType = '';
/**
* Output only. Time of the event which fixed the Violation. If the violation
* is ACTIVE this will be empty.
*
* @var string
*/
public $resolveTime;
/**
* Output only. State of the violation
*
* @var string
*/
public $state;
/**
* Output only. The last time when the Violation record was updated.
*
* @var string
*/
public $updateTime;
/**
* Output only. Time of the event which triggered the Violation.
*
* @param string $beginTime
*/
public function setBeginTime($beginTime)
{
$this->beginTime = $beginTime;
}
/**
* @return string
*/
public function getBeginTime()
{
return $this->beginTime;
}
/**
* Output only. Category under which this violation is mapped. e.g. Location,
* Service Usage, Access, Encryption, etc.
*
* @param string $category
*/
public function setCategory($category)
{
$this->category = $category;
}
/**
* @return string
*/
public function getCategory()
{
return $this->category;
}
/**
* Output only. Description for the Violation. e.g. OrgPolicy
* gcp.resourceLocations has non compliant value.
*
* @param string $description
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* The folder_id of the violation
*
* @param string $folderId
*/
public function setFolderId($folderId)
{
$this->folderId = $folderId;
}
/**
* @return string
*/
public function getFolderId()
{
return $this->folderId;
}
/**
* Identifier. Format: `organizations/{organization}/locations/{location}/cust
* omers/{customer}/workloads/{workload}/violations/{violation}`
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Output only. Immutable. Name of the OrgPolicy which was modified with non-
* compliant change and resulted this violation. Format:
* `projects/{project_number}/policies/{constraint_name}`
* `folders/{folder_id}/policies/{constraint_name}`
* `organizations/{organization_id}/policies/{constraint_name}`
*
* @param string $nonCompliantOrgPolicy
*/
public function setNonCompliantOrgPolicy($nonCompliantOrgPolicy)
{
$this->nonCompliantOrgPolicy = $nonCompliantOrgPolicy;
}
/**
* @return string
*/
public function getNonCompliantOrgPolicy()
{
return $this->nonCompliantOrgPolicy;
}
/**
* Output only. Compliance violation remediation
*
* @param Remediation $remediation
*/
public function setRemediation(Remediation $remediation)
{
$this->remediation = $remediation;
}
/**
* @return Remediation
*/
public function getRemediation()
{
return $this->remediation;
}
/**
* Output only. Time of the event which fixed the Violation. If the violation
* is ACTIVE this will be empty.
*
* @param string $resolveTime
*/
public function setResolveTime($resolveTime)
{
$this->resolveTime = $resolveTime;
}
/**
* @return string
*/
public function getResolveTime()
{
return $this->resolveTime;
}
/**
* Output only. State of the violation
*
* Accepted values: STATE_UNSPECIFIED, RESOLVED, UNRESOLVED, EXCEPTION
*
* @param self::STATE_* $state
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return self::STATE_*
*/
public function getState()
{
return $this->state;
}
/**
* Output only. The last time when the Violation record was updated.
*
* @param string $updateTime
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Violation::class, 'Google_Service_CloudControlsPartnerService_Violation');
@@ -0,0 +1,262 @@
<?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
{
/**
* Unknown Partner.
*/
public const PARTNER_PARTNER_UNSPECIFIED = 'PARTNER_UNSPECIFIED';
/**
* Enum representing S3NS (Thales) partner.
*/
public const PARTNER_PARTNER_LOCAL_CONTROLS_BY_S3NS = 'PARTNER_LOCAL_CONTROLS_BY_S3NS';
/**
* Enum representing T_SYSTEM (TSI) partner.
*/
public const PARTNER_PARTNER_SOVEREIGN_CONTROLS_BY_T_SYSTEMS = 'PARTNER_SOVEREIGN_CONTROLS_BY_T_SYSTEMS';
/**
* Enum representing SIA_MINSAIT (Indra) partner.
*/
public const PARTNER_PARTNER_SOVEREIGN_CONTROLS_BY_SIA_MINSAIT = 'PARTNER_SOVEREIGN_CONTROLS_BY_SIA_MINSAIT';
/**
* Enum representing PSN (TIM) partner.
*/
public const PARTNER_PARTNER_SOVEREIGN_CONTROLS_BY_PSN = 'PARTNER_SOVEREIGN_CONTROLS_BY_PSN';
/**
* Enum representing CNTXT (Kingdom of Saudi Arabia) partner.
*/
public const PARTNER_PARTNER_SOVEREIGN_CONTROLS_BY_CNTXT = 'PARTNER_SOVEREIGN_CONTROLS_BY_CNTXT';
/**
* Enum representing CNXT (Kingdom of Saudi Arabia) partner offering without
* EKM provisioning.
*/
public const PARTNER_PARTNER_SOVEREIGN_CONTROLS_BY_CNTXT_NO_EKM = 'PARTNER_SOVEREIGN_CONTROLS_BY_CNTXT_NO_EKM';
/**
* Enum representing Telefonica (Spain) partner.
*/
public const PARTNER_PARTNER_SPAIN_DATA_BOUNDARY_BY_TELEFONICA = 'PARTNER_SPAIN_DATA_BOUNDARY_BY_TELEFONICA';
/**
* Output only. Time the resource was created.
*
* @var string
*/
public $createTime;
/**
* Output only. The name of container folder of the assured workload
*
* @var string
*/
public $folder;
/**
* Output only. Folder id this workload is associated with
*
* @var string
*/
public $folderId;
/**
* Indicates whether a workload is fully onboarded.
*
* @var bool
*/
public $isOnboarded;
/**
* The project id of the key management project for the workload
*
* @var string
*/
public $keyManagementProjectId;
/**
* The Google Cloud location of the workload
*
* @var string
*/
public $location;
/**
* Identifier. Format: `organizations/{organization}/locations/{location}/cust
* omers/{customer}/workloads/{workload}`
*
* @var string
*/
public $name;
/**
* Partner associated with this workload.
*
* @var string
*/
public $partner;
protected $workloadOnboardingStateType = WorkloadOnboardingState::class;
protected $workloadOnboardingStateDataType = '';
/**
* Output only. Time the resource was created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Output only. The name of container folder of the assured workload
*
* @param string $folder
*/
public function setFolder($folder)
{
$this->folder = $folder;
}
/**
* @return string
*/
public function getFolder()
{
return $this->folder;
}
/**
* Output only. Folder id this workload is associated with
*
* @param string $folderId
*/
public function setFolderId($folderId)
{
$this->folderId = $folderId;
}
/**
* @return string
*/
public function getFolderId()
{
return $this->folderId;
}
/**
* Indicates whether a workload is fully onboarded.
*
* @param bool $isOnboarded
*/
public function setIsOnboarded($isOnboarded)
{
$this->isOnboarded = $isOnboarded;
}
/**
* @return bool
*/
public function getIsOnboarded()
{
return $this->isOnboarded;
}
/**
* The project id of the key management project for the workload
*
* @param string $keyManagementProjectId
*/
public function setKeyManagementProjectId($keyManagementProjectId)
{
$this->keyManagementProjectId = $keyManagementProjectId;
}
/**
* @return string
*/
public function getKeyManagementProjectId()
{
return $this->keyManagementProjectId;
}
/**
* The Google Cloud location of the workload
*
* @param string $location
*/
public function setLocation($location)
{
$this->location = $location;
}
/**
* @return string
*/
public function getLocation()
{
return $this->location;
}
/**
* Identifier. Format: `organizations/{organization}/locations/{location}/cust
* omers/{customer}/workloads/{workload}`
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Partner associated with this workload.
*
* Accepted values: PARTNER_UNSPECIFIED, PARTNER_LOCAL_CONTROLS_BY_S3NS,
* PARTNER_SOVEREIGN_CONTROLS_BY_T_SYSTEMS,
* PARTNER_SOVEREIGN_CONTROLS_BY_SIA_MINSAIT,
* PARTNER_SOVEREIGN_CONTROLS_BY_PSN, PARTNER_SOVEREIGN_CONTROLS_BY_CNTXT,
* PARTNER_SOVEREIGN_CONTROLS_BY_CNTXT_NO_EKM,
* PARTNER_SPAIN_DATA_BOUNDARY_BY_TELEFONICA
*
* @param self::PARTNER_* $partner
*/
public function setPartner($partner)
{
$this->partner = $partner;
}
/**
* @return self::PARTNER_*
*/
public function getPartner()
{
return $this->partner;
}
/**
* Container for workload onboarding steps.
*
* @param WorkloadOnboardingState $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,45 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudControlsPartnerService;
class WorkloadOnboardingState extends \Google\Collection
{
protected $collection_key = 'onboardingSteps';
protected $onboardingStepsType = WorkloadOnboardingStep::class;
protected $onboardingStepsDataType = 'array';
/**
* List of workload onboarding steps.
*
* @param WorkloadOnboardingStep[] $onboardingSteps
*/
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,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 WorkloadOnboardingStep extends \Google\Model
{
/**
* Unspecified completion state.
*/
public const COMPLETION_STATE_COMPLETION_STATE_UNSPECIFIED = 'COMPLETION_STATE_UNSPECIFIED';
/**
* Task started (has start date) but not yet completed.
*/
public const COMPLETION_STATE_PENDING = 'PENDING';
/**
* Succeeded state.
*/
public const COMPLETION_STATE_SUCCEEDED = 'SUCCEEDED';
/**
* Failed state.
*/
public const COMPLETION_STATE_FAILED = 'FAILED';
/**
* Not applicable state.
*/
public const COMPLETION_STATE_NOT_APPLICABLE = 'NOT_APPLICABLE';
/**
* Unspecified step.
*/
public const STEP_STEP_UNSPECIFIED = 'STEP_UNSPECIFIED';
/**
* EKM Provisioned step.
*/
public const STEP_EKM_PROVISIONED = 'EKM_PROVISIONED';
/**
* Signed Access Approval step.
*/
public const STEP_SIGNED_ACCESS_APPROVAL_CONFIGURED = 'SIGNED_ACCESS_APPROVAL_CONFIGURED';
/**
* Output only. The completion state of the onboarding step.
*
* @var string
*/
public $completionState;
/**
* The completion time of the onboarding step.
*
* @var string
*/
public $completionTime;
/**
* The starting time of the onboarding step.
*
* @var string
*/
public $startTime;
/**
* The onboarding step.
*
* @var string
*/
public $step;
/**
* Output only. The completion state of the onboarding step.
*
* Accepted values: COMPLETION_STATE_UNSPECIFIED, PENDING, SUCCEEDED, FAILED,
* NOT_APPLICABLE
*
* @param self::COMPLETION_STATE_* $completionState
*/
public function setCompletionState($completionState)
{
$this->completionState = $completionState;
}
/**
* @return self::COMPLETION_STATE_*
*/
public function getCompletionState()
{
return $this->completionState;
}
/**
* The completion time of the onboarding step.
*
* @param string $completionTime
*/
public function setCompletionTime($completionTime)
{
$this->completionTime = $completionTime;
}
/**
* @return string
*/
public function getCompletionTime()
{
return $this->completionTime;
}
/**
* The starting time of the onboarding step.
*
* @param string $startTime
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
/**
* The onboarding step.
*
* Accepted values: STEP_UNSPECIFIED, EKM_PROVISIONED,
* SIGNED_ACCESS_APPROVAL_CONFIGURED
*
* @param self::STEP_* $step
*/
public function setStep($step)
{
$this->step = $step;
}
/**
* @return self::STEP_*
*/
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');