Package-level declarations

Types

Link copied to clipboard
data class AuditConfigResponse(val auditLogConfigs: List<AuditLogConfigResponse>, 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 AuditLogConfigResponse(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 BindingResponse(val condition: ExprResponse, val members: List<String>, val role: String)

Associates members, or principals, with a role.

Link copied to clipboard
data class ConsumerPscConfigResponse(val disableGlobalAccess: Boolean, val network: String, val project: String)

Allow the producer to specify which consumers can connect to it.

Link copied to clipboard
data class ConsumerPscConnectionResponse(val error: GoogleRpcStatusResponse, val errorType: String, val forwardingRule: String, val gceOperation: String, val ip: String, val network: String, val project: String, val pscConnectionId: String, val serviceAttachmentUri: String, val state: String)

PSC connection details on consumer side.

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 GetHubIamPolicyResult(val auditConfigs: List<AuditConfigResponse>, val bindings: List<BindingResponse>, val etag: String, val version: Int)
Link copied to clipboard
data class GetHubResult(val createTime: String, val description: String, val labels: Map<String, String>, val name: String, val routingVpcs: List<RoutingVPCResponse>, val state: String, val uniqueId: String, val updateTime: String)
Link copied to clipboard
data class GetInternalRangeResult(val createTime: String, val description: String, val ipCidrRange: String, val labels: Map<String, String>, val name: String, val network: String, val overlaps: List<String>, val peering: String, val prefixLength: Int, val targetCidrRange: List<String>, val updateTime: String, val usage: String, val users: List<String>)
Link copied to clipboard
data class GetPolicyBasedRouteIamPolicyResult(val auditConfigs: List<AuditConfigResponse>, val bindings: List<BindingResponse>, val etag: String, val version: Int)
Link copied to clipboard
data class GetServiceClassIamPolicyResult(val auditConfigs: List<AuditConfigResponse>, val bindings: List<BindingResponse>, val etag: String, val version: Int)
Link copied to clipboard
data class GetServiceClassResult(val createTime: String, val description: String, val labels: Map<String, String>, val name: String, val serviceClass: String, val serviceConnectionMaps: List<String>, val updateTime: String)
Link copied to clipboard
data class GetServiceConnectionMapIamPolicyResult(val auditConfigs: List<AuditConfigResponse>, val bindings: List<BindingResponse>, val etag: String, val version: Int)
Link copied to clipboard
data class GetServiceConnectionMapResult(val consumerPscConfigs: List<ConsumerPscConfigResponse>, val consumerPscConnections: List<ConsumerPscConnectionResponse>, val createTime: String, val description: String, val infrastructure: String, val labels: Map<String, String>, val name: String, val producerPscConfigs: List<ProducerPscConfigResponse>, val serviceClass: String, val serviceClassUri: String, val token: String, val updateTime: String)
data class GetServiceConnectionPolicyIamPolicyResult(val auditConfigs: List<AuditConfigResponse>, val bindings: List<BindingResponse>, val etag: String, val version: Int)
Link copied to clipboard
data class GetServiceConnectionPolicyResult(val createTime: String, val description: String, val infrastructure: String, val labels: Map<String, String>, val name: String, val network: String, val pscConfig: PscConfigResponse, val pscConnections: List<PscConnectionResponse>, val serviceClass: String, val updateTime: String)
Link copied to clipboard
data class GetServiceConnectionTokenResult(val createTime: String, val description: String, val expireTime: String, val labels: Map<String, String>, val name: String, val network: String, val token: String, val updateTime: String)
Link copied to clipboard
data class GetSpokeIamPolicyResult(val auditConfigs: List<AuditConfigResponse>, val bindings: List<BindingResponse>, val etag: String, val version: Int)
Link copied to clipboard
data class GetSpokeResult(val createTime: String, val description: String, val hub: String, val labels: Map<String, String>, val linkedInterconnectAttachments: LinkedInterconnectAttachmentsResponse, val linkedRouterApplianceInstances: LinkedRouterApplianceInstancesResponse, val linkedVpnTunnels: LinkedVpnTunnelsResponse, val name: String, val state: String, val uniqueId: String, val updateTime: String)
Link copied to clipboard
data class GoogleRpcStatusResponse(val code: Int, val details: List<Map<String, String>>, val message: String)

The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. Each Status message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the API Design Guide.

Link copied to clipboard
data class LinkedInterconnectAttachmentsResponse(val siteToSiteDataTransfer: Boolean, val uris: List<String>, val vpcNetwork: String)

A collection of VLAN attachment resources. These resources should be redundant attachments that all advertise the same prefixes to Google Cloud. Alternatively, in active/passive configurations, all attachments should be capable of advertising the same prefixes.

Link copied to clipboard
data class LinkedRouterApplianceInstancesResponse(val instances: List<RouterApplianceInstanceResponse>, val siteToSiteDataTransfer: Boolean, val vpcNetwork: String)

A collection of router appliance instances. If you configure multiple router appliance instances to receive data from the same set of sites outside of Google Cloud, we recommend that you associate those instances with the same spoke.

Link copied to clipboard
data class LinkedVpnTunnelsResponse(val siteToSiteDataTransfer: Boolean, val uris: List<String>, val vpcNetwork: String)

A collection of Cloud VPN tunnel resources. These resources should be redundant HA VPN tunnels that all advertise the same prefixes to Google Cloud. Alternatively, in a passive/active configuration, all tunnels should be capable of advertising the same prefixes.

Link copied to clipboard
data class ProducerPscConfigResponse(val serviceAttachmentUri: String)

The PSC configurations on producer side.

Link copied to clipboard
data class PscConfigResponse(val limit: String, val subnetworks: List<String>)

Configuration used for Private Service Connect connections. Used when Infrastructure is PSC.

Link copied to clipboard
data class PscConnectionResponse(val consumerAddress: String, val consumerForwardingRule: String, val consumerTargetProject: String, val error: GoogleRpcStatusResponse, val errorType: String, val gceOperation: String, val pscConnectionId: String, val state: String)

Information about a specific Private Service Connect connection.

Link copied to clipboard
data class RouterApplianceInstanceResponse(val ipAddress: String, val virtualMachine: String)

A router appliance instance is a Compute Engine virtual machine (VM) instance that acts as a BGP speaker. A router appliance instance is specified by the URI of the VM and the internal IP address of one of the VM's network interfaces.

Link copied to clipboard
data class RoutingVPCResponse(val requiredForNewSiteToSiteDataTransferSpokes: Boolean, val uri: String)

RoutingVPC contains information about the VPC networks associated with the spokes of a Network Connectivity Center hub.