@Generated(value="by GAPIC") @BetaApi public final class Subnetwork extends Object implements com.google.api.gax.httpjson.ApiMessage
Modifier and Type | Class and Description |
---|---|
static class |
Subnetwork.Builder |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
com.google.api.gax.httpjson.ApiMessage |
getApiMessageRequestBody() |
String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
static Subnetwork |
getDefaultInstance() |
String |
getDescription()
An optional description of this resource.
|
Boolean |
getEnableFlowLogs()
Whether to enable flow logging for this subnetwork.
|
List<String> |
getFieldMask() |
Object |
getFieldValue(String fieldName) |
String |
getFingerprint()
Fingerprint of this resource.
|
String |
getGatewayAddress()
[Output Only] The gateway address for default routes to reach destination addresses outside
this subnetwork.
|
String |
getId()
[Output Only] The unique identifier for the resource.
|
String |
getIpCidrRange()
The range of internal addresses that are owned by this subnetwork.
|
String |
getKind()
[Output Only] Type of the resource.
|
SubnetworkLogConfig |
getLogConfig()
This field denotes the VPC flow logging options for this subnetwork.
|
String |
getName()
The name of the resource, provided by the client when initially creating the resource.
|
String |
getNetwork()
The URL of the network to which this subnetwork belongs, provided by the client when initially
creating the subnetwork.
|
Boolean |
getPrivateIpGoogleAccess()
Whether the VMs in this subnet can access Google services without assigned external IP
addresses.
|
String |
getPurpose()
The purpose of the resource.
|
String |
getRegion()
URL of the region where the Subnetwork resides.
|
String |
getRole()
The role of subnetwork.
|
List<SubnetworkSecondaryRange> |
getSecondaryIpRangesList()
An array of configurations for secondary IP ranges for VM instances contained in this
subnetwork.
|
String |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
String |
getState()
[Output Only] The state of the subnetwork, which can be one of READY or DRAINING.
|
int |
hashCode() |
static Subnetwork.Builder |
newBuilder() |
static Subnetwork.Builder |
newBuilder(Subnetwork prototype) |
Subnetwork.Builder |
toBuilder() |
String |
toString() |
public Object getFieldValue(String fieldName)
getFieldValue
in interface com.google.api.gax.httpjson.ApiMessage
@Nullable public com.google.api.gax.httpjson.ApiMessage getApiMessageRequestBody()
getApiMessageRequestBody
in interface com.google.api.gax.httpjson.ApiMessage
@Nullable public List<String> getFieldMask()
getFieldMask
in interface com.google.api.gax.httpjson.ApiMessage
public String getCreationTimestamp()
public String getDescription()
public Boolean getEnableFlowLogs()
public String getFingerprint()
To see the latest fingerprint, make a get() request to retrieve a Subnetwork.
public String getGatewayAddress()
public String getId()
public String getIpCidrRange()
public String getKind()
public SubnetworkLogConfig getLogConfig()
public String getName()
public String getNetwork()
public Boolean getPrivateIpGoogleAccess()
public String getPurpose()
public String getRegion()
public String getRole()
public List<SubnetworkSecondaryRange> getSecondaryIpRangesList()
public String getSelfLink()
public String getState()
public static Subnetwork.Builder newBuilder()
public static Subnetwork.Builder newBuilder(Subnetwork prototype)
public Subnetwork.Builder toBuilder()
public static Subnetwork getDefaultInstance()
Copyright © 2019 Google LLC. All rights reserved.