Class: Google::Apis::BloggerV2::Post::Blog
- Inherits:
-
Object
- Object
- Google::Apis::BloggerV2::Post::Blog
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/blogger_v2/classes.rb,
generated/google/apis/blogger_v2/representations.rb,
generated/google/apis/blogger_v2/representations.rb
Overview
Data about the blog containing this Post.
Instance Attribute Summary collapse
-
#id ⇒ Fixnum
The identifier of the Blog that contains this Post.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Blog
constructor
A new instance of Blog.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Blog
Returns a new instance of Blog
756 757 758 |
# File 'generated/google/apis/blogger_v2/classes.rb', line 756 def initialize(**args) update!(**args) end |
Instance Attribute Details
#id ⇒ Fixnum
The identifier of the Blog that contains this Post.
Corresponds to the JSON property id
754 755 756 |
# File 'generated/google/apis/blogger_v2/classes.rb', line 754 def id @id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
761 762 763 |
# File 'generated/google/apis/blogger_v2/classes.rb', line 761 def update!(**args) @id = args[:id] if args.key?(:id) end |