Reference documentation and code samples for the API hub V1 API class Google::Cloud::ApiHub::V1::FetchAdditionalSpecContentRequest.
The FetchAdditionalSpecContent method's request.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#name
def name() -> ::String
Returns
-
(::String) — Required. The name of the spec whose contents need to be retrieved.
Format:
projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}
#name=
def name=(value) -> ::String
Parameter
-
value (::String) — Required. The name of the spec whose contents need to be retrieved.
Format:
projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}
Returns
-
(::String) — Required. The name of the spec whose contents need to be retrieved.
Format:
projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}
#spec_content_type
def spec_content_type() -> ::Google::Cloud::ApiHub::V1::SpecContentType
Returns
- (::Google::Cloud::ApiHub::V1::SpecContentType) — Optional. The type of the spec contents to be retrieved.
#spec_content_type=
def spec_content_type=(value) -> ::Google::Cloud::ApiHub::V1::SpecContentType
Parameter
- value (::Google::Cloud::ApiHub::V1::SpecContentType) — Optional. The type of the spec contents to be retrieved.
Returns
- (::Google::Cloud::ApiHub::V1::SpecContentType) — Optional. The type of the spec contents to be retrieved.