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
-
#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.
1899 1900 1901 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1899 def initialize(**args) update!(**args) end |
Instance Attribute Details
#service_account ⇒ String
Required. Service account that provides subscriber access to the registered
topic.
Corresponds to the JSON property serviceAccount
1897 1898 1899 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1897 def service_account @service_account end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1904 1905 1906 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1904 def update!(**args) @service_account = args[:service_account] if args.key?(:service_account) end |