Close httplib2 connections.
Service producers can use this method to retrieve a DNS zone in the shared producer host project and the matching peering zones in consumer project
* Service producers can use this method to retrieve a list of available DNS zones in the shared producer host project and the matching peering zones in the consumer project. *
close()
Close httplib2 connections.
get(name, x__xgafv=None)
Service producers can use this method to retrieve a DNS zone in the shared producer host project and the matching peering zones in consumer project Args: name: string, Required. The network that the consumer is using to connect with services. Must be in the form of services/{service}/projects/{project}/global/networks/{network}/zones/{zoneName} Where {service} is the peering service that is managing connectivity for the service producer's organization. For Google services that support this {project} is the project number, as in '12345' {network} is the network name. {zoneName} is the DNS zone name (required) x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # Represents managed DNS zones created in the shared Producer host and consumer projects. "consumerPeeringZone": { # Represents a DNS zone resource. # The DNS peering zone created in the consumer project. "dnsSuffix": "A String", # The DNS name suffix of this zone e.g. `example.com.`. Cloud DNS requires that a DNS suffix ends with a trailing dot. "name": "A String", # User assigned name for this resource. Must be unique within the project. The name must be 1-63 characters long, must begin with a letter, end with a letter or digit, and only contain lowercase letters, digits or dashes. }, "producerPrivateZone": { # Represents a DNS zone resource. # The private DNS zone created in the shared producer host project. "dnsSuffix": "A String", # The DNS name suffix of this zone e.g. `example.com.`. Cloud DNS requires that a DNS suffix ends with a trailing dot. "name": "A String", # User assigned name for this resource. Must be unique within the project. The name must be 1-63 characters long, must begin with a letter, end with a letter or digit, and only contain lowercase letters, digits or dashes. }, }
list(parent, x__xgafv=None)
* Service producers can use this method to retrieve a list of available DNS zones in the shared producer host project and the matching peering zones in the consumer project. * Args: parent: string, Required. Parent resource identifying the connection which owns this collection of DNS zones in the format services/{service}/projects/{project}/global/networks/{network} Service: The service that is managing connectivity for the service producer's organization. For Google services that support this functionality, this value is `servicenetworking.googleapis.com`. Projects: the consumer project containing the consumer network. Network: The consumer network accessible from the tenant project. (required) x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # Represents all DNS zones in the shared producer host project and the matching peering zones in the consumer project. "dnsZonePairs": [ # All pairs of private DNS zones in the shared producer host project and the matching peering zones in the consumer project.. { # * Represents a pair of private and peering DNS zone resources. * "consumerPeeringZone": { # Represents a DNS zone resource. # The DNS peering zone in the consumer project. "dnsSuffix": "A String", # The DNS name suffix of this zone e.g. `example.com.`. Cloud DNS requires that a DNS suffix ends with a trailing dot. "name": "A String", # User assigned name for this resource. Must be unique within the project. The name must be 1-63 characters long, must begin with a letter, end with a letter or digit, and only contain lowercase letters, digits or dashes. }, "producerPrivateZone": { # Represents a DNS zone resource. # The private DNS zone in the shared producer host project. "dnsSuffix": "A String", # The DNS name suffix of this zone e.g. `example.com.`. Cloud DNS requires that a DNS suffix ends with a trailing dot. "name": "A String", # User assigned name for this resource. Must be unique within the project. The name must be 1-63 characters long, must begin with a letter, end with a letter or digit, and only contain lowercase letters, digits or dashes. }, }, ], }