REST Resource: networkProfiles

Resource: NetworkProfilesGetResponse

JSON representation
{
  "resource": {
    "kind": string,
    "id": string,
    "creationTimestamp": string,
    "name": string,
    "description": string,
    "selfLink": string,
    "selfLinkWithId": string,
    "zone": string,
    "features": {
      "allowSameNetworkUnicast": enum,
      "unicast": enum,
      "allowAutoModeSubnet": enum,
      "allowVpcPeering": enum,
      "allowMultiNicInSameNetwork": enum,
      "allowLoadBalancing": enum,
      "allowStaticRoutes": enum,
      "allowPsc": enum,
      "allowCloudRouter": enum,
      "allowCloudNat": enum,
      "allowVpn": enum,
      "allowInterconnect": enum,
      "allowPacketMirroring": enum,
      "subnetPurposes": [
        enum
      ],
      "subnetStackTypes": [
        enum
      ],
      "allowPrivateGoogleAccess": enum,
      "interfaceTypes": [
        enum
      ],
      "allowClassDFirewalls": enum,
      "allowSubInterfaces": enum,
      "allowExternalIpAccess": enum,
      "addressPurposes": [
        enum
      ],
      "allowAliasIpRanges": enum
    }
  },
  "etag": string
}
Fields
resource

object

resource.kind

string

[Output Only] Type of the resource. Always compute#networkProfile for network profiles.

resource.id

string (uint64 format)

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

resource.creationTimestamp

string

[Output Only] Creation timestamp in RFC3339 text format.

resource.name

string

[Output Only] Name of the resource.

resource.description

string

[Output Only] An optional description of this resource.

resource.selfLink

string

[Output Only] Server-defined URL for the resource.

resource.selfLinkWithId

string

[Output Only] Server-defined URL for this resource with the resource id.

resource.zone

string

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

resource.features

object

[Output Only] Features supported by the network.

resource.features.allowSameNetworkUnicast

enum

Specifies whether unicast within the same network is allowed.

resource.features.unicast

enum

Specifies which type of unicast is supported.

resource.features.allowAutoModeSubnet

enum

Specifies whether auto mode subnet creation is allowed.

resource.features.allowVpcPeering

enum

Specifies whether VPC peering is allowed.

resource.features.allowMultiNicInSameNetwork

enum

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

resource.features.allowLoadBalancing

enum

Specifies whether cloud load balancing is allowed.

resource.features.allowStaticRoutes

enum

Specifies whether static route creation is allowed.

resource.features.allowPsc

enum

Specifies whether PSC creation is allowed.

resource.features.allowCloudRouter

enum

Specifies whether cloud router creation is allowed.

resource.features.allowCloudNat

enum

Specifies whether cloud NAT creation is allowed.

resource.features.allowVpn

enum

Specifies whether VPN creation is allowed.

resource.features.allowInterconnect

enum

Specifies whether Cloud Interconnect creation is allowed.

resource.features.allowPacketMirroring

enum

Specifies whether Packet Mirroring 1.0 is supported.

resource.features.subnetPurposes[]

enum

Specifies which subnetwork purposes are supported.

resource.features.subnetStackTypes[]

enum

Specifies which subnetwork stack types are supported.

resource.features.allowPrivateGoogleAccess

enum

Specifies whether private Google access is allowed.

resource.features.interfaceTypes[]

enum

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

resource.features.allowClassDFirewalls

enum

Specifies whether firewalls for Class D address ranges are supported.

resource.features.allowSubInterfaces

enum

Specifies whether sub interfaces are allowed.

resource.features.allowExternalIpAccess

enum

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

resource.features.addressPurposes[]

enum

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

resource.features.allowAliasIpRanges

enum

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

etag

string

Methods

get

Returns the specified network profile.

list

Retrieves a list of network profiles available to the specified project.