add(parent, body=None, x__xgafv=None)
Add DNS peering on the given resource.
Close httplib2 connections.
list(parent, pageSize=None, pageToken=None, x__xgafv=None)
List DNS peering for a given resource.
list_next(previous_request, previous_response)
Retrieves the next page of results.
remove(parent, body=None, x__xgafv=None)
Remove DNS peering on the given resource.
add(parent, body=None, x__xgafv=None)
Add DNS peering on the given resource. Args: parent: string, Required. The resource on which DNS peering will be created. (required) body: object, The request body. The object takes the form of: { # Request message to create dns peering. "dnsPeering": { # DNS peering configuration. These configurations are used to create DNS peering with the customer Cloud DNS. # Dns peering config. "description": "A String", # Optional. Optional description of the dns zone. "domain": "A String", # Required. Name of the dns. "targetNetwork": "A String", # Optional. Optional target network to which dns peering should happen. "targetProject": "A String", # Optional. Optional target project to which dns peering should happen. "zone": "A String", # Required. Name of the zone. }, } x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # Response message for set dns peering method. }
close()
Close httplib2 connections.
list(parent, pageSize=None, pageToken=None, x__xgafv=None)
List DNS peering for a given resource. Args: parent: string, Required. The resource on which dns peering will be listed. (required) pageSize: integer, The maximum number of items to return. pageToken: string, The next_page_token value to use if there are additional results to retrieve for this list request. x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # List dns peering response. "dnsPeerings": [ # List of dns peering configs. { # DNS peering configuration. These configurations are used to create DNS peering with the customer Cloud DNS. "description": "A String", # Optional. Optional description of the dns zone. "domain": "A String", # Required. Name of the dns. "targetNetwork": "A String", # Optional. Optional target network to which dns peering should happen. "targetProject": "A String", # Optional. Optional target project to which dns peering should happen. "zone": "A String", # Required. Name of the zone. }, ], "nextPageToken": "A String", # Token to retrieve the next page of results or empty if there are no more results in the list. }
list_next(previous_request, previous_response)
Retrieves the next page of results. Args: previous_request: The request for the previous page. (required) previous_response: The response from the request for the previous page. (required) Returns: A request object that you can call 'execute()' on to request the next page. Returns None if there are no more items in the collection.
remove(parent, body=None, x__xgafv=None)
Remove DNS peering on the given resource. Args: parent: string, Required. The resource on which DNS peering will be removed. (required) body: object, The request body. The object takes the form of: { # Request message to remove dns peering. "zone": "A String", # Required. The zone to be removed. } x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # Response message for set dns peering method. }