AccessConfig

google.cloud.compute.v1. AccessConfig

Represents an AccessConfig.

Constructor

new AccessConfig(propertiesopt)

Constructs a new AccessConfig.

Parameters:
Name Type Attributes Description
properties google.cloud.compute.v1.IAccessConfig <optional>

Properties to set

Implements:
  • IAccessConfig

Members

_externalIpv6

AccessConfig _externalIpv6.

_externalIpv6PrefixLength

AccessConfig _externalIpv6PrefixLength.

_kind

AccessConfig _kind.

_name

AccessConfig _name.

_natIP

AccessConfig _natIP.

_networkTier

AccessConfig _networkTier.

_publicPtrDomainName

AccessConfig _publicPtrDomainName.

_setPublicPtr

AccessConfig _setPublicPtr.

_type

AccessConfig _type.

externalIpv6

AccessConfig externalIpv6.

externalIpv6PrefixLength

AccessConfig externalIpv6PrefixLength.

kind

AccessConfig kind.

name

AccessConfig name.

natIP

AccessConfig natIP.

networkTier

AccessConfig networkTier.

publicPtrDomainName

AccessConfig publicPtrDomainName.

setPublicPtr

AccessConfig setPublicPtr.

type

AccessConfig type.

NetworkTier

NetworkTier enum.

Properties:
Name Type Description
UNDEFINED_NETWORK_TIER number

UNDEFINED_NETWORK_TIER value

FIXED_STANDARD number

FIXED_STANDARD value

PREMIUM number

PREMIUM value

STANDARD number

STANDARD value

STANDARD_OVERRIDES_FIXED_STANDARD number

STANDARD_OVERRIDES_FIXED_STANDARD value

Type

Type enum.

Properties:
Name Type Description
UNDEFINED_TYPE number

UNDEFINED_TYPE value

DIRECT_IPV6 number

DIRECT_IPV6 value

ONE_TO_ONE_NAT number

ONE_TO_ONE_NAT value

Methods

toJSON() → {Object.<string, *>}

Converts this AccessConfig to JSON.

Returns:
Type Description
Object.<string, *>

JSON object

(static) create(propertiesopt) → {google.cloud.compute.v1.AccessConfig}

Creates a new AccessConfig instance using the specified properties.

Parameters:
Name Type Attributes Description
properties google.cloud.compute.v1.IAccessConfig <optional>

Properties to set

Returns:
Type Description
google.cloud.compute.v1.AccessConfig

AccessConfig instance

(static) decode(reader, lengthopt) → {google.cloud.compute.v1.AccessConfig}

Decodes an AccessConfig message from the specified reader or buffer.

Parameters:
Name Type Attributes Description
reader $protobuf.Reader | Uint8Array

Reader or buffer to decode from

length number <optional>

Message length if known beforehand

Returns:
Type Description
google.cloud.compute.v1.AccessConfig

AccessConfig

Throws:
  • If the payload is not a reader or valid buffer

    Type
    Error
  • If required fields are missing

    Type
    $protobuf.util.ProtocolError

(static) decodeDelimited(reader) → {google.cloud.compute.v1.AccessConfig}

Decodes an AccessConfig message from the specified reader or buffer, length delimited.

Parameters:
Name Type Description
reader $protobuf.Reader | Uint8Array

Reader or buffer to decode from

Returns:
Type Description
google.cloud.compute.v1.AccessConfig

AccessConfig

Throws:
  • If the payload is not a reader or valid buffer

    Type
    Error
  • If required fields are missing

    Type
    $protobuf.util.ProtocolError

(static) encode(message, writeropt) → {$protobuf.Writer}

Encodes the specified AccessConfig message. Does not implicitly verify messages.

Parameters:
Name Type Attributes Description
message google.cloud.compute.v1.IAccessConfig

AccessConfig message or plain object to encode

writer $protobuf.Writer <optional>

Writer to encode to

Returns:
Type Description
$protobuf.Writer

Writer

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

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

Parameters:
Name Type Attributes Description
message google.cloud.compute.v1.IAccessConfig

AccessConfig message or plain object to encode

writer $protobuf.Writer <optional>

Writer to encode to

Returns:
Type Description
$protobuf.Writer

Writer

(static) fromObject(object) → {google.cloud.compute.v1.AccessConfig}

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

Parameters:
Name Type Description
object Object.<string, *>

Plain object

Returns:
Type Description
google.cloud.compute.v1.AccessConfig

AccessConfig

(static) getTypeUrl(typeUrlPrefixopt) → {string}

Gets the default type url for AccessConfig

Parameters:
Name Type Attributes Description
typeUrlPrefix string <optional>

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

Returns:
Type Description
string

The default type url

(static) toObject(message, optionsopt) → {Object.<string, *>}

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

Parameters:
Name Type Attributes Description
message google.cloud.compute.v1.AccessConfig

AccessConfig

options $protobuf.IConversionOptions <optional>

Conversion options

Returns:
Type Description
Object.<string, *>

Plain object

(static) verify(message) → {string|null}

Verifies an AccessConfig message.

Parameters:
Name Type Description
message Object.<string, *>

Plain object to verify

Returns:
Type Description
string | null

null if valid, otherwise the reason why it is not