Google Cloud DNS API . managedZoneOperations

Instance Methods

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

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

list_next(previous_request=*, previous_response=*)

Retrieves the next page of results.

Method Details

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

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

Returns:
  An object of the form:

    {
    "status": "A String",
    "kind": "dns#operation", # Identifies what kind of resource this is. Value: the fixed string "dns#operation".
    "dnsKeyContext": {
      "newValue": {
        "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,
      },
      "oldValue": {
        "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,
      },
    },
    "zoneContext": {
      "newValue": {
        "reverseLookupConfig": {
          "kind": "dns#managedZoneReverseLookupConfig", # Identifies what kind of resource this is. Value: the fixed string "dns#managedZoneReverseLookupConfig".
        },
        "kind": "dns#managedZone", # Identifies what kind of resource this is. Value: the fixed string "dns#managedZone".
        "labels": {
          "a_key": "A String",
        },
        "description": "A String",
        "nameServers": [
          "A String",
        ],
        "forwardingConfig": {
          "kind": "dns#managedZoneForwardingConfig", # Identifies what kind of resource this is. Value: the fixed string "dns#managedZoneForwardingConfig".
          "targetNameServers": [
            {
              "ipv4Address": "A String",
              "forwardingPath": "A String",
              "kind": "dns#managedZoneForwardingConfigNameServerTarget", # Identifies what kind of resource this is. Value: the fixed string "dns#managedZoneForwardingConfigNameServerTarget".
            },
          ],
        },
        "creationTime": "A String",
        "visibility": "A String",
        "nameServerSet": "A String",
        "privateVisibilityConfig": {
          "kind": "dns#managedZonePrivateVisibilityConfig", # Identifies what kind of resource this is. Value: the fixed string "dns#managedZonePrivateVisibilityConfig".
          "networks": [
            {
              "kind": "dns#managedZonePrivateVisibilityConfigNetwork", # Identifies what kind of resource this is. Value: the fixed string "dns#managedZonePrivateVisibilityConfigNetwork".
              "networkUrl": "A String",
            },
          ],
        },
        "dnsName": "A String",
        "dnssecConfig": {
          "kind": "dns#managedZoneDnsSecConfig", # Identifies what kind of resource this is. Value: the fixed string "dns#managedZoneDnsSecConfig".
          "defaultKeySpecs": [
            {
              "keyType": "A String",
              "keyLength": 42,
              "kind": "dns#dnsKeySpec", # Identifies what kind of resource this is. Value: the fixed string "dns#dnsKeySpec".
              "algorithm": "A String",
            },
          ],
          "state": "A String",
          "nonExistence": "A String",
        },
        "peeringConfig": {
          "kind": "dns#managedZonePeeringConfig", # Identifies what kind of resource this is. Value: the fixed string "dns#managedZonePeeringConfig".
          "targetNetwork": {
            "kind": "dns#managedZonePeeringConfigTargetNetwork", # Identifies what kind of resource this is. Value: the fixed string "dns#managedZonePeeringConfigTargetNetwork".
            "deactivateTime": "A String",
            "networkUrl": "A String",
          },
        },
        "id": "A String",
        "name": "A String",
      },
      "oldValue": {
        "reverseLookupConfig": {
          "kind": "dns#managedZoneReverseLookupConfig", # Identifies what kind of resource this is. Value: the fixed string "dns#managedZoneReverseLookupConfig".
        },
        "kind": "dns#managedZone", # Identifies what kind of resource this is. Value: the fixed string "dns#managedZone".
        "labels": {
          "a_key": "A String",
        },
        "description": "A String",
        "nameServers": [
          "A String",
        ],
        "forwardingConfig": {
          "kind": "dns#managedZoneForwardingConfig", # Identifies what kind of resource this is. Value: the fixed string "dns#managedZoneForwardingConfig".
          "targetNameServers": [
            {
              "ipv4Address": "A String",
              "forwardingPath": "A String",
              "kind": "dns#managedZoneForwardingConfigNameServerTarget", # Identifies what kind of resource this is. Value: the fixed string "dns#managedZoneForwardingConfigNameServerTarget".
            },
          ],
        },
        "creationTime": "A String",
        "visibility": "A String",
        "nameServerSet": "A String",
        "privateVisibilityConfig": {
          "kind": "dns#managedZonePrivateVisibilityConfig", # Identifies what kind of resource this is. Value: the fixed string "dns#managedZonePrivateVisibilityConfig".
          "networks": [
            {
              "kind": "dns#managedZonePrivateVisibilityConfigNetwork", # Identifies what kind of resource this is. Value: the fixed string "dns#managedZonePrivateVisibilityConfigNetwork".
              "networkUrl": "A String",
            },
          ],
        },
        "dnsName": "A String",
        "dnssecConfig": {
          "kind": "dns#managedZoneDnsSecConfig", # Identifies what kind of resource this is. Value: the fixed string "dns#managedZoneDnsSecConfig".
          "defaultKeySpecs": [
            {
              "keyType": "A String",
              "keyLength": 42,
              "kind": "dns#dnsKeySpec", # Identifies what kind of resource this is. Value: the fixed string "dns#dnsKeySpec".
              "algorithm": "A String",
            },
          ],
          "state": "A String",
          "nonExistence": "A String",
        },
        "peeringConfig": {
          "kind": "dns#managedZonePeeringConfig", # Identifies what kind of resource this is. Value: the fixed string "dns#managedZonePeeringConfig".
          "targetNetwork": {
            "kind": "dns#managedZonePeeringConfigTargetNetwork", # Identifies what kind of resource this is. Value: the fixed string "dns#managedZonePeeringConfigTargetNetwork".
            "deactivateTime": "A String",
            "networkUrl": "A String",
          },
        },
        "id": "A String",
        "name": "A String",
      },
    },
    "user": "A String",
    "startTime": "A String",
    "type": "A String",
    "id": "A String",
  }
