Class: Google::Cloud::PubSub::V1::GetSchemaRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/pubsub/v1/schema.rb

Overview

Request for the GetSchema method.

Instance Attribute Summary collapse

Instance Attribute Details

#name::String

Returns Required. The name of the schema to get. Format is projects/{project}/schemas/{schema}.

Returns:

  • (::String)

    Required. The name of the schema to get. Format is projects/{project}/schemas/{schema}.



88
89
90
91
# File 'proto_docs/google/pubsub/v1/schema.rb', line 88

class GetSchemaRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#view::Google::Cloud::PubSub::V1::SchemaView

Returns The set of fields to return in the response. If not set, returns a Schema with name and type, but not definition. Set to FULL to retrieve all fields.

Returns:

  • (::Google::Cloud::PubSub::V1::SchemaView)

    The set of fields to return in the response. If not set, returns a Schema with name and type, but not definition. Set to FULL to retrieve all fields.



88
89
90
91
# File 'proto_docs/google/pubsub/v1/schema.rb', line 88

class GetSchemaRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end