| OLD | NEW |
| 1 // This is a generated file (see the discoveryapis_generator project). | 1 // This is a generated file (see the discoveryapis_generator project). |
| 2 | 2 |
| 3 library googleapis.siteVerification.v1; | 3 library googleapis.siteVerification.v1; |
| 4 | 4 |
| 5 import 'dart:core' as core; | 5 import 'dart:core' as core; |
| 6 import 'dart:async' as async; | 6 import 'dart:async' as async; |
| 7 import 'dart:convert' as convert; | 7 import 'dart:convert' as convert; |
| 8 | 8 |
| 9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; | 9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; |
| 10 import 'package:http/http.dart' as http; | 10 import 'package:http/http.dart' as http; |
| 11 | 11 |
| 12 export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show | 12 export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show |
| 13 ApiRequestError, DetailedApiRequestError; | 13 ApiRequestError, DetailedApiRequestError; |
| 14 | 14 |
| 15 const core.String USER_AGENT = 'dart-api-client siteVerification/v1'; | 15 const core.String USER_AGENT = 'dart-api-client siteVerification/v1'; |
| 16 | 16 |
| 17 /** | 17 /** Verifies ownership of websites or domains with Google. */ |
| 18 * Lets you programatically verify ownership of websites or domains with Google. | |
| 19 */ | |
| 20 class SiteVerificationApi { | 18 class SiteVerificationApi { |
| 21 /** Manage the list of sites and domains you control */ | 19 /** Manage the list of sites and domains you control */ |
| 22 static const SiteverificationScope = "https://www.googleapis.com/auth/siteveri
fication"; | 20 static const SiteverificationScope = "https://www.googleapis.com/auth/siteveri
fication"; |
| 23 | 21 |
| 24 /** Manage your new site verifications with Google */ | 22 /** Manage your new site verifications with Google */ |
| 25 static const SiteverificationVerifyOnlyScope = "https://www.googleapis.com/aut
h/siteverification.verify_only"; | 23 static const SiteverificationVerifyOnlyScope = "https://www.googleapis.com/aut
h/siteverification.verify_only"; |
| 26 | 24 |
| 27 | 25 |
| 28 final commons.ApiRequester _requester; | 26 final commons.ApiRequester _requester; |
| 29 | 27 |
| (...skipping 491 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 521 } | 519 } |
| 522 if (owners != null) { | 520 if (owners != null) { |
| 523 _json["owners"] = owners; | 521 _json["owners"] = owners; |
| 524 } | 522 } |
| 525 if (site != null) { | 523 if (site != null) { |
| 526 _json["site"] = (site).toJson(); | 524 _json["site"] = (site).toJson(); |
| 527 } | 525 } |
| 528 return _json; | 526 return _json; |
| 529 } | 527 } |
| 530 } | 528 } |
| OLD | NEW |