google-api-client 0.9.8 → 0.10.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +15 -8
- data/CHANGELOG.md +84 -0
- data/Gemfile +10 -2
- data/README.md +10 -2
- data/api_names.yaml +37172 -135
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +35 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1200 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +526 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +844 -0
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +310 -28
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +84 -0
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +60 -8
- data/generated/google/apis/adexchangeseller_v2_0.rb +2 -3
- data/generated/google/apis/adexchangeseller_v2_0/service.rb +1 -2
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +206 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +63 -0
- data/generated/google/apis/admin_directory_v1/service.rb +41 -2
- data/generated/google/apis/admin_reports_v1.rb +5 -5
- data/generated/google/apis/admin_reports_v1/service.rb +6 -6
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/classes.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/classes.rb +1 -2
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analytics_v3/classes.rb +379 -3
- data/generated/google/apis/analytics_v3/representations.rb +136 -0
- data/generated/google/apis/analytics_v3/service.rb +256 -0
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +858 -823
- data/generated/google/apis/analyticsreporting_v4/representations.rb +194 -193
- data/generated/google/apis/analyticsreporting_v4/service.rb +4 -4
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +913 -220
- data/generated/google/apis/androidenterprise_v1/representations.rb +337 -30
- data/generated/google/apis/androidenterprise_v1/service.rb +1163 -561
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +230 -8
- data/generated/google/apis/androidpublisher_v2/representations.rb +90 -0
- data/generated/google/apis/androidpublisher_v2/service.rb +116 -3
- data/generated/google/apis/appengine_v1beta5.rb +7 -1
- data/generated/google/apis/appengine_v1beta5/classes.rb +810 -395
- data/generated/google/apis/appengine_v1beta5/representations.rb +188 -22
- data/generated/google/apis/appengine_v1beta5/service.rb +343 -39
- data/generated/google/apis/appsactivity_v1.rb +3 -3
- data/generated/google/apis/appsactivity_v1/classes.rb +7 -0
- data/generated/google/apis/appsactivity_v1/representations.rb +1 -0
- data/generated/google/apis/appsactivity_v1/service.rb +1 -1
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +360 -38
- data/generated/google/apis/bigquery_v2/representations.rb +106 -0
- data/generated/google/apis/bigquery_v2/service.rb +18 -4
- data/generated/google/apis/books_v1.rb +2 -2
- data/generated/google/apis/books_v1/classes.rb +83 -0
- data/generated/google/apis/books_v1/representations.rb +35 -0
- data/generated/google/apis/books_v1/service.rb +7 -3
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +208 -5
- data/generated/google/apis/calendar_v3/representations.rb +97 -0
- data/generated/google/apis/civicinfo_v2.rb +3 -2
- data/generated/google/apis/civicinfo_v2/classes.rb +377 -5
- data/generated/google/apis/civicinfo_v2/representations.rb +149 -0
- data/generated/google/apis/civicinfo_v2/service.rb +27 -6
- data/generated/google/apis/classroom_v1.rb +22 -25
- data/generated/google/apis/classroom_v1/classes.rb +998 -761
- data/generated/google/apis/classroom_v1/representations.rb +263 -198
- data/generated/google/apis/classroom_v1/service.rb +1349 -672
- data/generated/google/apis/cloudbilling_v1.rb +3 -3
- data/generated/google/apis/cloudbilling_v1/classes.rb +76 -75
- data/generated/google/apis/cloudbilling_v1/representations.rb +17 -17
- data/generated/google/apis/cloudbilling_v1/service.rb +117 -110
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +661 -264
- data/generated/google/apis/cloudbuild_v1/representations.rb +198 -48
- data/generated/google/apis/cloudbuild_v1/service.rb +259 -44
- data/generated/google/apis/clouddebugger_v2.rb +5 -8
- data/generated/google/apis/clouddebugger_v2/classes.rb +686 -616
- data/generated/google/apis/clouddebugger_v2/representations.rb +151 -151
- data/generated/google/apis/clouddebugger_v2/service.rb +165 -159
- data/generated/google/apis/cloudkms_v1.rb +35 -0
- data/generated/google/apis/cloudkms_v1/classes.rb +1022 -0
- data/generated/google/apis/cloudkms_v1/representations.rb +448 -0
- data/generated/google/apis/cloudkms_v1/service.rb +933 -0
- data/generated/google/apis/cloudkms_v1beta1.rb +35 -0
- data/generated/google/apis/cloudkms_v1beta1/classes.rb +1039 -0
- data/generated/google/apis/cloudkms_v1beta1/representations.rb +448 -0
- data/generated/google/apis/cloudkms_v1beta1/service.rb +933 -0
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +4 -4
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1529 -167
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +491 -26
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +1593 -135
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +1155 -235
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +344 -44
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +702 -310
- data/generated/google/apis/cloudtrace_v1.rb +9 -9
- data/generated/google/apis/cloudtrace_v1/classes.rb +98 -92
- data/generated/google/apis/cloudtrace_v1/representations.rb +24 -24
- data/generated/google/apis/cloudtrace_v1/service.rb +42 -37
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +7007 -3648
- data/generated/google/apis/compute_beta/representations.rb +1459 -120
- data/generated/google/apis/compute_beta/service.rb +7943 -3726
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +2567 -370
- data/generated/google/apis/compute_v1/representations.rb +855 -0
- data/generated/google/apis/compute_v1/service.rb +6388 -2908
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +287 -16
- data/generated/google/apis/container_v1/representations.rb +113 -2
- data/generated/google/apis/container_v1/service.rb +130 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +778 -10
- data/generated/google/apis/content_v2/representations.rb +339 -0
- data/generated/google/apis/content_v2/service.rb +364 -49
- data/generated/google/apis/dataflow_v1b3.rb +37 -0
- data/generated/google/apis/dataflow_v1b3/classes.rb +4941 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +2037 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +957 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +1235 -963
- data/generated/google/apis/dataproc_v1/representations.rb +299 -225
- data/generated/google/apis/dataproc_v1/service.rb +277 -192
- data/generated/google/apis/datastore_v1.rb +38 -0
- data/generated/google/apis/datastore_v1/classes.rb +1289 -0
- data/generated/google/apis/datastore_v1/representations.rb +572 -0
- data/generated/google/apis/datastore_v1/service.rb +259 -0
- data/generated/google/apis/datastore_v1beta3.rb +38 -0
- data/generated/google/apis/datastore_v1beta3/classes.rb +1284 -0
- data/generated/google/apis/datastore_v1beta3/representations.rb +572 -0
- data/generated/google/apis/datastore_v1beta3/service.rb +259 -0
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +436 -3
- data/generated/google/apis/deploymentmanager_v2/representations.rb +178 -0
- data/generated/google/apis/deploymentmanager_v2/service.rb +226 -61
- data/generated/google/apis/dfareporting_v2_5.rb +40 -0
- data/generated/google/apis/dfareporting_v2_5/classes.rb +11225 -0
- data/generated/google/apis/dfareporting_v2_5/representations.rb +3982 -0
- data/generated/google/apis/dfareporting_v2_5/service.rb +8755 -0
- data/generated/google/apis/dfareporting_v2_6.rb +40 -0
- data/generated/google/apis/dfareporting_v2_6/classes.rb +11586 -0
- data/generated/google/apis/dfareporting_v2_6/representations.rb +4119 -0
- data/generated/google/apis/dfareporting_v2_6/service.rb +9025 -0
- data/generated/google/apis/dfareporting_v2_7.rb +40 -0
- data/generated/google/apis/dfareporting_v2_7/classes.rb +11876 -0
- data/generated/google/apis/dfareporting_v2_7/representations.rb +4243 -0
- data/generated/google/apis/dfareporting_v2_7/service.rb +9095 -0
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +1 -1
- data/generated/google/apis/dns_v2beta1.rb +43 -0
- data/generated/google/apis/dns_v2beta1/classes.rb +915 -0
- data/generated/google/apis/dns_v2beta1/representations.rb +368 -0
- data/generated/google/apis/dns_v2beta1/service.rb +768 -0
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +79 -86
- data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +25 -28
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +10 -8
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +6 -4
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +595 -37
- data/generated/google/apis/drive_v2/representations.rb +140 -0
- data/generated/google/apis/drive_v2/service.rb +406 -40
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +507 -40
- data/generated/google/apis/drive_v3/representations.rb +105 -0
- data/generated/google/apis/drive_v3/service.rb +326 -29
- data/generated/google/apis/fitness_v1.rb +38 -2
- data/generated/google/apis/fitness_v1/classes.rb +65 -7
- data/generated/google/apis/fitness_v1/representations.rb +20 -0
- data/generated/google/apis/fitness_v1/service.rb +17 -18
- data/generated/google/apis/fusiontables_v2.rb +1 -1
- data/generated/google/apis/fusiontables_v2/classes.rb +4 -3
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/genomics_v1.rb +10 -12
- data/generated/google/apis/genomics_v1/classes.rb +2276 -2165
- data/generated/google/apis/genomics_v1/representations.rb +468 -496
- data/generated/google/apis/genomics_v1/service.rb +978 -882
- data/generated/google/apis/gmail_v1.rb +11 -2
- data/generated/google/apis/gmail_v1/classes.rb +655 -5
- data/generated/google/apis/gmail_v1/representations.rb +261 -0
- data/generated/google/apis/gmail_v1/service.rb +1211 -48
- data/generated/google/apis/groupssettings_v1.rb +2 -2
- data/generated/google/apis/groupssettings_v1/classes.rb +12 -0
- data/generated/google/apis/groupssettings_v1/representations.rb +2 -0
- data/generated/google/apis/iam_v1.rb +2 -2
- data/generated/google/apis/iam_v1/classes.rb +446 -368
- data/generated/google/apis/iam_v1/representations.rb +109 -91
- data/generated/google/apis/iam_v1/service.rb +249 -162
- data/generated/google/apis/identitytoolkit_v3.rb +7 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +254 -2
- data/generated/google/apis/identitytoolkit_v3/representations.rb +38 -0
- data/generated/google/apis/kgsearch_v1.rb +2 -3
- data/generated/google/apis/kgsearch_v1/classes.rb +13 -13
- data/generated/google/apis/kgsearch_v1/representations.rb +2 -2
- data/generated/google/apis/kgsearch_v1/service.rb +26 -24
- data/generated/google/apis/language_v1beta1.rb +36 -0
- data/generated/google/apis/language_v1beta1/classes.rb +757 -0
- data/generated/google/apis/language_v1beta1/representations.rb +339 -0
- data/generated/google/apis/language_v1beta1/service.rb +185 -0
- data/generated/google/apis/licensing_v1.rb +3 -3
- data/generated/google/apis/licensing_v1/classes.rb +14 -2
- data/generated/google/apis/licensing_v1/representations.rb +2 -0
- data/generated/google/apis/licensing_v1/service.rb +1 -1
- data/generated/google/apis/logging_v2beta1.rb +6 -6
- data/generated/google/apis/logging_v2beta1/classes.rb +900 -775
- data/generated/google/apis/logging_v2beta1/representations.rb +163 -142
- data/generated/google/apis/logging_v2beta1/service.rb +427 -155
- data/generated/google/apis/manufacturers_v1.rb +34 -0
- data/generated/google/apis/manufacturers_v1/classes.rb +605 -0
- data/generated/google/apis/manufacturers_v1/representations.rb +223 -0
- data/generated/google/apis/manufacturers_v1/service.rb +138 -0
- data/generated/google/apis/mirror_v1.rb +2 -2
- data/generated/google/apis/mirror_v1/service.rb +1 -1
- data/generated/google/apis/monitoring_v3.rb +45 -0
- data/generated/google/apis/monitoring_v3/classes.rb +1333 -0
- data/generated/google/apis/monitoring_v3/representations.rb +516 -0
- data/generated/google/apis/monitoring_v3/service.rb +706 -0
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/pagespeedonline_v2.rb +1 -1
- data/generated/google/apis/partners_v2.rb +3 -3
- data/generated/google/apis/partners_v2/classes.rb +1831 -477
- data/generated/google/apis/partners_v2/representations.rb +571 -114
- data/generated/google/apis/partners_v2/service.rb +898 -167
- data/generated/google/apis/people_v1.rb +15 -16
- data/generated/google/apis/people_v1/classes.rb +1047 -859
- data/generated/google/apis/people_v1/representations.rb +252 -213
- data/generated/google/apis/people_v1/service.rb +75 -62
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +527 -456
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +101 -100
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +467 -343
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +363 -310
- data/generated/google/apis/pubsub_v1/representations.rb +76 -76
- data/generated/google/apis/pubsub_v1/service.rb +464 -335
- data/generated/google/apis/qpx_express_v1.rb +1 -1
- data/generated/google/apis/qpx_express_v1/classes.rb +6 -0
- data/generated/google/apis/qpx_express_v1/representations.rb +1 -0
- data/generated/google/apis/replicapool_v1beta2.rb +1 -1
- data/generated/google/apis/replicapoolupdater_v1beta1.rb +4 -2
- data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +3 -1
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/reseller_v1/classes.rb +222 -61
- data/generated/google/apis/reseller_v1/representations.rb +28 -0
- data/generated/google/apis/reseller_v1/service.rb +240 -47
- data/generated/google/apis/script_v1.rb +19 -19
- data/generated/google/apis/script_v1/classes.rb +151 -137
- data/generated/google/apis/script_v1/representations.rb +26 -26
- data/generated/google/apis/script_v1/service.rb +9 -8
- data/generated/google/apis/sheets_v4.rb +7 -7
- data/generated/google/apis/sheets_v4/classes.rb +4530 -3506
- data/generated/google/apis/sheets_v4/representations.rb +988 -737
- data/generated/google/apis/sheets_v4/service.rb +266 -99
- data/generated/google/apis/site_verification_v1.rb +1 -1
- data/generated/google/apis/slides_v1.rb +49 -0
- data/generated/google/apis/slides_v1/classes.rb +4480 -0
- data/generated/google/apis/slides_v1/representations.rb +1926 -0
- data/generated/google/apis/slides_v1/service.rb +245 -0
- data/generated/google/apis/speech_v1beta1.rb +34 -0
- data/generated/google/apis/speech_v1beta1/classes.rb +498 -0
- data/generated/google/apis/speech_v1beta1/representations.rb +206 -0
- data/generated/google/apis/speech_v1beta1/service.rb +270 -0
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +131 -10
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +50 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +92 -2
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +205 -21
- data/generated/google/apis/storage_v1/representations.rb +51 -1
- data/generated/google/apis/storage_v1/service.rb +263 -9
- data/generated/google/apis/tagmanager_v1.rb +5 -5
- data/generated/google/apis/translate_v2.rb +2 -2
- data/generated/google/apis/translate_v2/service.rb +1 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1275 -731
- data/generated/google/apis/vision_v1/representations.rb +378 -111
- data/generated/google/apis/vision_v1/service.rb +4 -4
- data/generated/google/apis/webmasters_v3.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1/classes.rb +0 -209
- data/generated/google/apis/youtube_analytics_v1/representations.rb +0 -99
- data/generated/google/apis/youtube_analytics_v1/service.rb +5 -77
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +155 -0
- data/generated/google/apis/youtube_partner_v1/representations.rb +69 -0
- data/generated/google/apis/youtube_partner_v1/service.rb +107 -3
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +430 -22
- data/generated/google/apis/youtube_v3/representations.rb +171 -4
- data/generated/google/apis/youtube_v3/service.rb +100 -9
- data/generated/google/apis/youtubereporting_v1.rb +4 -4
- data/generated/google/apis/youtubereporting_v1/classes.rb +140 -131
- data/generated/google/apis/youtubereporting_v1/representations.rb +37 -37
- data/generated/google/apis/youtubereporting_v1/service.rb +139 -135
- data/google-api-client.gemspec +4 -3
- data/lib/google/apis/core/api_command.rb +16 -6
- data/lib/google/apis/core/base_service.rb +17 -9
- data/lib/google/apis/core/download.rb +7 -2
- data/lib/google/apis/core/http_command.rb +5 -1
- data/lib/google/apis/core/json_representation.rb +2 -2
- data/lib/google/apis/core/upload.rb +7 -1
- data/lib/google/apis/errors.rb +6 -2
- data/lib/google/apis/generator/annotator.rb +6 -0
- data/lib/google/apis/version.rb +1 -1
- data/samples/cli/lib/samples/bigquery.rb +101 -0
- data/samples/cli/lib/samples/calendar.rb +1 -1
- data/samples/cli/lib/samples/gmail.rb +74 -0
- data/samples/cli/lib/samples/sheets.rb +61 -0
- data/samples/cli/lib/samples/you_tube.rb +4 -1
- data/sync.rb +71 -0
- metadata +86 -18
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/cloud-dns
|
26
26
|
module DnsV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20170322'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -146,7 +146,7 @@ module Google
|
|
146
146
|
attr_accessor :kind
|
147
147
|
|
148
148
|
# User assigned name for this resource. Must be unique within the project. The
|
149
|
-
# name must be 1-
|
149
|
+
# name must be 1-63 characters long, must begin with a letter, end with a letter
|
150
150
|
# or digit, and only contain lowercase letters, digits or dashes.
|
151
151
|
# Corresponds to the JSON property `name`
|
152
152
|
# @return [String]
|
@@ -0,0 +1,43 @@
|
|
1
|
+
# Copyright 2015 Google Inc.
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'google/apis/dns_v2beta1/service.rb'
|
16
|
+
require 'google/apis/dns_v2beta1/classes.rb'
|
17
|
+
require 'google/apis/dns_v2beta1/representations.rb'
|
18
|
+
|
19
|
+
module Google
|
20
|
+
module Apis
|
21
|
+
# Google Cloud DNS API
|
22
|
+
#
|
23
|
+
# Configures and serves authoritative DNS records.
|
24
|
+
#
|
25
|
+
# @see https://developers.google.com/cloud-dns
|
26
|
+
module DnsV2beta1
|
27
|
+
VERSION = 'V2beta1'
|
28
|
+
REVISION = '20170322'
|
29
|
+
|
30
|
+
# View and manage your data across Google Cloud Platform services
|
31
|
+
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
32
|
+
|
33
|
+
# View your data across Google Cloud Platform services
|
34
|
+
AUTH_CLOUD_PLATFORM_READ_ONLY = 'https://www.googleapis.com/auth/cloud-platform.read-only'
|
35
|
+
|
36
|
+
# View your DNS records hosted by Google Cloud DNS
|
37
|
+
AUTH_NDEV_CLOUDDNS_READONLY = 'https://www.googleapis.com/auth/ndev.clouddns.readonly'
|
38
|
+
|
39
|
+
# View and manage your DNS records hosted by Google Cloud DNS
|
40
|
+
AUTH_NDEV_CLOUDDNS_READWRITE = 'https://www.googleapis.com/auth/ndev.clouddns.readwrite'
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
@@ -0,0 +1,915 @@
|
|
1
|
+
# Copyright 2015 Google Inc.
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'date'
|
16
|
+
require 'google/apis/core/base_service'
|
17
|
+
require 'google/apis/core/json_representation'
|
18
|
+
require 'google/apis/core/hashable'
|
19
|
+
require 'google/apis/errors'
|
20
|
+
|
21
|
+
module Google
|
22
|
+
module Apis
|
23
|
+
module DnsV2beta1
|
24
|
+
|
25
|
+
# An atomic update to a collection of ResourceRecordSets.
|
26
|
+
class Change
|
27
|
+
include Google::Apis::Core::Hashable
|
28
|
+
|
29
|
+
# Which ResourceRecordSets to add?
|
30
|
+
# Corresponds to the JSON property `additions`
|
31
|
+
# @return [Array<Google::Apis::DnsV2beta1::ResourceRecordSet>]
|
32
|
+
attr_accessor :additions
|
33
|
+
|
34
|
+
# Which ResourceRecordSets to remove? Must match existing data exactly.
|
35
|
+
# Corresponds to the JSON property `deletions`
|
36
|
+
# @return [Array<Google::Apis::DnsV2beta1::ResourceRecordSet>]
|
37
|
+
attr_accessor :deletions
|
38
|
+
|
39
|
+
# Unique identifier for the resource; defined by the server (output only).
|
40
|
+
# Corresponds to the JSON property `id`
|
41
|
+
# @return [String]
|
42
|
+
attr_accessor :id
|
43
|
+
|
44
|
+
# If the DNS queries for the zone will be served.
|
45
|
+
# Corresponds to the JSON property `isServing`
|
46
|
+
# @return [Boolean]
|
47
|
+
attr_accessor :is_serving
|
48
|
+
alias_method :is_serving?, :is_serving
|
49
|
+
|
50
|
+
# Identifies what kind of resource this is. Value: the fixed string "dns#change".
|
51
|
+
# Corresponds to the JSON property `kind`
|
52
|
+
# @return [String]
|
53
|
+
attr_accessor :kind
|
54
|
+
|
55
|
+
# The time that this operation was started by the server (output only). This is
|
56
|
+
# in RFC3339 text format.
|
57
|
+
# Corresponds to the JSON property `startTime`
|
58
|
+
# @return [String]
|
59
|
+
attr_accessor :start_time
|
60
|
+
|
61
|
+
# Status of the operation (output only).
|
62
|
+
# Corresponds to the JSON property `status`
|
63
|
+
# @return [String]
|
64
|
+
attr_accessor :status
|
65
|
+
|
66
|
+
def initialize(**args)
|
67
|
+
update!(**args)
|
68
|
+
end
|
69
|
+
|
70
|
+
# Update properties of this object
|
71
|
+
def update!(**args)
|
72
|
+
@additions = args[:additions] if args.key?(:additions)
|
73
|
+
@deletions = args[:deletions] if args.key?(:deletions)
|
74
|
+
@id = args[:id] if args.key?(:id)
|
75
|
+
@is_serving = args[:is_serving] if args.key?(:is_serving)
|
76
|
+
@kind = args[:kind] if args.key?(:kind)
|
77
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
78
|
+
@status = args[:status] if args.key?(:status)
|
79
|
+
end
|
80
|
+
end
|
81
|
+
|
82
|
+
# The response to a request to enumerate Changes to a ResourceRecordSets
|
83
|
+
# collection.
|
84
|
+
class ChangesListResponse
|
85
|
+
include Google::Apis::Core::Hashable
|
86
|
+
|
87
|
+
# The requested changes.
|
88
|
+
# Corresponds to the JSON property `changes`
|
89
|
+
# @return [Array<Google::Apis::DnsV2beta1::Change>]
|
90
|
+
attr_accessor :changes
|
91
|
+
|
92
|
+
# Elements common to every response.
|
93
|
+
# Corresponds to the JSON property `header`
|
94
|
+
# @return [Google::Apis::DnsV2beta1::ResponseHeader]
|
95
|
+
attr_accessor :header
|
96
|
+
|
97
|
+
# Type of resource.
|
98
|
+
# Corresponds to the JSON property `kind`
|
99
|
+
# @return [String]
|
100
|
+
attr_accessor :kind
|
101
|
+
|
102
|
+
# The presence of this field indicates that there exist more results following
|
103
|
+
# your last page of results in pagination order. To fetch them, make another
|
104
|
+
# list request using this value as your pagination token.
|
105
|
+
# In this way you can retrieve the complete contents of even very large
|
106
|
+
# collections one page at a time. However, if the contents of the collection
|
107
|
+
# change between the first and last paginated list request, the set of all
|
108
|
+
# elements returned will be an inconsistent view of the collection. There is no
|
109
|
+
# way to retrieve a "snapshot" of collections larger than the maximum page size.
|
110
|
+
# Corresponds to the JSON property `nextPageToken`
|
111
|
+
# @return [String]
|
112
|
+
attr_accessor :next_page_token
|
113
|
+
|
114
|
+
def initialize(**args)
|
115
|
+
update!(**args)
|
116
|
+
end
|
117
|
+
|
118
|
+
# Update properties of this object
|
119
|
+
def update!(**args)
|
120
|
+
@changes = args[:changes] if args.key?(:changes)
|
121
|
+
@header = args[:header] if args.key?(:header)
|
122
|
+
@kind = args[:kind] if args.key?(:kind)
|
123
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
124
|
+
end
|
125
|
+
end
|
126
|
+
|
127
|
+
# A DNSSEC key pair.
|
128
|
+
class DnsKey
|
129
|
+
include Google::Apis::Core::Hashable
|
130
|
+
|
131
|
+
# String mnemonic specifying the DNSSEC algorithm of this key. Immutable after
|
132
|
+
# creation time.
|
133
|
+
# Corresponds to the JSON property `algorithm`
|
134
|
+
# @return [String]
|
135
|
+
attr_accessor :algorithm
|
136
|
+
|
137
|
+
# The time that this resource was created in the control plane. This is in
|
138
|
+
# RFC3339 text format. Output only.
|
139
|
+
# Corresponds to the JSON property `creationTime`
|
140
|
+
# @return [String]
|
141
|
+
attr_accessor :creation_time
|
142
|
+
|
143
|
+
# A mutable string of at most 1024 characters associated with this resource for
|
144
|
+
# the user's convenience. Has no effect on the resource's function.
|
145
|
+
# Corresponds to the JSON property `description`
|
146
|
+
# @return [String]
|
147
|
+
attr_accessor :description
|
148
|
+
|
149
|
+
# Cryptographic hashes of the DNSKEY resource record associated with this DnsKey.
|
150
|
+
# These digests are needed to construct a DS record that points at this DNS key.
|
151
|
+
# Output only.
|
152
|
+
# Corresponds to the JSON property `digests`
|
153
|
+
# @return [Array<Google::Apis::DnsV2beta1::DnsKeyDigest>]
|
154
|
+
attr_accessor :digests
|
155
|
+
|
156
|
+
# Unique identifier for the resource; defined by the server (output only).
|
157
|
+
# Corresponds to the JSON property `id`
|
158
|
+
# @return [String]
|
159
|
+
attr_accessor :id
|
160
|
+
|
161
|
+
# Active keys will be used to sign subsequent changes to the ManagedZone.
|
162
|
+
# Inactive keys will still be present as DNSKEY Resource Records for the use of
|
163
|
+
# resolvers validating existing signatures.
|
164
|
+
# Corresponds to the JSON property `isActive`
|
165
|
+
# @return [Boolean]
|
166
|
+
attr_accessor :is_active
|
167
|
+
alias_method :is_active?, :is_active
|
168
|
+
|
169
|
+
# Length of the key in bits. Specified at creation time then immutable.
|
170
|
+
# Corresponds to the JSON property `keyLength`
|
171
|
+
# @return [Fixnum]
|
172
|
+
attr_accessor :key_length
|
173
|
+
|
174
|
+
# The key tag is a non-cryptographic hash of the a DNSKEY resource record
|
175
|
+
# associated with this DnsKey. The key tag can be used to identify a DNSKEY more
|
176
|
+
# quickly (but it is not a unique identifier). In particular, the key tag is
|
177
|
+
# used in a parent zone's DS record to point at the DNSKEY in this child
|
178
|
+
# ManagedZone. The key tag is a number in the range [0, 65535] and the algorithm
|
179
|
+
# to calculate it is specified in RFC4034 Appendix B. Output only.
|
180
|
+
# Corresponds to the JSON property `keyTag`
|
181
|
+
# @return [Fixnum]
|
182
|
+
attr_accessor :key_tag
|
183
|
+
|
184
|
+
# Identifies what kind of resource this is. Value: the fixed string "dns#dnsKey".
|
185
|
+
# Corresponds to the JSON property `kind`
|
186
|
+
# @return [String]
|
187
|
+
attr_accessor :kind
|
188
|
+
|
189
|
+
# Base64 encoded public half of this key. Output only.
|
190
|
+
# Corresponds to the JSON property `publicKey`
|
191
|
+
# @return [String]
|
192
|
+
attr_accessor :public_key
|
193
|
+
|
194
|
+
# One of "KEY_SIGNING" or "ZONE_SIGNING". Keys of type KEY_SIGNING have the
|
195
|
+
# Secure Entry Point flag set and, when active, will be used to sign only
|
196
|
+
# resource record sets of type DNSKEY. Otherwise, the Secure Entry Point flag
|
197
|
+
# will be cleared and this key will be used to sign only resource record sets of
|
198
|
+
# other types. Immutable after creation time.
|
199
|
+
# Corresponds to the JSON property `type`
|
200
|
+
# @return [String]
|
201
|
+
attr_accessor :type
|
202
|
+
|
203
|
+
def initialize(**args)
|
204
|
+
update!(**args)
|
205
|
+
end
|
206
|
+
|
207
|
+
# Update properties of this object
|
208
|
+
def update!(**args)
|
209
|
+
@algorithm = args[:algorithm] if args.key?(:algorithm)
|
210
|
+
@creation_time = args[:creation_time] if args.key?(:creation_time)
|
211
|
+
@description = args[:description] if args.key?(:description)
|
212
|
+
@digests = args[:digests] if args.key?(:digests)
|
213
|
+
@id = args[:id] if args.key?(:id)
|
214
|
+
@is_active = args[:is_active] if args.key?(:is_active)
|
215
|
+
@key_length = args[:key_length] if args.key?(:key_length)
|
216
|
+
@key_tag = args[:key_tag] if args.key?(:key_tag)
|
217
|
+
@kind = args[:kind] if args.key?(:kind)
|
218
|
+
@public_key = args[:public_key] if args.key?(:public_key)
|
219
|
+
@type = args[:type] if args.key?(:type)
|
220
|
+
end
|
221
|
+
end
|
222
|
+
|
223
|
+
#
|
224
|
+
class DnsKeyDigest
|
225
|
+
include Google::Apis::Core::Hashable
|
226
|
+
|
227
|
+
# The base-16 encoded bytes of this digest. Suitable for use in a DS resource
|
228
|
+
# record.
|
229
|
+
# Corresponds to the JSON property `digest`
|
230
|
+
# @return [String]
|
231
|
+
attr_accessor :digest
|
232
|
+
|
233
|
+
# Specifies the algorithm used to calculate this digest.
|
234
|
+
# Corresponds to the JSON property `type`
|
235
|
+
# @return [String]
|
236
|
+
attr_accessor :type
|
237
|
+
|
238
|
+
def initialize(**args)
|
239
|
+
update!(**args)
|
240
|
+
end
|
241
|
+
|
242
|
+
# Update properties of this object
|
243
|
+
def update!(**args)
|
244
|
+
@digest = args[:digest] if args.key?(:digest)
|
245
|
+
@type = args[:type] if args.key?(:type)
|
246
|
+
end
|
247
|
+
end
|
248
|
+
|
249
|
+
# Parameters for DnsKey key generation. Used for generating initial keys for a
|
250
|
+
# new ManagedZone and as default when adding a new DnsKey.
|
251
|
+
class DnsKeySpec
|
252
|
+
include Google::Apis::Core::Hashable
|
253
|
+
|
254
|
+
# String mnemonic specifying the DNSSEC algorithm of this key.
|
255
|
+
# Corresponds to the JSON property `algorithm`
|
256
|
+
# @return [String]
|
257
|
+
attr_accessor :algorithm
|
258
|
+
|
259
|
+
# Length of the keys in bits.
|
260
|
+
# Corresponds to the JSON property `keyLength`
|
261
|
+
# @return [Fixnum]
|
262
|
+
attr_accessor :key_length
|
263
|
+
|
264
|
+
# One of "KEY_SIGNING" or "ZONE_SIGNING". Keys of type KEY_SIGNING have the
|
265
|
+
# Secure Entry Point flag set and, when active, will be used to sign only
|
266
|
+
# resource record sets of type DNSKEY. Otherwise, the Secure Entry Point flag
|
267
|
+
# will be cleared and this key will be used to sign only resource record sets of
|
268
|
+
# other types.
|
269
|
+
# Corresponds to the JSON property `keyType`
|
270
|
+
# @return [String]
|
271
|
+
attr_accessor :key_type
|
272
|
+
|
273
|
+
# Identifies what kind of resource this is. Value: the fixed string "dns#
|
274
|
+
# dnsKeySpec".
|
275
|
+
# Corresponds to the JSON property `kind`
|
276
|
+
# @return [String]
|
277
|
+
attr_accessor :kind
|
278
|
+
|
279
|
+
def initialize(**args)
|
280
|
+
update!(**args)
|
281
|
+
end
|
282
|
+
|
283
|
+
# Update properties of this object
|
284
|
+
def update!(**args)
|
285
|
+
@algorithm = args[:algorithm] if args.key?(:algorithm)
|
286
|
+
@key_length = args[:key_length] if args.key?(:key_length)
|
287
|
+
@key_type = args[:key_type] if args.key?(:key_type)
|
288
|
+
@kind = args[:kind] if args.key?(:kind)
|
289
|
+
end
|
290
|
+
end
|
291
|
+
|
292
|
+
# The response to a request to enumerate DnsKeys in a ManagedZone.
|
293
|
+
class DnsKeysListResponse
|
294
|
+
include Google::Apis::Core::Hashable
|
295
|
+
|
296
|
+
# The requested resources.
|
297
|
+
# Corresponds to the JSON property `dnsKeys`
|
298
|
+
# @return [Array<Google::Apis::DnsV2beta1::DnsKey>]
|
299
|
+
attr_accessor :dns_keys
|
300
|
+
|
301
|
+
# Elements common to every response.
|
302
|
+
# Corresponds to the JSON property `header`
|
303
|
+
# @return [Google::Apis::DnsV2beta1::ResponseHeader]
|
304
|
+
attr_accessor :header
|
305
|
+
|
306
|
+
# Type of resource.
|
307
|
+
# Corresponds to the JSON property `kind`
|
308
|
+
# @return [String]
|
309
|
+
attr_accessor :kind
|
310
|
+
|
311
|
+
# The presence of this field indicates that there exist more results following
|
312
|
+
# your last page of results in pagination order. To fetch them, make another
|
313
|
+
# list request using this value as your pagination token.
|
314
|
+
# In this way you can retrieve the complete contents of even very large
|
315
|
+
# collections one page at a time. However, if the contents of the collection
|
316
|
+
# change between the first and last paginated list request, the set of all
|
317
|
+
# elements returned will be an inconsistent view of the collection. There is no
|
318
|
+
# way to retrieve a "snapshot" of collections larger than the maximum page size.
|
319
|
+
# Corresponds to the JSON property `nextPageToken`
|
320
|
+
# @return [String]
|
321
|
+
attr_accessor :next_page_token
|
322
|
+
|
323
|
+
def initialize(**args)
|
324
|
+
update!(**args)
|
325
|
+
end
|
326
|
+
|
327
|
+
# Update properties of this object
|
328
|
+
def update!(**args)
|
329
|
+
@dns_keys = args[:dns_keys] if args.key?(:dns_keys)
|
330
|
+
@header = args[:header] if args.key?(:header)
|
331
|
+
@kind = args[:kind] if args.key?(:kind)
|
332
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
333
|
+
end
|
334
|
+
end
|
335
|
+
|
336
|
+
# A zone is a subtree of the DNS namespace under one administrative
|
337
|
+
# responsibility. A ManagedZone is a resource that represents a DNS zone hosted
|
338
|
+
# by the Cloud DNS service.
|
339
|
+
class ManagedZone
|
340
|
+
include Google::Apis::Core::Hashable
|
341
|
+
|
342
|
+
# The time that this resource was created on the server. This is in RFC3339 text
|
343
|
+
# format. Output only.
|
344
|
+
# Corresponds to the JSON property `creationTime`
|
345
|
+
# @return [String]
|
346
|
+
attr_accessor :creation_time
|
347
|
+
|
348
|
+
# A mutable string of at most 1024 characters associated with this resource for
|
349
|
+
# the user's convenience. Has no effect on the managed zone's function.
|
350
|
+
# Corresponds to the JSON property `description`
|
351
|
+
# @return [String]
|
352
|
+
attr_accessor :description
|
353
|
+
|
354
|
+
# The DNS name of this managed zone, for instance "example.com.".
|
355
|
+
# Corresponds to the JSON property `dnsName`
|
356
|
+
# @return [String]
|
357
|
+
attr_accessor :dns_name
|
358
|
+
|
359
|
+
# DNSSEC configuration.
|
360
|
+
# Corresponds to the JSON property `dnssecConfig`
|
361
|
+
# @return [Google::Apis::DnsV2beta1::ManagedZoneDnsSecConfig]
|
362
|
+
attr_accessor :dnssec_config
|
363
|
+
|
364
|
+
# Unique identifier for the resource; defined by the server (output only)
|
365
|
+
# Corresponds to the JSON property `id`
|
366
|
+
# @return [String]
|
367
|
+
attr_accessor :id
|
368
|
+
|
369
|
+
# Identifies what kind of resource this is. Value: the fixed string "dns#
|
370
|
+
# managedZone".
|
371
|
+
# Corresponds to the JSON property `kind`
|
372
|
+
# @return [String]
|
373
|
+
attr_accessor :kind
|
374
|
+
|
375
|
+
# User assigned name for this resource. Must be unique within the project. The
|
376
|
+
# name must be 1-63 characters long, must begin with a letter, end with a letter
|
377
|
+
# or digit, and only contain lowercase letters, digits or dashes.
|
378
|
+
# Corresponds to the JSON property `name`
|
379
|
+
# @return [String]
|
380
|
+
attr_accessor :name
|
381
|
+
|
382
|
+
# Optionally specifies the NameServerSet for this ManagedZone. A NameServerSet
|
383
|
+
# is a set of DNS name servers that all host the same ManagedZones. Most users
|
384
|
+
# will leave this field unset.
|
385
|
+
# Corresponds to the JSON property `nameServerSet`
|
386
|
+
# @return [String]
|
387
|
+
attr_accessor :name_server_set
|
388
|
+
|
389
|
+
# Delegate your managed_zone to these virtual name servers; defined by the
|
390
|
+
# server (output only)
|
391
|
+
# Corresponds to the JSON property `nameServers`
|
392
|
+
# @return [Array<String>]
|
393
|
+
attr_accessor :name_servers
|
394
|
+
|
395
|
+
def initialize(**args)
|
396
|
+
update!(**args)
|
397
|
+
end
|
398
|
+
|
399
|
+
# Update properties of this object
|
400
|
+
def update!(**args)
|
401
|
+
@creation_time = args[:creation_time] if args.key?(:creation_time)
|
402
|
+
@description = args[:description] if args.key?(:description)
|
403
|
+
@dns_name = args[:dns_name] if args.key?(:dns_name)
|
404
|
+
@dnssec_config = args[:dnssec_config] if args.key?(:dnssec_config)
|
405
|
+
@id = args[:id] if args.key?(:id)
|
406
|
+
@kind = args[:kind] if args.key?(:kind)
|
407
|
+
@name = args[:name] if args.key?(:name)
|
408
|
+
@name_server_set = args[:name_server_set] if args.key?(:name_server_set)
|
409
|
+
@name_servers = args[:name_servers] if args.key?(:name_servers)
|
410
|
+
end
|
411
|
+
end
|
412
|
+
|
413
|
+
#
|
414
|
+
class ManagedZoneDnsSecConfig
|
415
|
+
include Google::Apis::Core::Hashable
|
416
|
+
|
417
|
+
# Specifies parameters that will be used for generating initial DnsKeys for this
|
418
|
+
# ManagedZone. Output only while state is not OFF.
|
419
|
+
# Corresponds to the JSON property `defaultKeySpecs`
|
420
|
+
# @return [Array<Google::Apis::DnsV2beta1::DnsKeySpec>]
|
421
|
+
attr_accessor :default_key_specs
|
422
|
+
|
423
|
+
# Identifies what kind of resource this is. Value: the fixed string "dns#
|
424
|
+
# managedZoneDnsSecConfig".
|
425
|
+
# Corresponds to the JSON property `kind`
|
426
|
+
# @return [String]
|
427
|
+
attr_accessor :kind
|
428
|
+
|
429
|
+
# Specifies the mechanism used to provide authenticated denial-of-existence
|
430
|
+
# responses. Output only while state is not OFF.
|
431
|
+
# Corresponds to the JSON property `nonExistence`
|
432
|
+
# @return [String]
|
433
|
+
attr_accessor :non_existence
|
434
|
+
|
435
|
+
# Specifies whether DNSSEC is enabled, and what mode it is in.
|
436
|
+
# Corresponds to the JSON property `state`
|
437
|
+
# @return [String]
|
438
|
+
attr_accessor :state
|
439
|
+
|
440
|
+
def initialize(**args)
|
441
|
+
update!(**args)
|
442
|
+
end
|
443
|
+
|
444
|
+
# Update properties of this object
|
445
|
+
def update!(**args)
|
446
|
+
@default_key_specs = args[:default_key_specs] if args.key?(:default_key_specs)
|
447
|
+
@kind = args[:kind] if args.key?(:kind)
|
448
|
+
@non_existence = args[:non_existence] if args.key?(:non_existence)
|
449
|
+
@state = args[:state] if args.key?(:state)
|
450
|
+
end
|
451
|
+
end
|
452
|
+
|
453
|
+
#
|
454
|
+
class ManagedZoneOperationsListResponse
|
455
|
+
include Google::Apis::Core::Hashable
|
456
|
+
|
457
|
+
# Elements common to every response.
|
458
|
+
# Corresponds to the JSON property `header`
|
459
|
+
# @return [Google::Apis::DnsV2beta1::ResponseHeader]
|
460
|
+
attr_accessor :header
|
461
|
+
|
462
|
+
# Type of resource.
|
463
|
+
# Corresponds to the JSON property `kind`
|
464
|
+
# @return [String]
|
465
|
+
attr_accessor :kind
|
466
|
+
|
467
|
+
# The presence of this field indicates that there exist more results following
|
468
|
+
# your last page of results in pagination order. To fetch them, make another
|
469
|
+
# list request using this value as your page token.
|
470
|
+
# In this way you can retrieve the complete contents of even very large
|
471
|
+
# collections one page at a time. However, if the contents of the collection
|
472
|
+
# change between the first and last paginated list request, the set of all
|
473
|
+
# elements returned will be an inconsistent view of the collection. There is no
|
474
|
+
# way to retrieve a consistent snapshot of a collection larger than the maximum
|
475
|
+
# page size.
|
476
|
+
# Corresponds to the JSON property `nextPageToken`
|
477
|
+
# @return [String]
|
478
|
+
attr_accessor :next_page_token
|
479
|
+
|
480
|
+
# The operation resources.
|
481
|
+
# Corresponds to the JSON property `operations`
|
482
|
+
# @return [Array<Google::Apis::DnsV2beta1::Operation>]
|
483
|
+
attr_accessor :operations
|
484
|
+
|
485
|
+
def initialize(**args)
|
486
|
+
update!(**args)
|
487
|
+
end
|
488
|
+
|
489
|
+
# Update properties of this object
|
490
|
+
def update!(**args)
|
491
|
+
@header = args[:header] if args.key?(:header)
|
492
|
+
@kind = args[:kind] if args.key?(:kind)
|
493
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
494
|
+
@operations = args[:operations] if args.key?(:operations)
|
495
|
+
end
|
496
|
+
end
|
497
|
+
|
498
|
+
#
|
499
|
+
class ManagedZonesDeleteResponse
|
500
|
+
include Google::Apis::Core::Hashable
|
501
|
+
|
502
|
+
# Elements common to every response.
|
503
|
+
# Corresponds to the JSON property `header`
|
504
|
+
# @return [Google::Apis::DnsV2beta1::ResponseHeader]
|
505
|
+
attr_accessor :header
|
506
|
+
|
507
|
+
def initialize(**args)
|
508
|
+
update!(**args)
|
509
|
+
end
|
510
|
+
|
511
|
+
# Update properties of this object
|
512
|
+
def update!(**args)
|
513
|
+
@header = args[:header] if args.key?(:header)
|
514
|
+
end
|
515
|
+
end
|
516
|
+
|
517
|
+
#
|
518
|
+
class ManagedZonesListResponse
|
519
|
+
include Google::Apis::Core::Hashable
|
520
|
+
|
521
|
+
# Elements common to every response.
|
522
|
+
# Corresponds to the JSON property `header`
|
523
|
+
# @return [Google::Apis::DnsV2beta1::ResponseHeader]
|
524
|
+
attr_accessor :header
|
525
|
+
|
526
|
+
# Type of resource.
|
527
|
+
# Corresponds to the JSON property `kind`
|
528
|
+
# @return [String]
|
529
|
+
attr_accessor :kind
|
530
|
+
|
531
|
+
# The managed zone resources.
|
532
|
+
# Corresponds to the JSON property `managedZones`
|
533
|
+
# @return [Array<Google::Apis::DnsV2beta1::ManagedZone>]
|
534
|
+
attr_accessor :managed_zones
|
535
|
+
|
536
|
+
# The presence of this field indicates that there exist more results following
|
537
|
+
# your last page of results in pagination order. To fetch them, make another
|
538
|
+
# list request using this value as your page token.
|
539
|
+
# In this way you can retrieve the complete contents of even very large
|
540
|
+
# collections one page at a time. However, if the contents of the collection
|
541
|
+
# change between the first and last paginated list request, the set of all
|
542
|
+
# elements returned will be an inconsistent view of the collection. There is no
|
543
|
+
# way to retrieve a consistent snapshot of a collection larger than the maximum
|
544
|
+
# page size.
|
545
|
+
# Corresponds to the JSON property `nextPageToken`
|
546
|
+
# @return [String]
|
547
|
+
attr_accessor :next_page_token
|
548
|
+
|
549
|
+
def initialize(**args)
|
550
|
+
update!(**args)
|
551
|
+
end
|
552
|
+
|
553
|
+
# Update properties of this object
|
554
|
+
def update!(**args)
|
555
|
+
@header = args[:header] if args.key?(:header)
|
556
|
+
@kind = args[:kind] if args.key?(:kind)
|
557
|
+
@managed_zones = args[:managed_zones] if args.key?(:managed_zones)
|
558
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
559
|
+
end
|
560
|
+
end
|
561
|
+
|
562
|
+
# An operation represents a successful mutation performed on a Cloud DNS
|
563
|
+
# resource. Operations provide: - An audit log of server resource mutations. - A
|
564
|
+
# way to recover/retry API calls in the case where the response is never
|
565
|
+
# received by the caller. Use the caller specified client_operation_id.
|
566
|
+
class Operation
|
567
|
+
include Google::Apis::Core::Hashable
|
568
|
+
|
569
|
+
# Only populated if the operation targeted a DnsKey (output only).
|
570
|
+
# Corresponds to the JSON property `dnsKeyContext`
|
571
|
+
# @return [Google::Apis::DnsV2beta1::OperationDnsKeyContext]
|
572
|
+
attr_accessor :dns_key_context
|
573
|
+
|
574
|
+
# Unique identifier for the resource. This is the client_operation_id if the
|
575
|
+
# client specified it when the mutation was initiated, otherwise, it is
|
576
|
+
# generated by the server. The name must be 1-63 characters long and match the
|
577
|
+
# regular expression [-a-z0-9]? (output only)
|
578
|
+
# Corresponds to the JSON property `id`
|
579
|
+
# @return [String]
|
580
|
+
attr_accessor :id
|
581
|
+
|
582
|
+
# Identifies what kind of resource this is. Value: the fixed string "dns#
|
583
|
+
# operation".
|
584
|
+
# Corresponds to the JSON property `kind`
|
585
|
+
# @return [String]
|
586
|
+
attr_accessor :kind
|
587
|
+
|
588
|
+
# The time that this operation was started by the server. This is in RFC3339
|
589
|
+
# text format (output only).
|
590
|
+
# Corresponds to the JSON property `startTime`
|
591
|
+
# @return [String]
|
592
|
+
attr_accessor :start_time
|
593
|
+
|
594
|
+
# Status of the operation. Can be one of the following: "PENDING" or "DONE" (
|
595
|
+
# output only).
|
596
|
+
# Corresponds to the JSON property `status`
|
597
|
+
# @return [String]
|
598
|
+
attr_accessor :status
|
599
|
+
|
600
|
+
# Type of the operation. Operations include insert, update, and delete (output
|
601
|
+
# only).
|
602
|
+
# Corresponds to the JSON property `type`
|
603
|
+
# @return [String]
|
604
|
+
attr_accessor :type
|
605
|
+
|
606
|
+
# User who requested the operation, for example: user@example.com. cloud-dns-
|
607
|
+
# system for operations automatically done by the system. (output only)
|
608
|
+
# Corresponds to the JSON property `user`
|
609
|
+
# @return [String]
|
610
|
+
attr_accessor :user
|
611
|
+
|
612
|
+
# Only populated if the operation targeted a ManagedZone (output only).
|
613
|
+
# Corresponds to the JSON property `zoneContext`
|
614
|
+
# @return [Google::Apis::DnsV2beta1::OperationManagedZoneContext]
|
615
|
+
attr_accessor :zone_context
|
616
|
+
|
617
|
+
def initialize(**args)
|
618
|
+
update!(**args)
|
619
|
+
end
|
620
|
+
|
621
|
+
# Update properties of this object
|
622
|
+
def update!(**args)
|
623
|
+
@dns_key_context = args[:dns_key_context] if args.key?(:dns_key_context)
|
624
|
+
@id = args[:id] if args.key?(:id)
|
625
|
+
@kind = args[:kind] if args.key?(:kind)
|
626
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
627
|
+
@status = args[:status] if args.key?(:status)
|
628
|
+
@type = args[:type] if args.key?(:type)
|
629
|
+
@user = args[:user] if args.key?(:user)
|
630
|
+
@zone_context = args[:zone_context] if args.key?(:zone_context)
|
631
|
+
end
|
632
|
+
end
|
633
|
+
|
634
|
+
#
|
635
|
+
class OperationDnsKeyContext
|
636
|
+
include Google::Apis::Core::Hashable
|
637
|
+
|
638
|
+
# A DNSSEC key pair.
|
639
|
+
# Corresponds to the JSON property `newValue`
|
640
|
+
# @return [Google::Apis::DnsV2beta1::DnsKey]
|
641
|
+
attr_accessor :new_value
|
642
|
+
|
643
|
+
# A DNSSEC key pair.
|
644
|
+
# Corresponds to the JSON property `oldValue`
|
645
|
+
# @return [Google::Apis::DnsV2beta1::DnsKey]
|
646
|
+
attr_accessor :old_value
|
647
|
+
|
648
|
+
def initialize(**args)
|
649
|
+
update!(**args)
|
650
|
+
end
|
651
|
+
|
652
|
+
# Update properties of this object
|
653
|
+
def update!(**args)
|
654
|
+
@new_value = args[:new_value] if args.key?(:new_value)
|
655
|
+
@old_value = args[:old_value] if args.key?(:old_value)
|
656
|
+
end
|
657
|
+
end
|
658
|
+
|
659
|
+
#
|
660
|
+
class OperationManagedZoneContext
|
661
|
+
include Google::Apis::Core::Hashable
|
662
|
+
|
663
|
+
# A zone is a subtree of the DNS namespace under one administrative
|
664
|
+
# responsibility. A ManagedZone is a resource that represents a DNS zone hosted
|
665
|
+
# by the Cloud DNS service.
|
666
|
+
# Corresponds to the JSON property `newValue`
|
667
|
+
# @return [Google::Apis::DnsV2beta1::ManagedZone]
|
668
|
+
attr_accessor :new_value
|
669
|
+
|
670
|
+
# A zone is a subtree of the DNS namespace under one administrative
|
671
|
+
# responsibility. A ManagedZone is a resource that represents a DNS zone hosted
|
672
|
+
# by the Cloud DNS service.
|
673
|
+
# Corresponds to the JSON property `oldValue`
|
674
|
+
# @return [Google::Apis::DnsV2beta1::ManagedZone]
|
675
|
+
attr_accessor :old_value
|
676
|
+
|
677
|
+
def initialize(**args)
|
678
|
+
update!(**args)
|
679
|
+
end
|
680
|
+
|
681
|
+
# Update properties of this object
|
682
|
+
def update!(**args)
|
683
|
+
@new_value = args[:new_value] if args.key?(:new_value)
|
684
|
+
@old_value = args[:old_value] if args.key?(:old_value)
|
685
|
+
end
|
686
|
+
end
|
687
|
+
|
688
|
+
# A project resource. The project is a top level container for resources
|
689
|
+
# including Cloud DNS ManagedZones. Projects can be created only in the APIs
|
690
|
+
# console.
|
691
|
+
class Project
|
692
|
+
include Google::Apis::Core::Hashable
|
693
|
+
|
694
|
+
# User assigned unique identifier for the resource (output only).
|
695
|
+
# Corresponds to the JSON property `id`
|
696
|
+
# @return [String]
|
697
|
+
attr_accessor :id
|
698
|
+
|
699
|
+
# Identifies what kind of resource this is. Value: the fixed string "dns#project"
|
700
|
+
# .
|
701
|
+
# Corresponds to the JSON property `kind`
|
702
|
+
# @return [String]
|
703
|
+
attr_accessor :kind
|
704
|
+
|
705
|
+
# Unique numeric identifier for the resource; defined by the server (output only)
|
706
|
+
# .
|
707
|
+
# Corresponds to the JSON property `number`
|
708
|
+
# @return [String]
|
709
|
+
attr_accessor :number
|
710
|
+
|
711
|
+
# Limits associated with a Project.
|
712
|
+
# Corresponds to the JSON property `quota`
|
713
|
+
# @return [Google::Apis::DnsV2beta1::Quota]
|
714
|
+
attr_accessor :quota
|
715
|
+
|
716
|
+
def initialize(**args)
|
717
|
+
update!(**args)
|
718
|
+
end
|
719
|
+
|
720
|
+
# Update properties of this object
|
721
|
+
def update!(**args)
|
722
|
+
@id = args[:id] if args.key?(:id)
|
723
|
+
@kind = args[:kind] if args.key?(:kind)
|
724
|
+
@number = args[:number] if args.key?(:number)
|
725
|
+
@quota = args[:quota] if args.key?(:quota)
|
726
|
+
end
|
727
|
+
end
|
728
|
+
|
729
|
+
# Limits associated with a Project.
|
730
|
+
class Quota
|
731
|
+
include Google::Apis::Core::Hashable
|
732
|
+
|
733
|
+
# Maximum allowed number of DnsKeys per ManagedZone.
|
734
|
+
# Corresponds to the JSON property `dnsKeysPerManagedZone`
|
735
|
+
# @return [Fixnum]
|
736
|
+
attr_accessor :dns_keys_per_managed_zone
|
737
|
+
|
738
|
+
# Identifies what kind of resource this is. Value: the fixed string "dns#quota".
|
739
|
+
# Corresponds to the JSON property `kind`
|
740
|
+
# @return [String]
|
741
|
+
attr_accessor :kind
|
742
|
+
|
743
|
+
# Maximum allowed number of managed zones in the project.
|
744
|
+
# Corresponds to the JSON property `managedZones`
|
745
|
+
# @return [Fixnum]
|
746
|
+
attr_accessor :managed_zones
|
747
|
+
|
748
|
+
# Maximum allowed number of ResourceRecords per ResourceRecordSet.
|
749
|
+
# Corresponds to the JSON property `resourceRecordsPerRrset`
|
750
|
+
# @return [Fixnum]
|
751
|
+
attr_accessor :resource_records_per_rrset
|
752
|
+
|
753
|
+
# Maximum allowed number of ResourceRecordSets to add per ChangesCreateRequest.
|
754
|
+
# Corresponds to the JSON property `rrsetAdditionsPerChange`
|
755
|
+
# @return [Fixnum]
|
756
|
+
attr_accessor :rrset_additions_per_change
|
757
|
+
|
758
|
+
# Maximum allowed number of ResourceRecordSets to delete per
|
759
|
+
# ChangesCreateRequest.
|
760
|
+
# Corresponds to the JSON property `rrsetDeletionsPerChange`
|
761
|
+
# @return [Fixnum]
|
762
|
+
attr_accessor :rrset_deletions_per_change
|
763
|
+
|
764
|
+
# Maximum allowed number of ResourceRecordSets per zone in the project.
|
765
|
+
# Corresponds to the JSON property `rrsetsPerManagedZone`
|
766
|
+
# @return [Fixnum]
|
767
|
+
attr_accessor :rrsets_per_managed_zone
|
768
|
+
|
769
|
+
# Maximum allowed size for total rrdata in one ChangesCreateRequest in bytes.
|
770
|
+
# Corresponds to the JSON property `totalRrdataSizePerChange`
|
771
|
+
# @return [Fixnum]
|
772
|
+
attr_accessor :total_rrdata_size_per_change
|
773
|
+
|
774
|
+
# DNSSEC algorithm and key length types that can be used for DnsKeys.
|
775
|
+
# Corresponds to the JSON property `whitelistedKeySpecs`
|
776
|
+
# @return [Array<Google::Apis::DnsV2beta1::DnsKeySpec>]
|
777
|
+
attr_accessor :whitelisted_key_specs
|
778
|
+
|
779
|
+
def initialize(**args)
|
780
|
+
update!(**args)
|
781
|
+
end
|
782
|
+
|
783
|
+
# Update properties of this object
|
784
|
+
def update!(**args)
|
785
|
+
@dns_keys_per_managed_zone = args[:dns_keys_per_managed_zone] if args.key?(:dns_keys_per_managed_zone)
|
786
|
+
@kind = args[:kind] if args.key?(:kind)
|
787
|
+
@managed_zones = args[:managed_zones] if args.key?(:managed_zones)
|
788
|
+
@resource_records_per_rrset = args[:resource_records_per_rrset] if args.key?(:resource_records_per_rrset)
|
789
|
+
@rrset_additions_per_change = args[:rrset_additions_per_change] if args.key?(:rrset_additions_per_change)
|
790
|
+
@rrset_deletions_per_change = args[:rrset_deletions_per_change] if args.key?(:rrset_deletions_per_change)
|
791
|
+
@rrsets_per_managed_zone = args[:rrsets_per_managed_zone] if args.key?(:rrsets_per_managed_zone)
|
792
|
+
@total_rrdata_size_per_change = args[:total_rrdata_size_per_change] if args.key?(:total_rrdata_size_per_change)
|
793
|
+
@whitelisted_key_specs = args[:whitelisted_key_specs] if args.key?(:whitelisted_key_specs)
|
794
|
+
end
|
795
|
+
end
|
796
|
+
|
797
|
+
# A unit of data that will be returned by the DNS servers.
|
798
|
+
class ResourceRecordSet
|
799
|
+
include Google::Apis::Core::Hashable
|
800
|
+
|
801
|
+
# Identifies what kind of resource this is. Value: the fixed string "dns#
|
802
|
+
# resourceRecordSet".
|
803
|
+
# Corresponds to the JSON property `kind`
|
804
|
+
# @return [String]
|
805
|
+
attr_accessor :kind
|
806
|
+
|
807
|
+
# For example, www.example.com.
|
808
|
+
# Corresponds to the JSON property `name`
|
809
|
+
# @return [String]
|
810
|
+
attr_accessor :name
|
811
|
+
|
812
|
+
# As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1).
|
813
|
+
# Corresponds to the JSON property `rrdatas`
|
814
|
+
# @return [Array<String>]
|
815
|
+
attr_accessor :rrdatas
|
816
|
+
|
817
|
+
# As defined in RFC 4034 (section 3.2).
|
818
|
+
# Corresponds to the JSON property `signatureRrdatas`
|
819
|
+
# @return [Array<String>]
|
820
|
+
attr_accessor :signature_rrdatas
|
821
|
+
|
822
|
+
# Number of seconds that this ResourceRecordSet can be cached by resolvers.
|
823
|
+
# Corresponds to the JSON property `ttl`
|
824
|
+
# @return [Fixnum]
|
825
|
+
attr_accessor :ttl
|
826
|
+
|
827
|
+
# The identifier of a supported record type, for example, A, AAAA, MX, TXT, and
|
828
|
+
# so on.
|
829
|
+
# Corresponds to the JSON property `type`
|
830
|
+
# @return [String]
|
831
|
+
attr_accessor :type
|
832
|
+
|
833
|
+
def initialize(**args)
|
834
|
+
update!(**args)
|
835
|
+
end
|
836
|
+
|
837
|
+
# Update properties of this object
|
838
|
+
def update!(**args)
|
839
|
+
@kind = args[:kind] if args.key?(:kind)
|
840
|
+
@name = args[:name] if args.key?(:name)
|
841
|
+
@rrdatas = args[:rrdatas] if args.key?(:rrdatas)
|
842
|
+
@signature_rrdatas = args[:signature_rrdatas] if args.key?(:signature_rrdatas)
|
843
|
+
@ttl = args[:ttl] if args.key?(:ttl)
|
844
|
+
@type = args[:type] if args.key?(:type)
|
845
|
+
end
|
846
|
+
end
|
847
|
+
|
848
|
+
#
|
849
|
+
class ResourceRecordSetsListResponse
|
850
|
+
include Google::Apis::Core::Hashable
|
851
|
+
|
852
|
+
# Elements common to every response.
|
853
|
+
# Corresponds to the JSON property `header`
|
854
|
+
# @return [Google::Apis::DnsV2beta1::ResponseHeader]
|
855
|
+
attr_accessor :header
|
856
|
+
|
857
|
+
# Type of resource.
|
858
|
+
# Corresponds to the JSON property `kind`
|
859
|
+
# @return [String]
|
860
|
+
attr_accessor :kind
|
861
|
+
|
862
|
+
# The presence of this field indicates that there exist more results following
|
863
|
+
# your last page of results in pagination order. To fetch them, make another
|
864
|
+
# list request using this value as your pagination token.
|
865
|
+
# In this way you can retrieve the complete contents of even very large
|
866
|
+
# collections one page at a time. However, if the contents of the collection
|
867
|
+
# change between the first and last paginated list request, the set of all
|
868
|
+
# elements returned will be an inconsistent view of the collection. There is no
|
869
|
+
# way to retrieve a consistent snapshot of a collection larger than the maximum
|
870
|
+
# page size.
|
871
|
+
# Corresponds to the JSON property `nextPageToken`
|
872
|
+
# @return [String]
|
873
|
+
attr_accessor :next_page_token
|
874
|
+
|
875
|
+
# The resource record set resources.
|
876
|
+
# Corresponds to the JSON property `rrsets`
|
877
|
+
# @return [Array<Google::Apis::DnsV2beta1::ResourceRecordSet>]
|
878
|
+
attr_accessor :rrsets
|
879
|
+
|
880
|
+
def initialize(**args)
|
881
|
+
update!(**args)
|
882
|
+
end
|
883
|
+
|
884
|
+
# Update properties of this object
|
885
|
+
def update!(**args)
|
886
|
+
@header = args[:header] if args.key?(:header)
|
887
|
+
@kind = args[:kind] if args.key?(:kind)
|
888
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
889
|
+
@rrsets = args[:rrsets] if args.key?(:rrsets)
|
890
|
+
end
|
891
|
+
end
|
892
|
+
|
893
|
+
# Elements common to every response.
|
894
|
+
class ResponseHeader
|
895
|
+
include Google::Apis::Core::Hashable
|
896
|
+
|
897
|
+
# For mutating operation requests that completed successfully. This is the
|
898
|
+
# client_operation_id if the client specified it, otherwise it is generated by
|
899
|
+
# the server (output only).
|
900
|
+
# Corresponds to the JSON property `operationId`
|
901
|
+
# @return [String]
|
902
|
+
attr_accessor :operation_id
|
903
|
+
|
904
|
+
def initialize(**args)
|
905
|
+
update!(**args)
|
906
|
+
end
|
907
|
+
|
908
|
+
# Update properties of this object
|
909
|
+
def update!(**args)
|
910
|
+
@operation_id = args[:operation_id] if args.key?(:operation_id)
|
911
|
+
end
|
912
|
+
end
|
913
|
+
end
|
914
|
+
end
|
915
|
+
end
|