API hub V1 API - Class Google::Cloud::ApiHub::V1::UpdateSpecRequest (v0.1.0)

Reference documentation and code samples for the API hub V1 API class Google::Cloud::ApiHub::V1::UpdateSpecRequest.

The UpdateSpec method's request.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#spec

def spec() -> ::Google::Cloud::ApiHub::V1::Spec
Returns
  • (::Google::Cloud::ApiHub::V1::Spec) — Required. The spec to update.

    The spec's name field is used to identify the spec to update. Format: projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}

#spec=

def spec=(value) -> ::Google::Cloud::ApiHub::V1::Spec
Parameter
  • value (::Google::Cloud::ApiHub::V1::Spec) — Required. The spec to update.

    The spec's name field is used to identify the spec to update. Format: projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}

Returns
  • (::Google::Cloud::ApiHub::V1::Spec) — Required. The spec to update.

    The spec's name field is used to identify the spec to update. Format: projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}

#update_mask

def update_mask() -> ::Google::Protobuf::FieldMask
Returns

#update_mask=

def update_mask=(value) -> ::Google::Protobuf::FieldMask
Parameter
Returns