Google Cloud DNS API . dnsKeys

Instance Methods

get(project, managedZone, dnsKeyId, clientOperationId=None, digestType=None)

list(project, managedZone, digestType=None, maxResults=None, pageToken=None)

list_next(previous_request, previous_response)

Retrieves the next page of results.

Method Details

get(project, managedZone, dnsKeyId, clientOperationId=None, digestType=None)

Args:
  project: string, A parameter (required)
  managedZone: string, A parameter (required)
  dnsKeyId: string, A parameter (required)
  clientOperationId: string, A parameter
  digestType: string, A parameter

Returns:
  An object of the form:

    {
    "algorithm": "A String",
    "creationTime": "A String",
    "description": "A String",
    "digests": [
      {
        "digest": "A String",
        "type": "A String",
      },
    ],
    "id": "A String",
    "isActive": True or False,
    "keyLength": 42,
    "keyTag": 42,
    "kind": "dns#dnsKey", # Identifies what kind of resource this is. Value: the fixed string "dns#dnsKey".
    "publicKey": "A String",
    "type": "A String",
  }
list(project, managedZone, digestType=None, maxResults=None, pageToken=None)

Args:
  project: string, A parameter (required)
  managedZone: string, A parameter (required)
  digestType: string, A parameter
  maxResults: integer, A parameter
  pageToken: string, A parameter

Returns:
  An object of the form:

    {
    "dnsKeys": [
      {
        "algorithm": "A String",
        "creationTime": "A String",
        "description": "A String",
        "digests": [
          {
            "digest": "A String",
            "type": "A String",
          },
        ],
        "id": "A String",
        "isActive": True or False,
        "keyLength": 42,
        "keyTag": 42,
        "kind": "dns#dnsKey", # Identifies what kind of resource this is. Value: the fixed string "dns#dnsKey".
        "publicKey": "A String",
        "type": "A String",
      },
    ],
    "header": {
      "operationId": "A String",
    },
    "kind": "dns#dnsKeysListResponse", # Type of resource.
    "nextPageToken": "A String",
  }
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.