Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::ProjectsEnableXpnResourceRequest.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#xpn_resource
def xpn_resource() -> ::Google::Cloud::Compute::V1::XpnResourceId
Returns
- (::Google::Cloud::Compute::V1::XpnResourceId) — Service resource (a.k.a service project) ID.
#xpn_resource=
def xpn_resource=(value) -> ::Google::Cloud::Compute::V1::XpnResourceId
Parameter
- value (::Google::Cloud::Compute::V1::XpnResourceId) — Service resource (a.k.a service project) ID.
Returns
- (::Google::Cloud::Compute::V1::XpnResourceId) — Service resource (a.k.a service project) ID.