Reference documentation and code samples for the Cloud Pub/Sub V1 API class Google::Cloud::PubSub::V1::CommitSchemaRequest.
Request for CommitSchema method.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#name
def name() -> ::String
Returns
-
(::String) — Required. The name of the schema we are revising.
Format is
projects/{project}/schemas/{schema}
.
#name=
def name=(value) -> ::String
Parameter
-
value (::String) — Required. The name of the schema we are revising.
Format is
projects/{project}/schemas/{schema}
.
Returns
-
(::String) — Required. The name of the schema we are revising.
Format is
projects/{project}/schemas/{schema}
.
#schema
def schema() -> ::Google::Cloud::PubSub::V1::Schema
Returns
- (::Google::Cloud::PubSub::V1::Schema) — Required. The schema revision to commit.
#schema=
def schema=(value) -> ::Google::Cloud::PubSub::V1::Schema
Parameter
- value (::Google::Cloud::PubSub::V1::Schema) — Required. The schema revision to commit.
Returns
- (::Google::Cloud::PubSub::V1::Schema) — Required. The schema revision to commit.