404

[ Avaa Bypassed ]




Upload:

Command:

botdev@18.191.44.233: ~ $
<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/iam/v1/iam_policy.proto

namespace Google\Cloud\Iam\V1;

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

/**
 * Request message for `GetIamPolicy` method.
 *
 * Generated from protobuf message <code>google.iam.v1.GetIamPolicyRequest</code>
 */
class GetIamPolicyRequest extends \Google\Protobuf\Internal\Message
{
    /**
     * REQUIRED: The resource for which the policy is being requested.
     * See the operation documentation for the appropriate value for this field.
     *
     * Generated from protobuf field <code>string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
     */
    private $resource = '';
    /**
     * OPTIONAL: A `GetPolicyOptions` object for specifying options to
     * `GetIamPolicy`. This field is only used by Cloud IAM.
     *
     * Generated from protobuf field <code>.google.iam.v1.GetPolicyOptions options = 2;</code>
     */
    private $options = null;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $resource
     *           REQUIRED: The resource for which the policy is being requested.
     *           See the operation documentation for the appropriate value for this field.
     *     @type \Google\Cloud\Iam\V1\GetPolicyOptions $options
     *           OPTIONAL: A `GetPolicyOptions` object for specifying options to
     *           `GetIamPolicy`. This field is only used by Cloud IAM.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Iam\V1\IamPolicy::initOnce();
        parent::__construct($data);
    }

    /**
     * REQUIRED: The resource for which the policy is being requested.
     * See the operation documentation for the appropriate value for this field.
     *
     * Generated from protobuf field <code>string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
     * @return string
     */
    public function getResource()
    {
        return $this->resource;
    }

    /**
     * REQUIRED: The resource for which the policy is being requested.
     * See the operation documentation for the appropriate value for this field.
     *
     * Generated from protobuf field <code>string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
     * @param string $var
     * @return $this
     */
    public function setResource($var)
    {
        GPBUtil::checkString($var, True);
        $this->resource = $var;

        return $this;
    }

    /**
     * OPTIONAL: A `GetPolicyOptions` object for specifying options to
     * `GetIamPolicy`. This field is only used by Cloud IAM.
     *
     * Generated from protobuf field <code>.google.iam.v1.GetPolicyOptions options = 2;</code>
     * @return \Google\Cloud\Iam\V1\GetPolicyOptions
     */
    public function getOptions()
    {
        return $this->options;
    }

    /**
     * OPTIONAL: A `GetPolicyOptions` object for specifying options to
     * `GetIamPolicy`. This field is only used by Cloud IAM.
     *
     * Generated from protobuf field <code>.google.iam.v1.GetPolicyOptions options = 2;</code>
     * @param \Google\Cloud\Iam\V1\GetPolicyOptions $var
     * @return $this
     */
    public function setOptions($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Iam\V1\GetPolicyOptions::class);
        $this->options = $var;

        return $this;
    }

}


Filemanager

Name Type Size Permission Actions
AuditConfigDelta Folder 2755
BindingDelta Folder 2755
AuditConfigDelta.php File 6.04 KB 0755
AuditConfigDelta_Action.php File 558 B 0755
Binding.php File 8.26 KB 0755
BindingDelta.php File 5.08 KB 0755
BindingDelta_Action.php File 538 B 0755
GetIamPolicyRequest.php File 3.58 KB 0755
GetPolicyOptions.php File 2.92 KB 0755
Policy.php File 11.76 KB 0755
PolicyDelta.php File 3.27 KB 0755
SetIamPolicyRequest.php File 4.11 KB 0755
TestIamPermissionsRequest.php File 4.24 KB 0755
TestIamPermissionsResponse.php File 1.98 KB 0755