Index: generated/googleapis_beta/lib/resourceviews/v1beta1.dart |
diff --git a/generated/googleapis_beta/lib/resourceviews/v1beta1.dart b/generated/googleapis_beta/lib/resourceviews/v1beta1.dart |
index 2812212b59bed731a235da1ccc3f86185234d628..0562eef57f2727996771075478bd1d5dbd7d585f 100644 |
--- a/generated/googleapis_beta/lib/resourceviews/v1beta1.dart |
+++ b/generated/googleapis_beta/lib/resourceviews/v1beta1.dart |
@@ -9,77 +9,79 @@ import 'dart:convert' as convert; |
import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; |
import 'package:http/http.dart' as http; |
-export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show |
- ApiRequestError, DetailedApiRequestError; |
+export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' |
+ show ApiRequestError, DetailedApiRequestError; |
const core.String USER_AGENT = 'dart-api-client resourceviews/v1beta1'; |
-/** |
- * The Resource View API allows users to create and manage logical sets of |
- * Google Compute Engine instances. |
- */ |
+/// The Resource View API allows users to create and manage logical sets of |
+/// Google Compute Engine instances. |
class ResourceviewsApi { |
- /** View and manage your data across Google Cloud Platform services */ |
- static const CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platform"; |
+ /// View and manage your data across Google Cloud Platform services |
+ static const CloudPlatformScope = |
+ "https://www.googleapis.com/auth/cloud-platform"; |
- /** View your data across Google Cloud Platform services */ |
- static const CloudPlatformReadOnlyScope = "https://www.googleapis.com/auth/cloud-platform.read-only"; |
+ /// View your data across Google Cloud Platform services |
+ static const CloudPlatformReadOnlyScope = |
+ "https://www.googleapis.com/auth/cloud-platform.read-only"; |
- /** View and manage your Google Compute Engine resources */ |
+ /// View and manage your Google Compute Engine resources |
static const ComputeScope = "https://www.googleapis.com/auth/compute"; |
- /** View your Google Compute Engine resources */ |
- static const ComputeReadonlyScope = "https://www.googleapis.com/auth/compute.readonly"; |
+ /// View your Google Compute Engine resources |
+ static const ComputeReadonlyScope = |
+ "https://www.googleapis.com/auth/compute.readonly"; |
- /** |
- * View and manage your Google Cloud Platform management resources and |
- * deployment status information |
- */ |
- static const NdevCloudmanScope = "https://www.googleapis.com/auth/ndev.cloudman"; |
- |
- /** |
- * View your Google Cloud Platform management resources and deployment status |
- * information |
- */ |
- static const NdevCloudmanReadonlyScope = "https://www.googleapis.com/auth/ndev.cloudman.readonly"; |
+ /// View and manage your Google Cloud Platform management resources and |
+ /// deployment status information |
+ static const NdevCloudmanScope = |
+ "https://www.googleapis.com/auth/ndev.cloudman"; |
+ /// View your Google Cloud Platform management resources and deployment |
+ /// status information |
+ static const NdevCloudmanReadonlyScope = |
+ "https://www.googleapis.com/auth/ndev.cloudman.readonly"; |
final commons.ApiRequester _requester; |
- RegionViewsResourceApi get regionViews => new RegionViewsResourceApi(_requester); |
+ RegionViewsResourceApi get regionViews => |
+ new RegionViewsResourceApi(_requester); |
ZoneViewsResourceApi get zoneViews => new ZoneViewsResourceApi(_requester); |
- ResourceviewsApi(http.Client client, {core.String rootUrl: "https://www.googleapis.com/", core.String servicePath: "resourceviews/v1beta1/projects/"}) : |
- _requester = new commons.ApiRequester(client, rootUrl, servicePath, USER_AGENT); |
+ ResourceviewsApi(http.Client client, |
+ {core.String rootUrl: "https://www.googleapis.com/", |
+ core.String servicePath: "resourceviews/v1beta1/projects/"}) |
+ : _requester = |
+ new commons.ApiRequester(client, rootUrl, servicePath, USER_AGENT); |
} |
- |
class RegionViewsResourceApi { |
final commons.ApiRequester _requester; |
- RegionViewsResourceApi(commons.ApiRequester client) : |
- _requester = client; |
- |
- /** |
- * Add resources to the view. |
- * |
- * [request] - The metadata request object. |
- * |
- * Request parameters: |
- * |
- * [projectName] - The project name of the resource view. |
- * |
- * [region] - The region name of the resource view. |
- * |
- * [resourceViewName] - The name of the resource view. |
- * |
- * 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 addresources(RegionViewsAddResourcesRequest request, core.String projectName, core.String region, core.String resourceViewName) { |
+ RegionViewsResourceApi(commons.ApiRequester client) : _requester = client; |
+ |
+ /// Add resources to the view. |
+ /// |
+ /// [request] - The metadata request object. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [projectName] - The project name of the resource view. |
+ /// |
+ /// [region] - The region name of the resource view. |
+ /// |
+ /// [resourceViewName] - The name of the resource view. |
+ /// |
+ /// 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 addresources( |
+ RegionViewsAddResourcesRequest request, |
+ core.String projectName, |
+ core.String region, |
+ core.String resourceViewName) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -102,36 +104,39 @@ class RegionViewsResourceApi { |
_downloadOptions = null; |
- _url = commons.Escaper.ecapeVariable('$projectName') + '/regions/' + commons.Escaper.ecapeVariable('$region') + '/resourceViews/' + commons.Escaper.ecapeVariable('$resourceViewName') + '/addResources'; |
- |
- var _response = _requester.request(_url, |
- "POST", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ _url = commons.Escaper.ecapeVariable('$projectName') + |
+ '/regions/' + |
+ commons.Escaper.ecapeVariable('$region') + |
+ '/resourceViews/' + |
+ commons.Escaper.ecapeVariable('$resourceViewName') + |
+ '/addResources'; |
+ |
+ var _response = _requester.request(_url, "POST", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => null); |
} |
- /** |
- * Delete a resource view. |
- * |
- * Request parameters: |
- * |
- * [projectName] - The project name of the resource view. |
- * |
- * [region] - The region name of the resource view. |
- * |
- * [resourceViewName] - The name of the resource view. |
- * |
- * 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 delete(core.String projectName, core.String region, core.String resourceViewName) { |
+ /// Delete a resource view. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [projectName] - The project name of the resource view. |
+ /// |
+ /// [region] - The region name of the resource view. |
+ /// |
+ /// [resourceViewName] - The name of the resource view. |
+ /// |
+ /// 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 delete(core.String projectName, core.String region, |
+ core.String resourceViewName) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -151,38 +156,40 @@ class RegionViewsResourceApi { |
_downloadOptions = null; |
- _url = commons.Escaper.ecapeVariable('$projectName') + '/regions/' + commons.Escaper.ecapeVariable('$region') + '/resourceViews/' + commons.Escaper.ecapeVariable('$resourceViewName'); |
- |
- var _response = _requester.request(_url, |
- "DELETE", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ _url = commons.Escaper.ecapeVariable('$projectName') + |
+ '/regions/' + |
+ commons.Escaper.ecapeVariable('$region') + |
+ '/resourceViews/' + |
+ commons.Escaper.ecapeVariable('$resourceViewName'); |
+ |
+ var _response = _requester.request(_url, "DELETE", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => null); |
} |
- /** |
- * Get the information of a resource view. |
- * |
- * Request parameters: |
- * |
- * [projectName] - The project name of the resource view. |
- * |
- * [region] - The region name of the resource view. |
- * |
- * [resourceViewName] - The name of the resource view. |
- * |
- * Completes with a [ResourceView]. |
- * |
- * 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<ResourceView> get(core.String projectName, core.String region, core.String resourceViewName) { |
+ /// Get the information of a resource view. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [projectName] - The project name of the resource view. |
+ /// |
+ /// [region] - The region name of the resource view. |
+ /// |
+ /// [resourceViewName] - The name of the resource view. |
+ /// |
+ /// Completes with a [ResourceView]. |
+ /// |
+ /// 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<ResourceView> get(core.String projectName, core.String region, |
+ core.String resourceViewName) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -200,38 +207,40 @@ class RegionViewsResourceApi { |
throw new core.ArgumentError("Parameter resourceViewName is required."); |
} |
- _url = commons.Escaper.ecapeVariable('$projectName') + '/regions/' + commons.Escaper.ecapeVariable('$region') + '/resourceViews/' + commons.Escaper.ecapeVariable('$resourceViewName'); |
+ _url = commons.Escaper.ecapeVariable('$projectName') + |
+ '/regions/' + |
+ commons.Escaper.ecapeVariable('$region') + |
+ '/resourceViews/' + |
+ commons.Escaper.ecapeVariable('$resourceViewName'); |
- var _response = _requester.request(_url, |
- "GET", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "GET", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new ResourceView.fromJson(data)); |
} |
- /** |
- * Create a resource view. |
- * |
- * [request] - The metadata request object. |
- * |
- * Request parameters: |
- * |
- * [projectName] - The project name of the resource view. |
- * |
- * [region] - The region name of the resource view. |
- * |
- * Completes with a [RegionViewsInsertResponse]. |
- * |
- * 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<RegionViewsInsertResponse> insert(ResourceView request, core.String projectName, core.String region) { |
+ /// Create a resource view. |
+ /// |
+ /// [request] - The metadata request object. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [projectName] - The project name of the resource view. |
+ /// |
+ /// [region] - The region name of the resource view. |
+ /// |
+ /// Completes with a [RegionViewsInsertResponse]. |
+ /// |
+ /// 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<RegionViewsInsertResponse> insert( |
+ ResourceView request, core.String projectName, core.String region) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -249,44 +258,47 @@ class RegionViewsResourceApi { |
throw new core.ArgumentError("Parameter region is required."); |
} |
- _url = commons.Escaper.ecapeVariable('$projectName') + '/regions/' + commons.Escaper.ecapeVariable('$region') + '/resourceViews'; |
+ _url = commons.Escaper.ecapeVariable('$projectName') + |
+ '/regions/' + |
+ commons.Escaper.ecapeVariable('$region') + |
+ '/resourceViews'; |
- var _response = _requester.request(_url, |
- "POST", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
- return _response.then((data) => new RegionViewsInsertResponse.fromJson(data)); |
+ var _response = _requester.request(_url, "POST", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
+ return _response |
+ .then((data) => new RegionViewsInsertResponse.fromJson(data)); |
} |
- /** |
- * List resource views. |
- * |
- * Request parameters: |
- * |
- * [projectName] - The project name of the resource view. |
- * |
- * [region] - The region name of the resource view. |
- * |
- * [maxResults] - Maximum count of results to be returned. Acceptable values |
- * are 0 to 5000, inclusive. (Default: 5000) |
- * Value must be between "0" and "5000". |
- * |
- * [pageToken] - Specifies a nextPageToken returned by a previous list |
- * request. This token can be used to request the next page of results from a |
- * previous list request. |
- * |
- * Completes with a [RegionViewsListResponse]. |
- * |
- * 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<RegionViewsListResponse> list(core.String projectName, core.String region, {core.int maxResults, core.String pageToken}) { |
+ /// List resource views. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [projectName] - The project name of the resource view. |
+ /// |
+ /// [region] - The region name of the resource view. |
+ /// |
+ /// [maxResults] - Maximum count of results to be returned. Acceptable values |
+ /// are 0 to 5000, inclusive. (Default: 5000) |
+ /// Value must be between "0" and "5000". |
+ /// |
+ /// [pageToken] - Specifies a nextPageToken returned by a previous list |
+ /// request. This token can be used to request the next page of results from |
+ /// a previous list request. |
+ /// |
+ /// Completes with a [RegionViewsListResponse]. |
+ /// |
+ /// 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<RegionViewsListResponse> list( |
+ core.String projectName, core.String region, |
+ {core.int maxResults, core.String pageToken}) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -307,46 +319,48 @@ class RegionViewsResourceApi { |
_queryParams["pageToken"] = [pageToken]; |
} |
- _url = commons.Escaper.ecapeVariable('$projectName') + '/regions/' + commons.Escaper.ecapeVariable('$region') + '/resourceViews'; |
+ _url = commons.Escaper.ecapeVariable('$projectName') + |
+ '/regions/' + |
+ commons.Escaper.ecapeVariable('$region') + |
+ '/resourceViews'; |
- var _response = _requester.request(_url, |
- "GET", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "GET", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new RegionViewsListResponse.fromJson(data)); |
} |
- /** |
- * List the resources in the view. |
- * |
- * Request parameters: |
- * |
- * [projectName] - The project name of the resource view. |
- * |
- * [region] - The region name of the resource view. |
- * |
- * [resourceViewName] - The name of the resource view. |
- * |
- * [maxResults] - Maximum count of results to be returned. Acceptable values |
- * are 0 to 5000, inclusive. (Default: 5000) |
- * Value must be between "0" and "5000". |
- * |
- * [pageToken] - Specifies a nextPageToken returned by a previous list |
- * request. This token can be used to request the next page of results from a |
- * previous list request. |
- * |
- * Completes with a [RegionViewsListResourcesResponse]. |
- * |
- * 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<RegionViewsListResourcesResponse> listresources(core.String projectName, core.String region, core.String resourceViewName, {core.int maxResults, core.String pageToken}) { |
+ /// List the resources in the view. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [projectName] - The project name of the resource view. |
+ /// |
+ /// [region] - The region name of the resource view. |
+ /// |
+ /// [resourceViewName] - The name of the resource view. |
+ /// |
+ /// [maxResults] - Maximum count of results to be returned. Acceptable values |
+ /// are 0 to 5000, inclusive. (Default: 5000) |
+ /// Value must be between "0" and "5000". |
+ /// |
+ /// [pageToken] - Specifies a nextPageToken returned by a previous list |
+ /// request. This token can be used to request the next page of results from |
+ /// a previous list request. |
+ /// |
+ /// Completes with a [RegionViewsListResourcesResponse]. |
+ /// |
+ /// 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<RegionViewsListResourcesResponse> listresources( |
+ core.String projectName, core.String region, core.String resourceViewName, |
+ {core.int maxResults, core.String pageToken}) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -370,38 +384,45 @@ class RegionViewsResourceApi { |
_queryParams["pageToken"] = [pageToken]; |
} |
- _url = commons.Escaper.ecapeVariable('$projectName') + '/regions/' + commons.Escaper.ecapeVariable('$region') + '/resourceViews/' + commons.Escaper.ecapeVariable('$resourceViewName') + '/resources'; |
- |
- var _response = _requester.request(_url, |
- "POST", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
- return _response.then((data) => new RegionViewsListResourcesResponse.fromJson(data)); |
+ _url = commons.Escaper.ecapeVariable('$projectName') + |
+ '/regions/' + |
+ commons.Escaper.ecapeVariable('$region') + |
+ '/resourceViews/' + |
+ commons.Escaper.ecapeVariable('$resourceViewName') + |
+ '/resources'; |
+ |
+ var _response = _requester.request(_url, "POST", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
+ return _response |
+ .then((data) => new RegionViewsListResourcesResponse.fromJson(data)); |
} |
- /** |
- * Remove resources from the view. |
- * |
- * [request] - The metadata request object. |
- * |
- * Request parameters: |
- * |
- * [projectName] - The project name of the resource view. |
- * |
- * [region] - The region name of the resource view. |
- * |
- * [resourceViewName] - The name of the resource view. |
- * |
- * 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 removeresources(RegionViewsRemoveResourcesRequest request, core.String projectName, core.String region, core.String resourceViewName) { |
+ /// Remove resources from the view. |
+ /// |
+ /// [request] - The metadata request object. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [projectName] - The project name of the resource view. |
+ /// |
+ /// [region] - The region name of the resource view. |
+ /// |
+ /// [resourceViewName] - The name of the resource view. |
+ /// |
+ /// 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 removeresources( |
+ RegionViewsRemoveResourcesRequest request, |
+ core.String projectName, |
+ core.String region, |
+ core.String resourceViewName) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -424,47 +445,47 @@ class RegionViewsResourceApi { |
_downloadOptions = null; |
- _url = commons.Escaper.ecapeVariable('$projectName') + '/regions/' + commons.Escaper.ecapeVariable('$region') + '/resourceViews/' + commons.Escaper.ecapeVariable('$resourceViewName') + '/removeResources'; |
- |
- var _response = _requester.request(_url, |
- "POST", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ _url = commons.Escaper.ecapeVariable('$projectName') + |
+ '/regions/' + |
+ commons.Escaper.ecapeVariable('$region') + |
+ '/resourceViews/' + |
+ commons.Escaper.ecapeVariable('$resourceViewName') + |
+ '/removeResources'; |
+ |
+ var _response = _requester.request(_url, "POST", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => null); |
} |
- |
} |
- |
class ZoneViewsResourceApi { |
final commons.ApiRequester _requester; |
- ZoneViewsResourceApi(commons.ApiRequester client) : |
- _requester = client; |
- |
- /** |
- * Add resources to the view. |
- * |
- * [request] - The metadata request object. |
- * |
- * Request parameters: |
- * |
- * [projectName] - The project name of the resource view. |
- * |
- * [zone] - The zone name of the resource view. |
- * |
- * [resourceViewName] - The name of the resource view. |
- * |
- * 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 addresources(ZoneViewsAddResourcesRequest request, core.String projectName, core.String zone, core.String resourceViewName) { |
+ ZoneViewsResourceApi(commons.ApiRequester client) : _requester = client; |
+ |
+ /// Add resources to the view. |
+ /// |
+ /// [request] - The metadata request object. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [projectName] - The project name of the resource view. |
+ /// |
+ /// [zone] - The zone name of the resource view. |
+ /// |
+ /// [resourceViewName] - The name of the resource view. |
+ /// |
+ /// 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 addresources(ZoneViewsAddResourcesRequest request, |
+ core.String projectName, core.String zone, core.String resourceViewName) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -487,36 +508,39 @@ class ZoneViewsResourceApi { |
_downloadOptions = null; |
- _url = commons.Escaper.ecapeVariable('$projectName') + '/zones/' + commons.Escaper.ecapeVariable('$zone') + '/resourceViews/' + commons.Escaper.ecapeVariable('$resourceViewName') + '/addResources'; |
- |
- var _response = _requester.request(_url, |
- "POST", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ _url = commons.Escaper.ecapeVariable('$projectName') + |
+ '/zones/' + |
+ commons.Escaper.ecapeVariable('$zone') + |
+ '/resourceViews/' + |
+ commons.Escaper.ecapeVariable('$resourceViewName') + |
+ '/addResources'; |
+ |
+ var _response = _requester.request(_url, "POST", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => null); |
} |
- /** |
- * Delete a resource view. |
- * |
- * Request parameters: |
- * |
- * [projectName] - The project name of the resource view. |
- * |
- * [zone] - The zone name of the resource view. |
- * |
- * [resourceViewName] - The name of the resource view. |
- * |
- * 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 delete(core.String projectName, core.String zone, core.String resourceViewName) { |
+ /// Delete a resource view. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [projectName] - The project name of the resource view. |
+ /// |
+ /// [zone] - The zone name of the resource view. |
+ /// |
+ /// [resourceViewName] - The name of the resource view. |
+ /// |
+ /// 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 delete( |
+ core.String projectName, core.String zone, core.String resourceViewName) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -536,38 +560,40 @@ class ZoneViewsResourceApi { |
_downloadOptions = null; |
- _url = commons.Escaper.ecapeVariable('$projectName') + '/zones/' + commons.Escaper.ecapeVariable('$zone') + '/resourceViews/' + commons.Escaper.ecapeVariable('$resourceViewName'); |
- |
- var _response = _requester.request(_url, |
- "DELETE", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ _url = commons.Escaper.ecapeVariable('$projectName') + |
+ '/zones/' + |
+ commons.Escaper.ecapeVariable('$zone') + |
+ '/resourceViews/' + |
+ commons.Escaper.ecapeVariable('$resourceViewName'); |
+ |
+ var _response = _requester.request(_url, "DELETE", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => null); |
} |
- /** |
- * Get the information of a zonal resource view. |
- * |
- * Request parameters: |
- * |
- * [projectName] - The project name of the resource view. |
- * |
- * [zone] - The zone name of the resource view. |
- * |
- * [resourceViewName] - The name of the resource view. |
- * |
- * Completes with a [ResourceView]. |
- * |
- * 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<ResourceView> get(core.String projectName, core.String zone, core.String resourceViewName) { |
+ /// Get the information of a zonal resource view. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [projectName] - The project name of the resource view. |
+ /// |
+ /// [zone] - The zone name of the resource view. |
+ /// |
+ /// [resourceViewName] - The name of the resource view. |
+ /// |
+ /// Completes with a [ResourceView]. |
+ /// |
+ /// 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<ResourceView> get( |
+ core.String projectName, core.String zone, core.String resourceViewName) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -585,38 +611,40 @@ class ZoneViewsResourceApi { |
throw new core.ArgumentError("Parameter resourceViewName is required."); |
} |
- _url = commons.Escaper.ecapeVariable('$projectName') + '/zones/' + commons.Escaper.ecapeVariable('$zone') + '/resourceViews/' + commons.Escaper.ecapeVariable('$resourceViewName'); |
+ _url = commons.Escaper.ecapeVariable('$projectName') + |
+ '/zones/' + |
+ commons.Escaper.ecapeVariable('$zone') + |
+ '/resourceViews/' + |
+ commons.Escaper.ecapeVariable('$resourceViewName'); |
- var _response = _requester.request(_url, |
- "GET", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "GET", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new ResourceView.fromJson(data)); |
} |
- /** |
- * Create a resource view. |
- * |
- * [request] - The metadata request object. |
- * |
- * Request parameters: |
- * |
- * [projectName] - The project name of the resource view. |
- * |
- * [zone] - The zone name of the resource view. |
- * |
- * Completes with a [ZoneViewsInsertResponse]. |
- * |
- * 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<ZoneViewsInsertResponse> insert(ResourceView request, core.String projectName, core.String zone) { |
+ /// Create a resource view. |
+ /// |
+ /// [request] - The metadata request object. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [projectName] - The project name of the resource view. |
+ /// |
+ /// [zone] - The zone name of the resource view. |
+ /// |
+ /// Completes with a [ZoneViewsInsertResponse]. |
+ /// |
+ /// 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<ZoneViewsInsertResponse> insert( |
+ ResourceView request, core.String projectName, core.String zone) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -634,44 +662,46 @@ class ZoneViewsResourceApi { |
throw new core.ArgumentError("Parameter zone is required."); |
} |
- _url = commons.Escaper.ecapeVariable('$projectName') + '/zones/' + commons.Escaper.ecapeVariable('$zone') + '/resourceViews'; |
+ _url = commons.Escaper.ecapeVariable('$projectName') + |
+ '/zones/' + |
+ commons.Escaper.ecapeVariable('$zone') + |
+ '/resourceViews'; |
- var _response = _requester.request(_url, |
- "POST", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "POST", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new ZoneViewsInsertResponse.fromJson(data)); |
} |
- /** |
- * List resource views. |
- * |
- * Request parameters: |
- * |
- * [projectName] - The project name of the resource view. |
- * |
- * [zone] - The zone name of the resource view. |
- * |
- * [maxResults] - Maximum count of results to be returned. Acceptable values |
- * are 0 to 5000, inclusive. (Default: 5000) |
- * Value must be between "0" and "5000". |
- * |
- * [pageToken] - Specifies a nextPageToken returned by a previous list |
- * request. This token can be used to request the next page of results from a |
- * previous list request. |
- * |
- * Completes with a [ZoneViewsListResponse]. |
- * |
- * 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<ZoneViewsListResponse> list(core.String projectName, core.String zone, {core.int maxResults, core.String pageToken}) { |
+ /// List resource views. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [projectName] - The project name of the resource view. |
+ /// |
+ /// [zone] - The zone name of the resource view. |
+ /// |
+ /// [maxResults] - Maximum count of results to be returned. Acceptable values |
+ /// are 0 to 5000, inclusive. (Default: 5000) |
+ /// Value must be between "0" and "5000". |
+ /// |
+ /// [pageToken] - Specifies a nextPageToken returned by a previous list |
+ /// request. This token can be used to request the next page of results from |
+ /// a previous list request. |
+ /// |
+ /// Completes with a [ZoneViewsListResponse]. |
+ /// |
+ /// 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<ZoneViewsListResponse> list( |
+ core.String projectName, core.String zone, |
+ {core.int maxResults, core.String pageToken}) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -692,46 +722,48 @@ class ZoneViewsResourceApi { |
_queryParams["pageToken"] = [pageToken]; |
} |
- _url = commons.Escaper.ecapeVariable('$projectName') + '/zones/' + commons.Escaper.ecapeVariable('$zone') + '/resourceViews'; |
+ _url = commons.Escaper.ecapeVariable('$projectName') + |
+ '/zones/' + |
+ commons.Escaper.ecapeVariable('$zone') + |
+ '/resourceViews'; |
- var _response = _requester.request(_url, |
- "GET", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "GET", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new ZoneViewsListResponse.fromJson(data)); |
} |
- /** |
- * List the resources of the resource view. |
- * |
- * Request parameters: |
- * |
- * [projectName] - The project name of the resource view. |
- * |
- * [zone] - The zone name of the resource view. |
- * |
- * [resourceViewName] - The name of the resource view. |
- * |
- * [maxResults] - Maximum count of results to be returned. Acceptable values |
- * are 0 to 5000, inclusive. (Default: 5000) |
- * Value must be between "0" and "5000". |
- * |
- * [pageToken] - Specifies a nextPageToken returned by a previous list |
- * request. This token can be used to request the next page of results from a |
- * previous list request. |
- * |
- * Completes with a [ZoneViewsListResourcesResponse]. |
- * |
- * 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<ZoneViewsListResourcesResponse> listresources(core.String projectName, core.String zone, core.String resourceViewName, {core.int maxResults, core.String pageToken}) { |
+ /// List the resources of the resource view. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [projectName] - The project name of the resource view. |
+ /// |
+ /// [zone] - The zone name of the resource view. |
+ /// |
+ /// [resourceViewName] - The name of the resource view. |
+ /// |
+ /// [maxResults] - Maximum count of results to be returned. Acceptable values |
+ /// are 0 to 5000, inclusive. (Default: 5000) |
+ /// Value must be between "0" and "5000". |
+ /// |
+ /// [pageToken] - Specifies a nextPageToken returned by a previous list |
+ /// request. This token can be used to request the next page of results from |
+ /// a previous list request. |
+ /// |
+ /// Completes with a [ZoneViewsListResourcesResponse]. |
+ /// |
+ /// 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<ZoneViewsListResourcesResponse> listresources( |
+ core.String projectName, core.String zone, core.String resourceViewName, |
+ {core.int maxResults, core.String pageToken}) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -755,38 +787,42 @@ class ZoneViewsResourceApi { |
_queryParams["pageToken"] = [pageToken]; |
} |
- _url = commons.Escaper.ecapeVariable('$projectName') + '/zones/' + commons.Escaper.ecapeVariable('$zone') + '/resourceViews/' + commons.Escaper.ecapeVariable('$resourceViewName') + '/resources'; |
- |
- var _response = _requester.request(_url, |
- "POST", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
- return _response.then((data) => new ZoneViewsListResourcesResponse.fromJson(data)); |
+ _url = commons.Escaper.ecapeVariable('$projectName') + |
+ '/zones/' + |
+ commons.Escaper.ecapeVariable('$zone') + |
+ '/resourceViews/' + |
+ commons.Escaper.ecapeVariable('$resourceViewName') + |
+ '/resources'; |
+ |
+ var _response = _requester.request(_url, "POST", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
+ return _response |
+ .then((data) => new ZoneViewsListResourcesResponse.fromJson(data)); |
} |
- /** |
- * Remove resources from the view. |
- * |
- * [request] - The metadata request object. |
- * |
- * Request parameters: |
- * |
- * [projectName] - The project name of the resource view. |
- * |
- * [zone] - The zone name of the resource view. |
- * |
- * [resourceViewName] - The name of the resource view. |
- * |
- * 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 removeresources(ZoneViewsRemoveResourcesRequest request, core.String projectName, core.String zone, core.String resourceViewName) { |
+ /// Remove resources from the view. |
+ /// |
+ /// [request] - The metadata request object. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [projectName] - The project name of the resource view. |
+ /// |
+ /// [zone] - The zone name of the resource view. |
+ /// |
+ /// [resourceViewName] - The name of the resource view. |
+ /// |
+ /// 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 removeresources(ZoneViewsRemoveResourcesRequest request, |
+ core.String projectName, core.String zone, core.String resourceViewName) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -809,27 +845,29 @@ class ZoneViewsResourceApi { |
_downloadOptions = null; |
- _url = commons.Escaper.ecapeVariable('$projectName') + '/zones/' + commons.Escaper.ecapeVariable('$zone') + '/resourceViews/' + commons.Escaper.ecapeVariable('$resourceViewName') + '/removeResources'; |
- |
- var _response = _requester.request(_url, |
- "POST", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ _url = commons.Escaper.ecapeVariable('$projectName') + |
+ '/zones/' + |
+ commons.Escaper.ecapeVariable('$zone') + |
+ '/resourceViews/' + |
+ commons.Escaper.ecapeVariable('$resourceViewName') + |
+ '/removeResources'; |
+ |
+ var _response = _requester.request(_url, "POST", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => null); |
} |
- |
} |
- |
- |
-/** The Label to be applied to the resource views. */ |
+/// The Label to be applied to the resource views. |
class Label { |
- /** Key of the label. */ |
+ /// Key of the label. |
core.String key; |
- /** Value of the label. */ |
+ |
+ /// Value of the label. |
core.String value; |
Label(); |
@@ -844,7 +882,8 @@ class Label { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (key != null) { |
_json["key"] = key; |
} |
@@ -855,9 +894,9 @@ class Label { |
} |
} |
-/** The request to add resources to the resource view. */ |
+/// The request to add resources to the resource view. |
class RegionViewsAddResourcesRequest { |
- /** The list of resources to be added. */ |
+ /// The list of resources to be added. |
core.List<core.String> resources; |
RegionViewsAddResourcesRequest(); |
@@ -869,7 +908,8 @@ class RegionViewsAddResourcesRequest { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (resources != null) { |
_json["resources"] = resources; |
} |
@@ -877,9 +917,9 @@ class RegionViewsAddResourcesRequest { |
} |
} |
-/** The response to a resource view insert request. */ |
+/// The response to a resource view insert request. |
class RegionViewsInsertResponse { |
- /** The resource view object inserted. */ |
+ /// The resource view object inserted. |
ResourceView resource; |
RegionViewsInsertResponse(); |
@@ -891,7 +931,8 @@ class RegionViewsInsertResponse { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (resource != null) { |
_json["resource"] = (resource).toJson(); |
} |
@@ -899,11 +940,12 @@ class RegionViewsInsertResponse { |
} |
} |
-/** The response to the list resource request. */ |
+/// The response to the list resource request. |
class RegionViewsListResourcesResponse { |
- /** The resources in the view. */ |
+ /// The resources in the view. |
core.List<core.String> members; |
- /** A token used for pagination. */ |
+ |
+ /// A token used for pagination. |
core.String nextPageToken; |
RegionViewsListResourcesResponse(); |
@@ -918,7 +960,8 @@ class RegionViewsListResourcesResponse { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (members != null) { |
_json["members"] = members; |
} |
@@ -929,11 +972,12 @@ class RegionViewsListResourcesResponse { |
} |
} |
-/** The response to the list resource view request. */ |
+/// The response to the list resource view request. |
class RegionViewsListResponse { |
- /** A token used for pagination. */ |
+ /// A token used for pagination. |
core.String nextPageToken; |
- /** The list of resource views that meet the criteria. */ |
+ |
+ /// The list of resource views that meet the criteria. |
core.List<ResourceView> resourceViews; |
RegionViewsListResponse(); |
@@ -943,25 +987,29 @@ class RegionViewsListResponse { |
nextPageToken = _json["nextPageToken"]; |
} |
if (_json.containsKey("resourceViews")) { |
- resourceViews = _json["resourceViews"].map((value) => new ResourceView.fromJson(value)).toList(); |
+ resourceViews = _json["resourceViews"] |
+ .map((value) => new ResourceView.fromJson(value)) |
+ .toList(); |
} |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (nextPageToken != null) { |
_json["nextPageToken"] = nextPageToken; |
} |
if (resourceViews != null) { |
- _json["resourceViews"] = resourceViews.map((value) => (value).toJson()).toList(); |
+ _json["resourceViews"] = |
+ resourceViews.map((value) => (value).toJson()).toList(); |
} |
return _json; |
} |
} |
-/** The request to remove resources from the resource view. */ |
+/// The request to remove resources from the resource view. |
class RegionViewsRemoveResourcesRequest { |
- /** The list of resources to be removed. */ |
+ /// The list of resources to be removed. |
core.List<core.String> resources; |
RegionViewsRemoveResourcesRequest(); |
@@ -973,7 +1021,8 @@ class RegionViewsRemoveResourcesRequest { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (resources != null) { |
_json["resources"] = resources; |
} |
@@ -981,27 +1030,36 @@ class RegionViewsRemoveResourcesRequest { |
} |
} |
-/** The resource view object. */ |
+/// The resource view object. |
class ResourceView { |
- /** The creation time of the resource view. */ |
+ /// The creation time of the resource view. |
core.String creationTime; |
- /** The detailed description of the resource view. */ |
+ |
+ /// The detailed description of the resource view. |
core.String description; |
- /** [Output Only] The ID of the resource view. */ |
+ |
+ /// [Output Only] The ID of the resource view. |
core.String id; |
- /** Type of the resource. */ |
+ |
+ /// Type of the resource. |
core.String kind; |
- /** The labels for events. */ |
+ |
+ /// The labels for events. |
core.List<Label> labels; |
- /** The last modified time of the view. Not supported yet. */ |
+ |
+ /// The last modified time of the view. Not supported yet. |
core.String lastModified; |
- /** A list of all resources in the resource view. */ |
+ |
+ /// A list of all resources in the resource view. |
core.List<core.String> members; |
- /** The name of the resource view. */ |
+ |
+ /// The name of the resource view. |
core.String name; |
- /** The total number of resources in the resource view. */ |
+ |
+ /// The total number of resources in the resource view. |
core.int numMembers; |
- /** [Output Only] A self-link to the resource view. */ |
+ |
+ /// [Output Only] A self-link to the resource view. |
core.String selfLink; |
ResourceView(); |
@@ -1020,7 +1078,8 @@ class ResourceView { |
kind = _json["kind"]; |
} |
if (_json.containsKey("labels")) { |
- labels = _json["labels"].map((value) => new Label.fromJson(value)).toList(); |
+ labels = |
+ _json["labels"].map((value) => new Label.fromJson(value)).toList(); |
} |
if (_json.containsKey("lastModified")) { |
lastModified = _json["lastModified"]; |
@@ -1040,7 +1099,8 @@ class ResourceView { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (creationTime != null) { |
_json["creationTime"] = creationTime; |
} |
@@ -1075,9 +1135,9 @@ class ResourceView { |
} |
} |
-/** The request to add resources to the resource view. */ |
+/// The request to add resources to the resource view. |
class ZoneViewsAddResourcesRequest { |
- /** The list of resources to be added. */ |
+ /// The list of resources to be added. |
core.List<core.String> resources; |
ZoneViewsAddResourcesRequest(); |
@@ -1089,7 +1149,8 @@ class ZoneViewsAddResourcesRequest { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (resources != null) { |
_json["resources"] = resources; |
} |
@@ -1097,9 +1158,9 @@ class ZoneViewsAddResourcesRequest { |
} |
} |
-/** The response to an insert request. */ |
+/// The response to an insert request. |
class ZoneViewsInsertResponse { |
- /** The resource view object that has been inserted. */ |
+ /// The resource view object that has been inserted. |
ResourceView resource; |
ZoneViewsInsertResponse(); |
@@ -1111,7 +1172,8 @@ class ZoneViewsInsertResponse { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (resource != null) { |
_json["resource"] = (resource).toJson(); |
} |
@@ -1119,11 +1181,12 @@ class ZoneViewsInsertResponse { |
} |
} |
-/** The response to a list resource request. */ |
+/// The response to a list resource request. |
class ZoneViewsListResourcesResponse { |
- /** The full URL of resources in the view. */ |
+ /// The full URL of resources in the view. |
core.List<core.String> members; |
- /** A token used for pagination. */ |
+ |
+ /// A token used for pagination. |
core.String nextPageToken; |
ZoneViewsListResourcesResponse(); |
@@ -1138,7 +1201,8 @@ class ZoneViewsListResourcesResponse { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (members != null) { |
_json["members"] = members; |
} |
@@ -1149,11 +1213,12 @@ class ZoneViewsListResourcesResponse { |
} |
} |
-/** The response to a list request. */ |
+/// The response to a list request. |
class ZoneViewsListResponse { |
- /** A token used for pagination. */ |
+ /// A token used for pagination. |
core.String nextPageToken; |
- /** The result that contains all resource views that meet the criteria. */ |
+ |
+ /// The result that contains all resource views that meet the criteria. |
core.List<ResourceView> resourceViews; |
ZoneViewsListResponse(); |
@@ -1163,25 +1228,29 @@ class ZoneViewsListResponse { |
nextPageToken = _json["nextPageToken"]; |
} |
if (_json.containsKey("resourceViews")) { |
- resourceViews = _json["resourceViews"].map((value) => new ResourceView.fromJson(value)).toList(); |
+ resourceViews = _json["resourceViews"] |
+ .map((value) => new ResourceView.fromJson(value)) |
+ .toList(); |
} |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (nextPageToken != null) { |
_json["nextPageToken"] = nextPageToken; |
} |
if (resourceViews != null) { |
- _json["resourceViews"] = resourceViews.map((value) => (value).toJson()).toList(); |
+ _json["resourceViews"] = |
+ resourceViews.map((value) => (value).toJson()).toList(); |
} |
return _json; |
} |
} |
-/** The request to remove resources from the resource view. */ |
+/// The request to remove resources from the resource view. |
class ZoneViewsRemoveResourcesRequest { |
- /** The list of resources to be removed. */ |
+ /// The list of resources to be removed. |
core.List<core.String> resources; |
ZoneViewsRemoveResourcesRequest(); |
@@ -1193,7 +1262,8 @@ class ZoneViewsRemoveResourcesRequest { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (resources != null) { |
_json["resources"] = resources; |
} |