list(project=*, managedZone=*, pageToken=None, maxResults=None, sortBy=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
      id - 
      startTime - 

Returns:
  An object of the form:

    {
    "nextPageToken": "A String",
    "header": {
      "operationId": "A String",
    },
    "kind": "dns#managedZoneOperationsListResponse", # Type of resource.
    "operations": [
      {
        "status": "A String",
        "kind": "dns#operation", # Identifies what kind of resource this is. Value: the fixed string "dns#operation".
        "dnsKeyContext": {
          "newValue": {
            "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,
          },
          "oldValue": {
            "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,
          },
        },
        "zoneContext": {
          "newValue": {
            "reverseLookupConfig": {
              "kind": "dns#managedZoneReverseLookupConfig", # Identifies what kind of resource this is. Value: the fixed string "dns#managedZoneReverseLookupConfig".
            },
            "kind": "dns#managedZone", # Identifies what kind of resource this is. Value: the fixed string "dns#managedZone".
            "labels": {
              "a_key": "A String",
            },
            "description": "A String",
            "nameServers": [
              "A String",
            ],
            "forwardingConfig": {
              "kind": "dns#managedZoneForwardingConfig", # Identifies what kind of resource this is. Value: the fixed string "dns#managedZoneForwardingConfig".
              "targetNameServers": [
                {
                  "ipv4Address": "A String",
                  "forwardingPath": "A String",
                  "kind": "dns#managedZoneForwardingConfigNameServerTarget", # Identifies what kind of resource this is. Value: the fixed string "dns#managedZoneForwardingConfigNameServerTarget".
                },
              ],
            },
            "creationTime": "A String",
            "visibility": "A String",
            "nameServerSet": "A String",
            "privateVisibilityConfig": {
              "kind": "dns#managedZonePrivateVisibilityConfig", # Identifies what kind of resource this is. Value: the fixed string "dns#managedZonePrivateVisibilityConfig".
              "networks": [
                {
                  "kind": "dns#managedZonePrivateVisibilityConfigNetwork", # Identifies what kind of resource this is. Value: the fixed string "dns#managedZonePrivateVisibilityConfigNetwork".
                  "networkUrl": "A String",
                },
              ],
            },
            "dnsName": "A String",
            "dnssecConfig": {
              "kind": "dns#managedZoneDnsSecConfig", # Identifies what kind of resource this is. Value: the fixed string "dns#managedZoneDnsSecConfig".
              "defaultKeySpecs": [
                {
                  "keyType": "A String",
                  "keyLength": 42,
                  "kind": "dns#dnsKeySpec", # Identifies what kind of resource this is. Value: the fixed string "dns#dnsKeySpec".
                  "algorithm": "A String",
                },
              ],
              "state": "A String",
              "nonExistence": "A String",
            },
            "peeringConfig": {
              "kind": "dns#managedZonePeeringConfig", # Identifies what kind of resource this is. Value: the fixed string "dns#managedZonePeeringConfig".
              "targetNetwork": {
                "kind": "dns#managedZonePeeringConfigTargetNetwork", # Identifies what kind of resource this is. Value: the fixed string "dns#managedZonePeeringConfigTargetNetwork".
                "deactivateTime": "A String",
                "networkUrl": "A String",
              },
            },
            "id": "A String",
            "name": "A String",
          },
          "oldValue": {
            "reverseLookupConfig": {
              "kind": "dns#managedZoneReverseLookupConfig", # Identifies what kind of resource this is. Value: the fixed string "dns#managedZoneReverseLookupConfig".
            },
            "kind": "dns#managedZone", # Identifies what kind of resource this is. Value: the fixed string "dns#managedZone".
            "labels": {
              "a_key": "A String",
            },
            "description": "A String",
            "nameServers": [
              "A String",
            ],
            "forwardingConfig": {
              "kind": "dns#managedZoneForwardingConfig", # Identifies what kind of resource this is. Value: the fixed string "dns#managedZoneForwardingConfig".
              "targetNameServers": [
                {
                  "ipv4Address": "A String",
                  "forwardingPath": "A String",
                  "kind": "dns#managedZoneForwardingConfigNameServerTarget", # Identifies what kind of resource this is. Value: the fixed string "dns#managedZoneForwardingConfigNameServerTarget".
                },
              ],
            },
            "creationTime": "A String",
            "visibility": "A String",
            "nameServerSet": "A String",
            "privateVisibilityConfig": {
              "kind": "dns#managedZonePrivateVisibilityConfig", # Identifies what kind of resource this is. Value: the fixed string "dns#managedZonePrivateVisibilityConfig".
              "networks": [
                {
                  "kind": "dns#managedZonePrivateVisibilityConfigNetwork", # Identifies what kind of resource this is. Value: the fixed string "dns#managedZonePrivateVisibilityConfigNetwork".
                  "networkUrl": "A String",
                },
              ],
            },
            "dnsName": "A String",
            "dnssecConfig": {
              "kind": "dns#managedZoneDnsSecConfig", # Identifies what kind of resource this is. Value: the fixed string "dns#managedZoneDnsSecConfig".
              "defaultKeySpecs": [
                {
                  "keyType": "A String",
                  "keyLength": 42,
                  "kind": "dns#dnsKeySpec", # Identifies what kind of resource this is. Value: the fixed string "dns#dnsKeySpec".
                  "algorithm": "A String",
                },
              ],
              "state": "A String",
              "nonExistence": "A String",
            },
            "peeringConfig": {
              "kind": "dns#managedZonePeeringConfig", # Identifies what kind of resource this is. Value: the fixed string "dns#managedZonePeeringConfig".
              "targetNetwork": {
                "kind": "dns#managedZonePeeringConfigTargetNetwork", # Identifies what kind of resource this is. Value: the fixed string "dns#managedZonePeeringConfigTargetNetwork".
                "deactivateTime": "A String",
                "networkUrl": "A String",
              },
            },
            "id": "A String",
            "name": "A String",
          },
        },
        "user": "A String",
        "startTime": "A String",
        "type": "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.