Initial commit

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,79 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Assuredworkloads;
class GoogleCloudAssuredworkloadsV1AssetMoveAnalysis extends \Google\Collection
{
protected $collection_key = 'analysisGroups';
protected $analysisGroupsType = GoogleCloudAssuredworkloadsV1MoveAnalysisGroup::class;
protected $analysisGroupsDataType = 'array';
/**
* @var string
*/
public $asset;
/**
* @var string
*/
public $assetType;
/**
* @param GoogleCloudAssuredworkloadsV1MoveAnalysisGroup[]
*/
public function setAnalysisGroups($analysisGroups)
{
$this->analysisGroups = $analysisGroups;
}
/**
* @return GoogleCloudAssuredworkloadsV1MoveAnalysisGroup[]
*/
public function getAnalysisGroups()
{
return $this->analysisGroups;
}
/**
* @param string
*/
public function setAsset($asset)
{
$this->asset = $asset;
}
/**
* @return string
*/
public function getAsset()
{
return $this->asset;
}
/**
* @param string
*/
public function setAssetType($assetType)
{
$this->assetType = $assetType;
}
/**
* @return string
*/
public function getAssetType()
{
return $this->assetType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAssuredworkloadsV1AssetMoveAnalysis::class, 'Google_Service_Assuredworkloads_GoogleCloudAssuredworkloadsV1AssetMoveAnalysis');

View File

@@ -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\Assuredworkloads;
class GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata extends \Google\Model
{
/**
* @var string
*/
public $complianceRegime;
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $parent;
/**
* @param string
*/
public function setComplianceRegime($complianceRegime)
{
$this->complianceRegime = $complianceRegime;
}
/**
* @return string
*/
public function getComplianceRegime()
{
return $this->complianceRegime;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setParent($parent)
{
$this->parent = $parent;
}
/**
* @return string
*/
public function getParent()
{
return $this->parent;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata::class, 'Google_Service_Assuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata');

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,76 @@
<?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\Assuredworkloads;
class GoogleCloudAssuredworkloadsV1MoveAnalysisGroup extends \Google\Model
{
protected $analysisResultType = GoogleCloudAssuredworkloadsV1MoveAnalysisResult::class;
protected $analysisResultDataType = '';
/**
* @var string
*/
public $displayName;
protected $errorType = GoogleRpcStatus::class;
protected $errorDataType = '';
/**
* @param GoogleCloudAssuredworkloadsV1MoveAnalysisResult
*/
public function setAnalysisResult(GoogleCloudAssuredworkloadsV1MoveAnalysisResult $analysisResult)
{
$this->analysisResult = $analysisResult;
}
/**
* @return GoogleCloudAssuredworkloadsV1MoveAnalysisResult
*/
public function getAnalysisResult()
{
return $this->analysisResult;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param GoogleRpcStatus
*/
public function setError(GoogleRpcStatus $error)
{
$this->error = $error;
}
/**
* @return GoogleRpcStatus
*/
public function getError()
{
return $this->error;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAssuredworkloadsV1MoveAnalysisGroup::class, 'Google_Service_Assuredworkloads_GoogleCloudAssuredworkloadsV1MoveAnalysisGroup');

View File

@@ -0,0 +1,59 @@
<?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\Assuredworkloads;
class GoogleCloudAssuredworkloadsV1MoveAnalysisResult extends \Google\Collection
{
protected $collection_key = 'warnings';
protected $blockersType = GoogleCloudAssuredworkloadsV1MoveImpact::class;
protected $blockersDataType = 'array';
protected $warningsType = GoogleCloudAssuredworkloadsV1MoveImpact::class;
protected $warningsDataType = 'array';
/**
* @param GoogleCloudAssuredworkloadsV1MoveImpact[]
*/
public function setBlockers($blockers)
{
$this->blockers = $blockers;
}
/**
* @return GoogleCloudAssuredworkloadsV1MoveImpact[]
*/
public function getBlockers()
{
return $this->blockers;
}
/**
* @param GoogleCloudAssuredworkloadsV1MoveImpact[]
*/
public function setWarnings($warnings)
{
$this->warnings = $warnings;
}
/**
* @return GoogleCloudAssuredworkloadsV1MoveImpact[]
*/
public function getWarnings()
{
return $this->warnings;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAssuredworkloadsV1MoveAnalysisResult::class, 'Google_Service_Assuredworkloads_GoogleCloudAssuredworkloadsV1MoveAnalysisResult');

View File

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

View File

@@ -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\Assuredworkloads;
class GoogleCloudAssuredworkloadsV1MutatePartnerPermissionsRequest extends \Google\Model
{
/**
* @var string
*/
public $etag;
protected $partnerPermissionsType = GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissions::class;
protected $partnerPermissionsDataType = '';
/**
* @var string
*/
public $updateMask;
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissions
*/
public function setPartnerPermissions(GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissions $partnerPermissions)
{
$this->partnerPermissions = $partnerPermissions;
}
/**
* @return GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissions
*/
public function getPartnerPermissions()
{
return $this->partnerPermissions;
}
/**
* @param string
*/
public function setUpdateMask($updateMask)
{
$this->updateMask = $updateMask;
}
/**
* @return string
*/
public function getUpdateMask()
{
return $this->updateMask;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAssuredworkloadsV1MutatePartnerPermissionsRequest::class, 'Google_Service_Assuredworkloads_GoogleCloudAssuredworkloadsV1MutatePartnerPermissionsRequest');

View File

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

View File

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

View File

@@ -0,0 +1,383 @@
<?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\Assuredworkloads;
class GoogleCloudAssuredworkloadsV1Violation extends \Google\Collection
{
protected $collection_key = 'exceptionContexts';
/**
* @var bool
*/
public $acknowledged;
/**
* @var string
*/
public $acknowledgementTime;
/**
* @var string
*/
public $associatedOrgPolicyViolationId;
/**
* @var string
*/
public $auditLogLink;
/**
* @var string
*/
public $beginTime;
/**
* @var string
*/
public $category;
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $exceptionAuditLogLink;
protected $exceptionContextsType = GoogleCloudAssuredworkloadsV1ViolationExceptionContext::class;
protected $exceptionContextsDataType = 'array';
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $nonCompliantOrgPolicy;
/**
* @var string
*/
public $orgPolicyConstraint;
/**
* @var string
*/
public $parentProjectNumber;
protected $remediationType = GoogleCloudAssuredworkloadsV1ViolationRemediation::class;
protected $remediationDataType = '';
/**
* @var string
*/
public $resolveTime;
/**
* @var string
*/
public $resourceName;
/**
* @var string
*/
public $resourceType;
/**
* @var string
*/
public $state;
/**
* @var string
*/
public $updateTime;
/**
* @var string
*/
public $violationType;
/**
* @param bool
*/
public function setAcknowledged($acknowledged)
{
$this->acknowledged = $acknowledged;
}
/**
* @return bool
*/
public function getAcknowledged()
{
return $this->acknowledged;
}
/**
* @param string
*/
public function setAcknowledgementTime($acknowledgementTime)
{
$this->acknowledgementTime = $acknowledgementTime;
}
/**
* @return string
*/
public function getAcknowledgementTime()
{
return $this->acknowledgementTime;
}
/**
* @param string
*/
public function setAssociatedOrgPolicyViolationId($associatedOrgPolicyViolationId)
{
$this->associatedOrgPolicyViolationId = $associatedOrgPolicyViolationId;
}
/**
* @return string
*/
public function getAssociatedOrgPolicyViolationId()
{
return $this->associatedOrgPolicyViolationId;
}
/**
* @param string
*/
public function setAuditLogLink($auditLogLink)
{
$this->auditLogLink = $auditLogLink;
}
/**
* @return string
*/
public function getAuditLogLink()
{
return $this->auditLogLink;
}
/**
* @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 setExceptionAuditLogLink($exceptionAuditLogLink)
{
$this->exceptionAuditLogLink = $exceptionAuditLogLink;
}
/**
* @return string
*/
public function getExceptionAuditLogLink()
{
return $this->exceptionAuditLogLink;
}
/**
* @param GoogleCloudAssuredworkloadsV1ViolationExceptionContext[]
*/
public function setExceptionContexts($exceptionContexts)
{
$this->exceptionContexts = $exceptionContexts;
}
/**
* @return GoogleCloudAssuredworkloadsV1ViolationExceptionContext[]
*/
public function getExceptionContexts()
{
return $this->exceptionContexts;
}
/**
* @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 string
*/
public function setOrgPolicyConstraint($orgPolicyConstraint)
{
$this->orgPolicyConstraint = $orgPolicyConstraint;
}
/**
* @return string
*/
public function getOrgPolicyConstraint()
{
return $this->orgPolicyConstraint;
}
/**
* @param string
*/
public function setParentProjectNumber($parentProjectNumber)
{
$this->parentProjectNumber = $parentProjectNumber;
}
/**
* @return string
*/
public function getParentProjectNumber()
{
return $this->parentProjectNumber;
}
/**
* @param GoogleCloudAssuredworkloadsV1ViolationRemediation
*/
public function setRemediation(GoogleCloudAssuredworkloadsV1ViolationRemediation $remediation)
{
$this->remediation = $remediation;
}
/**
* @return GoogleCloudAssuredworkloadsV1ViolationRemediation
*/
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 setResourceName($resourceName)
{
$this->resourceName = $resourceName;
}
/**
* @return string
*/
public function getResourceName()
{
return $this->resourceName;
}
/**
* @param string
*/
public function setResourceType($resourceType)
{
$this->resourceType = $resourceType;
}
/**
* @return string
*/
public function getResourceType()
{
return $this->resourceType;
}
/**
* @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;
}
/**
* @param string
*/
public function setViolationType($violationType)
{
$this->violationType = $violationType;
}
/**
* @return string
*/
public function getViolationType()
{
return $this->violationType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAssuredworkloadsV1Violation::class, 'Google_Service_Assuredworkloads_GoogleCloudAssuredworkloadsV1Violation');

View File

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

View File

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

View File

@@ -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\Assuredworkloads;
class GoogleCloudAssuredworkloadsV1ViolationRemediationInstructions extends \Google\Model
{
protected $consoleInstructionsType = GoogleCloudAssuredworkloadsV1ViolationRemediationInstructionsConsole::class;
protected $consoleInstructionsDataType = '';
protected $gcloudInstructionsType = GoogleCloudAssuredworkloadsV1ViolationRemediationInstructionsGcloud::class;
protected $gcloudInstructionsDataType = '';
/**
* @param GoogleCloudAssuredworkloadsV1ViolationRemediationInstructionsConsole
*/
public function setConsoleInstructions(GoogleCloudAssuredworkloadsV1ViolationRemediationInstructionsConsole $consoleInstructions)
{
$this->consoleInstructions = $consoleInstructions;
}
/**
* @return GoogleCloudAssuredworkloadsV1ViolationRemediationInstructionsConsole
*/
public function getConsoleInstructions()
{
return $this->consoleInstructions;
}
/**
* @param GoogleCloudAssuredworkloadsV1ViolationRemediationInstructionsGcloud
*/
public function setGcloudInstructions(GoogleCloudAssuredworkloadsV1ViolationRemediationInstructionsGcloud $gcloudInstructions)
{
$this->gcloudInstructions = $gcloudInstructions;
}
/**
* @return GoogleCloudAssuredworkloadsV1ViolationRemediationInstructionsGcloud
*/
public function getGcloudInstructions()
{
return $this->gcloudInstructions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAssuredworkloadsV1ViolationRemediationInstructions::class, 'Google_Service_Assuredworkloads_GoogleCloudAssuredworkloadsV1ViolationRemediationInstructions');

View File

@@ -0,0 +1,81 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Assuredworkloads;
class GoogleCloudAssuredworkloadsV1ViolationRemediationInstructionsConsole 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(GoogleCloudAssuredworkloadsV1ViolationRemediationInstructionsConsole::class, 'Google_Service_Assuredworkloads_GoogleCloudAssuredworkloadsV1ViolationRemediationInstructionsConsole');

View File

@@ -0,0 +1,81 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Assuredworkloads;
class GoogleCloudAssuredworkloadsV1ViolationRemediationInstructionsGcloud 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(GoogleCloudAssuredworkloadsV1ViolationRemediationInstructionsGcloud::class, 'Google_Service_Assuredworkloads_GoogleCloudAssuredworkloadsV1ViolationRemediationInstructionsGcloud');

View File

@@ -0,0 +1,425 @@
<?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\Assuredworkloads;
class GoogleCloudAssuredworkloadsV1Workload extends \Google\Collection
{
protected $collection_key = 'resources';
/**
* @var string
*/
public $billingAccount;
/**
* @var string
*/
public $complianceRegime;
protected $complianceStatusType = GoogleCloudAssuredworkloadsV1WorkloadComplianceStatus::class;
protected $complianceStatusDataType = '';
/**
* @var string[]
*/
public $compliantButDisallowedServices;
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $displayName;
protected $ekmProvisioningResponseType = GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponse::class;
protected $ekmProvisioningResponseDataType = '';
/**
* @var bool
*/
public $enableSovereignControls;
/**
* @var string
*/
public $etag;
/**
* @var string
*/
public $kajEnrollmentState;
protected $kmsSettingsType = GoogleCloudAssuredworkloadsV1WorkloadKMSSettings::class;
protected $kmsSettingsDataType = '';
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $partner;
protected $partnerPermissionsType = GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissions::class;
protected $partnerPermissionsDataType = '';
/**
* @var string
*/
public $partnerServicesBillingAccount;
/**
* @var string
*/
public $provisionedResourcesParent;
/**
* @var bool
*/
public $resourceMonitoringEnabled;
protected $resourceSettingsType = GoogleCloudAssuredworkloadsV1WorkloadResourceSettings::class;
protected $resourceSettingsDataType = 'array';
protected $resourcesType = GoogleCloudAssuredworkloadsV1WorkloadResourceInfo::class;
protected $resourcesDataType = 'array';
protected $saaEnrollmentResponseType = GoogleCloudAssuredworkloadsV1WorkloadSaaEnrollmentResponse::class;
protected $saaEnrollmentResponseDataType = '';
/**
* @var bool
*/
public $violationNotificationsEnabled;
protected $workloadOptionsType = GoogleCloudAssuredworkloadsV1WorkloadWorkloadOptions::class;
protected $workloadOptionsDataType = '';
/**
* @param string
*/
public function setBillingAccount($billingAccount)
{
$this->billingAccount = $billingAccount;
}
/**
* @return string
*/
public function getBillingAccount()
{
return $this->billingAccount;
}
/**
* @param string
*/
public function setComplianceRegime($complianceRegime)
{
$this->complianceRegime = $complianceRegime;
}
/**
* @return string
*/
public function getComplianceRegime()
{
return $this->complianceRegime;
}
/**
* @param GoogleCloudAssuredworkloadsV1WorkloadComplianceStatus
*/
public function setComplianceStatus(GoogleCloudAssuredworkloadsV1WorkloadComplianceStatus $complianceStatus)
{
$this->complianceStatus = $complianceStatus;
}
/**
* @return GoogleCloudAssuredworkloadsV1WorkloadComplianceStatus
*/
public function getComplianceStatus()
{
return $this->complianceStatus;
}
/**
* @param string[]
*/
public function setCompliantButDisallowedServices($compliantButDisallowedServices)
{
$this->compliantButDisallowedServices = $compliantButDisallowedServices;
}
/**
* @return string[]
*/
public function getCompliantButDisallowedServices()
{
return $this->compliantButDisallowedServices;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponse
*/
public function setEkmProvisioningResponse(GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponse $ekmProvisioningResponse)
{
$this->ekmProvisioningResponse = $ekmProvisioningResponse;
}
/**
* @return GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponse
*/
public function getEkmProvisioningResponse()
{
return $this->ekmProvisioningResponse;
}
/**
* @param bool
*/
public function setEnableSovereignControls($enableSovereignControls)
{
$this->enableSovereignControls = $enableSovereignControls;
}
/**
* @return bool
*/
public function getEnableSovereignControls()
{
return $this->enableSovereignControls;
}
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param string
*/
public function setKajEnrollmentState($kajEnrollmentState)
{
$this->kajEnrollmentState = $kajEnrollmentState;
}
/**
* @return string
*/
public function getKajEnrollmentState()
{
return $this->kajEnrollmentState;
}
/**
* @param GoogleCloudAssuredworkloadsV1WorkloadKMSSettings
*/
public function setKmsSettings(GoogleCloudAssuredworkloadsV1WorkloadKMSSettings $kmsSettings)
{
$this->kmsSettings = $kmsSettings;
}
/**
* @return GoogleCloudAssuredworkloadsV1WorkloadKMSSettings
*/
public function getKmsSettings()
{
return $this->kmsSettings;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setPartner($partner)
{
$this->partner = $partner;
}
/**
* @return string
*/
public function getPartner()
{
return $this->partner;
}
/**
* @param GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissions
*/
public function setPartnerPermissions(GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissions $partnerPermissions)
{
$this->partnerPermissions = $partnerPermissions;
}
/**
* @return GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissions
*/
public function getPartnerPermissions()
{
return $this->partnerPermissions;
}
/**
* @param string
*/
public function setPartnerServicesBillingAccount($partnerServicesBillingAccount)
{
$this->partnerServicesBillingAccount = $partnerServicesBillingAccount;
}
/**
* @return string
*/
public function getPartnerServicesBillingAccount()
{
return $this->partnerServicesBillingAccount;
}
/**
* @param string
*/
public function setProvisionedResourcesParent($provisionedResourcesParent)
{
$this->provisionedResourcesParent = $provisionedResourcesParent;
}
/**
* @return string
*/
public function getProvisionedResourcesParent()
{
return $this->provisionedResourcesParent;
}
/**
* @param bool
*/
public function setResourceMonitoringEnabled($resourceMonitoringEnabled)
{
$this->resourceMonitoringEnabled = $resourceMonitoringEnabled;
}
/**
* @return bool
*/
public function getResourceMonitoringEnabled()
{
return $this->resourceMonitoringEnabled;
}
/**
* @param GoogleCloudAssuredworkloadsV1WorkloadResourceSettings[]
*/
public function setResourceSettings($resourceSettings)
{
$this->resourceSettings = $resourceSettings;
}
/**
* @return GoogleCloudAssuredworkloadsV1WorkloadResourceSettings[]
*/
public function getResourceSettings()
{
return $this->resourceSettings;
}
/**
* @param GoogleCloudAssuredworkloadsV1WorkloadResourceInfo[]
*/
public function setResources($resources)
{
$this->resources = $resources;
}
/**
* @return GoogleCloudAssuredworkloadsV1WorkloadResourceInfo[]
*/
public function getResources()
{
return $this->resources;
}
/**
* @param GoogleCloudAssuredworkloadsV1WorkloadSaaEnrollmentResponse
*/
public function setSaaEnrollmentResponse(GoogleCloudAssuredworkloadsV1WorkloadSaaEnrollmentResponse $saaEnrollmentResponse)
{
$this->saaEnrollmentResponse = $saaEnrollmentResponse;
}
/**
* @return GoogleCloudAssuredworkloadsV1WorkloadSaaEnrollmentResponse
*/
public function getSaaEnrollmentResponse()
{
return $this->saaEnrollmentResponse;
}
/**
* @param bool
*/
public function setViolationNotificationsEnabled($violationNotificationsEnabled)
{
$this->violationNotificationsEnabled = $violationNotificationsEnabled;
}
/**
* @return bool
*/
public function getViolationNotificationsEnabled()
{
return $this->violationNotificationsEnabled;
}
/**
* @param GoogleCloudAssuredworkloadsV1WorkloadWorkloadOptions
*/
public function setWorkloadOptions(GoogleCloudAssuredworkloadsV1WorkloadWorkloadOptions $workloadOptions)
{
$this->workloadOptions = $workloadOptions;
}
/**
* @return GoogleCloudAssuredworkloadsV1WorkloadWorkloadOptions
*/
public function getWorkloadOptions()
{
return $this->workloadOptions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAssuredworkloadsV1Workload::class, 'Google_Service_Assuredworkloads_GoogleCloudAssuredworkloadsV1Workload');

View File

@@ -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\Assuredworkloads;
class GoogleCloudAssuredworkloadsV1WorkloadComplianceStatus extends \Google\Model
{
/**
* @var int
*/
public $acknowledgedResourceViolationCount;
/**
* @var int
*/
public $acknowledgedViolationCount;
/**
* @var int
*/
public $activeResourceViolationCount;
/**
* @var int
*/
public $activeViolationCount;
/**
* @param int
*/
public function setAcknowledgedResourceViolationCount($acknowledgedResourceViolationCount)
{
$this->acknowledgedResourceViolationCount = $acknowledgedResourceViolationCount;
}
/**
* @return int
*/
public function getAcknowledgedResourceViolationCount()
{
return $this->acknowledgedResourceViolationCount;
}
/**
* @param int
*/
public function setAcknowledgedViolationCount($acknowledgedViolationCount)
{
$this->acknowledgedViolationCount = $acknowledgedViolationCount;
}
/**
* @return int
*/
public function getAcknowledgedViolationCount()
{
return $this->acknowledgedViolationCount;
}
/**
* @param int
*/
public function setActiveResourceViolationCount($activeResourceViolationCount)
{
$this->activeResourceViolationCount = $activeResourceViolationCount;
}
/**
* @return int
*/
public function getActiveResourceViolationCount()
{
return $this->activeResourceViolationCount;
}
/**
* @param int
*/
public function setActiveViolationCount($activeViolationCount)
{
$this->activeViolationCount = $activeViolationCount;
}
/**
* @return int
*/
public function getActiveViolationCount()
{
return $this->activeViolationCount;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAssuredworkloadsV1WorkloadComplianceStatus::class, 'Google_Service_Assuredworkloads_GoogleCloudAssuredworkloadsV1WorkloadComplianceStatus');

View File

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

View File

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

View File

@@ -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\Assuredworkloads;
class GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissions extends \Google\Model
{
/**
* @var bool
*/
public $accessTransparencyLogsSupportCaseViewer;
/**
* @var bool
*/
public $assuredWorkloadsMonitoring;
/**
* @var bool
*/
public $dataLogsViewer;
/**
* @var bool
*/
public $serviceAccessApprover;
/**
* @param bool
*/
public function setAccessTransparencyLogsSupportCaseViewer($accessTransparencyLogsSupportCaseViewer)
{
$this->accessTransparencyLogsSupportCaseViewer = $accessTransparencyLogsSupportCaseViewer;
}
/**
* @return bool
*/
public function getAccessTransparencyLogsSupportCaseViewer()
{
return $this->accessTransparencyLogsSupportCaseViewer;
}
/**
* @param bool
*/
public function setAssuredWorkloadsMonitoring($assuredWorkloadsMonitoring)
{
$this->assuredWorkloadsMonitoring = $assuredWorkloadsMonitoring;
}
/**
* @return bool
*/
public function getAssuredWorkloadsMonitoring()
{
return $this->assuredWorkloadsMonitoring;
}
/**
* @param bool
*/
public function setDataLogsViewer($dataLogsViewer)
{
$this->dataLogsViewer = $dataLogsViewer;
}
/**
* @return bool
*/
public function getDataLogsViewer()
{
return $this->dataLogsViewer;
}
/**
* @param bool
*/
public function setServiceAccessApprover($serviceAccessApprover)
{
$this->serviceAccessApprover = $serviceAccessApprover;
}
/**
* @return bool
*/
public function getServiceAccessApprover()
{
return $this->serviceAccessApprover;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissions::class, 'Google_Service_Assuredworkloads_GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissions');

View File

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

View File

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

View File

@@ -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\Assuredworkloads;
class GoogleCloudAssuredworkloadsV1WorkloadSaaEnrollmentResponse extends \Google\Collection
{
protected $collection_key = 'setupErrors';
/**
* @var string[]
*/
public $setupErrors;
/**
* @var string
*/
public $setupStatus;
/**
* @param string[]
*/
public function setSetupErrors($setupErrors)
{
$this->setupErrors = $setupErrors;
}
/**
* @return string[]
*/
public function getSetupErrors()
{
return $this->setupErrors;
}
/**
* @param string
*/
public function setSetupStatus($setupStatus)
{
$this->setupStatus = $setupStatus;
}
/**
* @return string
*/
public function getSetupStatus()
{
return $this->setupStatus;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAssuredworkloadsV1WorkloadSaaEnrollmentResponse::class, 'Google_Service_Assuredworkloads_GoogleCloudAssuredworkloadsV1WorkloadSaaEnrollmentResponse');

View File

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

View File

@@ -0,0 +1,115 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Assuredworkloads;
class GoogleCloudAssuredworkloadsV1beta1CreateWorkloadOperationMetadata extends \Google\Collection
{
protected $collection_key = 'resourceSettings';
/**
* @var string
*/
public $complianceRegime;
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $parent;
protected $resourceSettingsType = GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettings::class;
protected $resourceSettingsDataType = 'array';
/**
* @param string
*/
public function setComplianceRegime($complianceRegime)
{
$this->complianceRegime = $complianceRegime;
}
/**
* @return string
*/
public function getComplianceRegime()
{
return $this->complianceRegime;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setParent($parent)
{
$this->parent = $parent;
}
/**
* @return string
*/
public function getParent()
{
return $this->parent;
}
/**
* @param GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettings[]
*/
public function setResourceSettings($resourceSettings)
{
$this->resourceSettings = $resourceSettings;
}
/**
* @return GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettings[]
*/
public function getResourceSettings()
{
return $this->resourceSettings;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAssuredworkloadsV1beta1CreateWorkloadOperationMetadata::class, 'Google_Service_Assuredworkloads_GoogleCloudAssuredworkloadsV1beta1CreateWorkloadOperationMetadata');

View File

@@ -0,0 +1,353 @@
<?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\Assuredworkloads;
class GoogleCloudAssuredworkloadsV1beta1Workload extends \Google\Collection
{
protected $collection_key = 'resources';
/**
* @var string
*/
public $billingAccount;
protected $cjisSettingsType = GoogleCloudAssuredworkloadsV1beta1WorkloadCJISSettings::class;
protected $cjisSettingsDataType = '';
/**
* @var string
*/
public $complianceRegime;
/**
* @var string[]
*/
public $compliantButDisallowedServices;
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $displayName;
/**
* @var bool
*/
public $enableSovereignControls;
/**
* @var string
*/
public $etag;
protected $fedrampHighSettingsType = GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampHighSettings::class;
protected $fedrampHighSettingsDataType = '';
protected $fedrampModerateSettingsType = GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampModerateSettings::class;
protected $fedrampModerateSettingsDataType = '';
protected $il4SettingsType = GoogleCloudAssuredworkloadsV1beta1WorkloadIL4Settings::class;
protected $il4SettingsDataType = '';
/**
* @var string
*/
public $kajEnrollmentState;
protected $kmsSettingsType = GoogleCloudAssuredworkloadsV1beta1WorkloadKMSSettings::class;
protected $kmsSettingsDataType = '';
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $provisionedResourcesParent;
protected $resourceSettingsType = GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettings::class;
protected $resourceSettingsDataType = 'array';
protected $resourcesType = GoogleCloudAssuredworkloadsV1beta1WorkloadResourceInfo::class;
protected $resourcesDataType = 'array';
protected $saaEnrollmentResponseType = GoogleCloudAssuredworkloadsV1beta1WorkloadSaaEnrollmentResponse::class;
protected $saaEnrollmentResponseDataType = '';
/**
* @param string
*/
public function setBillingAccount($billingAccount)
{
$this->billingAccount = $billingAccount;
}
/**
* @return string
*/
public function getBillingAccount()
{
return $this->billingAccount;
}
/**
* @param GoogleCloudAssuredworkloadsV1beta1WorkloadCJISSettings
*/
public function setCjisSettings(GoogleCloudAssuredworkloadsV1beta1WorkloadCJISSettings $cjisSettings)
{
$this->cjisSettings = $cjisSettings;
}
/**
* @return GoogleCloudAssuredworkloadsV1beta1WorkloadCJISSettings
*/
public function getCjisSettings()
{
return $this->cjisSettings;
}
/**
* @param string
*/
public function setComplianceRegime($complianceRegime)
{
$this->complianceRegime = $complianceRegime;
}
/**
* @return string
*/
public function getComplianceRegime()
{
return $this->complianceRegime;
}
/**
* @param string[]
*/
public function setCompliantButDisallowedServices($compliantButDisallowedServices)
{
$this->compliantButDisallowedServices = $compliantButDisallowedServices;
}
/**
* @return string[]
*/
public function getCompliantButDisallowedServices()
{
return $this->compliantButDisallowedServices;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param bool
*/
public function setEnableSovereignControls($enableSovereignControls)
{
$this->enableSovereignControls = $enableSovereignControls;
}
/**
* @return bool
*/
public function getEnableSovereignControls()
{
return $this->enableSovereignControls;
}
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampHighSettings
*/
public function setFedrampHighSettings(GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampHighSettings $fedrampHighSettings)
{
$this->fedrampHighSettings = $fedrampHighSettings;
}
/**
* @return GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampHighSettings
*/
public function getFedrampHighSettings()
{
return $this->fedrampHighSettings;
}
/**
* @param GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampModerateSettings
*/
public function setFedrampModerateSettings(GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampModerateSettings $fedrampModerateSettings)
{
$this->fedrampModerateSettings = $fedrampModerateSettings;
}
/**
* @return GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampModerateSettings
*/
public function getFedrampModerateSettings()
{
return $this->fedrampModerateSettings;
}
/**
* @param GoogleCloudAssuredworkloadsV1beta1WorkloadIL4Settings
*/
public function setIl4Settings(GoogleCloudAssuredworkloadsV1beta1WorkloadIL4Settings $il4Settings)
{
$this->il4Settings = $il4Settings;
}
/**
* @return GoogleCloudAssuredworkloadsV1beta1WorkloadIL4Settings
*/
public function getIl4Settings()
{
return $this->il4Settings;
}
/**
* @param string
*/
public function setKajEnrollmentState($kajEnrollmentState)
{
$this->kajEnrollmentState = $kajEnrollmentState;
}
/**
* @return string
*/
public function getKajEnrollmentState()
{
return $this->kajEnrollmentState;
}
/**
* @param GoogleCloudAssuredworkloadsV1beta1WorkloadKMSSettings
*/
public function setKmsSettings(GoogleCloudAssuredworkloadsV1beta1WorkloadKMSSettings $kmsSettings)
{
$this->kmsSettings = $kmsSettings;
}
/**
* @return GoogleCloudAssuredworkloadsV1beta1WorkloadKMSSettings
*/
public function getKmsSettings()
{
return $this->kmsSettings;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setProvisionedResourcesParent($provisionedResourcesParent)
{
$this->provisionedResourcesParent = $provisionedResourcesParent;
}
/**
* @return string
*/
public function getProvisionedResourcesParent()
{
return $this->provisionedResourcesParent;
}
/**
* @param GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettings[]
*/
public function setResourceSettings($resourceSettings)
{
$this->resourceSettings = $resourceSettings;
}
/**
* @return GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettings[]
*/
public function getResourceSettings()
{
return $this->resourceSettings;
}
/**
* @param GoogleCloudAssuredworkloadsV1beta1WorkloadResourceInfo[]
*/
public function setResources($resources)
{
$this->resources = $resources;
}
/**
* @return GoogleCloudAssuredworkloadsV1beta1WorkloadResourceInfo[]
*/
public function getResources()
{
return $this->resources;
}
/**
* @param GoogleCloudAssuredworkloadsV1beta1WorkloadSaaEnrollmentResponse
*/
public function setSaaEnrollmentResponse(GoogleCloudAssuredworkloadsV1beta1WorkloadSaaEnrollmentResponse $saaEnrollmentResponse)
{
$this->saaEnrollmentResponse = $saaEnrollmentResponse;
}
/**
* @return GoogleCloudAssuredworkloadsV1beta1WorkloadSaaEnrollmentResponse
*/
public function getSaaEnrollmentResponse()
{
return $this->saaEnrollmentResponse;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAssuredworkloadsV1beta1Workload::class, 'Google_Service_Assuredworkloads_GoogleCloudAssuredworkloadsV1beta1Workload');

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -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\Assuredworkloads;
class GoogleCloudAssuredworkloadsV1beta1WorkloadSaaEnrollmentResponse extends \Google\Collection
{
protected $collection_key = 'setupErrors';
/**
* @var string[]
*/
public $setupErrors;
/**
* @var string
*/
public $setupStatus;
/**
* @param string[]
*/
public function setSetupErrors($setupErrors)
{
$this->setupErrors = $setupErrors;
}
/**
* @return string[]
*/
public function getSetupErrors()
{
return $this->setupErrors;
}
/**
* @param string
*/
public function setSetupStatus($setupStatus)
{
$this->setupStatus = $setupStatus;
}
/**
* @return string
*/
public function getSetupStatus()
{
return $this->setupStatus;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAssuredworkloadsV1beta1WorkloadSaaEnrollmentResponse::class, 'Google_Service_Assuredworkloads_GoogleCloudAssuredworkloadsV1beta1WorkloadSaaEnrollmentResponse');

View File

@@ -0,0 +1,115 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Assuredworkloads;
class GoogleCloudAssuredworkloadsVersioningV1mainCreateWorkloadOperationMetadata extends \Google\Collection
{
protected $collection_key = 'resourceSettings';
/**
* @var string
*/
public $complianceRegime;
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $parent;
protected $resourceSettingsType = GoogleCloudAssuredworkloadsVersioningV1mainWorkloadResourceSettings::class;
protected $resourceSettingsDataType = 'array';
/**
* @param string
*/
public function setComplianceRegime($complianceRegime)
{
$this->complianceRegime = $complianceRegime;
}
/**
* @return string
*/
public function getComplianceRegime()
{
return $this->complianceRegime;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setParent($parent)
{
$this->parent = $parent;
}
/**
* @return string
*/
public function getParent()
{
return $this->parent;
}
/**
* @param GoogleCloudAssuredworkloadsVersioningV1mainWorkloadResourceSettings[]
*/
public function setResourceSettings($resourceSettings)
{
$this->resourceSettings = $resourceSettings;
}
/**
* @return GoogleCloudAssuredworkloadsVersioningV1mainWorkloadResourceSettings[]
*/
public function getResourceSettings()
{
return $this->resourceSettings;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAssuredworkloadsVersioningV1mainCreateWorkloadOperationMetadata::class, 'Google_Service_Assuredworkloads_GoogleCloudAssuredworkloadsVersioningV1mainCreateWorkloadOperationMetadata');

View File

@@ -0,0 +1,369 @@
<?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\Assuredworkloads;
class GoogleCloudAssuredworkloadsVersioningV1mainWorkload extends \Google\Collection
{
protected $collection_key = 'resources';
/**
* @var string
*/
public $billingAccount;
protected $cjisSettingsType = GoogleCloudAssuredworkloadsVersioningV1mainWorkloadCJISSettings::class;
protected $cjisSettingsDataType = '';
/**
* @var string
*/
public $complianceRegime;
protected $complianceStatusType = GoogleCloudAssuredworkloadsVersioningV1mainWorkloadComplianceStatus::class;
protected $complianceStatusDataType = '';
/**
* @var string[]
*/
public $compliantButDisallowedServices;
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $displayName;
/**
* @var bool
*/
public $enableSovereignControls;
/**
* @var string
*/
public $etag;
protected $fedrampHighSettingsType = GoogleCloudAssuredworkloadsVersioningV1mainWorkloadFedrampHighSettings::class;
protected $fedrampHighSettingsDataType = '';
protected $fedrampModerateSettingsType = GoogleCloudAssuredworkloadsVersioningV1mainWorkloadFedrampModerateSettings::class;
protected $fedrampModerateSettingsDataType = '';
protected $il4SettingsType = GoogleCloudAssuredworkloadsVersioningV1mainWorkloadIL4Settings::class;
protected $il4SettingsDataType = '';
/**
* @var string
*/
public $kajEnrollmentState;
protected $kmsSettingsType = GoogleCloudAssuredworkloadsVersioningV1mainWorkloadKMSSettings::class;
protected $kmsSettingsDataType = '';
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $provisionedResourcesParent;
protected $resourceSettingsType = GoogleCloudAssuredworkloadsVersioningV1mainWorkloadResourceSettings::class;
protected $resourceSettingsDataType = 'array';
protected $resourcesType = GoogleCloudAssuredworkloadsVersioningV1mainWorkloadResourceInfo::class;
protected $resourcesDataType = 'array';
protected $saaEnrollmentResponseType = GoogleCloudAssuredworkloadsVersioningV1mainWorkloadSaaEnrollmentResponse::class;
protected $saaEnrollmentResponseDataType = '';
/**
* @param string
*/
public function setBillingAccount($billingAccount)
{
$this->billingAccount = $billingAccount;
}
/**
* @return string
*/
public function getBillingAccount()
{
return $this->billingAccount;
}
/**
* @param GoogleCloudAssuredworkloadsVersioningV1mainWorkloadCJISSettings
*/
public function setCjisSettings(GoogleCloudAssuredworkloadsVersioningV1mainWorkloadCJISSettings $cjisSettings)
{
$this->cjisSettings = $cjisSettings;
}
/**
* @return GoogleCloudAssuredworkloadsVersioningV1mainWorkloadCJISSettings
*/
public function getCjisSettings()
{
return $this->cjisSettings;
}
/**
* @param string
*/
public function setComplianceRegime($complianceRegime)
{
$this->complianceRegime = $complianceRegime;
}
/**
* @return string
*/
public function getComplianceRegime()
{
return $this->complianceRegime;
}
/**
* @param GoogleCloudAssuredworkloadsVersioningV1mainWorkloadComplianceStatus
*/
public function setComplianceStatus(GoogleCloudAssuredworkloadsVersioningV1mainWorkloadComplianceStatus $complianceStatus)
{
$this->complianceStatus = $complianceStatus;
}
/**
* @return GoogleCloudAssuredworkloadsVersioningV1mainWorkloadComplianceStatus
*/
public function getComplianceStatus()
{
return $this->complianceStatus;
}
/**
* @param string[]
*/
public function setCompliantButDisallowedServices($compliantButDisallowedServices)
{
$this->compliantButDisallowedServices = $compliantButDisallowedServices;
}
/**
* @return string[]
*/
public function getCompliantButDisallowedServices()
{
return $this->compliantButDisallowedServices;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param bool
*/
public function setEnableSovereignControls($enableSovereignControls)
{
$this->enableSovereignControls = $enableSovereignControls;
}
/**
* @return bool
*/
public function getEnableSovereignControls()
{
return $this->enableSovereignControls;
}
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param GoogleCloudAssuredworkloadsVersioningV1mainWorkloadFedrampHighSettings
*/
public function setFedrampHighSettings(GoogleCloudAssuredworkloadsVersioningV1mainWorkloadFedrampHighSettings $fedrampHighSettings)
{
$this->fedrampHighSettings = $fedrampHighSettings;
}
/**
* @return GoogleCloudAssuredworkloadsVersioningV1mainWorkloadFedrampHighSettings
*/
public function getFedrampHighSettings()
{
return $this->fedrampHighSettings;
}
/**
* @param GoogleCloudAssuredworkloadsVersioningV1mainWorkloadFedrampModerateSettings
*/
public function setFedrampModerateSettings(GoogleCloudAssuredworkloadsVersioningV1mainWorkloadFedrampModerateSettings $fedrampModerateSettings)
{
$this->fedrampModerateSettings = $fedrampModerateSettings;
}
/**
* @return GoogleCloudAssuredworkloadsVersioningV1mainWorkloadFedrampModerateSettings
*/
public function getFedrampModerateSettings()
{
return $this->fedrampModerateSettings;
}
/**
* @param GoogleCloudAssuredworkloadsVersioningV1mainWorkloadIL4Settings
*/
public function setIl4Settings(GoogleCloudAssuredworkloadsVersioningV1mainWorkloadIL4Settings $il4Settings)
{
$this->il4Settings = $il4Settings;
}
/**
* @return GoogleCloudAssuredworkloadsVersioningV1mainWorkloadIL4Settings
*/
public function getIl4Settings()
{
return $this->il4Settings;
}
/**
* @param string
*/
public function setKajEnrollmentState($kajEnrollmentState)
{
$this->kajEnrollmentState = $kajEnrollmentState;
}
/**
* @return string
*/
public function getKajEnrollmentState()
{
return $this->kajEnrollmentState;
}
/**
* @param GoogleCloudAssuredworkloadsVersioningV1mainWorkloadKMSSettings
*/
public function setKmsSettings(GoogleCloudAssuredworkloadsVersioningV1mainWorkloadKMSSettings $kmsSettings)
{
$this->kmsSettings = $kmsSettings;
}
/**
* @return GoogleCloudAssuredworkloadsVersioningV1mainWorkloadKMSSettings
*/
public function getKmsSettings()
{
return $this->kmsSettings;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setProvisionedResourcesParent($provisionedResourcesParent)
{
$this->provisionedResourcesParent = $provisionedResourcesParent;
}
/**
* @return string
*/
public function getProvisionedResourcesParent()
{
return $this->provisionedResourcesParent;
}
/**
* @param GoogleCloudAssuredworkloadsVersioningV1mainWorkloadResourceSettings[]
*/
public function setResourceSettings($resourceSettings)
{
$this->resourceSettings = $resourceSettings;
}
/**
* @return GoogleCloudAssuredworkloadsVersioningV1mainWorkloadResourceSettings[]
*/
public function getResourceSettings()
{
return $this->resourceSettings;
}
/**
* @param GoogleCloudAssuredworkloadsVersioningV1mainWorkloadResourceInfo[]
*/
public function setResources($resources)
{
$this->resources = $resources;
}
/**
* @return GoogleCloudAssuredworkloadsVersioningV1mainWorkloadResourceInfo[]
*/
public function getResources()
{
return $this->resources;
}
/**
* @param GoogleCloudAssuredworkloadsVersioningV1mainWorkloadSaaEnrollmentResponse
*/
public function setSaaEnrollmentResponse(GoogleCloudAssuredworkloadsVersioningV1mainWorkloadSaaEnrollmentResponse $saaEnrollmentResponse)
{
$this->saaEnrollmentResponse = $saaEnrollmentResponse;
}
/**
* @return GoogleCloudAssuredworkloadsVersioningV1mainWorkloadSaaEnrollmentResponse
*/
public function getSaaEnrollmentResponse()
{
return $this->saaEnrollmentResponse;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAssuredworkloadsVersioningV1mainWorkload::class, 'Google_Service_Assuredworkloads_GoogleCloudAssuredworkloadsVersioningV1mainWorkload');

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -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\Assuredworkloads;
class GoogleCloudAssuredworkloadsVersioningV1mainWorkloadSaaEnrollmentResponse extends \Google\Collection
{
protected $collection_key = 'setupErrors';
/**
* @var string[]
*/
public $setupErrors;
/**
* @var string
*/
public $setupStatus;
/**
* @param string[]
*/
public function setSetupErrors($setupErrors)
{
$this->setupErrors = $setupErrors;
}
/**
* @return string[]
*/
public function getSetupErrors()
{
return $this->setupErrors;
}
/**
* @param string
*/
public function setSetupStatus($setupStatus)
{
$this->setupStatus = $setupStatus;
}
/**
* @return string
*/
public function getSetupStatus()
{
return $this->setupStatus;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAssuredworkloadsVersioningV1mainWorkloadSaaEnrollmentResponse::class, 'Google_Service_Assuredworkloads_GoogleCloudAssuredworkloadsVersioningV1mainWorkloadSaaEnrollmentResponse');

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,72 @@
<?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\Assuredworkloads\Resource;
use Google\Service\Assuredworkloads\GoogleLongrunningListOperationsResponse;
use Google\Service\Assuredworkloads\GoogleLongrunningOperation;
/**
* The "operations" collection of methods.
* Typical usage is:
* <code>
* $assuredworkloadsService = new Google\Service\Assuredworkloads(...);
* $operations = $assuredworkloadsService->organizations_locations_operations;
* </code>
*/
class OrganizationsLocationsOperations extends \Google\Service\Resource
{
/**
* Gets the latest state of a long-running operation. Clients can use this
* method to poll the operation result at intervals as recommended by the API
* service. (operations.get)
*
* @param string $name The name of the operation resource.
* @param array $optParams Optional parameters.
* @return GoogleLongrunningOperation
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], GoogleLongrunningOperation::class);
}
/**
* Lists operations that match the specified filter in the request. If the
* server doesn't support this method, it returns `UNIMPLEMENTED`.
* (operations.listOrganizationsLocationsOperations)
*
* @param string $name The name of the operation's parent resource.
* @param array $optParams Optional parameters.
*
* @opt_param string filter The standard list filter.
* @opt_param int pageSize The standard list page size.
* @opt_param string pageToken The standard list page token.
* @return GoogleLongrunningListOperationsResponse
* @throws \Google\Service\Exception
*/
public function listOrganizationsLocationsOperations($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], GoogleLongrunningListOperationsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(OrganizationsLocationsOperations::class, 'Google_Service_Assuredworkloads_Resource_OrganizationsLocationsOperations');

View File

@@ -0,0 +1,243 @@
<?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\Assuredworkloads\Resource;
use Google\Service\Assuredworkloads\GoogleCloudAssuredworkloadsV1AnalyzeWorkloadMoveResponse;
use Google\Service\Assuredworkloads\GoogleCloudAssuredworkloadsV1EnableResourceMonitoringResponse;
use Google\Service\Assuredworkloads\GoogleCloudAssuredworkloadsV1ListWorkloadsResponse;
use Google\Service\Assuredworkloads\GoogleCloudAssuredworkloadsV1MutatePartnerPermissionsRequest;
use Google\Service\Assuredworkloads\GoogleCloudAssuredworkloadsV1RestrictAllowedResourcesRequest;
use Google\Service\Assuredworkloads\GoogleCloudAssuredworkloadsV1RestrictAllowedResourcesResponse;
use Google\Service\Assuredworkloads\GoogleCloudAssuredworkloadsV1Workload;
use Google\Service\Assuredworkloads\GoogleLongrunningOperation;
use Google\Service\Assuredworkloads\GoogleProtobufEmpty;
/**
* The "workloads" collection of methods.
* Typical usage is:
* <code>
* $assuredworkloadsService = new Google\Service\Assuredworkloads(...);
* $workloads = $assuredworkloadsService->organizations_locations_workloads;
* </code>
*/
class OrganizationsLocationsWorkloads extends \Google\Service\Resource
{
/**
* Analyzes a hypothetical move of a source resource to a target workload to
* surface compliance risks. The analysis is best effort and is not guaranteed
* to be exhaustive. (workloads.analyzeWorkloadMove)
*
* @param string $target Required. The resource ID of the folder-based
* destination workload. This workload is where the source resource will
* hypothetically be moved to. Specify the workload's relative resource name,
* formatted as: "organizations/{ORGANIZATION_ID}/locations/{LOCATION_ID}/worklo
* ads/{WORKLOAD_ID}" For example: "organizations/123/locations/us-
* east1/workloads/assured-workload-2"
* @param array $optParams Optional parameters.
*
* @opt_param string assetTypes Optional. List of asset types to be analyzed,
* including and under the source resource. If empty, all assets are analyzed.
* The complete list of asset types is available
* [here](https://cloud.google.com/asset-inventory/docs/supported-asset-types).
* @opt_param int pageSize Optional. Page size. If a value is not specified, the
* default value of 10 is used.
* @opt_param string pageToken Optional. The page token from the previous
* response. It needs to be passed in the second and following requests.
* @opt_param string project The source type is a project. Specify the project's
* relative resource name, formatted as either a project number or a project ID:
* "projects/{PROJECT_NUMBER}" or "projects/{PROJECT_ID}" For example:
* "projects/951040570662" when specifying a project number, or "projects/my-
* project-123" when specifying a project ID.
* @return GoogleCloudAssuredworkloadsV1AnalyzeWorkloadMoveResponse
* @throws \Google\Service\Exception
*/
public function analyzeWorkloadMove($target, $optParams = [])
{
$params = ['target' => $target];
$params = array_merge($params, $optParams);
return $this->call('analyzeWorkloadMove', [$params], GoogleCloudAssuredworkloadsV1AnalyzeWorkloadMoveResponse::class);
}
/**
* Creates Assured Workload. (workloads.create)
*
* @param string $parent Required. The resource name of the new Workload's
* parent. Must be of the form `organizations/{org_id}/locations/{location_id}`.
* @param GoogleCloudAssuredworkloadsV1Workload $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string externalId Optional. A identifier associated with the
* workload and underlying projects which allows for the break down of billing
* costs for a workload. The value provided for the identifier will add a label
* to the workload and contained projects with the identifier as the value.
* @return GoogleLongrunningOperation
* @throws \Google\Service\Exception
*/
public function create($parent, GoogleCloudAssuredworkloadsV1Workload $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], GoogleLongrunningOperation::class);
}
/**
* Deletes the workload. Make sure that workload's direct children are already
* in a deleted state, otherwise the request will fail with a
* FAILED_PRECONDITION error. In addition to assuredworkloads.workload.delete
* permission, the user should also have orgpolicy.policy.set permission on the
* deleted folder to remove Assured Workloads OrgPolicies. (workloads.delete)
*
* @param string $name Required. The `name` field is used to identify the
* workload. Format:
* organizations/{org_id}/locations/{location_id}/workloads/{workload_id}
* @param array $optParams Optional parameters.
*
* @opt_param string etag Optional. The etag of the workload. If this is
* provided, it must match the server's etag.
* @return GoogleProtobufEmpty
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], GoogleProtobufEmpty::class);
}
/**
* Enable resource violation monitoring for a workload.
* (workloads.enableResourceMonitoring)
*
* @param string $name Required. The `name` field is used to identify the
* workload. Format:
* organizations/{org_id}/locations/{location_id}/workloads/{workload_id}
* @param array $optParams Optional parameters.
* @return GoogleCloudAssuredworkloadsV1EnableResourceMonitoringResponse
* @throws \Google\Service\Exception
*/
public function enableResourceMonitoring($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('enableResourceMonitoring', [$params], GoogleCloudAssuredworkloadsV1EnableResourceMonitoringResponse::class);
}
/**
* Gets Assured Workload associated with a CRM Node (workloads.get)
*
* @param string $name Required. The resource name of the Workload to fetch.
* This is the workloads's relative path in the API, formatted as "organizations
* /{organization_id}/locations/{location_id}/workloads/{workload_id}". For
* example, "organizations/123/locations/us-east1/workloads/assured-workload-1".
* @param array $optParams Optional parameters.
* @return GoogleCloudAssuredworkloadsV1Workload
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], GoogleCloudAssuredworkloadsV1Workload::class);
}
/**
* Lists Assured Workloads under a CRM Node.
* (workloads.listOrganizationsLocationsWorkloads)
*
* @param string $parent Required. Parent Resource to list workloads from. Must
* be of the form `organizations/{org_id}/locations/{location}`.
* @param array $optParams Optional parameters.
*
* @opt_param string filter A custom filter for filtering by properties of a
* workload. At this time, only filtering by labels is supported.
* @opt_param int pageSize Page size.
* @opt_param string pageToken Page token returned from previous request. Page
* token contains context from previous request. Page token needs to be passed
* in the second and following requests.
* @return GoogleCloudAssuredworkloadsV1ListWorkloadsResponse
* @throws \Google\Service\Exception
*/
public function listOrganizationsLocationsWorkloads($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], GoogleCloudAssuredworkloadsV1ListWorkloadsResponse::class);
}
/**
* Update the permissions settings for an existing partner workload. For force
* updates don't set etag field in the Workload. Only one update operation per
* workload can be in progress. (workloads.mutatePartnerPermissions)
*
* @param string $name Required. The `name` field is used to identify the
* workload. Format:
* organizations/{org_id}/locations/{location_id}/workloads/{workload_id}
* @param GoogleCloudAssuredworkloadsV1MutatePartnerPermissionsRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleCloudAssuredworkloadsV1Workload
* @throws \Google\Service\Exception
*/
public function mutatePartnerPermissions($name, GoogleCloudAssuredworkloadsV1MutatePartnerPermissionsRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('mutatePartnerPermissions', [$params], GoogleCloudAssuredworkloadsV1Workload::class);
}
/**
* Updates an existing workload. Currently allows updating of workload
* display_name and labels. For force updates don't set etag field in the
* Workload. Only one update operation per workload can be in progress.
* (workloads.patch)
*
* @param string $name Optional. The resource name of the workload. Format:
* organizations/{organization}/locations/{location}/workloads/{workload} Read-
* only.
* @param GoogleCloudAssuredworkloadsV1Workload $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Required. The list of fields to be updated.
* @return GoogleCloudAssuredworkloadsV1Workload
* @throws \Google\Service\Exception
*/
public function patch($name, GoogleCloudAssuredworkloadsV1Workload $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], GoogleCloudAssuredworkloadsV1Workload::class);
}
/**
* Restrict the list of resources allowed in the Workload environment. The
* current list of allowed products can be found at
* https://cloud.google.com/assured-workloads/docs/supported-products In
* addition to assuredworkloads.workload.update permission, the user should also
* have orgpolicy.policy.set permission on the folder resource to use this
* functionality. (workloads.restrictAllowedResources)
*
* @param string $name Required. The resource name of the Workload. This is the
* workloads's relative path in the API, formatted as "organizations/{organizati
* on_id}/locations/{location_id}/workloads/{workload_id}". For example,
* "organizations/123/locations/us-east1/workloads/assured-workload-1".
* @param GoogleCloudAssuredworkloadsV1RestrictAllowedResourcesRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleCloudAssuredworkloadsV1RestrictAllowedResourcesResponse
* @throws \Google\Service\Exception
*/
public function restrictAllowedResources($name, GoogleCloudAssuredworkloadsV1RestrictAllowedResourcesRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('restrictAllowedResources', [$params], GoogleCloudAssuredworkloadsV1RestrictAllowedResourcesResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(OrganizationsLocationsWorkloads::class, 'Google_Service_Assuredworkloads_Resource_OrganizationsLocationsWorkloads');

View File

@@ -0,0 +1,102 @@
<?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\Assuredworkloads\Resource;
use Google\Service\Assuredworkloads\GoogleCloudAssuredworkloadsV1AcknowledgeViolationRequest;
use Google\Service\Assuredworkloads\GoogleCloudAssuredworkloadsV1AcknowledgeViolationResponse;
use Google\Service\Assuredworkloads\GoogleCloudAssuredworkloadsV1ListViolationsResponse;
use Google\Service\Assuredworkloads\GoogleCloudAssuredworkloadsV1Violation;
/**
* The "violations" collection of methods.
* Typical usage is:
* <code>
* $assuredworkloadsService = new Google\Service\Assuredworkloads(...);
* $violations = $assuredworkloadsService->organizations_locations_workloads_violations;
* </code>
*/
class OrganizationsLocationsWorkloadsViolations extends \Google\Service\Resource
{
/**
* Acknowledges an existing violation. By acknowledging a violation, users
* acknowledge the existence of a compliance violation in their workload and
* decide to ignore it due to a valid business justification. Acknowledgement is
* a permanent operation and it cannot be reverted. (violations.acknowledge)
*
* @param string $name Required. The resource name of the Violation to
* acknowledge. Format: organizations/{organization}/locations/{location}/worklo
* ads/{workload}/violations/{violation}
* @param GoogleCloudAssuredworkloadsV1AcknowledgeViolationRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleCloudAssuredworkloadsV1AcknowledgeViolationResponse
* @throws \Google\Service\Exception
*/
public function acknowledge($name, GoogleCloudAssuredworkloadsV1AcknowledgeViolationRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('acknowledge', [$params], GoogleCloudAssuredworkloadsV1AcknowledgeViolationResponse::class);
}
/**
* Retrieves Assured Workload Violation based on ID. (violations.get)
*
* @param string $name Required. The resource name of the Violation to fetch
* (ie. Violation.name). Format: organizations/{organization}/locations/{locatio
* n}/workloads/{workload}/violations/{violation}
* @param array $optParams Optional parameters.
* @return GoogleCloudAssuredworkloadsV1Violation
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], GoogleCloudAssuredworkloadsV1Violation::class);
}
/**
* Lists the Violations in the AssuredWorkload Environment. Callers may also
* choose to read across multiple Workloads as per
* [AIP-159](https://google.aip.dev/159) by using '-' (the hyphen or dash
* character) as a wildcard character instead of workload-id in the parent.
* Format `organizations/{org_id}/locations/{location}/workloads/-`
* (violations.listOrganizationsLocationsWorkloadsViolations)
*
* @param string $parent Required. The Workload name. Format
* `organizations/{org_id}/locations/{location}/workloads/{workload}`.
* @param array $optParams Optional parameters.
*
* @opt_param string filter Optional. A custom filter for filtering by the
* Violations properties.
* @opt_param string interval.endTime The end of the time window.
* @opt_param string interval.startTime The start of the time window.
* @opt_param int pageSize Optional. Page size.
* @opt_param string pageToken Optional. Page token returned from previous
* request.
* @return GoogleCloudAssuredworkloadsV1ListViolationsResponse
* @throws \Google\Service\Exception
*/
public function listOrganizationsLocationsWorkloadsViolations($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], GoogleCloudAssuredworkloadsV1ListViolationsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(OrganizationsLocationsWorkloadsViolations::class, 'Google_Service_Assuredworkloads_Resource_OrganizationsLocationsWorkloadsViolations');