Class: Google::Apis::BloggerV2::Page::Blog

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/blogger_v2/classes.rb,
lib/google/apis/blogger_v2/representations.rb,
lib/google/apis/blogger_v2/representations.rb

Overview

Data about the blog containing this Page.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Blog

Returns a new instance of Blog.



706
707
708
# File 'lib/google/apis/blogger_v2/classes.rb', line 706

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

Instance Attribute Details

#idString

The identifier of the blog containing this page. Corresponds to the JSON property id

Returns:

  • (String)


704
705
706
# File 'lib/google/apis/blogger_v2/classes.rb', line 704

def id
  @id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



711
712
713
# File 'lib/google/apis/blogger_v2/classes.rb', line 711

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