Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::GetSubnetworkRequest (v3.5.0)

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
Returns
  • (::String) — Project ID for this request.

#project=

def project=(value) -> ::String
Parameter
  • value (::String) — Project ID for this request.
Returns
  • (::String) — Project ID for this request.

#region

def region() -> ::String
Returns
  • (::String) — Name of the region scoping this request.

#region=

def region=(value) -> ::String
Parameter
  • value (::String) — Name of the region scoping this request.
Returns
  • (::String) — Name of the region scoping this request.

#subnetwork

def subnetwork() -> ::String
Returns
  • (::String) — Name of the Subnetwork resource to return.

#subnetwork=

def subnetwork=(value) -> ::String
Parameter
  • value (::String) — Name of the Subnetwork resource to return.
Returns
  • (::String) — Name of the Subnetwork resource to return.

#views

def views() -> ::String
Returns
  • (::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
Parameter
  • 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.
Returns
  • (::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.