| Index: generated/googleapis/lib/dns/v1.dart
|
| diff --git a/generated/googleapis_beta/lib/dns/v1beta1.dart b/generated/googleapis/lib/dns/v1.dart
|
| similarity index 97%
|
| copy from generated/googleapis_beta/lib/dns/v1beta1.dart
|
| copy to generated/googleapis/lib/dns/v1.dart
|
| index 40eebefc2347d47d074342bc9ca279a0e4fe871c..7c333e949db3f97ef97710d6ef46f186cacfcfe5 100644
|
| --- a/generated/googleapis_beta/lib/dns/v1beta1.dart
|
| +++ b/generated/googleapis/lib/dns/v1.dart
|
| @@ -1,6 +1,6 @@
|
| // This is a generated file (see the discoveryapis_generator project).
|
|
|
| -library googleapis_beta.dns.v1beta1;
|
| +library googleapis.dns.v1;
|
|
|
| import 'dart:core' as core;
|
| import 'dart:async' as async;
|
| @@ -12,7 +12,7 @@ import 'package:http/http.dart' as http;
|
| export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show
|
| ApiRequestError, DetailedApiRequestError;
|
|
|
| -const core.String USER_AGENT = 'dart-api-client dns/v1beta1';
|
| +const core.String USER_AGENT = 'dart-api-client dns/v1';
|
|
|
| /**
|
| * The Google Cloud DNS API provides services for configuring and serving
|
| @@ -22,6 +22,12 @@ class DnsApi {
|
| /** View and manage your data across Google Cloud Platform services */
|
| static const CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platform";
|
|
|
| + /**
|
| + * MESSAGE UNDER CONSTRUCTION View your data across Google Cloud Platform
|
| + * services
|
| + */
|
| + static const CloudPlatformReadOnlyScope = "https://www.googleapis.com/auth/cloud-platform.read-only";
|
| +
|
| /** View your DNS records hosted by Google Cloud DNS */
|
| static const NdevClouddnsReadonlyScope = "https://www.googleapis.com/auth/ndev.clouddns.readonly";
|
|
|
| @@ -36,7 +42,7 @@ class DnsApi {
|
| ProjectsResourceApi get projects => new ProjectsResourceApi(_requester);
|
| ResourceRecordSetsResourceApi get resourceRecordSets => new ResourceRecordSetsResourceApi(_requester);
|
|
|
| - DnsApi(http.Client client, {core.String rootUrl: "https://www.googleapis.com/", core.String servicePath: "dns/v1beta1/projects/"}) :
|
| + DnsApi(http.Client client, {core.String rootUrl: "https://www.googleapis.com/", core.String servicePath: "dns/v1/projects/"}) :
|
| _requester = new commons.ApiRequester(client, rootUrl, servicePath, USER_AGENT);
|
| }
|
|
|
| @@ -367,6 +373,8 @@ class ManagedZonesResourceApi {
|
| *
|
| * [project] - Identifies the project addressed by this request.
|
| *
|
| + * [dnsName] - Restricts the list to return only zones with this domain name.
|
| + *
|
| * [maxResults] - Optional. Maximum number of results to be returned. If
|
| * unspecified, the server will decide how many results to return.
|
| *
|
| @@ -381,7 +389,7 @@ class ManagedZonesResourceApi {
|
| * If the used [http.Client] completes with an error when making a REST call,
|
| * this method will complete with the same error.
|
| */
|
| - async.Future<ManagedZonesListResponse> list(core.String project, {core.int maxResults, core.String pageToken}) {
|
| + async.Future<ManagedZonesListResponse> list(core.String project, {core.String dnsName, core.int maxResults, core.String pageToken}) {
|
| var _url = null;
|
| var _queryParams = new core.Map();
|
| var _uploadMedia = null;
|
| @@ -392,6 +400,9 @@ class ManagedZonesResourceApi {
|
| if (project == null) {
|
| throw new core.ArgumentError("Parameter project is required.");
|
| }
|
| + if (dnsName != null) {
|
| + _queryParams["dnsName"] = [dnsName];
|
| + }
|
| if (maxResults != null) {
|
| _queryParams["maxResults"] = ["${maxResults}"];
|
| }
|
| @@ -561,7 +572,12 @@ class Change {
|
| * text format.
|
| */
|
| core.String startTime;
|
| - /** Status of the operation (output only). */
|
| + /**
|
| + * Status of the operation (output only).
|
| + * Possible string values are:
|
| + * - "done"
|
| + * - "pending"
|
| + */
|
| core.String status;
|
|
|
| Change();
|
|
|