Class Policy
A bucket/object IAM policy.
Inheritance
System.Object
Policy
Implements
Google.Apis.Requests.IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Storage.v1.Data
Assembly: Google.Apis.Storage.v1.dll
Syntax
public class Policy : IDirectResponseSchema
Properties
Bindings
An association between a role, which comes with a set of permissions, and members who may assume that role.
Declaration
[JsonProperty("bindings")]
public virtual IList<Policy.BindingsData> Bindings { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<Policy.BindingsData> |
ETag
HTTP 1.1 Entity tag for the policy.
Declaration
[JsonProperty("etag")]
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Kind
The kind of item this is. For policies, this is always storage#policy. This field is ignored on input.
Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ResourceId
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.
Declaration
[JsonProperty("resourceId")]
public virtual string ResourceId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Version
The IAM policy format version.
Declaration
[JsonProperty("version")]
public virtual int? Version { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
Implements
Google.Apis.Requests.IDirectResponseSchema