public final class ServiceAttachment
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Compute Engine API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
ServiceAttachment() |
Modifier and Type | Method and Description |
---|---|
ServiceAttachment |
clone() |
byte[] |
decodeFingerprint()
Fingerprint of this resource.
|
ServiceAttachment |
encodeFingerprint(byte[] fingerprint)
Fingerprint of this resource.
|
List<ServiceAttachmentConnectedEndpoint> |
getConnectedEndpoints()
[Output Only] An array of connections for all the consumers connected to this service
attachment.
|
String |
getConnectionPreference()
The connection preference of service attachment.
|
List<ServiceAttachmentConsumerProjectLimit> |
getConsumerAcceptLists()
Specifies which consumer projects or networks are allowed to connect to the service attachment.
|
List<String> |
getConsumerRejectLists()
Specifies a list of projects or networks that are not allowed to connect to this service
attachment.
|
String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
String |
getDescription()
An optional description of this resource.
|
List<String> |
getDomainNames()
If specified, the domain name will be used during the integration between the PSC connected
endpoints and the Cloud DNS.
|
Boolean |
getEnableProxyProtocol()
If true, enable the proxy protocol which is for supplying client TCP/IP address data in TCP
connections that traverse proxies on their way to destination servers.
|
String |
getFingerprint()
Fingerprint of this resource.
|
BigInteger |
getId()
[Output Only] The unique identifier for the resource type.
|
String |
getKind()
[Output Only] Type of the resource.
|
Map<String,String> |
getMetadata()
Metadata of the service attachment.
|
String |
getName()
Name of the resource.
|
List<String> |
getNatSubnets()
An array of URLs where each entry is the URL of a subnet provided by the service producer to
use for NAT in this service attachment.
|
String |
getProducerForwardingRule()
The URL of a forwarding rule with loadBalancingScheme INTERNAL* that is serving the endpoint
identified by this service attachment.
|
Long |
getPropagatedConnectionLimit()
The number of consumer spokes that connected Private Service Connect endpoints can be
propagated to through Network Connectivity Center.
|
Uint128 |
getPscServiceAttachmentId()
[Output Only] An 128-bit global unique ID of the PSC service attachment.
|
Boolean |
getReconcileConnections()
This flag determines whether a consumer accept/reject list change can reconcile the statuses of
existing ACCEPTED or REJECTED PSC endpoints.
|
String |
getRegion()
[Output Only] URL of the region where the service attachment resides.
|
String |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
String |
getTargetService()
The URL of a service serving the endpoint identified by this service attachment.
|
ServiceAttachment |
set(String fieldName,
Object value) |
ServiceAttachment |
setConnectedEndpoints(List<ServiceAttachmentConnectedEndpoint> connectedEndpoints)
[Output Only] An array of connections for all the consumers connected to this service
attachment.
|
ServiceAttachment |
setConnectionPreference(String connectionPreference)
The connection preference of service attachment.
|
ServiceAttachment |
setConsumerAcceptLists(List<ServiceAttachmentConsumerProjectLimit> consumerAcceptLists)
Specifies which consumer projects or networks are allowed to connect to the service attachment.
|
ServiceAttachment |
setConsumerRejectLists(List<String> consumerRejectLists)
Specifies a list of projects or networks that are not allowed to connect to this service
attachment.
|
ServiceAttachment |
setCreationTimestamp(String creationTimestamp)
[Output Only] Creation timestamp in RFC3339 text format.
|
ServiceAttachment |
setDescription(String description)
An optional description of this resource.
|
ServiceAttachment |
setDomainNames(List<String> domainNames)
If specified, the domain name will be used during the integration between the PSC connected
endpoints and the Cloud DNS.
|
ServiceAttachment |
setEnableProxyProtocol(Boolean enableProxyProtocol)
If true, enable the proxy protocol which is for supplying client TCP/IP address data in TCP
connections that traverse proxies on their way to destination servers.
|
ServiceAttachment |
setFingerprint(String fingerprint)
Fingerprint of this resource.
|
ServiceAttachment |
setId(BigInteger id)
[Output Only] The unique identifier for the resource type.
|
ServiceAttachment |
setKind(String kind)
[Output Only] Type of the resource.
|
ServiceAttachment |
setMetadata(Map<String,String> metadata)
Metadata of the service attachment.
|
ServiceAttachment |
setName(String name)
Name of the resource.
|
ServiceAttachment |
setNatSubnets(List<String> natSubnets)
An array of URLs where each entry is the URL of a subnet provided by the service producer to
use for NAT in this service attachment.
|
ServiceAttachment |
setProducerForwardingRule(String producerForwardingRule)
The URL of a forwarding rule with loadBalancingScheme INTERNAL* that is serving the endpoint
identified by this service attachment.
|
ServiceAttachment |
setPropagatedConnectionLimit(Long propagatedConnectionLimit)
The number of consumer spokes that connected Private Service Connect endpoints can be
propagated to through Network Connectivity Center.
|
ServiceAttachment |
setPscServiceAttachmentId(Uint128 pscServiceAttachmentId)
[Output Only] An 128-bit global unique ID of the PSC service attachment.
|
ServiceAttachment |
setReconcileConnections(Boolean reconcileConnections)
This flag determines whether a consumer accept/reject list change can reconcile the statuses of
existing ACCEPTED or REJECTED PSC endpoints.
|
ServiceAttachment |
setRegion(String region)
[Output Only] URL of the region where the service attachment resides.
|
ServiceAttachment |
setSelfLink(String selfLink)
[Output Only] Server-defined URL for the resource.
|
ServiceAttachment |
setTargetService(String targetService)
The URL of a service serving the endpoint identified by this service attachment.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public List<ServiceAttachmentConnectedEndpoint> getConnectedEndpoints()
null
for nonepublic ServiceAttachment setConnectedEndpoints(List<ServiceAttachmentConnectedEndpoint> connectedEndpoints)
connectedEndpoints
- connectedEndpoints or null
for nonepublic String getConnectionPreference()
null
for nonepublic ServiceAttachment setConnectionPreference(String connectionPreference)
connectionPreference
- connectionPreference or null
for nonepublic List<ServiceAttachmentConsumerProjectLimit> getConsumerAcceptLists()
null
for nonepublic ServiceAttachment setConsumerAcceptLists(List<ServiceAttachmentConsumerProjectLimit> consumerAcceptLists)
consumerAcceptLists
- consumerAcceptLists or null
for nonepublic List<String> getConsumerRejectLists()
null
for nonepublic ServiceAttachment setConsumerRejectLists(List<String> consumerRejectLists)
consumerRejectLists
- consumerRejectLists or null
for nonepublic String getCreationTimestamp()
null
for nonepublic ServiceAttachment setCreationTimestamp(String creationTimestamp)
creationTimestamp
- creationTimestamp or null
for nonepublic String getDescription()
null
for nonepublic ServiceAttachment setDescription(String description)
description
- description or null
for nonepublic List<String> getDomainNames()
null
for nonepublic ServiceAttachment setDomainNames(List<String> domainNames)
domainNames
- domainNames or null
for nonepublic Boolean getEnableProxyProtocol()
null
for nonepublic ServiceAttachment setEnableProxyProtocol(Boolean enableProxyProtocol)
enableProxyProtocol
- enableProxyProtocol or null
for nonepublic String getFingerprint()
null
for nonedecodeFingerprint()
public byte[] decodeFingerprint()
null
for nonegetFingerprint()
public ServiceAttachment setFingerprint(String fingerprint)
fingerprint
- fingerprint or null
for none#encodeFingerprint()
public ServiceAttachment encodeFingerprint(byte[] fingerprint)
The value is encoded Base64 or {@code null} for none.
public BigInteger getId()
null
for nonepublic ServiceAttachment setId(BigInteger id)
id
- id or null
for nonepublic String getKind()
null
for nonepublic ServiceAttachment setKind(String kind)
kind
- kind or null
for nonepublic Map<String,String> getMetadata()
null
for nonepublic ServiceAttachment setMetadata(Map<String,String> metadata)
metadata
- metadata or null
for nonepublic String getName()
null
for nonepublic ServiceAttachment setName(String name)
name
- name or null
for nonepublic List<String> getNatSubnets()
null
for nonepublic ServiceAttachment setNatSubnets(List<String> natSubnets)
natSubnets
- natSubnets or null
for nonepublic String getProducerForwardingRule()
null
for nonepublic ServiceAttachment setProducerForwardingRule(String producerForwardingRule)
producerForwardingRule
- producerForwardingRule or null
for nonepublic Long getPropagatedConnectionLimit()
null
for nonepublic ServiceAttachment setPropagatedConnectionLimit(Long propagatedConnectionLimit)
propagatedConnectionLimit
- propagatedConnectionLimit or null
for nonepublic Uint128 getPscServiceAttachmentId()
null
for nonepublic ServiceAttachment setPscServiceAttachmentId(Uint128 pscServiceAttachmentId)
pscServiceAttachmentId
- pscServiceAttachmentId or null
for nonepublic Boolean getReconcileConnections()
null
for nonepublic ServiceAttachment setReconcileConnections(Boolean reconcileConnections)
reconcileConnections
- reconcileConnections or null
for nonepublic String getRegion()
null
for nonepublic ServiceAttachment setRegion(String region)
region
- region or null
for nonepublic String getSelfLink()
null
for nonepublic ServiceAttachment setSelfLink(String selfLink)
selfLink
- selfLink or null
for nonepublic String getTargetService()
null
for nonepublic ServiceAttachment setTargetService(String targetService)
targetService
- targetService or null
for nonepublic ServiceAttachment set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public ServiceAttachment clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2025 Google. All rights reserved.