Class: Google::Apis::DnsV2beta1::DnsService
- Inherits:
-
Core::BaseService
- Object
- Core::BaseService
- Google::Apis::DnsV2beta1::DnsService
- Defined in:
- generated/google/apis/dns_v2beta1/service.rb
Overview
Google Cloud DNS API
Configures and serves authoritative DNS records.
Instance Attribute Summary collapse
-
#key ⇒ String
API key.
-
#quota_user ⇒ String
Available to use for quota purposes for server-side applications.
-
#user_ip ⇒ String
IP address of the site where the request originates.
Attributes inherited from Core::BaseService
#authorization, #base_path, #batch_path, #client, #client_options, #request_options, #root_url, #upload_path
Instance Method Summary collapse
-
#create_change(project, managed_zone, change_object = nil, client_operation_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DnsV2beta1::Change
Atomically update the ResourceRecordSet collection.
-
#create_managed_zone(project, managed_zone_object = nil, client_operation_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DnsV2beta1::ManagedZone
Create a new ManagedZone.
-
#delete_managed_zone(project, managed_zone, client_operation_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DnsV2beta1::ManagedZonesDeleteResponse
Delete a previously created ManagedZone.
-
#get_change(project, managed_zone, change_id, client_operation_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DnsV2beta1::Change
Fetch the representation of an existing Change.
-
#get_dns_key(project, managed_zone, dns_key_id, client_operation_id: nil, digest_type: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DnsV2beta1::DnsKey
Fetch the representation of an existing DnsKey.
-
#get_managed_zone(project, managed_zone, client_operation_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DnsV2beta1::ManagedZone
Fetch the representation of an existing ManagedZone.
-
#get_managed_zone_operation(project, managed_zone, operation, client_operation_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DnsV2beta1::Operation
Fetch the representation of an existing Operation.
-
#get_project(project, client_operation_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DnsV2beta1::Project
Fetch the representation of an existing Project.
-
#initialize ⇒ DnsService
constructor
A new instance of DnsService.
-
#list_changes(project, managed_zone, max_results: nil, page_token: nil, sort_by: nil, sort_order: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DnsV2beta1::ChangesListResponse
Enumerate Changes to a ResourceRecordSet collection.
-
#list_dns_keys(project, managed_zone, digest_type: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DnsV2beta1::DnsKeysListResponse
Enumerate DnsKeys to a ResourceRecordSet collection.
-
#list_managed_zone_operations(project, managed_zone, max_results: nil, page_token: nil, sort_by: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DnsV2beta1::ManagedZoneOperationsListResponse
Enumerate Operations for the given ManagedZone.
-
#list_managed_zones(project, dns_name: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DnsV2beta1::ManagedZonesListResponse
Enumerate ManagedZones that have been created but not yet deleted.
-
#list_resource_record_sets(project, managed_zone, max_results: nil, name: nil, page_token: nil, type: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DnsV2beta1::ResourceRecordSetsListResponse
Enumerate ResourceRecordSets that have been created but not yet deleted.
-
#patch_managed_zone(project, managed_zone, managed_zone_object = nil, client_operation_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DnsV2beta1::Operation
Update an existing ManagedZone.
-
#update_managed_zone(project, managed_zone, managed_zone_object = nil, client_operation_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DnsV2beta1::Operation
Update an existing ManagedZone.
Methods inherited from Core::BaseService
#batch, #batch_upload, #fetch_all, #http
Methods included from Core::Logging
Constructor Details
#initialize ⇒ DnsService
Returns a new instance of DnsService
51 52 53 54 |
# File 'generated/google/apis/dns_v2beta1/service.rb', line 51 def initialize super('https://www.googleapis.com/', 'dns/v2beta1/projects/') @batch_path = 'batch' end |
Instance Attribute Details
#key ⇒ String
Returns API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
38 39 40 |
# File 'generated/google/apis/dns_v2beta1/service.rb', line 38 def key @key end |
#quota_user ⇒ String
Returns Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
44 45 46 |
# File 'generated/google/apis/dns_v2beta1/service.rb', line 44 def quota_user @quota_user end |
#user_ip ⇒ String
Returns IP address of the site where the request originates. Use this if you want to enforce per-user limits.
49 50 51 |
# File 'generated/google/apis/dns_v2beta1/service.rb', line 49 def user_ip @user_ip end |
Instance Method Details
#create_change(project, managed_zone, change_object = nil, client_operation_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DnsV2beta1::Change
Atomically update the ResourceRecordSet collection.
87 88 89 90 91 92 93 94 95 96 97 98 99 100 |
# File 'generated/google/apis/dns_v2beta1/service.rb', line 87 def create_change(project, managed_zone, change_object = nil, client_operation_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/managedZones/{managedZone}/changes', ) command.request_representation = Google::Apis::DnsV2beta1::Change::Representation command.request_object = change_object command.response_representation = Google::Apis::DnsV2beta1::Change::Representation command.response_class = Google::Apis::DnsV2beta1::Change command.params['project'] = project unless project.nil? command.params['managedZone'] = managed_zone unless managed_zone.nil? command.query['clientOperationId'] = client_operation_id unless client_operation_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#create_managed_zone(project, managed_zone_object = nil, client_operation_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DnsV2beta1::ManagedZone
Create a new ManagedZone.
427 428 429 430 431 432 433 434 435 436 437 438 439 |
# File 'generated/google/apis/dns_v2beta1/service.rb', line 427 def create_managed_zone(project, managed_zone_object = nil, client_operation_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/managedZones', ) command.request_representation = Google::Apis::DnsV2beta1::ManagedZone::Representation command.request_object = managed_zone_object command.response_representation = Google::Apis::DnsV2beta1::ManagedZone::Representation command.response_class = Google::Apis::DnsV2beta1::ManagedZone command.params['project'] = project unless project.nil? command.query['clientOperationId'] = client_operation_id unless client_operation_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_managed_zone(project, managed_zone, client_operation_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DnsV2beta1::ManagedZonesDeleteResponse
Delete a previously created ManagedZone.
471 472 473 474 475 476 477 478 479 480 481 482 |
# File 'generated/google/apis/dns_v2beta1/service.rb', line 471 def delete_managed_zone(project, managed_zone, client_operation_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/managedZones/{managedZone}', ) command.response_representation = Google::Apis::DnsV2beta1::ManagedZonesDeleteResponse::Representation command.response_class = Google::Apis::DnsV2beta1::ManagedZonesDeleteResponse command.params['project'] = project unless project.nil? command.params['managedZone'] = managed_zone unless managed_zone.nil? command.query['clientOperationId'] = client_operation_id unless client_operation_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_change(project, managed_zone, change_id, client_operation_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DnsV2beta1::Change
Fetch the representation of an existing Change.
135 136 137 138 139 140 141 142 143 144 145 146 147 |
# File 'generated/google/apis/dns_v2beta1/service.rb', line 135 def get_change(project, managed_zone, change_id, client_operation_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/managedZones/{managedZone}/changes/{changeId}', ) command.response_representation = Google::Apis::DnsV2beta1::Change::Representation command.response_class = Google::Apis::DnsV2beta1::Change command.params['project'] = project unless project.nil? command.params['managedZone'] = managed_zone unless managed_zone.nil? command.params['changeId'] = change_id unless change_id.nil? command.query['clientOperationId'] = client_operation_id unless client_operation_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_dns_key(project, managed_zone, dns_key_id, client_operation_id: nil, digest_type: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DnsV2beta1::DnsKey
Fetch the representation of an existing DnsKey.
238 239 240 241 242 243 244 245 246 247 248 249 250 251 |
# File 'generated/google/apis/dns_v2beta1/service.rb', line 238 def get_dns_key(project, managed_zone, dns_key_id, client_operation_id: nil, digest_type: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/managedZones/{managedZone}/dnsKeys/{dnsKeyId}', ) command.response_representation = Google::Apis::DnsV2beta1::DnsKey::Representation command.response_class = Google::Apis::DnsV2beta1::DnsKey command.params['project'] = project unless project.nil? command.params['managedZone'] = managed_zone unless managed_zone.nil? command.params['dnsKeyId'] = dns_key_id unless dns_key_id.nil? command.query['clientOperationId'] = client_operation_id unless client_operation_id.nil? command.query['digestType'] = digest_type unless digest_type.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_managed_zone(project, managed_zone, client_operation_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DnsV2beta1::ManagedZone
Fetch the representation of an existing ManagedZone.
514 515 516 517 518 519 520 521 522 523 524 525 |
# File 'generated/google/apis/dns_v2beta1/service.rb', line 514 def get_managed_zone(project, managed_zone, client_operation_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/managedZones/{managedZone}', ) command.response_representation = Google::Apis::DnsV2beta1::ManagedZone::Representation command.response_class = Google::Apis::DnsV2beta1::ManagedZone command.params['project'] = project unless project.nil? command.params['managedZone'] = managed_zone unless managed_zone.nil? command.query['clientOperationId'] = client_operation_id unless client_operation_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_managed_zone_operation(project, managed_zone, operation, client_operation_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DnsV2beta1::Operation
Fetch the representation of an existing Operation.
336 337 338 339 340 341 342 343 344 345 346 347 348 |
# File 'generated/google/apis/dns_v2beta1/service.rb', line 336 def get_managed_zone_operation(project, managed_zone, operation, client_operation_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/managedZones/{managedZone}/operations/{operation}', ) command.response_representation = Google::Apis::DnsV2beta1::Operation::Representation command.response_class = Google::Apis::DnsV2beta1::Operation command.params['project'] = project unless project.nil? command.params['managedZone'] = managed_zone unless managed_zone.nil? command.params['operation'] = operation unless operation.nil? command.query['clientOperationId'] = client_operation_id unless client_operation_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_project(project, client_operation_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DnsV2beta1::Project
Fetch the representation of an existing Project.
692 693 694 695 696 697 698 699 700 701 702 |
# File 'generated/google/apis/dns_v2beta1/service.rb', line 692 def get_project(project, client_operation_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}', ) command.response_representation = Google::Apis::DnsV2beta1::Project::Representation command.response_class = Google::Apis::DnsV2beta1::Project command.params['project'] = project unless project.nil? command.query['clientOperationId'] = client_operation_id unless client_operation_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_changes(project, managed_zone, max_results: nil, page_token: nil, sort_by: nil, sort_order: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DnsV2beta1::ChangesListResponse
Enumerate Changes to a ResourceRecordSet collection.
186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 |
# File 'generated/google/apis/dns_v2beta1/service.rb', line 186 def list_changes(project, managed_zone, max_results: nil, page_token: nil, sort_by: nil, sort_order: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/managedZones/{managedZone}/changes', ) command.response_representation = Google::Apis::DnsV2beta1::ChangesListResponse::Representation command.response_class = Google::Apis::DnsV2beta1::ChangesListResponse command.params['project'] = project unless project.nil? command.params['managedZone'] = managed_zone unless managed_zone.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['sortBy'] = sort_by unless sort_by.nil? command.query['sortOrder'] = sort_order unless sort_order.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_dns_keys(project, managed_zone, digest_type: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DnsV2beta1::DnsKeysListResponse
Enumerate DnsKeys to a ResourceRecordSet collection.
290 291 292 293 294 295 296 297 298 299 300 301 302 303 |
# File 'generated/google/apis/dns_v2beta1/service.rb', line 290 def list_dns_keys(project, managed_zone, digest_type: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/managedZones/{managedZone}/dnsKeys', ) command.response_representation = Google::Apis::DnsV2beta1::DnsKeysListResponse::Representation command.response_class = Google::Apis::DnsV2beta1::DnsKeysListResponse command.params['project'] = project unless project.nil? command.params['managedZone'] = managed_zone unless managed_zone.nil? command.query['digestType'] = digest_type unless digest_type.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_managed_zone_operations(project, managed_zone, max_results: nil, page_token: nil, sort_by: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DnsV2beta1::ManagedZoneOperationsListResponse
Enumerate Operations for the given ManagedZone.
384 385 386 387 388 389 390 391 392 393 394 395 396 397 |
# File 'generated/google/apis/dns_v2beta1/service.rb', line 384 def list_managed_zone_operations(project, managed_zone, max_results: nil, page_token: nil, sort_by: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/managedZones/{managedZone}/operations', ) command.response_representation = Google::Apis::DnsV2beta1::ManagedZoneOperationsListResponse::Representation command.response_class = Google::Apis::DnsV2beta1::ManagedZoneOperationsListResponse command.params['project'] = project unless project.nil? command.params['managedZone'] = managed_zone unless managed_zone.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['sortBy'] = sort_by unless sort_by.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_managed_zones(project, dns_name: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DnsV2beta1::ManagedZonesListResponse
Enumerate ManagedZones that have been created but not yet deleted.
559 560 561 562 563 564 565 566 567 568 569 570 571 |
# File 'generated/google/apis/dns_v2beta1/service.rb', line 559 def list_managed_zones(project, dns_name: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/managedZones', ) command.response_representation = Google::Apis::DnsV2beta1::ManagedZonesListResponse::Representation command.response_class = Google::Apis::DnsV2beta1::ManagedZonesListResponse command.params['project'] = project unless project.nil? command.query['dnsName'] = dns_name unless dns_name.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_resource_record_sets(project, managed_zone, max_results: nil, name: nil, page_token: nil, type: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DnsV2beta1::ResourceRecordSetsListResponse
Enumerate ResourceRecordSets that have been created but not yet deleted.
743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 |
# File 'generated/google/apis/dns_v2beta1/service.rb', line 743 def list_resource_record_sets(project, managed_zone, max_results: nil, name: nil, page_token: nil, type: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/managedZones/{managedZone}/rrsets', ) command.response_representation = Google::Apis::DnsV2beta1::ResourceRecordSetsListResponse::Representation command.response_class = Google::Apis::DnsV2beta1::ResourceRecordSetsListResponse command.params['project'] = project unless project.nil? command.params['managedZone'] = managed_zone unless managed_zone.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['name'] = name unless name.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['type'] = type unless type.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#patch_managed_zone(project, managed_zone, managed_zone_object = nil, client_operation_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DnsV2beta1::Operation
Update an existing ManagedZone. This method supports patch semantics.
604 605 606 607 608 609 610 611 612 613 614 615 616 617 |
# File 'generated/google/apis/dns_v2beta1/service.rb', line 604 def patch_managed_zone(project, managed_zone, managed_zone_object = nil, client_operation_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, '{project}/managedZones/{managedZone}', ) command.request_representation = Google::Apis::DnsV2beta1::ManagedZone::Representation command.request_object = managed_zone_object command.response_representation = Google::Apis::DnsV2beta1::Operation::Representation command.response_class = Google::Apis::DnsV2beta1::Operation command.params['project'] = project unless project.nil? command.params['managedZone'] = managed_zone unless managed_zone.nil? command.query['clientOperationId'] = client_operation_id unless client_operation_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#update_managed_zone(project, managed_zone, managed_zone_object = nil, client_operation_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DnsV2beta1::Operation
Update an existing ManagedZone.
650 651 652 653 654 655 656 657 658 659 660 661 662 663 |
# File 'generated/google/apis/dns_v2beta1/service.rb', line 650 def update_managed_zone(project, managed_zone, managed_zone_object = nil, client_operation_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:put, '{project}/managedZones/{managedZone}', ) command.request_representation = Google::Apis::DnsV2beta1::ManagedZone::Representation command.request_object = managed_zone_object command.response_representation = Google::Apis::DnsV2beta1::Operation::Representation command.response_class = Google::Apis::DnsV2beta1::Operation command.params['project'] = project unless project.nil? command.params['managedZone'] = managed_zone unless managed_zone.nil? command.query['clientOperationId'] = client_operation_id unless client_operation_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |