Class: Google::Cloud::ApiHub::V1::CreateSpecRequest
- Inherits:
-
Object
- Object
- Google::Cloud::ApiHub::V1::CreateSpecRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/apihub/v1/apihub_service.rb
Overview
The CreateSpec method's request.
Instance Attribute Summary collapse
-
#parent ⇒ ::String
Required.
-
#spec ⇒ ::Google::Cloud::ApiHub::V1::Spec
Required.
-
#spec_id ⇒ ::String
Optional.
Instance Attribute Details
#parent ⇒ ::String
Returns Required. The parent resource for Spec.
Format:
projects/{project}/locations/{location}/apis/{api}/versions/{version}
.
386 387 388 389 |
# File 'proto_docs/google/cloud/apihub/v1/apihub_service.rb', line 386 class CreateSpecRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#spec ⇒ ::Google::Cloud::ApiHub::V1::Spec
Returns Required. The spec to create.
386 387 388 389 |
# File 'proto_docs/google/cloud/apihub/v1/apihub_service.rb', line 386 class CreateSpecRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#spec_id ⇒ ::String
Returns Optional. The ID to use for the spec, which will become the final component of the spec's resource name. This field is optional.
- If provided, the same will be used. The service will throw an error if the specified id is already used by another spec in the API resource.
- If not provided, a system generated id will be used.
This value should be 4-500 characters, and valid characters are /[a-z][A-Z][0-9]-_/.
386 387 388 389 |
# File 'proto_docs/google/cloud/apihub/v1/apihub_service.rb', line 386 class CreateSpecRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |