Class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1UnregisterSubscriberRequest
- Inherits:
-
Object
- Object
- Google::Apis::CloudchannelV1::GoogleCloudChannelV1UnregisterSubscriberRequest
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudchannel_v1/classes.rb,
lib/google/apis/cloudchannel_v1/representations.rb,
lib/google/apis/cloudchannel_v1/representations.rb
Overview
Request Message for UnregisterSubscriber.
Instance Attribute Summary collapse
-
#account ⇒ String
Optional.
-
#integrator ⇒ String
Optional.
-
#service_account ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudChannelV1UnregisterSubscriberRequest
constructor
A new instance of GoogleCloudChannelV1UnregisterSubscriberRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudChannelV1UnregisterSubscriberRequest
Returns a new instance of GoogleCloudChannelV1UnregisterSubscriberRequest.
3655 3656 3657 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3655 def initialize(**args) update!(**args) end |
Instance Attribute Details
#account ⇒ String
Optional. Resource name of the account. Required if integrator is not provided.
Otherwise, leave this field empty/unset.
Corresponds to the JSON property account
3642 3643 3644 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3642 def account @account end |
#integrator ⇒ String
Optional. Resource name of the integrator. Required if account is not provided.
Otherwise, leave this field empty/unset.
Corresponds to the JSON property integrator
3648 3649 3650 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3648 def integrator @integrator end |
#service_account ⇒ String
Required. Service account to unregister from subscriber access to the topic.
Corresponds to the JSON property serviceAccount
3653 3654 3655 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3653 def service_account @service_account end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3660 3661 3662 3663 3664 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3660 def update!(**args) @account = args[:account] if args.key?(:account) @integrator = args[:integrator] if args.key?(:integrator) @service_account = args[:service_account] if args.key?(:service_account) end |