Package-level declarations

Types

Link copied to clipboard
data class DnsKeySpecResponse(val algorithm: String, val keyLength: Int, val keyType: String, val kind: String)

Parameters for DnsKey key generation. Used for generating initial keys for a new ManagedZone and as default when adding a new DnsKey.

Link copied to clipboard
data class ExprResponse(val description: String, val expression: String, val location: String, val title: String)

Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.

Link copied to clipboard
data class GetChangeResult(val additions: List<ResourceRecordSetResponse>, val deletions: List<ResourceRecordSetResponse>, val isServing: Boolean, val kind: String, val startTime: String, val status: String)
Link copied to clipboard
data class GetManagedZoneIamPolicyResult(val auditConfigs: List<GoogleIamV1AuditConfigResponse>, val bindings: List<GoogleIamV1BindingResponse>, val etag: String, val version: Int)
Link copied to clipboard
data class GetManagedZoneResult(val cloudLoggingConfig: ManagedZoneCloudLoggingConfigResponse, val creationTime: String, val description: String, val dnsName: String, val dnssecConfig: ManagedZoneDnsSecConfigResponse, val forwardingConfig: ManagedZoneForwardingConfigResponse, val kind: String, val labels: Map<String, String>, val name: String, val nameServerSet: String, val nameServers: List<String>, val peeringConfig: ManagedZonePeeringConfigResponse, val privateVisibilityConfig: ManagedZonePrivateVisibilityConfigResponse, val reverseLookupConfig: ManagedZoneReverseLookupConfigResponse, val serviceDirectoryConfig: ManagedZoneServiceDirectoryConfigResponse, val visibility: String)
Link copied to clipboard
data class GetPolicyResult(val alternativeNameServerConfig: PolicyAlternativeNameServerConfigResponse, val description: String, val enableInboundForwarding: Boolean, val enableLogging: Boolean, val kind: String, val name: String, val networks: List<PolicyNetworkResponse>)
Link copied to clipboard
data class GetResourceRecordSetResult(val kind: String, val name: String, val routingPolicy: RRSetRoutingPolicyResponse, val rrdatas: List<String>, val signatureRrdatas: List<String>, val ttl: Int, val type: String)
Link copied to clipboard
data class GetResponsePolicyResult(val description: String, val gkeClusters: List<ResponsePolicyGKEClusterResponse>, val kind: String, val labels: Map<String, String>, val networks: List<ResponsePolicyNetworkResponse>, val responsePolicyName: String)
Link copied to clipboard
data class GetResponsePolicyRuleResult(val behavior: String, val dnsName: String, val kind: String, val localData: ResponsePolicyRuleLocalDataResponse, val ruleName: String)
Link copied to clipboard
data class GoogleIamV1AuditConfigResponse(val auditLogConfigs: List<GoogleIamV1AuditLogConfigResponse>, val service: String)

Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both allServices and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": "user:jose@example.com" }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": "user:aliya@example.com" } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts jose@example.com from DATA_READ logging, and aliya@example.com from DATA_WRITE logging.

Link copied to clipboard
data class GoogleIamV1AuditLogConfigResponse(val exemptedMembers: List<String>, val logType: String)

Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": "user:jose@example.com" }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.

Link copied to clipboard
data class GoogleIamV1BindingResponse(val condition: ExprResponse, val members: List<String>, val role: String)

Associates members, or principals, with a role.

Link copied to clipboard
data class ManagedZoneCloudLoggingConfigResponse(val enableLogging: Boolean, val kind: String)

Cloud Logging configurations for publicly visible zones.

Link copied to clipboard
data class ManagedZoneDnsSecConfigResponse(val defaultKeySpecs: List<DnsKeySpecResponse>, val kind: String, val nonExistence: String, val state: String)
data class ManagedZoneForwardingConfigNameServerTargetResponse(val forwardingPath: String, val ipv4Address: String, val ipv6Address: String, val kind: String)
data class ManagedZonePeeringConfigTargetNetworkResponse(val deactivateTime: String, val kind: String, val networkUrl: String)
data class ManagedZoneServiceDirectoryConfigNamespaceResponse(val deletionTime: String, val kind: String, val namespaceUrl: String)

Contains information about Service Directory-backed zones.

data class PolicyAlternativeNameServerConfigTargetNameServerResponse(val forwardingPath: String, val ipv4Address: String, val ipv6Address: String, val kind: String)
Link copied to clipboard
data class PolicyNetworkResponse(val kind: String, val networkUrl: String)
Link copied to clipboard
data class ResourceRecordSetResponse(val kind: String, val name: String, val routingPolicy: RRSetRoutingPolicyResponse, val rrdatas: List<String>, val signatureRrdatas: List<String>, val ttl: Int, val type: String)

A unit of data that is returned by the DNS servers.

Link copied to clipboard
data class ResponsePolicyGKEClusterResponse(val gkeClusterName: String, val kind: String)
Link copied to clipboard
data class ResponsePolicyNetworkResponse(val kind: String, val networkUrl: String)
data class RRSetRoutingPolicyGeoPolicyGeoPolicyItemResponse(val healthCheckedTargets: RRSetRoutingPolicyHealthCheckTargetsResponse, val kind: String, val location: String, val rrdatas: List<String>, val signatureRrdatas: List<String>)

ResourceRecordSet data for one geo location.

Link copied to clipboard

Configures a RRSetRoutingPolicy that routes based on the geo location of the querying user.

HealthCheckTargets describes endpoints to health-check when responding to Routing Policy queries. Only the healthy endpoints will be included in the response.

data class RRSetRoutingPolicyLoadBalancerTargetResponse(val ipAddress: String, val ipProtocol: String, val kind: String, val loadBalancerType: String, val networkUrl: String, val port: String, val project: String, val region: String)
data class RRSetRoutingPolicyPrimaryBackupPolicyResponse(val backupGeoTargets: RRSetRoutingPolicyGeoPolicyResponse, val kind: String, val primaryTargets: RRSetRoutingPolicyHealthCheckTargetsResponse, val trickleTraffic: Double)

Configures a RRSetRoutingPolicy such that all queries are responded with the primary_targets if they are healthy. And if all of them are unhealthy, then we fallback to a geo localized policy.

Link copied to clipboard

A RRSetRoutingPolicy represents ResourceRecordSet data that is returned dynamically with the response varying based on configured properties such as geolocation or by weighted random selection.

Link copied to clipboard

Configures a RRSetRoutingPolicy that routes in a weighted round robin fashion.

data class RRSetRoutingPolicyWrrPolicyWrrPolicyItemResponse(val healthCheckedTargets: RRSetRoutingPolicyHealthCheckTargetsResponse, val kind: String, val rrdatas: List<String>, val signatureRrdatas: List<String>, val weight: Double)

A routing block which contains the routing information for one WRR item.