<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/gkemulticloud/v1/azure_service.proto

namespace Google\Cloud\GkeMultiCloud\V1;

use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;

/**
 * Request message for `AzureClusters.DeleteAzureClient` method.
 *
 * Generated from protobuf message <code>google.cloud.gkemulticloud.v1.DeleteAzureClientRequest</code>
 */
class DeleteAzureClientRequest extends \Google\Protobuf\Internal\Message
{
    /**
     * Required. The resource name the
     * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to delete.
     * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] names are
     * formatted as
     * `projects/<project-id>/locations/<region>/azureClients/<client-id>`.
     * See [Resource Names](https://cloud.google.com/apis/design/resource_names)
     * for more details on Google Cloud resource names.
     *
     * Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
     */
    private $name = '';
    /**
     * If set to true, and the
     * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource is not
     * found, the request will succeed but no action will be taken on the server
     * and a completed [Operation][google.longrunning.Operation] will be returned.
     * Useful for idempotent deletion.
     *
     * Generated from protobuf field <code>bool allow_missing = 2;</code>
     */
    private $allow_missing = false;
    /**
     * If set, only validate the request, but do not actually delete the resource.
     *
     * Generated from protobuf field <code>bool validate_only = 3;</code>
     */
    private $validate_only = false;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $name
     *           Required. The resource name the
     *           [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to delete.
     *           [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] names are
     *           formatted as
     *           `projects/<project-id>/locations/<region>/azureClients/<client-id>`.
     *           See [Resource Names](https://cloud.google.com/apis/design/resource_names)
     *           for more details on Google Cloud resource names.
     *     @type bool $allow_missing
     *           If set to true, and the
     *           [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource is not
     *           found, the request will succeed but no action will be taken on the server
     *           and a completed [Operation][google.longrunning.Operation] will be returned.
     *           Useful for idempotent deletion.
     *     @type bool $validate_only
     *           If set, only validate the request, but do not actually delete the resource.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Gkemulticloud\V1\AzureService::initOnce();
        parent::__construct($data);
    }

    /**
     * Required. The resource name the
     * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to delete.
     * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] names are
     * formatted as
     * `projects/<project-id>/locations/<region>/azureClients/<client-id>`.
     * See [Resource Names](https://cloud.google.com/apis/design/resource_names)
     * for more details on Google Cloud resource names.
     *
     * Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
     * @return string
     */
    public function getName()
    {
        return $this->name;
    }

    /**
     * Required. The resource name the
     * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to delete.
     * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] names are
     * formatted as
     * `projects/<project-id>/locations/<region>/azureClients/<client-id>`.
     * See [Resource Names](https://cloud.google.com/apis/design/resource_names)
     * for more details on Google Cloud resource names.
     *
     * Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
     * @param string $var
     * @return $this
     */
    public function setName($var)
    {
        GPBUtil::checkString($var, True);
        $this->name = $var;

        return $this;
    }

    /**
     * If set to true, and the
     * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource is not
     * found, the request will succeed but no action will be taken on the server
     * and a completed [Operation][google.longrunning.Operation] will be returned.
     * Useful for idempotent deletion.
     *
     * Generated from protobuf field <code>bool allow_missing = 2;</code>
     * @return bool
     */
    public function getAllowMissing()
    {
        return $this->allow_missing;
    }

    /**
     * If set to true, and the
     * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource is not
     * found, the request will succeed but no action will be taken on the server
     * and a completed [Operation][google.longrunning.Operation] will be returned.
     * Useful for idempotent deletion.
     *
     * Generated from protobuf field <code>bool allow_missing = 2;</code>
     * @param bool $var
     * @return $this
     */
    public function setAllowMissing($var)
    {
        GPBUtil::checkBool($var);
        $this->allow_missing = $var;

        return $this;
    }

    /**
     * If set, only validate the request, but do not actually delete the resource.
     *
     * Generated from protobuf field <code>bool validate_only = 3;</code>
     * @return bool
     */
    public function getValidateOnly()
    {
        return $this->validate_only;
    }

    /**
     * If set, only validate the request, but do not actually delete the resource.
     *
     * Generated from protobuf field <code>bool validate_only = 3;</code>
     * @param bool $var
     * @return $this
     */
    public function setValidateOnly($var)
    {
        GPBUtil::checkBool($var);
        $this->validate_only = $var;

        return $this;
    }

}

