Constructor
new InstanceProperties(propertiesopt)
Constructs a new InstanceProperties.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
properties |
google.cloud.compute.v1.IInstanceProperties |
<optional> |
Properties to set |
- Implements:
-
- IInstanceProperties
Members
_advancedMachineFeatures
InstanceProperties _advancedMachineFeatures.
_canIpForward
InstanceProperties _canIpForward.
_confidentialInstanceConfig
InstanceProperties _confidentialInstanceConfig.
_description
InstanceProperties _description.
_keyRevocationActionType
InstanceProperties _keyRevocationActionType.
_machineType
InstanceProperties _machineType.
_metadata
InstanceProperties _metadata.
_minCpuPlatform
InstanceProperties _minCpuPlatform.
_networkPerformanceConfig
InstanceProperties _networkPerformanceConfig.
_privateIpv6GoogleAccess
InstanceProperties _privateIpv6GoogleAccess.
_reservationAffinity
InstanceProperties _reservationAffinity.
_scheduling
InstanceProperties _scheduling.
_shieldedInstanceConfig
InstanceProperties _shieldedInstanceConfig.
_tags
InstanceProperties _tags.
advancedMachineFeatures
InstanceProperties advancedMachineFeatures.
canIpForward
InstanceProperties canIpForward.
confidentialInstanceConfig
InstanceProperties confidentialInstanceConfig.
description
InstanceProperties description.
disks
InstanceProperties disks.
guestAccelerators
InstanceProperties guestAccelerators.
keyRevocationActionType
InstanceProperties keyRevocationActionType.
labels
InstanceProperties labels.
machineType
InstanceProperties machineType.
metadata
InstanceProperties metadata.
minCpuPlatform
InstanceProperties minCpuPlatform.
networkInterfaces
InstanceProperties networkInterfaces.
networkPerformanceConfig
InstanceProperties networkPerformanceConfig.
privateIpv6GoogleAccess
InstanceProperties privateIpv6GoogleAccess.
reservationAffinity
InstanceProperties reservationAffinity.
resourceManagerTags
InstanceProperties resourceManagerTags.
resourcePolicies
InstanceProperties resourcePolicies.
scheduling
InstanceProperties scheduling.
serviceAccounts
InstanceProperties serviceAccounts.
shieldedInstanceConfig
InstanceProperties shieldedInstanceConfig.
tags
InstanceProperties tags.
KeyRevocationActionType
KeyRevocationActionType enum.
Properties:
Name | Type | Description |
---|---|---|
UNDEFINED_KEY_REVOCATION_ACTION_TYPE |
number |
UNDEFINED_KEY_REVOCATION_ACTION_TYPE value |
KEY_REVOCATION_ACTION_TYPE_UNSPECIFIED |
number |
KEY_REVOCATION_ACTION_TYPE_UNSPECIFIED value |
NONE |
number |
NONE value |
STOP |
number |
STOP value |
PrivateIpv6GoogleAccess
PrivateIpv6GoogleAccess enum.
Properties:
Name | Type | Description |
---|---|---|
UNDEFINED_PRIVATE_IPV6_GOOGLE_ACCESS |
number |
UNDEFINED_PRIVATE_IPV6_GOOGLE_ACCESS value |
ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE |
number |
ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE value |
ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE |
number |
ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE value |
INHERIT_FROM_SUBNETWORK |
number |
INHERIT_FROM_SUBNETWORK value |
Methods
toJSON() → {Object.<string, *>}
Converts this InstanceProperties to JSON.
Returns:
Type | Description |
---|---|
Object.<string, *> |
JSON object |
(static) create(propertiesopt) → {google.cloud.compute.v1.InstanceProperties}
Creates a new InstanceProperties instance using the specified properties.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
properties |
google.cloud.compute.v1.IInstanceProperties |
<optional> |
Properties to set |
Returns:
Type | Description |
---|---|
google.cloud.compute.v1.InstanceProperties |
InstanceProperties instance |
(static) decode(reader, lengthopt) → {google.cloud.compute.v1.InstanceProperties}
Decodes an InstanceProperties 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.InstanceProperties |
InstanceProperties |
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.InstanceProperties}
Decodes an InstanceProperties 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.InstanceProperties |
InstanceProperties |
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 InstanceProperties message. Does not implicitly verify messages.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
message |
google.cloud.compute.v1.IInstanceProperties |
InstanceProperties 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 InstanceProperties message, length delimited. Does not implicitly verify messages.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
message |
google.cloud.compute.v1.IInstanceProperties |
InstanceProperties 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.InstanceProperties}
Creates an InstanceProperties 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.InstanceProperties |
InstanceProperties |
(static) getTypeUrl(typeUrlPrefixopt) → {string}
Gets the default type url for InstanceProperties
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 InstanceProperties message. Also converts values to other types if specified.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
message |
google.cloud.compute.v1.InstanceProperties |
InstanceProperties |
|
options |
$protobuf.IConversionOptions |
<optional> |
Conversion options |
Returns:
Type | Description |
---|---|
Object.<string, *> |
Plain object |
(static) verify(message) → {string|null}
Verifies an InstanceProperties message.
Parameters:
Name | Type | Description |
---|---|---|
message |
Object.<string, *> |
Plain object to verify |
Returns:
Type | Description |
---|---|
string | null |
|