View Source GoogleApi.Storage.V1.Api.DefaultObjectAccessControls (google_api_storage v0.45.0)
API calls for all endpoints tagged DefaultObjectAccessControls
.
Summary
Functions
Permanently deletes the default object ACL entry for the specified entity on the specified bucket.
Returns the default object ACL entry for the specified entity on the specified bucket.
Creates a new default object ACL entry on the specified bucket.
Retrieves default object ACL entries on the specified bucket.
Patches a default object ACL entry on the specified bucket.
Updates a default object ACL entry on the specified bucket.
Functions
storage_default_object_access_controls_delete(connection, bucket, entity, optional_params \\ [], opts \\ [])
View Source@spec storage_default_object_access_controls_delete( Tesla.Env.client(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, nil} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Permanently deletes the default object ACL entry for the specified entity on the specified bucket.
Parameters
-
connection
(type:GoogleApi.Storage.V1.Connection.t
) - Connection to server -
bucket
(type:String.t
) - Name of a bucket. -
entity
(type:String.t
) - The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers. -
optional_params
(type:keyword()
) - Optional parameters-
:alt
(type:String.t
) - Data format for the response. -
:fields
(type:String.t
) - Selector specifying which fields to include in a partial response. -
:key
(type:String.t
) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. -
:oauth_token
(type:String.t
) - OAuth 2.0 token for the current user. -
:prettyPrint
(type:boolean()
) - Returns response with indentations and line breaks. -
:quotaUser
(type:String.t
) - An opaque string that represents a user for quota purposes. Must not exceed 40 characters. -
:uploadType
(type:String.t
) - Upload protocol for media (e.g. "media", "multipart", "resumable"). -
:userIp
(type:String.t
) - Deprecated. Please use quotaUser instead. -
:userProject
(type:String.t
) - The project to be billed for this request. Required for Requester Pays buckets.
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %{}}
on success -
{:error, info}
on failure
storage_default_object_access_controls_get(connection, bucket, entity, optional_params \\ [], opts \\ [])
View Source@spec storage_default_object_access_controls_get( Tesla.Env.client(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.Storage.V1.Model.ObjectAccessControl.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Returns the default object ACL entry for the specified entity on the specified bucket.
Parameters
-
connection
(type:GoogleApi.Storage.V1.Connection.t
) - Connection to server -
bucket
(type:String.t
) - Name of a bucket. -
entity
(type:String.t
) - The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers. -
optional_params
(type:keyword()
) - Optional parameters-
:alt
(type:String.t
) - Data format for the response. -
:fields
(type:String.t
) - Selector specifying which fields to include in a partial response. -
:key
(type:String.t
) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. -
:oauth_token
(type:String.t
) - OAuth 2.0 token for the current user. -
:prettyPrint
(type:boolean()
) - Returns response with indentations and line breaks. -
:quotaUser
(type:String.t
) - An opaque string that represents a user for quota purposes. Must not exceed 40 characters. -
:uploadType
(type:String.t
) - Upload protocol for media (e.g. "media", "multipart", "resumable"). -
:userIp
(type:String.t
) - Deprecated. Please use quotaUser instead. -
:userProject
(type:String.t
) - The project to be billed for this request. Required for Requester Pays buckets.
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.Storage.V1.Model.ObjectAccessControl{}}
on success -
{:error, info}
on failure
storage_default_object_access_controls_insert(connection, bucket, optional_params \\ [], opts \\ [])
View Source@spec storage_default_object_access_controls_insert( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.Storage.V1.Model.ObjectAccessControl.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Creates a new default object ACL entry on the specified bucket.
Parameters
-
connection
(type:GoogleApi.Storage.V1.Connection.t
) - Connection to server -
bucket
(type:String.t
) - Name of a bucket. -
optional_params
(type:keyword()
) - Optional parameters-
:alt
(type:String.t
) - Data format for the response. -
:fields
(type:String.t
) - Selector specifying which fields to include in a partial response. -
:key
(type:String.t
) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. -
:oauth_token
(type:String.t
) - OAuth 2.0 token for the current user. -
:prettyPrint
(type:boolean()
) - Returns response with indentations and line breaks. -
:quotaUser
(type:String.t
) - An opaque string that represents a user for quota purposes. Must not exceed 40 characters. -
:uploadType
(type:String.t
) - Upload protocol for media (e.g. "media", "multipart", "resumable"). -
:userIp
(type:String.t
) - Deprecated. Please use quotaUser instead. -
:userProject
(type:String.t
) - The project to be billed for this request. Required for Requester Pays buckets. -
:body
(type:GoogleApi.Storage.V1.Model.ObjectAccessControl.t
) -
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.Storage.V1.Model.ObjectAccessControl{}}
on success -
{:error, info}
on failure
storage_default_object_access_controls_list(connection, bucket, optional_params \\ [], opts \\ [])
View Source@spec storage_default_object_access_controls_list( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.Storage.V1.Model.ObjectAccessControls.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Retrieves default object ACL entries on the specified bucket.
Parameters
-
connection
(type:GoogleApi.Storage.V1.Connection.t
) - Connection to server -
bucket
(type:String.t
) - Name of a bucket. -
optional_params
(type:keyword()
) - Optional parameters-
:alt
(type:String.t
) - Data format for the response. -
:fields
(type:String.t
) - Selector specifying which fields to include in a partial response. -
:key
(type:String.t
) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. -
:oauth_token
(type:String.t
) - OAuth 2.0 token for the current user. -
:prettyPrint
(type:boolean()
) - Returns response with indentations and line breaks. -
:quotaUser
(type:String.t
) - An opaque string that represents a user for quota purposes. Must not exceed 40 characters. -
:uploadType
(type:String.t
) - Upload protocol for media (e.g. "media", "multipart", "resumable"). -
:userIp
(type:String.t
) - Deprecated. Please use quotaUser instead. -
:ifMetagenerationMatch
(type:String.t
) - If present, only return default ACL listing if the bucket's current metageneration matches this value. -
:ifMetagenerationNotMatch
(type:String.t
) - If present, only return default ACL listing if the bucket's current metageneration does not match the given value. -
:userProject
(type:String.t
) - The project to be billed for this request. Required for Requester Pays buckets.
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.Storage.V1.Model.ObjectAccessControls{}}
on success -
{:error, info}
on failure
storage_default_object_access_controls_patch(connection, bucket, entity, optional_params \\ [], opts \\ [])
View Source@spec storage_default_object_access_controls_patch( Tesla.Env.client(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.Storage.V1.Model.ObjectAccessControl.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Patches a default object ACL entry on the specified bucket.
Parameters
-
connection
(type:GoogleApi.Storage.V1.Connection.t
) - Connection to server -
bucket
(type:String.t
) - Name of a bucket. -
entity
(type:String.t
) - The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers. -
optional_params
(type:keyword()
) - Optional parameters-
:alt
(type:String.t
) - Data format for the response. -
:fields
(type:String.t
) - Selector specifying which fields to include in a partial response. -
:key
(type:String.t
) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. -
:oauth_token
(type:String.t
) - OAuth 2.0 token for the current user. -
:prettyPrint
(type:boolean()
) - Returns response with indentations and line breaks. -
:quotaUser
(type:String.t
) - An opaque string that represents a user for quota purposes. Must not exceed 40 characters. -
:uploadType
(type:String.t
) - Upload protocol for media (e.g. "media", "multipart", "resumable"). -
:userIp
(type:String.t
) - Deprecated. Please use quotaUser instead. -
:userProject
(type:String.t
) - The project to be billed for this request. Required for Requester Pays buckets. -
:body
(type:GoogleApi.Storage.V1.Model.ObjectAccessControl.t
) -
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.Storage.V1.Model.ObjectAccessControl{}}
on success -
{:error, info}
on failure
storage_default_object_access_controls_update(connection, bucket, entity, optional_params \\ [], opts \\ [])
View Source@spec storage_default_object_access_controls_update( Tesla.Env.client(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.Storage.V1.Model.ObjectAccessControl.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Updates a default object ACL entry on the specified bucket.
Parameters
-
connection
(type:GoogleApi.Storage.V1.Connection.t
) - Connection to server -
bucket
(type:String.t
) - Name of a bucket. -
entity
(type:String.t
) - The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers. -
optional_params
(type:keyword()
) - Optional parameters-
:alt
(type:String.t
) - Data format for the response. -
:fields
(type:String.t
) - Selector specifying which fields to include in a partial response. -
:key
(type:String.t
) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. -
:oauth_token
(type:String.t
) - OAuth 2.0 token for the current user. -
:prettyPrint
(type:boolean()
) - Returns response with indentations and line breaks. -
:quotaUser
(type:String.t
) - An opaque string that represents a user for quota purposes. Must not exceed 40 characters. -
:uploadType
(type:String.t
) - Upload protocol for media (e.g. "media", "multipart", "resumable"). -
:userIp
(type:String.t
) - Deprecated. Please use quotaUser instead. -
:userProject
(type:String.t
) - The project to be billed for this request. Required for Requester Pays buckets. -
:body
(type:GoogleApi.Storage.V1.Model.ObjectAccessControl.t
) -
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.Storage.V1.Model.ObjectAccessControl{}}
on success -
{:error, info}
on failure