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

The "linux" collection of methods. More...

Inheritance diagram for Google_Service_CloudUserAccounts_Linux_Resource:
Google_Service_Resource

Public Member Functions

 call ($name, $arguments, $expected_class=null)
 TODO: This function needs simplifying.
 
 getAuthorizedKeysView ($project, $zone, $user, $instance, $optParams=array())
 Returns a list of authorized public keys for a specific user account.
 
 getLinuxAccountViews ($project, $zone, $instance, $optParams=array())
 Retrieves a list of user accounts for an instance within a specific project.
 

Protected Member Functions

 convertToArrayAndStripNulls ($o)
 

Detailed Description

The "linux" collection of methods.

Typical usage is: $clouduseraccountsService = new Google_Service_CloudUserAccounts(...); $linux = $clouduseraccountsService->linux;

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

◆ getAuthorizedKeysView()

Google_Service_CloudUserAccounts_Linux_Resource::getAuthorizedKeysView ( $project,
$zone,
$user,
$instance,
$optParams = array() )

Returns a list of authorized public keys for a specific user account.

(linux.getAuthorizedKeysView)

Parameters
string$projectProject ID for this request.
string$zoneName of the zone for this request.
string$userThe user account for which you want to get a list of authorized public keys.
string$instanceThe fully-qualified URL of the virtual machine requesting the view.
array$optParamsOptional parameters.

@opt_param bool login Whether the view was requested as part of a user- initiated login.

Return values
Google_Service_CloudUserAccounts_LinuxGetAuthorizedKeysViewResponse

◆ getLinuxAccountViews()

Google_Service_CloudUserAccounts_Linux_Resource::getLinuxAccountViews ( $project,
$zone,
$instance,
$optParams = array() )

Retrieves a list of user accounts for an instance within a specific project.

(linux.getLinuxAccountViews)

Parameters
string$projectProject ID for this request.
string$zoneName of the zone for this request.
string$instanceThe fully-qualified URL of the virtual machine requesting the views.
array$optParamsOptional parameters.

@opt_param string orderBy Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.

You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.

Currently, only sorting by name or creationTimestamp desc is supported. @opt_param string pageToken Specifies a page token to use. Use this parameter if you want to list the next page of results. Set pageToken to the nextPageToken returned by a previous list request. @opt_param string maxResults Maximum count of results to be returned. @opt_param string filter Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING.

The FIELD_NAME is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field.

For example, filter=name ne example-instance.

Return values
Google_Service_CloudUserAccounts_LinuxGetLinuxAccountViewsResponse

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