Reference documentation and code samples for the Cloud Pub/Sub V1 API class Google::Cloud::PubSub::V1::ValidateMessageRequest.
Request for the ValidateMessage method.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#encoding
def encoding() -> ::Google::Cloud::PubSub::V1::Encoding- (::Google::Cloud::PubSub::V1::Encoding) — The encoding expected for messages
#encoding=
def encoding=(value) -> ::Google::Cloud::PubSub::V1::Encoding- value (::Google::Cloud::PubSub::V1::Encoding) — The encoding expected for messages
- (::Google::Cloud::PubSub::V1::Encoding) — The encoding expected for messages
#message
def message() -> ::String-
(::String) — Message to validate against the provided
schema_spec.
#message=
def message=(value) -> ::String-
value (::String) — Message to validate against the provided
schema_spec.
-
(::String) — Message to validate against the provided
schema_spec.
#name
def name() -> ::String-
(::String) — Name of the schema against which to validate.
Format is
projects/{project}/schemas/{schema}.Note: The following fields are mutually exclusive:
name,schema. If a field in that set is populated, all other fields in the set will automatically be cleared.
#name=
def name=(value) -> ::String-
value (::String) — Name of the schema against which to validate.
Format is
projects/{project}/schemas/{schema}.Note: The following fields are mutually exclusive:
name,schema. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::String) — Name of the schema against which to validate.
Format is
projects/{project}/schemas/{schema}.Note: The following fields are mutually exclusive:
name,schema. If a field in that set is populated, all other fields in the set will automatically be cleared.
#parent
def parent() -> ::String-
(::String) — Required. The name of the project in which to validate schemas.
Format is
projects/{project-id}.
#parent=
def parent=(value) -> ::String-
value (::String) — Required. The name of the project in which to validate schemas.
Format is
projects/{project-id}.
-
(::String) — Required. The name of the project in which to validate schemas.
Format is
projects/{project-id}.
#schema
def schema() -> ::Google::Cloud::PubSub::V1::Schema-
(::Google::Cloud::PubSub::V1::Schema) — Ad-hoc schema against which to validate
Note: The following fields are mutually exclusive:
schema,name. If a field in that set is populated, all other fields in the set will automatically be cleared.
#schema=
def schema=(value) -> ::Google::Cloud::PubSub::V1::Schema-
value (::Google::Cloud::PubSub::V1::Schema) — Ad-hoc schema against which to validate
Note: The following fields are mutually exclusive:
schema,name. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::PubSub::V1::Schema) — Ad-hoc schema against which to validate
Note: The following fields are mutually exclusive:
schema,name. If a field in that set is populated, all other fields in the set will automatically be cleared.