Class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1RegisterSubscriberRequest
- Inherits:
-
Object
- Object
- Google::Apis::CloudchannelV1::GoogleCloudChannelV1RegisterSubscriberRequest
- 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 RegisterSubscriber.
Instance Attribute Summary collapse
-
#integrator ⇒ String
Optional.
-
#service_account ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudChannelV1RegisterSubscriberRequest
constructor
A new instance of GoogleCloudChannelV1RegisterSubscriberRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudChannelV1RegisterSubscriberRequest
Returns a new instance of GoogleCloudChannelV1RegisterSubscriberRequest.
2691 2692 2693 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 2691 def initialize(**args) update!(**args) end |
Instance Attribute Details
#integrator ⇒ String
Optional. Resource name of the integrator.
Corresponds to the JSON property integrator
2683 2684 2685 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 2683 def integrator @integrator end |
#service_account ⇒ String
Required. Service account that provides subscriber access to the registered
topic.
Corresponds to the JSON property serviceAccount
2689 2690 2691 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 2689 def service_account @service_account end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2696 2697 2698 2699 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 2696 def update!(**args) @integrator = args[:integrator] if args.key?(:integrator) @service_account = args[:service_account] if args.key?(:service_account) end |