403Webshell
Server IP : 138.197.107.151  /  Your IP : 216.73.217.7
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux BloxBy-Builder 6.8.0-71-generic #71-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 22 16:52:38 UTC 2025 x86_64
User : wpbetasites_mrakzqskir ( 1022)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/silversharkdev/vendor/google/apiclient-services/src/CloudDomains/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/silversharkdev/vendor/google/apiclient-services/src/CloudDomains/DomainForwarding.php
<?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\CloudDomains;

class DomainForwarding extends \Google\Model
{
  /**
   * Redirect Type is unspecified.
   */
  public const REDIRECT_TYPE_REDIRECT_TYPE_UNSPECIFIED = 'REDIRECT_TYPE_UNSPECIFIED';
  /**
   * 301 redirect. Allows to propagate changes to the forwarding address
   * quickly.
   */
  public const REDIRECT_TYPE_TEMPORARY = 'TEMPORARY';
  /**
   * 302 redirect. Allows browsers to cache the forwarding address. This may
   * help the address resolve more quickly. Changes may take longer to propagate
   */
  public const REDIRECT_TYPE_PERMANENT = 'PERMANENT';
  /**
   * If true, forwards the path after the domain name to the same path at the
   * new address.
   *
   * @var bool
   */
  public $pathForwarding;
  /**
   * The PEM-encoded certificate chain.
   *
   * @var string
   */
  public $pemCertificate;
  /**
   * The redirect type.
   *
   * @var string
   */
  public $redirectType;
  /**
   * If true, the forwarding works also over HTTPS.
   *
   * @var bool
   */
  public $sslEnabled;
  /**
   * The subdomain of the registered domain that is being forwarded. E.g.
   * `www.example.com`, `example.com` (i.e. the registered domain itself) or
   * `*.example.com` (i.e. all subdomains).
   *
   * @var string
   */
  public $subdomain;
  /**
   * The target of the domain forwarding, i.e. the path to redirect the
   * `subdomain` to.
   *
   * @var string
   */
  public $targetUri;

  /**
   * If true, forwards the path after the domain name to the same path at the
   * new address.
   *
   * @param bool $pathForwarding
   */
  public function setPathForwarding($pathForwarding)
  {
    $this->pathForwarding = $pathForwarding;
  }
  /**
   * @return bool
   */
  public function getPathForwarding()
  {
    return $this->pathForwarding;
  }
  /**
   * The PEM-encoded certificate chain.
   *
   * @param string $pemCertificate
   */
  public function setPemCertificate($pemCertificate)
  {
    $this->pemCertificate = $pemCertificate;
  }
  /**
   * @return string
   */
  public function getPemCertificate()
  {
    return $this->pemCertificate;
  }
  /**
   * The redirect type.
   *
   * Accepted values: REDIRECT_TYPE_UNSPECIFIED, TEMPORARY, PERMANENT
   *
   * @param self::REDIRECT_TYPE_* $redirectType
   */
  public function setRedirectType($redirectType)
  {
    $this->redirectType = $redirectType;
  }
  /**
   * @return self::REDIRECT_TYPE_*
   */
  public function getRedirectType()
  {
    return $this->redirectType;
  }
  /**
   * If true, the forwarding works also over HTTPS.
   *
   * @param bool $sslEnabled
   */
  public function setSslEnabled($sslEnabled)
  {
    $this->sslEnabled = $sslEnabled;
  }
  /**
   * @return bool
   */
  public function getSslEnabled()
  {
    return $this->sslEnabled;
  }
  /**
   * The subdomain of the registered domain that is being forwarded. E.g.
   * `www.example.com`, `example.com` (i.e. the registered domain itself) or
   * `*.example.com` (i.e. all subdomains).
   *
   * @param string $subdomain
   */
  public function setSubdomain($subdomain)
  {
    $this->subdomain = $subdomain;
  }
  /**
   * @return string
   */
  public function getSubdomain()
  {
    return $this->subdomain;
  }
  /**
   * The target of the domain forwarding, i.e. the path to redirect the
   * `subdomain` to.
   *
   * @param string $targetUri
   */
  public function setTargetUri($targetUri)
  {
    $this->targetUri = $targetUri;
  }
  /**
   * @return string
   */
  public function getTargetUri()
  {
    return $this->targetUri;
  }
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DomainForwarding::class, 'Google_Service_CloudDomains_DomainForwarding');

Youez - 2016 - github.com/yon3zu
LinuXploit