Google Cloud DNS API . dnsKeys

Instance Methods

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

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

list_next(previous_request=*, previous_response=*)

Retrieves the next page of results.

Method Details

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

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

Returns:
  An object of the form:

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

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

Returns:
  An object of the form:

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