google-apiclient icon indicating copy to clipboard operation
google-apiclient copied to clipboard

Unable to create service object with Constructor params

Open nauphaltf opened this issue 8 years ago • 1 comments

I am unable to create a service object which accept constructor params. Please refer following example

$userPermission = new Google_Service_Drive_Permission(array(
        'type' => 'user',
        'role' => 'writer',
        'emailAddress' => '[email protected]'
    ));

Since the make method doesn't accept any params other than service name, how can I pass constructor params and set it while creating service object ?

nauphaltf avatar Nov 20 '17 19:11 nauphaltf

This issue is stale because it has been open 21 days with no activity. Remove stale label or comment or this will be closed in 7 days

github-actions[bot] avatar Jul 01 '24 01:07 github-actions[bot]