Skip to main content

network_attachments

Overview

Namenetwork_attachments
TypeResource
Idgoogle.compute.network_attachments

Fields

NameDatatypeDescription
idstring[Output Only] The unique identifier for the resource type. The server generates this identifier.
namestringName 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.
descriptionstringAn optional description of this resource. Provide this property when you create the resource.
subnetworksarrayAn 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.
fingerprintstringFingerprint 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.
producerRejectListsarrayProjects that are not allowed to connect to this network attachment. The project can be specified using its id or number.
networkstring[Output Only] 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.
kindstring[Output Only] Type of the resource.
connectionEndpointsarray[Output Only] An array of connections for all the producers connected to this network attachment.
selfLinkstring[Output Only] Server-defined URL for the resource.
regionstring[Output Only] 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.
creationTimestampstring[Output Only] Creation timestamp in RFC3339 text format.
producerAcceptListsarrayProjects that are allowed to connect to this network attachment. The project can be specified using its id or number.
connectionPreferencestring
selfLinkWithIdstring[Output Only] Server-defined URL for this resource's resource id.

Methods

NameAccessible byRequired ParamsDescription
aggregated_listSELECTprojectRetrieves the list of all NetworkAttachment resources, regional and global, available to the specified project.
getSELECTnetworkAttachment, project, regionReturns the specified NetworkAttachment resource in the given scope.
listSELECTproject, regionLists the NetworkAttachments for a project in the given scope.
insertINSERTproject, regionCreates a NetworkAttachment in the specified project in the given scope using the parameters that are included in the request.
deleteDELETEnetworkAttachment, project, regionDeletes the specified NetworkAttachment in the given scope
_aggregated_listEXECprojectRetrieves the list of all NetworkAttachment resources, regional and global, available to the specified project.