Google Cloud DNS API . changes

Instance Methods

create(project=*, managedZone=*, body=None, clientOperationId=None)

get(project=*, managedZone=*, changeId=*, clientOperationId=None)

list(project=*, managedZone=*, pageToken=None, maxResults=None, sortBy=None, sortOrder=None)

list_next(previous_request=*, previous_response=*)

Retrieves the next page of results.

Method Details

create(project=*, managedZone=*, body=None, clientOperationId=None)

Args:
  project: string, A parameter (required)
  managedZone: string, A parameter (required)
  body: object, The request body.
    The object takes the form of:

{
    "deletions": [
      {
        "rrdatas": [
          "A String",
        ],
        "kind": "dns#resourceRecordSet", # Identifies what kind of resource this is. Value: the fixed string "dns#resourceRecordSet".
        "name": "A String",
        "ttl": 42,
        "type": "A String",
        "signatureRrdatas": [
          "A String",
        ],
      },
    ],
    "status": "A String",
    "kind": "dns#change", # Identifies what kind of resource this is. Value: the fixed string "dns#change".
    "isServing": True or False,
    "startTime": "A String",
    "additions": [
      {
        "rrdatas": [
          "A String",
        ],
        "kind": "dns#resourceRecordSet", # Identifies what kind of resource this is. Value: the fixed string "dns#resourceRecordSet".
        "name": "A String",
        "ttl": 42,
        "type": "A String",
        "signatureRrdatas": [
          "A String",
        ],
      },
    ],
    "id": "A String",
  }

  clientOperationId: string, A parameter

Returns:
  An object of the form:

    {
      "deletions": [
        {
          "rrdatas": [
            "A String",
          ],
          "kind": "dns#resourceRecordSet", # Identifies what kind of resource this is. Value: the fixed string "dns#resourceRecordSet".
          "name": "A String",
          "ttl": 42,
          "type": "A String",
          "signatureRrdatas": [
            "A String",
          ],
        },
      ],
      "status": "A String",
      "kind": "dns#change", # Identifies what kind of resource this is. Value: the fixed string "dns#change".
      "isServing": True or False,
      "startTime": "A String",
      "additions": [
        {
          "rrdatas": [
            "A String",
          ],
          "kind": "dns#resourceRecordSet", # Identifies what kind of resource this is. Value: the fixed string "dns#resourceRecordSet".
          "name": "A String",
          "ttl": 42,
          "type": "A String",
          "signatureRrdatas": [
            "A String",
          ],
        },
      ],
      "id": "A String",
    }
get(project=*, managedZone=*, changeId=*, clientOperationId=None)

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

Returns:
  An object of the form:

    {
      "deletions": [
        {
          "rrdatas": [
            "A String",
          ],
          "kind": "dns#resourceRecordSet", # Identifies what kind of resource this is. Value: the fixed string "dns#resourceRecordSet".
          "name": "A String",
          "ttl": 42,
          "type": "A String",
          "signatureRrdatas": [
            "A String",
          ],
        },
      ],
      "status": "A String",
      "kind": "dns#change", # Identifies what kind of resource this is. Value: the fixed string "dns#change".
      "isServing": True or False,
      "startTime": "A String",
      "additions": [
        {
          "rrdatas": [
            "A String",
          ],
          "kind": "dns#resourceRecordSet", # Identifies what kind of resource this is. Value: the fixed string "dns#resourceRecordSet".
          "name": "A String",
          "ttl": 42,
          "type": "A String",
          "signatureRrdatas": [
            "A String",
          ],
        },
      ],
      "id": "A String",
    }
list(project=*, managedZone=*, pageToken=None, maxResults=None, sortBy=None, sortOrder=None)

Args:
  project: string, A parameter (required)
  managedZone: string, A parameter (required)
  pageToken: string, A parameter
  maxResults: integer, A parameter
  sortBy: string, A parameter
    Allowed values
      changeSequence - 
  sortOrder: string, A parameter

Returns:
  An object of the form:

    {
    "nextPageToken": "A String",
    "header": {
      "operationId": "A String",
    },
    "kind": "dns#changesListResponse", # Type of resource.
    "changes": [
      {
          "deletions": [
            {
              "rrdatas": [
                "A String",
              ],
              "kind": "dns#resourceRecordSet", # Identifies what kind of resource this is. Value: the fixed string "dns#resourceRecordSet".
              "name": "A String",
              "ttl": 42,
              "type": "A String",
              "signatureRrdatas": [
                "A String",
              ],
            },
          ],
          "status": "A String",
          "kind": "dns#change", # Identifies what kind of resource this is. Value: the fixed string "dns#change".
          "isServing": True or False,
          "startTime": "A String",
          "additions": [
            {
              "rrdatas": [
                "A String",
              ],
              "kind": "dns#resourceRecordSet", # Identifies what kind of resource this is. Value: the fixed string "dns#resourceRecordSet".
              "name": "A String",
              "ttl": 42,
              "type": "A String",
              "signatureRrdatas": [
                "A String",
              ],
            },
          ],
          "id": "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.