Google API client for the Cloud Functions API.
Manages lightweight user-provided functions executed in response to events.
For additional documentation, see https://cloud.google.com/functions.
To get started, create an instance of CloudFunctions
:
import 'package:google_api_cloudfunctions_v2/cloudfunctions.dart';
import 'package:googleapis_auth/auth_io.dart' as auth;
void main() {
final httpClient = auth.clientViaApplicationDefaultCredentials(
scopes: CloudFunctions.scopes,
);
final cloudfunctions = CloudFunctions(httpClient);
// Perform operations on cloudfunctions...
cloudfunctions.close();
}
The APIs available from a CloudFunctions
instance are:
Path | Resource |
---|---|
projects |
[ProjectsResource] |
projects.locations |
[ProjectsLocationsResource] |
projects.locations.functions |
[ProjectsLocationsFunctionsResource] |
projects.locations.operations |
[ProjectsLocationsOperationsResource] |
projects.locations.runtimes |
[ProjectsLocationsRuntimesResource] |