Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(881)

Unified Diff: generated/googleapis/lib/cloudfunctions/v1.dart

Issue 2824163002: Api-roll 48: 2017-04-18 (Closed)
Patch Set: Revert changes to pubspecs Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « generated/googleapis/lib/clouddebugger/v2.dart ('k') | generated/googleapis/lib/cloudkms/v1.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 {
« no previous file with comments | « generated/googleapis/lib/clouddebugger/v2.dart ('k') | generated/googleapis/lib/cloudkms/v1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698