Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::GetSubnetworkRequest.
A request message for Subnetworks.Get. See the method description for details.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#project
def project() -> ::String- (::String) — Project ID for this request.
#project=
def project=(value) -> ::String- value (::String) — Project ID for this request.
- (::String) — Project ID for this request.
#region
def region() -> ::String- (::String) — Name of the region scoping this request.
#region=
def region=(value) -> ::String- value (::String) — Name of the region scoping this request.
- (::String) — Name of the region scoping this request.
#subnetwork
def subnetwork() -> ::String- (::String) — Name of the Subnetwork resource to return.
#subnetwork=
def subnetwork=(value) -> ::String- value (::String) — Name of the Subnetwork resource to return.
- (::String) — Name of the Subnetwork resource to return.
#views
def views() -> ::String-
(::String) —
Defines the extra views returned back in the subnetwork resource. Supported values:
- WITH_UTILIZATION: Utilization data is included in the response. Check the Views enum for the list of possible values.
#views=
def views=(value) -> ::String-
value (::String) —
Defines the extra views returned back in the subnetwork resource. Supported values:
- WITH_UTILIZATION: Utilization data is included in the response. Check the Views enum for the list of possible values.
-
(::String) —
Defines the extra views returned back in the subnetwork resource. Supported values:
- WITH_UTILIZATION: Utilization data is included in the response. Check the Views enum for the list of possible values.