GetNetworkAttachmentResult class
Result data returned by getNetworkAttachment.
Constructors
-
GetNetworkAttachmentResult({required List<
NetworkAttachmentConnectedEndpointResponse> connectionEndpoints, required String connectionPreference, required String creationTimestamp, required String description, required String fingerprint, required String kind, required String name, required String network, required List<String> producerAcceptLists, required List<String> producerRejectLists, required String region, required String selfLink, required String selfLinkWithId, required List<String> subnetworks}) -
Creates a new GetNetworkAttachmentResult.
connectionEndpointsAn array of connections for all the producers connected to this network attachment.connectionPreferenceRequired.creationTimestampCreation timestamp in RFC3339 text format.descriptionAn optional description of this resource. Provide this property when you create the resource.fingerprintFingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. An up-to-date fingerprint must be provided in order to patch.kindType of the resource.nameName of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression[a-z]([-a-z0-9]*[a-z0-9])?which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.networkThe URL of the network which the Network Attachment belongs to. Practically it is inferred by fetching the network of the first subnetwork associated. Because it is required that all the subnetworks must be from the same network, it is assured that the Network Attachment belongs to the same network as all the subnetworks.producerAcceptListsProjects that are allowed to connect to this network attachment. The project can be specified using its id or number.producerRejectListsProjects that are not allowed to connect to this network attachment. The project can be specified using its id or number.regionURL of the region where the network attachment resides. This field applies only to the region resource. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.selfLinkServer-defined URL for the resource.selfLinkWithIdServer-defined URL for this resource's resource id.subnetworksAn array of URLs where each entry is the URL of a subnet provided by the service consumer to use for endpoints in the producers that connect to this network attachment.const -
GetNetworkAttachmentResult.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
connectionEndpoints
→ List<
NetworkAttachmentConnectedEndpointResponse> -
An array of connections for all the producers connected to this network attachment.
final
- connectionPreference → String
-
final
- creationTimestamp → String
-
Creation timestamp in RFC3339 text format.
final
- description → String
-
An optional description of this resource. Provide this property when you create the resource.
final
- fingerprint → String
-
Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. An up-to-date fingerprint must be provided in order to patch.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- kind → String
-
Type of the resource.
final
- name → String
-
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression
[a-z]([-a-z0-9]*[a-z0-9])?which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.final - network → String
-
The URL of the network which the Network Attachment belongs to. Practically it is inferred by fetching the network of the first subnetwork associated. Because it is required that all the subnetworks must be from the same network, it is assured that the Network Attachment belongs to the same network as all the subnetworks.
final
-
producerAcceptLists
→ List<
String> -
Projects that are allowed to connect to this network attachment. The project can be specified using its id or number.
final
-
producerRejectLists
→ List<
String> -
Projects that are not allowed to connect to this network attachment. The project can be specified using its id or number.
final
- region → String
-
URL of the region where the network attachment resides. This field applies only to the region resource. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selfLink → String
-
Server-defined URL for the resource.
final
- selfLinkWithId → String
-
Server-defined URL for this resource's resource id.
final
-
subnetworks
→ List<
String> -
An array of URLs where each entry is the URL of a subnet provided by the service consumer to use for endpoints in the producers that connect to this network attachment.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited