Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
Google_Service_Storage_DefaultObjectAccessControls_Resource Class Reference

The "defaultObjectAccessControls" collection of methods. More...

Inheritance diagram for Google_Service_Storage_DefaultObjectAccessControls_Resource:
Google_Service_Resource

Public Member Functions

 call ($name, $arguments, $expected_class=null)
 TODO: This function needs simplifying.
 
 delete ($bucket, $entity, $optParams=array())
 Permanently deletes the default object ACL entry for the specified entity on the specified bucket.
 
 get ($bucket, $entity, $optParams=array())
 Returns the default object ACL entry for the specified entity on the specified bucket.
 
 insert ($bucket, Google_Service_Storage_ObjectAccessControl $postBody, $optParams=array())
 Creates a new default object ACL entry on the specified bucket.
 
 listDefaultObjectAccessControls ($bucket, $optParams=array())
 Retrieves default object ACL entries on the specified bucket.
 
 patch ($bucket, $entity, Google_Service_Storage_ObjectAccessControl $postBody, $optParams=array())
 Updates a default object ACL entry on the specified bucket.
 
 update ($bucket, $entity, Google_Service_Storage_ObjectAccessControl $postBody, $optParams=array())
 Updates a default object ACL entry on the specified bucket.
 

Protected Member Functions

 convertToArrayAndStripNulls ($o)
 

Detailed Description

The "defaultObjectAccessControls" collection of methods.

Typical usage is: $storageService = new Google_Service_Storage(...); $defaultObjectAccessControls = $storageService->defaultObjectAccessControls;

Member Function Documentation

◆ call()

Google_Service_Resource::call ( $name,
$arguments,
$expected_class = null )
inherited

TODO: This function needs simplifying.

Parameters
$name
$arguments
$expected_class- optional, the expected class name
Return values
Google_Http_Request|expected_class
Exceptions
Google_Exception

◆ delete()

Google_Service_Storage_DefaultObjectAccessControls_Resource::delete ( $bucket,
$entity,
$optParams = array() )

Permanently deletes the default object ACL entry for the specified entity on the specified bucket.

(defaultObjectAccessControls.delete)

Parameters
string$bucketName of a bucket.
string$entityThe entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.
array$optParamsOptional parameters.

◆ get()

Google_Service_Storage_DefaultObjectAccessControls_Resource::get ( $bucket,
$entity,
$optParams = array() )

Returns the default object ACL entry for the specified entity on the specified bucket.

(defaultObjectAccessControls.get)

Parameters
string$bucketName of a bucket.
string$entityThe entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.
array$optParamsOptional parameters.
Return values
Google_Service_Storage_ObjectAccessControl

◆ insert()

Google_Service_Storage_DefaultObjectAccessControls_Resource::insert ( $bucket,
Google_Service_Storage_ObjectAccessControl $postBody,
$optParams = array() )

Creates a new default object ACL entry on the specified bucket.

(defaultObjectAccessControls.insert)

Parameters
string$bucketName of a bucket.
Google_ObjectAccessControl$postBody
array$optParamsOptional parameters.
Return values
Google_Service_Storage_ObjectAccessControl

◆ listDefaultObjectAccessControls()

Google_Service_Storage_DefaultObjectAccessControls_Resource::listDefaultObjectAccessControls ( $bucket,
$optParams = array() )

Retrieves default object ACL entries on the specified bucket.

(defaultObjectAccessControls.listDefaultObjectAccessControls)

Parameters
string$bucketName of a bucket.
array$optParamsOptional parameters.

@opt_param string ifMetagenerationMatch If present, only return default ACL listing if the bucket's current metageneration matches this value. @opt_param string ifMetagenerationNotMatch If present, only return default ACL listing if the bucket's current metageneration does not match the given value.

Return values
Google_Service_Storage_ObjectAccessControls

◆ patch()

Google_Service_Storage_DefaultObjectAccessControls_Resource::patch ( $bucket,
$entity,
Google_Service_Storage_ObjectAccessControl $postBody,
$optParams = array() )

Updates a default object ACL entry on the specified bucket.

This method supports patch semantics. (defaultObjectAccessControls.patch)

Parameters
string$bucketName of a bucket.
string$entityThe entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.
Google_ObjectAccessControl$postBody
array$optParamsOptional parameters.
Return values
Google_Service_Storage_ObjectAccessControl

◆ update()

Google_Service_Storage_DefaultObjectAccessControls_Resource::update ( $bucket,
$entity,
Google_Service_Storage_ObjectAccessControl $postBody,
$optParams = array() )

Updates a default object ACL entry on the specified bucket.

(defaultObjectAccessControls.update)

Parameters
string$bucketName of a bucket.
string$entityThe entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.
Google_ObjectAccessControl$postBody
array$optParamsOptional parameters.
Return values
Google_Service_Storage_ObjectAccessControl

The documentation for this class was generated from the following file: