Class: Google::Cloud::Bigquery::AnalyticsHub::V1::RevokeSubscriptionRequest

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

Overview

Message for revoking a subscription.

Instance Attribute Summary collapse

Instance Attribute Details

#name::String

Returns Required. Resource name of the subscription to revoke. e.g. projects/123/locations/us/subscriptions/456.

Returns:

  • (::String)

    Required. Resource name of the subscription to revoke. e.g. projects/123/locations/us/subscriptions/456



1254
1255
1256
1257
# File 'proto_docs/google/cloud/bigquery/analyticshub/v1/analyticshub.rb', line 1254

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

#revoke_commercial::Boolean

Returns Optional. If the subscription is commercial then this field must be set to true, otherwise a failure is thrown. This acts as a safety guard to avoid revoking commercial subscriptions accidentally.

Returns:

  • (::Boolean)

    Optional. If the subscription is commercial then this field must be set to true, otherwise a failure is thrown. This acts as a safety guard to avoid revoking commercial subscriptions accidentally.



1254
1255
1256
1257
# File 'proto_docs/google/cloud/bigquery/analyticshub/v1/analyticshub.rb', line 1254

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