Class: Google::Apis::BloggerV3::Blog
- Inherits:
-
Object
- Object
- Google::Apis::BloggerV3::Blog
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/blogger_v3/classes.rb,
generated/google/apis/blogger_v3/representations.rb,
generated/google/apis/blogger_v3/representations.rb
Defined Under Namespace
Instance Attribute Summary collapse
-
#custom_meta_data ⇒ String
The JSON custom meta-data for the Blog Corresponds to the JSON property
customMetaData
. -
#description ⇒ String
The description of this blog.
-
#id ⇒ String
The identifier for this resource.
-
#kind ⇒ String
The kind of this entry.
-
#locale ⇒ Google::Apis::BloggerV3::Blog::Locale
The locale this Blog is set to.
-
#name ⇒ String
The name of this blog.
-
#pages ⇒ Google::Apis::BloggerV3::Blog::Pages
The container of pages in this blog.
-
#posts ⇒ Google::Apis::BloggerV3::Blog::Posts
The container of posts in this blog.
-
#published ⇒ DateTime
RFC 3339 date-time when this blog was published.
-
#self_link ⇒ String
The API REST URL to fetch this resource from.
-
#status ⇒ String
The status of the blog.
-
#updated ⇒ DateTime
RFC 3339 date-time when this blog was last updated.
-
#url ⇒ String
The URL where this blog is published.
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.
94 95 96 |
# File 'generated/google/apis/blogger_v3/classes.rb', line 94 def initialize(**args) update!(**args) end |
Instance Attribute Details
#custom_meta_data ⇒ String
The JSON custom meta-data for the Blog
Corresponds to the JSON property customMetaData
32 33 34 |
# File 'generated/google/apis/blogger_v3/classes.rb', line 32 def @custom_meta_data end |
#description ⇒ String
The description of this blog. This is displayed underneath the title.
Corresponds to the JSON property description
37 38 39 |
# File 'generated/google/apis/blogger_v3/classes.rb', line 37 def description @description end |
#id ⇒ String
The identifier for this resource.
Corresponds to the JSON property id
42 43 44 |
# File 'generated/google/apis/blogger_v3/classes.rb', line 42 def id @id end |
#kind ⇒ String
The kind of this entry. Always blogger#blog
Corresponds to the JSON property kind
47 48 49 |
# File 'generated/google/apis/blogger_v3/classes.rb', line 47 def kind @kind end |
#locale ⇒ Google::Apis::BloggerV3::Blog::Locale
The locale this Blog is set to.
Corresponds to the JSON property locale
52 53 54 |
# File 'generated/google/apis/blogger_v3/classes.rb', line 52 def locale @locale end |
#name ⇒ String
The name of this blog. This is displayed as the title.
Corresponds to the JSON property name
57 58 59 |
# File 'generated/google/apis/blogger_v3/classes.rb', line 57 def name @name end |
#pages ⇒ Google::Apis::BloggerV3::Blog::Pages
The container of pages in this blog.
Corresponds to the JSON property pages
62 63 64 |
# File 'generated/google/apis/blogger_v3/classes.rb', line 62 def pages @pages end |
#posts ⇒ Google::Apis::BloggerV3::Blog::Posts
The container of posts in this blog.
Corresponds to the JSON property posts
67 68 69 |
# File 'generated/google/apis/blogger_v3/classes.rb', line 67 def posts @posts end |
#published ⇒ DateTime
RFC 3339 date-time when this blog was published.
Corresponds to the JSON property published
72 73 74 |
# File 'generated/google/apis/blogger_v3/classes.rb', line 72 def published @published end |
#self_link ⇒ String
The API REST URL to fetch this resource from.
Corresponds to the JSON property selfLink
77 78 79 |
# File 'generated/google/apis/blogger_v3/classes.rb', line 77 def self_link @self_link end |
#status ⇒ String
The status of the blog.
Corresponds to the JSON property status
82 83 84 |
# File 'generated/google/apis/blogger_v3/classes.rb', line 82 def status @status end |
#updated ⇒ DateTime
RFC 3339 date-time when this blog was last updated.
Corresponds to the JSON property updated
87 88 89 |
# File 'generated/google/apis/blogger_v3/classes.rb', line 87 def updated @updated end |
#url ⇒ String
The URL where this blog is published.
Corresponds to the JSON property url
92 93 94 |
# File 'generated/google/apis/blogger_v3/classes.rb', line 92 def url @url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 |
# File 'generated/google/apis/blogger_v3/classes.rb', line 99 def update!(**args) @custom_meta_data = args[:custom_meta_data] if args.key?(:custom_meta_data) @description = args[:description] if args.key?(:description) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @locale = args[:locale] if args.key?(:locale) @name = args[:name] if args.key?(:name) @pages = args[:pages] if args.key?(:pages) @posts = args[:posts] if args.key?(:posts) @published = args[:published] if args.key?(:published) @self_link = args[:self_link] if args.key?(:self_link) @status = args[:status] if args.key?(:status) @updated = args[:updated] if args.key?(:updated) @url = args[:url] if args.key?(:url) end |