Class Google_Service_Drive_Properties_Resource
The "properties" collection of methods. Typical usage is:
$driveService = new Google_Service_Drive(...);
$properties = $driveService->properties;
-
Google_Service_Resource
-
Google_Service_Drive_Properties_Resource
Located at Drive.php
Methods summary
public
|
#
delete( string $fileId, string $propertyKey, array $optParams = array() )
Deletes a property. (properties.delete)
Deletes a property. (properties.delete)
Parameters
- $fileId
- The ID of the file.
- $propertyKey
- The key of the property.
- $optParams
- Optional parameters.
Opt_param
string visibility The visibility of the property.
|
public
Google_Service_Drive_Property
|
#
get( string $fileId, string $propertyKey, array $optParams = array() )
Gets a property by its key. (properties.get)
Gets a property by its key. (properties.get)
Parameters
- $fileId
- The ID of the file.
- $propertyKey
- The key of the property.
- $optParams
- Optional parameters.
Returns
Opt_param
string visibility The visibility of the property.
|
public
Google_Service_Drive_Property
|
#
insert( string $fileId, Google_Service_Drive_Property $postBody, array $optParams = array() )
Adds a property to a file, or updates it if it already exists.
(properties.insert)
Adds a property to a file, or updates it if it already exists.
(properties.insert)
Parameters
- $fileId
- The ID of the file.
- $postBody
- $optParams
- Optional parameters.
Returns
|
public
Google_Service_Drive_PropertyList
|
#
listProperties( string $fileId, array $optParams = array() )
Lists a file's properties. (properties.listProperties)
Lists a file's properties. (properties.listProperties)
Parameters
- $fileId
- The ID of the file.
- $optParams
- Optional parameters.
Returns
|
public
Google_Service_Drive_Property
|
#
patch( string $fileId, string $propertyKey, Google_Service_Drive_Property $postBody, array $optParams = array() )
Updates a property. (properties.patch)
Updates a property. (properties.patch)
Parameters
- $fileId
- The ID of the file.
- $propertyKey
- The key of the property.
- $postBody
- $optParams
- Optional parameters.
Returns
Opt_param
string visibility The visibility of the property. Allowed values are PRIVATE and
PUBLIC. (Default: PRIVATE)
|
public
Google_Service_Drive_Property
|
#
update( string $fileId, string $propertyKey, Google_Service_Drive_Property $postBody, array $optParams = array() )
Updates a property. (properties.update)
Updates a property. (properties.update)
Parameters
- $fileId
- The ID of the file.
- $propertyKey
- The key of the property.
- $postBody
- $optParams
- Optional parameters.
Returns
Opt_param
string visibility The visibility of the property. Allowed values are PRIVATE and
PUBLIC. (Default: PRIVATE)
|