Class: Google::Cloud::PubSub::V1::CreateSchemaRequest
- Inherits:
-
Object
- Object
- Google::Cloud::PubSub::V1::CreateSchemaRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/pubsub/v1/schema.rb
Overview
Request for the CreateSchema method.
Instance Attribute Summary collapse
-
#parent ⇒ ::String
Required.
-
#schema ⇒ ::Google::Cloud::PubSub::V1::Schema
Required.
-
#schema_id ⇒ ::String
The ID to use for the schema, which will become the final component of the schema's resource name.
Instance Attribute Details
#parent ⇒ ::String
Returns Required. The name of the project in which to create the schema.
Format is projects/{project-id}
.
79 80 81 82 |
# File 'proto_docs/google/pubsub/v1/schema.rb', line 79 class CreateSchemaRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#schema ⇒ ::Google::Cloud::PubSub::V1::Schema
Returns Required. The schema object to create.
This schema's name
parameter is ignored. The schema object returned
by CreateSchema will have a name
made using the given parent
and
schema_id
.
79 80 81 82 |
# File 'proto_docs/google/pubsub/v1/schema.rb', line 79 class CreateSchemaRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#schema_id ⇒ ::String
Returns The ID to use for the schema, which will become the final component of the schema's resource name.
See https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names for resource name constraints.
79 80 81 82 |
# File 'proto_docs/google/pubsub/v1/schema.rb', line 79 class CreateSchemaRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |