Cloud DNS API . projects

Instance Methods

get(project, clientOperationId=None, x__xgafv=None)

Fetch the representation of an existing Project.

Method Details

get(project, clientOperationId=None, x__xgafv=None)
Fetch the representation of an existing Project.

Args:
  project: string, Identifies the project addressed by this request. (required)
  clientOperationId: string, For mutating operation requests only. An optional identifier
specified by the client. Must be unique for operation resources in the
Operations collection.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # A project resource. The project is a top level container for resources
      # including Cloud DNS ManagedZones. Projects can be created only in the APIs
      # console.
    "id": "A String", # User assigned unique identifier for the resource (output only).
    "quota": { # Limits associated with a Project. # Quotas assigned to this project (output only).
      "totalRrdataSizePerChange": 42, # Maximum allowed size for total rrdata in one ChangesCreateRequest in
          # bytes.
      "rrsetsPerManagedZone": 42, # Maximum allowed number of ResourceRecordSets per zone in the project.
      "targetNameServersPerManagedZone": 42, # Maximum allowed number of target name servers per managed forwarding zone.
      "kind": "dns#quota",
      "rrsetDeletionsPerChange": 42, # Maximum allowed number of ResourceRecordSets to delete per
          # ChangesCreateRequest.
      "networksPerManagedZone": 42, # Maximum allowed number of networks to which a privately scoped zone can be
          # attached.
      "networksPerPolicy": 42, # Maximum allowed number of networks per policy.
      "managedZones": 42, # Maximum allowed number of managed zones in the project.
      "dnsKeysPerManagedZone": 42, # Maximum allowed number of DnsKeys per ManagedZone.
      "targetNameServersPerPolicy": 42, # Maximum allowed number of alternative target name servers per policy.
      "whitelistedKeySpecs": [ # DNSSEC algorithm and key length types that can be used for DnsKeys.
        { # Parameters for DnsKey key generation. Used for generating initial keys
            # for a new ManagedZone and as default when adding a new DnsKey.
          "algorithm": "A String", # String mnemonic specifying the DNSSEC algorithm of this key.
          "kind": "dns#dnsKeySpec",
          "keyLength": 42, # Length of the keys in bits.
          "keyType": "A String", # Specifies whether this is a key signing key (KSK) or a zone signing key
              # (ZSK). Key signing keys have the Secure Entry Point flag set and, when
              # active, will only be used to sign resource record sets of type DNSKEY.
              # Zone signing keys do not have the Secure Entry Point flag set and will be
              # used to sign all other types of resource record sets.
        },
      ],
      "policies": 42, # Maximum allowed number of policies per project.
      "rrsetAdditionsPerChange": 42, # Maximum allowed number of ResourceRecordSets to add per
          # ChangesCreateRequest.
      "resourceRecordsPerRrset": 42, # Maximum allowed number of ResourceRecords per ResourceRecordSet.
      "managedZonesPerNetwork": 42, # Maximum allowed number of managed zones which can be attached to a
          # network.
    },
    "number": "A String", # Unique numeric identifier for the resource; defined by the server (output
        # only).
    "kind": "dns#project",
  }