REST Resource: networkProfiles

Resource: NetworkProfilesGetResponse

JSON representation
{
  "resource": {
    object (NetworkProfile)
  },
  "etag": string
}
Fields
resource

object (NetworkProfile)

etag

string

NetworkProfile

NetworkProfile represents a Google Cloud-powered network profile resource.

JSON representation
{
  "kind": string,
  "id": string,
  "creationTimestamp": string,
  "name": string,
  "description": string,
  "selfLink": string,
  "selfLinkWithId": string,
  "location": {
    object (Location)
  },
  "features": {
    object (NetworkFeatures)
  }
}
Fields
kind

string

[Output Only] Type of the resource. Always

compute#networkProfile

for network profiles.

id

string (uint64 format)

[Output Only] The unique identifier for the resource. This identifier is defined by the server.

creationTimestamp

string

[Output Only] Creation timestamp in RFC3339 text format.

name

string

[Output Only] Name of the resource.

description

string

[Output Only] An optional description of this resource.

location

object (Location)

[Output Only] Location to which the network is restricted.

features

object (NetworkFeatures)

[Output Only] Features supported by the network.

Location

JSON representation
{
  "scope": enum (Scope),
  "name": string
}
Fields
scope

enum (Scope)

name

string

Scope

Enums
REGION
ZONE

NetworkFeatures

JSON representation
{
  "allowSameNetworkUnicast": enum (AllowSameNetworkUnicast),
  "unicast": enum (Unicast),
  "allowAutoModeSubnet": enum (AllowAutoModeSubnet),
  "allowVpcPeering": enum (AllowVpcPeering),
  "allowMultiNicInSameNetwork": enum (AllowMultiNicInSameNetwork),
  "allowLoadBalancing": enum (AllowLoadBalancing),
  "allowStaticRoutes": enum (AllowStaticRoutes),
  "allowPsc": enum (AllowPSC),
  "allowCloudRouter": enum (AllowCloudRouter),
  "allowCloudNat": enum (AllowCloudNat),
  "allowVpn": enum (AllowVPN),
  "allowInterconnect": enum (AllowInterconnect),
  "allowPacketMirroring": enum (AllowPacketMirroringV1),
  "subnetworkPurposes": [
    enum (Purpose)
  ],
  "subnetworkStackTypes": [
    enum (StackType)
  ],
  "subnetPurposes": [
    enum (SubnetPurpose)
  ],
  "subnetStackTypes": [
    enum (SubnetStackType)
  ],
  "allowPrivateGoogleAccess": enum (PrivateGoogleAccess),
  "interfaceTypes": [
    enum (NicType)
  ],
  "allowClassDFirewalls": enum (ClassDFirewalls),
  "allowSubInterfaces": enum (SubInterfaces),
  "allowExternalIpAccess": enum (ExternalIpAccess),
  "addressPurposes": [
    enum (Purpose)
  ],
  "allowAliasIpRanges": enum (AliasIpRanges),
  "allowDefaultNicAttachment": enum (DefaultNicAttachment),
  "allowNcc": enum (AllowNcc),
  "allowIpForwarding": enum (AllowIpForwarding),
  "allowNetworkMigration": enum (AllowNetworkMigration)
}
Fields
allowSameNetworkUnicast

enum (AllowSameNetworkUnicast)

Specifies whether unicast within the same network is allowed.

unicast

enum (Unicast)

Specifies which type of unicast is supported.

allowAutoModeSubnet

enum (AllowAutoModeSubnet)

Specifies whether auto mode subnet creation is allowed.

allowVpcPeering

enum (AllowVpcPeering)

Specifies whether VPC peering is allowed.

allowMultiNicInSameNetwork

enum (AllowMultiNicInSameNetwork)

Specifies whether multi-nic in the same network is allowed.

allowLoadBalancing

enum (AllowLoadBalancing)

Specifies whether cloud load balancing is allowed.

allowStaticRoutes

enum (AllowStaticRoutes)

Specifies whether static route creation is allowed.

allowPsc

enum (AllowPSC)

Specifies whether PSC creation is allowed.

allowCloudRouter

enum (AllowCloudRouter)

Specifies whether cloud router creation is allowed.

allowCloudNat

enum (AllowCloudNat)

Specifies whether cloud NAT creation is allowed.

allowVpn

enum (AllowVPN)

Specifies whether VPN creation is allowed.

allowInterconnect

enum (AllowInterconnect)

Specifies whether Cloud Interconnect creation is allowed.

allowPacketMirroring

enum (AllowPacketMirroringV1)

Specifies whether Packet Mirroring 1.0 is supported.

subnetworkPurposes[]

enum (Purpose)

Specifies which subnetwork purposes are supported.

subnetworkStackTypes[]

enum (StackType)

Specifies which subnetwork stack types are supported.

subnetPurposes[]

enum (SubnetPurpose)

Specifies which subnetwork purposes are supported.

subnetStackTypes[]

enum (SubnetStackType)

Specifies which subnetwork stack types are supported.

allowPrivateGoogleAccess

enum (PrivateGoogleAccess)

Specifies whether private Trusted Cloud access is allowed.

interfaceTypes[]

enum (NicType)

If set, limits the interface types that the network supports. If empty, all interface types are supported.

allowClassDFirewalls

enum (ClassDFirewalls)

Specifies whether firewalls for Class D address ranges are supported.

allowSubInterfaces

enum (SubInterfaces)

