Class: Google::Apis::ReaderrevenuesubscriptionlinkingV1::Reader
- Inherits:
-
Object
- Object
- Google::Apis::ReaderrevenuesubscriptionlinkingV1::Reader
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/readerrevenuesubscriptionlinking_v1/classes.rb,
lib/google/apis/readerrevenuesubscriptionlinking_v1/representations.rb,
lib/google/apis/readerrevenuesubscriptionlinking_v1/representations.rb
Overview
A reader of a publication.
Instance Attribute Summary collapse
-
#create_time ⇒ String
Output only.
-
#name ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Reader
constructor
A new instance of Reader.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Reader
Returns a new instance of Reader.
102 103 104 |
# File 'lib/google/apis/readerrevenuesubscriptionlinking_v1/classes.rb', line 102 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. Time the publication reader was created and associated with a
Google user.
Corresponds to the JSON property createTime
94 95 96 |
# File 'lib/google/apis/readerrevenuesubscriptionlinking_v1/classes.rb', line 94 def create_time @create_time end |
#name ⇒ String
Output only. The resource name of the reader. The last part of ppid in the
resource name is the publisher provided id.
Corresponds to the JSON property name
100 101 102 |
# File 'lib/google/apis/readerrevenuesubscriptionlinking_v1/classes.rb', line 100 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
107 108 109 110 |
# File 'lib/google/apis/readerrevenuesubscriptionlinking_v1/classes.rb', line 107 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @name = args[:name] if args.key?(:name) end |