Index: generated/googleapis/lib/cloudfunctions/v1.dart |
diff --git a/generated/googleapis/lib/cloudfunctions/v1.dart b/generated/googleapis/lib/cloudfunctions/v1.dart |
index d9a0fd9f7c33ede85fc6fc0287d225baca3c2e6a..b27c05e9c17c8d87a53335fa36864c34d86842bd 100644 |
--- a/generated/googleapis/lib/cloudfunctions/v1.dart |
+++ b/generated/googleapis/lib/cloudfunctions/v1.dart |
@@ -19,137 +19,14 @@ const core.String USER_AGENT = 'dart-api-client cloudfunctions/v1'; |
* events. |
*/ |
class CloudfunctionsApi { |
- /** View and manage your data across Google Cloud Platform services */ |
- static const CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platform"; |
- |
final commons.ApiRequester _requester; |
- ProjectsResourceApi get projects => new ProjectsResourceApi(_requester); |
- |
CloudfunctionsApi(http.Client client, {core.String rootUrl: "https://cloudfunctions.googleapis.com/", core.String servicePath: ""}) : |
_requester = new commons.ApiRequester(client, rootUrl, servicePath, USER_AGENT); |
} |
-class ProjectsResourceApi { |
- final commons.ApiRequester _requester; |
- |
- ProjectsLocationsResourceApi get locations => new ProjectsLocationsResourceApi(_requester); |
- |
- ProjectsResourceApi(commons.ApiRequester client) : |
- _requester = client; |
-} |
- |
- |
-class ProjectsLocationsResourceApi { |
- final commons.ApiRequester _requester; |
- |
- ProjectsLocationsResourceApi(commons.ApiRequester client) : |
- _requester = client; |
- |
- /** |
- * Get information about a location. |
- * |
- * Request parameters: |
- * |
- * [name] - Resource name for the location. |
- * Value must have pattern "^projects/[^/]+/locations/[^/]+$". |
- * |
- * Completes with a [Location]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
- async.Future<Location> get(core.String name) { |
- var _url = null; |
- var _queryParams = new core.Map(); |
- var _uploadMedia = null; |
- var _uploadOptions = null; |
- var _downloadOptions = commons.DownloadOptions.Metadata; |
- var _body = null; |
- |
- if (name == null) { |
- throw new core.ArgumentError("Parameter name is required."); |
- } |
- |
- _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$name'); |
- |
- var _response = _requester.request(_url, |
- "GET", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
- return _response.then((data) => new Location.fromJson(data)); |
- } |
- |
-} |
- |
- |
- |
-/** A resource that represents Google Cloud Platform location. */ |
-class Location { |
- /** |
- * Cross-service attributes for the location. For example |
- * |
- * {"cloud.googleapis.com/region": "us-east1"} |
- */ |
- core.Map<core.String, core.String> labels; |
- /** The canonical id for this location. For example: `"us-east1"`. */ |
- core.String locationId; |
- /** |
- * Service-specific metadata. For example the available capacity at the given |
- * location. |
- * |
- * The values for Object must be JSON objects. It can consist of `num`, |
- * `String`, `bool` and `null` as well as `Map` and `List` values. |
- */ |
- core.Map<core.String, core.Object> metadata; |
- /** |
- * Resource name for the location, which may vary between implementations. |
- * For example: `"projects/example-project/locations/us-east1"` |
- */ |
- core.String name; |
- |
- Location(); |
- |
- Location.fromJson(core.Map _json) { |
- if (_json.containsKey("labels")) { |
- labels = _json["labels"]; |
- } |
- if (_json.containsKey("locationId")) { |
- locationId = _json["locationId"]; |
- } |
- if (_json.containsKey("metadata")) { |
- metadata = _json["metadata"]; |
- } |
- if (_json.containsKey("name")) { |
- name = _json["name"]; |
- } |
- } |
- |
- core.Map toJson() { |
- var _json = new core.Map(); |
- if (labels != null) { |
- _json["labels"] = labels; |
- } |
- if (locationId != null) { |
- _json["locationId"] = locationId; |
- } |
- if (metadata != null) { |
- _json["metadata"] = metadata; |
- } |
- if (name != null) { |
- _json["name"] = name; |
- } |
- return _json; |
- } |
-} |
/** Metadata describing an Operation */ |
class OperationMetadataV1Beta2 { |