Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::NetworkProfile.
NetworkProfile represents a Google managed network profile resource.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#creation_timestamp
def creation_timestamp() -> ::String
Returns
- (::String) — [Output Only] Creation timestamp in RFC3339 text format.
#creation_timestamp=
def creation_timestamp=(value) -> ::String
Parameter
- value (::String) — [Output Only] Creation timestamp in RFC3339 text format.
Returns
- (::String) — [Output Only] Creation timestamp in RFC3339 text format.
#description
def description() -> ::String
Returns
- (::String) — [Output Only] An optional description of this resource.
#description=
def description=(value) -> ::String
Parameter
- value (::String) — [Output Only] An optional description of this resource.
Returns
- (::String) — [Output Only] An optional description of this resource.
#features
def features() -> ::Google::Cloud::Compute::V1::NetworkProfileNetworkFeatures
Returns
- (::Google::Cloud::Compute::V1::NetworkProfileNetworkFeatures) — [Output Only] Features supported by the network.
#features=
def features=(value) -> ::Google::Cloud::Compute::V1::NetworkProfileNetworkFeatures
Parameter
- value (::Google::Cloud::Compute::V1::NetworkProfileNetworkFeatures) — [Output Only] Features supported by the network.
Returns
- (::Google::Cloud::Compute::V1::NetworkProfileNetworkFeatures) — [Output Only] Features supported by the network.
#id
def id() -> ::Integer
Returns
- (::Integer) — [Output Only] The unique identifier for the resource. This identifier is defined by the server.
#id=
def id=(value) -> ::Integer
Parameter
- value (::Integer) — [Output Only] The unique identifier for the resource. This identifier is defined by the server.
Returns
- (::Integer) — [Output Only] The unique identifier for the resource. This identifier is defined by the server.
#kind
def kind() -> ::String
Returns
- (::String) — [Output Only] Type of the resource. Always compute#networkProfile for network profiles.
#kind=
def kind=(value) -> ::String
Parameter
- value (::String) — [Output Only] Type of the resource. Always compute#networkProfile for network profiles.
Returns
- (::String) — [Output Only] Type of the resource. Always compute#networkProfile for network profiles.
#location
def location() -> ::Google::Cloud::Compute::V1::NetworkProfileLocation
Returns
- (::Google::Cloud::Compute::V1::NetworkProfileLocation) — [Output Only] Location to which the network is restricted.
#location=
def location=(value) -> ::Google::Cloud::Compute::V1::NetworkProfileLocation
Parameter
- value (::Google::Cloud::Compute::V1::NetworkProfileLocation) — [Output Only] Location to which the network is restricted.
Returns
- (::Google::Cloud::Compute::V1::NetworkProfileLocation) — [Output Only] Location to which the network is restricted.
#name
def name() -> ::String
Returns
- (::String) — [Output Only] Name of the resource.
#name=
def name=(value) -> ::String
Parameter
- value (::String) — [Output Only] Name of the resource.
Returns
- (::String) — [Output Only] Name of the resource.
#self_link
def self_link() -> ::String
Returns
- (::String) — [Output Only] Server-defined URL for the resource.
#self_link=
def self_link=(value) -> ::String
Parameter
- value (::String) — [Output Only] Server-defined URL for the resource.
Returns
- (::String) — [Output Only] Server-defined URL for the resource.
#self_link_with_id
def self_link_with_id() -> ::String
Returns
- (::String) — [Output Only] Server-defined URL for this resource with the resource id.
#self_link_with_id=
def self_link_with_id=(value) -> ::String
Parameter
- value (::String) — [Output Only] Server-defined URL for this resource with the resource id.
Returns
- (::String) — [Output Only] Server-defined URL for this resource with the resource id.
#zone
def zone() -> ::String
Returns
- (::String) — [Output Only] Zone to which the network is restricted.
#zone=
def zone=(value) -> ::String
Parameter
- value (::String) — [Output Only] Zone to which the network is restricted.
Returns
- (::String) — [Output Only] Zone to which the network is restricted.