JFIF x x C C " } !1AQa "q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w !1AQ aq"2B #3Rbr{
File "AllocationReservationSharingPolicy.php"
Full Path: /home/u735268861/domains/palsarh.in/public_html/vendor/google/apiclient-services/src/Compute/AllocationReservationSharingPolicy.php
File size: 1.81 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\Compute;
class AllocationReservationSharingPolicy extends \Google\Model
{
/**
* Allow all Google Cloud managed services to share reservations.
*/
public const SERVICE_SHARE_TYPE_ALLOW_ALL = 'ALLOW_ALL';
/**
* [Default] Disallow sharing with all Google Cloud services.
*/
public const SERVICE_SHARE_TYPE_DISALLOW_ALL = 'DISALLOW_ALL';
public const SERVICE_SHARE_TYPE_SERVICE_SHARE_TYPE_UNSPECIFIED = 'SERVICE_SHARE_TYPE_UNSPECIFIED';
/**
* Sharing config for all Google Cloud services.
*
* @var string
*/
public $serviceShareType;
/**
* Sharing config for all Google Cloud services.
*
* Accepted values: ALLOW_ALL, DISALLOW_ALL, SERVICE_SHARE_TYPE_UNSPECIFIED
*
* @param self::SERVICE_SHARE_TYPE_* $serviceShareType
*/
public function setServiceShareType($serviceShareType)
{
$this->serviceShareType = $serviceShareType;
}
/**
* @return self::SERVICE_SHARE_TYPE_*
*/
public function getServiceShareType()
{
return $this->serviceShareType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AllocationReservationSharingPolicy::class, 'Google_Service_Compute_AllocationReservationSharingPolicy');