JFIF x x C C " } !1AQa "q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w !1AQ aq"2B #3Rbr{
File "GoogleCloudSecuritycenterV2IssueResource.php"
Full Path: /home/palsarh/web/palsarh.in/public_html/vendor/google/apiclient-services/src/SecurityCommandCenter/GoogleCloudSecuritycenterV2IssueResource.php
File size: 5.76 KB
MIME-type: text/x-php
Charset: utf-8
<?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\SecurityCommandCenter;
class GoogleCloudSecuritycenterV2IssueResource extends \Google\Model
{
/**
* Unspecified cloud provider.
*/
public const CLOUD_PROVIDER_CLOUD_PROVIDER_UNSPECIFIED = 'CLOUD_PROVIDER_UNSPECIFIED';
/**
* Google Cloud.
*/
public const CLOUD_PROVIDER_GOOGLE_CLOUD = 'GOOGLE_CLOUD';
/**
* Amazon Web Services.
*/
public const CLOUD_PROVIDER_AMAZON_WEB_SERVICES = 'AMAZON_WEB_SERVICES';
/**
* Microsoft Azure.
*/
public const CLOUD_PROVIDER_MICROSOFT_AZURE = 'MICROSOFT_AZURE';
protected $applicationType = GoogleCloudSecuritycenterV2IssueResourceApplication::class;
protected $applicationDataType = '';
protected $awsMetadataType = GoogleCloudSecuritycenterV2IssueResourceAwsMetadata::class;
protected $awsMetadataDataType = '';
protected $azureMetadataType = GoogleCloudSecuritycenterV2IssueResourceAzureMetadata::class;
protected $azureMetadataDataType = '';
/**
* The cloud provider of the resource associated with the issue.
*
* @var string
*/
public $cloudProvider;
/**
* The resource-type specific display name of the resource associated with the
* issue.
*
* @var string
*/
public $displayName;
protected $googleCloudMetadataType = GoogleCloudSecuritycenterV2IssueResourceGoogleCloudMetadata::class;
protected $googleCloudMetadataDataType = '';
/**
* The full resource name of the resource associated with the issue.
*
* @var string
*/
public $name;
/**
* The type of the resource associated with the issue.
*
* @var string
*/
public $type;
/**
* The AppHub application associated with the resource, if any. Only populated
* for the primary resource.
*
* @param GoogleCloudSecuritycenterV2IssueResourceApplication $application
*/
public function setApplication(GoogleCloudSecuritycenterV2IssueResourceApplication $application)
{
$this->application = $application;
}
/**
* @return GoogleCloudSecuritycenterV2IssueResourceApplication
*/
public function getApplication()
{
return $this->application;
}
/**
* The AWS metadata of the resource associated with the issue. Only populated
* for AWS resources.
*
* @param GoogleCloudSecuritycenterV2IssueResourceAwsMetadata $awsMetadata
*/
public function setAwsMetadata(GoogleCloudSecuritycenterV2IssueResourceAwsMetadata $awsMetadata)
{
$this->awsMetadata = $awsMetadata;
}
/**
* @return GoogleCloudSecuritycenterV2IssueResourceAwsMetadata
*/
public function getAwsMetadata()
{
return $this->awsMetadata;
}
/**
* The Azure metadata of the resource associated with the issue. Only
* populated for Azure resources.
*
* @param GoogleCloudSecuritycenterV2IssueResourceAzureMetadata $azureMetadata
*/
public function setAzureMetadata(GoogleCloudSecuritycenterV2IssueResourceAzureMetadata $azureMetadata)
{
$this->azureMetadata = $azureMetadata;
}
/**
* @return GoogleCloudSecuritycenterV2IssueResourceAzureMetadata
*/
public function getAzureMetadata()
{
return $this->azureMetadata;
}
/**
* The cloud provider of the resource associated with the issue.
*
* Accepted values: CLOUD_PROVIDER_UNSPECIFIED, GOOGLE_CLOUD,
* AMAZON_WEB_SERVICES, MICROSOFT_AZURE
*
* @param self::CLOUD_PROVIDER_* $cloudProvider
*/
public function setCloudProvider($cloudProvider)
{
$this->cloudProvider = $cloudProvider;
}
/**
* @return self::CLOUD_PROVIDER_*
*/
public function getCloudProvider()
{
return $this->cloudProvider;
}
/**
* The resource-type specific display name of the resource associated with the
* issue.
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* The Google Cloud metadata of the resource associated with the issue. Only
* populated for Google Cloud resources.
*
* @param GoogleCloudSecuritycenterV2IssueResourceGoogleCloudMetadata $googleCloudMetadata
*/
public function setGoogleCloudMetadata(GoogleCloudSecuritycenterV2IssueResourceGoogleCloudMetadata $googleCloudMetadata)
{
$this->googleCloudMetadata = $googleCloudMetadata;
}
/**
* @return GoogleCloudSecuritycenterV2IssueResourceGoogleCloudMetadata
*/
public function getGoogleCloudMetadata()
{
return $this->googleCloudMetadata;
}
/**
* The full resource name of the resource associated with the issue.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* The type of the resource associated with the issue.
*
* @param string $type
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudSecuritycenterV2IssueResource::class, 'Google_Service_SecurityCommandCenter_GoogleCloudSecuritycenterV2IssueResource');