Close httplib2 connections.
list(project, managedZone, maxResults=None, name=None, pageToken=None, type=None, x__xgafv=None)
Enumerate ResourceRecordSets that have been created but not yet deleted.
list_next(previous_request, previous_response)
Retrieves the next page of results.
close()
Close httplib2 connections.
list(project, managedZone, maxResults=None, name=None, pageToken=None, type=None, x__xgafv=None)
Enumerate ResourceRecordSets that have been created but not yet deleted. Args: project: string, Identifies the project addressed by this request. (required) managedZone: string, Identifies the managed zone addressed by this request. Can be the managed zone name or ID. (required) maxResults: integer, Optional. Maximum number of results to be returned. If unspecified, the server will decide how many results to return. name: string, Restricts the list to return only records with this fully qualified domain name. pageToken: string, Optional. A tag returned by a previous list request that was truncated. Use this parameter to continue a previous list request. type: string, Restricts the list to return only records of this type. If present, the "name" parameter must also be present. x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { "header": { # Elements common to every response. "operationId": "A String", # For mutating operation requests that completed successfully. This is the client_operation_id if the client specified it, otherwise it is generated by the server (output only). }, "kind": "dns#resourceRecordSetsListResponse", "nextPageToken": "A String", # The presence of this field indicates that there exist more results following your last page of results in pagination order. To fetch them, make another list request using this value as your pagination token. In this way you can retrieve the complete contents of even very large collections one page at a time. However, if the contents of the collection change between the first and last paginated list request, the set of all elements returned will be an inconsistent view of the collection. There is no way to retrieve a consistent snapshot of a collection larger than the maximum page size. "rrsets": [ # The resource record set resources. { # A unit of data that will be returned by the DNS servers. "kind": "dns#resourceRecordSet", "name": "A String", # For example, www.example.com. "routingPolicy": { # A RRSetRoutingPolicy represents ResourceRecordSet data that will be returned dynamically with the response varying based on configured properties such as geolocation or by weighted random selection. # Configures dynamic query responses based on geo location of querying user or a weighted round robin based routing policy. A ResourceRecordSet should only have either rrdata (static) or routing_policy(dynamic). An error is returned otherwise. "geoPolicy": { "failovers": [ # If the health check for the primary target for a geo location returns an unhealthy status, the failover target is returned instead. This failover configuration is not mandatory. If a failover is not provided, the primary target won't be healthchecked - we'll return the primarily configured rrdata irrespective of whether it is healthy or not. { "kind": "dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem", "location": "A String", # The geo-location granularity is a GCP region. This location string should correspond to a GCP region. e.g "us-east1", "southamerica-east1", "asia-east1", etc. "rrdatas": [ "A String", ], "signatureRrdatas": [ # DNSSEC generated signatures for the above geo_rrdata. "A String", ], }, ], "items": [ # The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead. { "kind": "dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem", "location": "A String", # The geo-location granularity is a GCP region. This location string should correspond to a GCP region. e.g "us-east1", "southamerica-east1", "asia-east1", etc. "rrdatas": [ "A String", ], "signatureRrdatas": [ # DNSSEC generated signatures for the above geo_rrdata. "A String", ], }, ], "kind": "dns#rRSetRoutingPolicyGeoPolicy", }, "kind": "dns#rRSetRoutingPolicy", "wrrPolicy": { "items": [ { "kind": "dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem", "rrdatas": [ "A String", ], "signatureRrdatas": [ # DNSSEC generated signatures for the above wrr_rrdata. "A String", ], "weight": 3.14, # The weight corresponding to this subset of rrdata. When multiple WeightedRoundRobinPolicyItems are configured, the probability of returning an rrset is proportional to its weight relative to the sum of weights configured for all items. This weight should be a decimal in the range [0,1]. }, ], "kind": "dns#rRSetRoutingPolicyWrrPolicy", }, }, "rrdatas": [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples. "A String", ], "signatureRrdatas": [ # As defined in RFC 4034 (section 3.2). "A String", ], "ttl": 42, # Number of seconds that this ResourceRecordSet can be cached by resolvers. "type": "A String", # The identifier of a supported record type. See the list of Supported DNS record types. }, ], }
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.