Class protos.google.cloud.compute.v1.NetworkProfileNetworkFeatures (7.6.0)

Represents a NetworkProfileNetworkFeatures.

Implements

Package

@google-cloud/compute

Constructors

(constructor)(properties)

constructor(properties?: google.cloud.compute.v1.INetworkProfileNetworkFeatures);

Constructs a new NetworkProfileNetworkFeatures.

Parameter
Name Description
properties INetworkProfileNetworkFeatures

Properties to set

Properties

addressPurposes

public addressPurposes: string[];

NetworkProfileNetworkFeatures addressPurposes.

allowAddressCreation

public allowAddressCreation?: (string|null);

NetworkProfileNetworkFeatures allowAddressCreation.

allowAliasIpRanges

public allowAliasIpRanges?: (string|null);

NetworkProfileNetworkFeatures allowAliasIpRanges.

allowAutoModeSubnet

public allowAutoModeSubnet?: (string|null);

NetworkProfileNetworkFeatures allowAutoModeSubnet.

allowClassDFirewalls

public allowClassDFirewalls?: (string|null);

NetworkProfileNetworkFeatures allowClassDFirewalls.

allowCloudNat

public allowCloudNat?: (string|null);

NetworkProfileNetworkFeatures allowCloudNat.

allowCloudRouter

public allowCloudRouter?: (string|null);

NetworkProfileNetworkFeatures allowCloudRouter.

allowDefaultNicAttachment

public allowDefaultNicAttachment?: (string|null);

NetworkProfileNetworkFeatures allowDefaultNicAttachment.

allowExternalIpAccess

public allowExternalIpAccess?: (string|null);

NetworkProfileNetworkFeatures allowExternalIpAccess.

allowFirewallPolicy

public allowFirewallPolicy?: (string|null);

NetworkProfileNetworkFeatures allowFirewallPolicy.

allowInterconnect

public allowInterconnect?: (string|null);

NetworkProfileNetworkFeatures allowInterconnect.

allowIpForwarding

public allowIpForwarding?: (string|null);

NetworkProfileNetworkFeatures allowIpForwarding.

allowLoadBalancing

public allowLoadBalancing?: (string|null);

NetworkProfileNetworkFeatures allowLoadBalancing.

allowMulticast

public allowMulticast?: (string|null);

NetworkProfileNetworkFeatures allowMulticast.

allowMultiNicInSameNetwork

public allowMultiNicInSameNetwork?: (string|null);

NetworkProfileNetworkFeatures allowMultiNicInSameNetwork.

allowMultiNicInSameSubnetwork

public allowMultiNicInSameSubnetwork?: (string|null);

NetworkProfileNetworkFeatures allowMultiNicInSameSubnetwork.

allowNcc

public allowNcc?: (string|null);

NetworkProfileNetworkFeatures allowNcc.

allowNetworkMigration

public allowNetworkMigration?: (string|null);

NetworkProfileNetworkFeatures allowNetworkMigration.

allowPacketMirroring

public allowPacketMirroring?: (string|null);

NetworkProfileNetworkFeatures allowPacketMirroring.

allowPrivateGoogleAccess

public allowPrivateGoogleAccess?: (string|null);

NetworkProfileNetworkFeatures allowPrivateGoogleAccess.

allowPsc

public allowPsc?: (string|null);

NetworkProfileNetworkFeatures allowPsc.

allowSameNetworkUnicast

public allowSameNetworkUnicast?: (string|null);

NetworkProfileNetworkFeatures allowSameNetworkUnicast.

allowStaticRoutes

public allowStaticRoutes?: (string|null);

NetworkProfileNetworkFeatures allowStaticRoutes.

allowSubInterfaces

public allowSubInterfaces?: (string|null);

NetworkProfileNetworkFeatures allowSubInterfaces.

allowSubnetworkCreation

public allowSubnetworkCreation?: (string|null);

NetworkProfileNetworkFeatures allowSubnetworkCreation.

allowVpcFirewallRules

public allowVpcFirewallRules?: (string|null);

NetworkProfileNetworkFeatures allowVpcFirewallRules.

allowVpcPeering

public allowVpcPeering?: (string|null);

NetworkProfileNetworkFeatures allowVpcPeering.

allowVpn

public allowVpn?: (string|null);

NetworkProfileNetworkFeatures allowVpn.

firewallPolicyTypes

public firewallPolicyTypes: string[];

NetworkProfileNetworkFeatures firewallPolicyTypes.

interfaceTypes

public interfaceTypes: string[];

NetworkProfileNetworkFeatures interfaceTypes.

multicast

public multicast?: (string|null);

NetworkProfileNetworkFeatures multicast.

predefinedNetworkInternalIpv6Range

public predefinedNetworkInternalIpv6Range?: (string|null);

NetworkProfileNetworkFeatures predefinedNetworkInternalIpv6Range.

