Google Cloud DNS API . changes

Instance Methods

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

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

list(project, managedZone, maxResults=None, pageToken=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:

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

  clientOperationId: string, A parameter

Returns:
  An object of the form:

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

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

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

Returns:
  An object of the form:

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