View Source GoogleApi.Storage.V1.Model.TestIamPermissionsResponse (google_api_storage v0.46.0)

A storage.(buckets|objects|managedFolders).testIamPermissions response.

Attributes

  • kind (type: String.t, default: storage#testIamPermissionsResponse) - The kind of item this is.
  • permissions (type: list(String.t), default: nil) - The permissions held by the caller. Permissions are always of the format storage.resource.capability, where resource is one of buckets, objects, or managedFolders. The supported permissions are as follows:
    • storage.buckets.delete — Delete bucket.
    • storage.buckets.get — Read bucket metadata.
    • storage.buckets.getIamPolicy — Read bucket IAM policy.
    • storage.buckets.create — Create bucket.
    • storage.buckets.list — List buckets.
    • storage.buckets.setIamPolicy — Update bucket IAM policy.
    • storage.buckets.update — Update bucket metadata.
    • storage.objects.delete — Delete object.
    • storage.objects.get — Read object data and metadata.
    • storage.objects.getIamPolicy — Read object IAM policy.
    • storage.objects.create — Create object.
    • storage.objects.list — List objects.
    • storage.objects.setIamPolicy — Update object IAM policy.
    • storage.objects.update — Update object metadata.
    • storage.managedFolders.delete — Delete managed folder.
    • storage.managedFolders.get — Read managed folder metadata.
    • storage.managedFolders.getIamPolicy — Read managed folder IAM policy.
    • storage.managedFolders.create — Create managed folder.
    • storage.managedFolders.list — List managed folders.
    • storage.managedFolders.setIamPolicy — Update managed folder IAM policy.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Storage.V1.Model.TestIamPermissionsResponse{
  kind: String.t() | nil,
  permissions: [String.t()] | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.