Class NetworkAttachment (1.20.0)

NetworkAttachment(mapping=None, *, ignore_unknown_fields=False, **kwargs)

NetworkAttachments A network attachment resource ...

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
connection_endpoints MutableSequence[google.cloud.compute_v1.types.NetworkAttachmentConnectedEndpoint]
[Output Only] An array of connections for all the producers connected to this network attachment.
connection_preference str
Check the ConnectionPreference enum for the list of possible values. This field is a member of oneof_ _connection_preference.
creation_timestamp str
[Output Only] Creation timestamp in RFC3339 text format. This field is a member of oneof_ _creation_timestamp.
description str
An optional description of this resource. Provide this property when you create the resource. This field is a member of oneof_ _description.
fingerprint str
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. This field is a member of oneof_ _fingerprint.
id int
[Output Only] The unique identifier for the resource type. The server generates this identifier. This field is a member of oneof_ _id.
kind str
[Output Only] Type of the resource. This field is a member of oneof_ _kind.
name str
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. This field is a member of oneof_ _name.
network str
[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. This field is a member of oneof_ _network.
producer_accept_lists MutableSequence[str]
Projects that are allowed to connect to this network attachment. The project can be specified using its id or number.
producer_reject_lists MutableSequence[str]
Projects that are not allowed to connect to this network attachment. The project can be specified using its id or number.
region str
[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. This field is a member of oneof_ _region.
self_link str
[Output Only] Server-defined URL for the resource. This field is a member of oneof_ _self_link.
self_link_with_id str
[Output Only] Server-defined URL for this resource's resource id. This field is a member of oneof_ _self_link_with_id.
subnetworks MutableSequence[str]
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.

Classes

ConnectionPreference

ConnectionPreference(value)