Supported media types and file extensions.
| MIME type | Default | Additional |
|---|---|---|
| application/andrew-inset | ez | |
| application/applixware | aw |
| # Auxillary method info. | |
| sse-streaming-methods = [ | |
| 'generativelanguage.models.streamGenerateContent', | |
| 'generativelanguage.tunedModels.streamGenerateContent' | |
| ] |
| // Copyright 2025 Google LLC | |
| // | |
| // Licensed under the Apache License, Version 2.0 (the "License"); | |
| // you may not use this file except in compliance with the License. | |
| // You may obtain a copy of the License at | |
| // | |
| // https://www.apache.org/licenses/LICENSE-2.0 | |
| // | |
| // Unless required by applicable law or agreed to in writing, software | |
| // distributed under the License is distributed on an "AS IS" BASIS, |
| // Copyright (c) 2025, the Dart project authors. Please see the AUTHORS file | |
| // for details. All rights reserved. Use of this source code is governed by a | |
| // BSD-style license that can be found in the LICENSE file. | |
| // This is a generated file - do not edit. | |
| import 'dart:typed_data'; | |
| import 'package:google_api_base/base.dart'; | |
| import 'package:google_api_base/src/encoding.dart'; |
| // Copyright 2024 the Dart project authors. All rights reserved. | |
| // Use of this source code is governed by a BSD-style license | |
| // that can be found in the LICENSE file. | |
| import 'package:flutter/material.dart'; | |
| import 'package:flutter_markdown/flutter_markdown.dart'; | |
| import 'package:google_generative_ai/google_generative_ai.dart'; | |
| import 'package:url_launcher/link.dart'; | |
| void main() { |
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:
| google.iam.credentials.v1.iamcredentials | |
| State count 4 | |
| SubstitutionsEntry count 3 | |
| google.firestore.v1 | |
| Operator count 3 | |
| FieldsEntry count 2 | |
| LabelsEntry count 3 | |
| google.iam.v3.iam | |
| AnnotationsEntry count 2 | |
| google.cloud.tpu.v2.tpu |
| import 'dart:core' hide Duration; | |
| import 'dart:core' as core show Duration; | |
| void main() { | |
| final howLong = core.Duration(seconds: 1); | |
| for (var i = 0; i < 10; i++) { | |
| print('hello ${i + 1}; $howLong'); | |
| } | |
| } |
| // Copyright 2025 Google LLC | |
| // | |
| // Licensed under the Apache License, Version 2.0 (the "License"); | |
| // you may not use this file except in compliance with the License. | |
| // You may obtain a copy of the License at | |
| // | |
| // https://www.apache.org/licenses/LICENSE-2.0 | |
| // | |
| // Unless required by applicable law or agreed to in writing, software | |
| // distributed under the License is distributed on an "AS IS" BASIS, |