Class NetworkPolicy (0.3.0)

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

Attributes

Name Description
associations MutableSequence[google.cloud.compute_v1beta.types.NetworkPolicyAssociation]
[Output Only] A list of associations that belong to this network policy.
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.
id int
[Output Only] The unique identifier for the resource. This identifier is defined by the server. This field is a member of oneof_ _id.
kind str
[Output only] Type of the resource. Always compute#networkPolicy for network policies This field is a member of oneof_ _kind.
name str
Name of the resource. This field is a member of oneof_ _name.
region str
[Output Only] URL of the region where the regional network policy resides. 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.
rule_tuple_count int
[Output Only] Total count of all network policy rule tuples. A network policy can not exceed a set number of tuples. This field is a member of oneof_ _rule_tuple_count.
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 with the resource id. This field is a member of oneof_ _self_link_with_id.
traffic_classification_rules MutableSequence[google.cloud.compute_v1beta.types.NetworkPolicyTrafficClassificationRule]
[Output Only] A list of traffic classification rules that belong to this policy.