Struct google_storage1::Policy[][src]

pub struct Policy {
    pub resource_id: Option<String>,
    pub bindings: Option<Vec<PolicyBindings>>,
    pub etag: Option<String>,
    pub kind: Option<String>,
}

A bucket/object IAM policy.

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

The ID of the resource to which this policy belongs. Will be of the form projects//buckets/bucket for buckets, and projects//buckets/bucket/objects/object for objects. A specific generation may be specified by appending #generationNumber to the end of the object name, e.g. projects/_/buckets/my-bucket/objects/data.txt#17. The current generation can be denoted with #0. This field is ignored on input.

An association between a role, which comes with a set of permissions, and members who may assume that role.

HTTP 1.1 Entity tag for the policy.

The kind of item this is. For policies, this is always storage#policy. This field is ignored on input.

Trait Implementations

impl Default for Policy
[src]

Returns the "default value" for a type. Read more

impl Clone for Policy
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Policy
[src]

Formats the value using the given formatter. Read more

impl RequestValue for Policy
[src]

impl ResponseResult for Policy
[src]

Auto Trait Implementations

impl Send for Policy

impl Sync for Policy