Specifies whether sub interfaces are allowed.

allowExternalIpAccess

enum (ExternalIpAccess)

Specifies whether VMs are allowed to have external IP access on network interfaces connected to this VPC.

addressPurposes[]

enum (Purpose)

Specifies what address purposes are supported. If empty, all address purposes are supported.

allowAliasIpRanges

enum (AliasIpRanges)

Specifies whether alias IP ranges (and secondary address ranges) are allowed.

allowDefaultNicAttachment

enum (DefaultNicAttachment)

Specifies whether default NIC attachment is allowed.

allowNcc

enum (AllowNcc)

Specifies whether NCC is allowed.

allowIpForwarding

enum (AllowIpForwarding)

Specifies whether IP forwarding is allowed.

allowNetworkMigration

enum (AllowNetworkMigration)

Specifies whether VM network migration is allowed.

AllowSameNetworkUnicast

Enums
SAME_NETWORK_UNICAST_ALLOWED
SAME_NETWORK_UNICAST_BLOCKED

Unicast

Enums
UNICAST_SDN
UNICAST_ULL

AllowAutoModeSubnet

Enums
AUTO_MODE_SUBNET_ALLOWED
AUTO_MODE_SUBNET_BLOCKED

AllowVpcPeering

Enums
VPC_PEERING_ALLOWED
VPC_PEERING_BLOCKED

AllowMultiNicInSameNetwork

Enums
MULTI_NIC_IN_SAME_NETWORK_ALLOWED
MULTI_NIC_IN_SAME_NETWORK_BLOCKED

AllowLoadBalancing

Enums
LOAD_BALANCING_ALLOWED
LOAD_BALANCING_BLOCKED

AllowStaticRoutes

Enums
STATIC_ROUTES_ALLOWED
STATIC_ROUTES_BLOCKED

AllowPSC

Enums
PSC_ALLOWED
PSC_BLOCKED

AllowCloudRouter

Enums
CLOUD_ROUTER_ALLOWED
CLOUD_ROUTER_BLOCKED

AllowCloudNat

Enums
CLOUD_NAT_ALLOWED
CLOUD_NAT_BLOCKED

AllowVPN

Enums
VPN_ALLOWED
VPN_BLOCKED

AllowInterconnect

Enums
INTERCONNECT_ALLOWED
INTERCONNECT_BLOCKED

AllowPacketMirroringV1

Enums
PACKET_MIRRORING_ALLOWED
PACKET_MIRRORING_BLOCKED

SubnetPurpose

Enums
SUBNET_PURPOSE_PRIVATE
SUBNET_PURPOSE_CUSTOM_HARDWARE

SubnetStackType

Enums
SUBNET_STACK_TYPE_IPV4_ONLY
SUBNET_STACK_TYPE_IPV4_IPV6
SUBNET_STACK_TYPE_IPV6_ONLY

PrivateGoogleAccess

Enums
PRIVATE_GOOGLE_ACCESS_ALLOWED
PRIVATE_GOOGLE_ACCESS_BLOCKED

ClassDFirewalls

Enums
CLASS_D_FIREWALLS_ALLOWED
CLASS_D_FIREWALLS_BLOCKED

SubInterfaces

Subinterfaces can be used to configure L2 communication. See cloud/cluster/api/mixer_instances.proto

Enums
SUBINTERFACES_ALLOWED
SUBINTERFACES_BLOCKED

ExternalIpAccess

Enums
EXTERNAL_IP_ACCESS_ALLOWED
EXTERNAL_IP_ACCESS_BLOCKED

Purpose

Enums
GCE_ENDPOINT VM internal/alias IP, Internal LB service IP, etc.
DNS_RESOLVER DNS resolver address in the subnetwork.
VPC_PEERING IP range for peer networks.
NAT_AUTO External IP automatically reserved for Cloud NAT.
SHARED_LOADBALANCER_VIP A private network IP address that can be shared by multiple Internal Load Balancer forwarding rules.
PRIVATE_SERVICE_CONNECT

A private network IP address that can be used to configure Private Service Connect. This purpose can be specified only for

GLOBAL

addresses of Type

INTERNAL

IPSEC_INTERCONNECT A regional internal IP address range reserved for the VLAN attachment that is used in HA VPN over Cloud Interconnect. This regional internal IP address range must not overlap with any IP address range of subnet/route in the VPC network and its peering networks. After the VLAN attachment is created with the reserved IP address range, when creating a new VPN gateway, its interface IP address is allocated from the associated VLAN attachment’s IP address range.
SERVERLESS A regional internal IP address range reserved for Serverless.

AliasIpRanges

Enums
ALIAS_IP_RANGES_ALLOWED
ALIAS_IP_RANGES_BLOCKED

DefaultNicAttachment

Enums
DEFAULT_NIC_ATTACHMENT_ALLOWED
DEFAULT_NIC_ATTACHMENT_BLOCKED

AllowNcc

Enums
NCC_ALLOWED
NCC_BLOCKED

AllowIpForwarding

Enums
IP_FORWARDING_ALLOWED
IP_FORWARDING_BLOCKED

AllowNetworkMigration

Enums
NETWORK_MIGRATION_ALLOWED
NETWORK_MIGRATION_BLOCKED

Methods

get

The method compute.v1.NetworkProfilesService.Get is not available in Trusted Cloud by S3NS.

list

The method compute.v1.NetworkProfilesService.List is not available in Trusted Cloud by S3NS.