predefinedSubnetworkRanges

public predefinedSubnetworkRanges: google.cloud.compute.v1.INetworkProfileNetworkFeaturesPredefinedSubnetworkRange[];

NetworkProfileNetworkFeatures predefinedSubnetworkRanges.

subnetPurposes

public subnetPurposes: string[];

NetworkProfileNetworkFeatures subnetPurposes.

subnetStackTypes

public subnetStackTypes: string[];

NetworkProfileNetworkFeatures subnetStackTypes.

subnetworkPurposes

public subnetworkPurposes: string[];

NetworkProfileNetworkFeatures subnetworkPurposes.

subnetworkStackTypes

public subnetworkStackTypes: string[];

NetworkProfileNetworkFeatures subnetworkStackTypes.

unicast

public unicast?: (string|null);

NetworkProfileNetworkFeatures unicast.

Methods

create(properties)

public static create(properties?: google.cloud.compute.v1.INetworkProfileNetworkFeatures): google.cloud.compute.v1.NetworkProfileNetworkFeatures;

Creates a new NetworkProfileNetworkFeatures instance using the specified properties.

Parameter
Name Description
properties INetworkProfileNetworkFeatures

Properties to set

Returns
Type Description
NetworkProfileNetworkFeatures

NetworkProfileNetworkFeatures instance

decode(reader, length)

public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.compute.v1.NetworkProfileNetworkFeatures;

Decodes a NetworkProfileNetworkFeatures message from the specified reader or buffer.

Parameters
Name Description
reader (Reader|Uint8Array)

Reader or buffer to decode from

length number

Message length if known beforehand

Returns
Type Description
NetworkProfileNetworkFeatures

NetworkProfileNetworkFeatures

decodeDelimited(reader)

public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.compute.v1.NetworkProfileNetworkFeatures;

Decodes a NetworkProfileNetworkFeatures message from the specified reader or buffer, length delimited.

Parameter
Name Description
reader (Reader|Uint8Array)

Reader or buffer to decode from

Returns
Type Description
NetworkProfileNetworkFeatures

NetworkProfileNetworkFeatures

encode(message, writer)

public static encode(message: google.cloud.compute.v1.INetworkProfileNetworkFeatures, writer?: $protobuf.Writer): $protobuf.Writer;

Encodes the specified NetworkProfileNetworkFeatures message. Does not implicitly messages.

Parameters
Name Description
message INetworkProfileNetworkFeatures

NetworkProfileNetworkFeatures message or plain object to encode

writer $protobuf.Writer

Writer to encode to

Returns
Type Description
$protobuf.Writer

Writer

encodeDelimited(message, writer)

public static encodeDelimited(message: google.cloud.compute.v1.INetworkProfileNetworkFeatures, writer?: $protobuf.Writer): $protobuf.Writer;

Encodes the specified NetworkProfileNetworkFeatures message, length delimited. Does not implicitly messages.

Parameters
Name Description
message INetworkProfileNetworkFeatures

NetworkProfileNetworkFeatures message or plain object to encode

writer $protobuf.Writer

Writer to encode to

Returns
Type Description
$protobuf.Writer

Writer

fromObject(object)

public static fromObject(object: { [k: string]: any }): google.cloud.compute.v1.NetworkProfileNetworkFeatures;

Creates a NetworkProfileNetworkFeatures message from a plain object. Also converts values to their respective internal types.

Parameter
Name Description
object { [k: string]: any }

Plain object

Returns
Type Description
NetworkProfileNetworkFeatures

NetworkProfileNetworkFeatures

getTypeUrl(typeUrlPrefix)

public static getTypeUrl(typeUrlPrefix?: string): string;

Gets the default type url for NetworkProfileNetworkFeatures

Parameter
Name Description
typeUrlPrefix string

your custom typeUrlPrefix(default "type.googleapis.com")

Returns
Type Description
string

The default type url

toJSON()

public toJSON(): { [k: string]: any };

Converts this NetworkProfileNetworkFeatures to JSON.

Returns
Type Description
{ [k: string]: any }

JSON object

toObject(message, options)

public static toObject(message: google.cloud.compute.v1.NetworkProfileNetworkFeatures, options?: $protobuf.IConversionOptions): { [k: string]: any };

Creates a plain object from a NetworkProfileNetworkFeatures message. Also converts values to other types if specified.

Parameters
Name Description
message NetworkProfileNetworkFeatures

NetworkProfileNetworkFeatures

options $protobuf.IConversionOptions

Conversion options

Returns
Type Description
{ [k: string]: any }

Plain object

verify(message)

public static verify(message: { [k: string]: any }): (string|null);

Verifies a NetworkProfileNetworkFeatures message.

Parameter
Name Description
message { [k: string]: any }

Plain object to verify

Returns
Type Description
(string|null)

null if valid, otherwise the reason why it is not