You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| Example ['https://www.googleapis.com/auth/cloud-platform']
108
-
*/
109
-
'scopes' => [],
110
-
111
-
/*
112
-
| Path to key file
113
-
| Example storage_path().'/key/google.p12'
114
-
*/
115
-
'key' => '',
116
-
]
100
+
'service' => ''
117
101
];
102
+
118
103
```
119
104
120
-
To use the Google Cloud Platform Services you can either set the information in the config file under `service`, or if running under compute engine (or app engine) leave it blank.
105
+
To use Google Cloud Platform services, enter the location to the service account JSON file **(not the JSON string itself)**. To use App Engine or Computer Engine, leave it blank.
106
+
107
+
From [Google's upgrading document](https://github.com/google/google-api-php-client/blob/master/UPGRADING.md):
108
+
109
+
> Note: P12s are deprecated in favor of service account JSON, which can be generated in the Credentials section of Google Developer Console.
121
110
122
-
`NOTE: service => ['account'] is the service Email Address and not the Client ID!`
0 commit comments