Class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1RegisterSubscriberRequest

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudChannelV1RegisterSubscriberRequest

Returns a new instance of GoogleCloudChannelV1RegisterSubscriberRequest.



1964
1965
1966
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1964

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#service_accountString

Required. Service account that provides subscriber access to the registered topic. Corresponds to the JSON property serviceAccount

Returns:

  • (String)


1962
1963
1964
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1962

def 
  @service_account
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1969
1970
1971
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1969

def update!(**args)
  @service_account = args[:service_account] if args.key?(:service_account)
end