Reference documentation and code samples for the Cloud Pub/Sub V1 API class Google::Cloud::PubSub::V1::UpdateSubscriptionRequest.
Request for the UpdateSubscription method.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#subscription
def subscription() -> ::Google::Cloud::PubSub::V1::Subscription Returns
- (::Google::Cloud::PubSub::V1::Subscription) — Required. The updated subscription object.
#subscription=
def subscription=(value) -> ::Google::Cloud::PubSub::V1::Subscription Parameter
- value (::Google::Cloud::PubSub::V1::Subscription) — Required. The updated subscription object.
Returns
- (::Google::Cloud::PubSub::V1::Subscription) — Required. The updated subscription object.
#update_mask
def update_mask() -> ::Google::Protobuf::FieldMask Returns
- (::Google::Protobuf::FieldMask) — Required. Indicates which fields in the provided subscription to update. Must be specified and non-empty.
#update_mask=
def update_mask=(value) -> ::Google::Protobuf::FieldMask Parameter
- value (::Google::Protobuf::FieldMask) — Required. Indicates which fields in the provided subscription to update. Must be specified and non-empty.
Returns
- (::Google::Protobuf::FieldMask) — Required. Indicates which fields in the provided subscription to update. Must be specified and non-empty.