Interface Instance.PscInterfaceConfigOrBuilder (0.43.0)

public static interface Instance.PscInterfaceConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getNetworkAttachmentResource()

public abstract String getNetworkAttachmentResource()

The network attachment resource created in the consumer network to which the PSC interface will be linked. This is of the format: "projects/${CONSUMER_PROJECT}/regions/${REGION}/networkAttachments/${NETWORK_ATTACHMENT_NAME}". The network attachment must be in the same region as the instance.

string network_attachment_resource = 1;

Returns
Type Description
String

The networkAttachmentResource.

getNetworkAttachmentResourceBytes()

public abstract ByteString getNetworkAttachmentResourceBytes()

The network attachment resource created in the consumer network to which the PSC interface will be linked. This is of the format: "projects/${CONSUMER_PROJECT}/regions/${REGION}/networkAttachments/${NETWORK_ATTACHMENT_NAME}". The network attachment must be in the same region as the instance.

string network_attachment_resource = 1;

Returns
Type Description
ByteString

The bytes for networkAttachmentResource.