Class: Google::Apis::BloggerV3::BlogPerUserInfo
- Inherits:
-
Object
- Object
- Google::Apis::BloggerV3::BlogPerUserInfo
- 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
Instance Attribute Summary collapse
-
#blog_id ⇒ String
ID of the Blog resource.
-
#has_admin_access ⇒ Boolean
(also: #has_admin_access?)
True if the user has Admin level access to the blog.
-
#kind ⇒ String
The kind of this entity.
-
#photos_album_key ⇒ String
The Photo Album Key for the user when adding photos to the blog.
-
#role ⇒ String
Access permissions that the user has for the blog (ADMIN, AUTHOR, or READER).
-
#user_id ⇒ String
ID of the User.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BlogPerUserInfo
constructor
A new instance of BlogPerUserInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BlogPerUserInfo
Returns a new instance of BlogPerUserInfo.
269 270 271 |
# File 'generated/google/apis/blogger_v3/classes.rb', line 269 def initialize(**args) update!(**args) end |
Instance Attribute Details
#blog_id ⇒ String
ID of the Blog resource.
Corresponds to the JSON property blogId
241 242 243 |
# File 'generated/google/apis/blogger_v3/classes.rb', line 241 def blog_id @blog_id end |
#has_admin_access ⇒ Boolean Also known as: has_admin_access?
True if the user has Admin level access to the blog.
Corresponds to the JSON property hasAdminAccess
246 247 248 |
# File 'generated/google/apis/blogger_v3/classes.rb', line 246 def has_admin_access @has_admin_access end |
#kind ⇒ String
The kind of this entity. Always blogger#blogPerUserInfo.
Corresponds to the JSON property kind
252 253 254 |
# File 'generated/google/apis/blogger_v3/classes.rb', line 252 def kind @kind end |
#photos_album_key ⇒ String
The Photo Album Key for the user when adding photos to the blog.
Corresponds to the JSON property photosAlbumKey
257 258 259 |
# File 'generated/google/apis/blogger_v3/classes.rb', line 257 def photos_album_key @photos_album_key end |
#role ⇒ String
Access permissions that the user has for the blog (ADMIN, AUTHOR, or READER).
Corresponds to the JSON property role
262 263 264 |
# File 'generated/google/apis/blogger_v3/classes.rb', line 262 def role @role end |
#user_id ⇒ String
ID of the User.
Corresponds to the JSON property userId
267 268 269 |
# File 'generated/google/apis/blogger_v3/classes.rb', line 267 def user_id @user_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
274 275 276 277 278 279 280 281 |
# File 'generated/google/apis/blogger_v3/classes.rb', line 274 def update!(**args) @blog_id = args[:blog_id] if args.key?(:blog_id) @has_admin_access = args[:has_admin_access] if args.key?(:has_admin_access) @kind = args[:kind] if args.key?(:kind) @photos_album_key = args[:photos_album_key] if args.key?(:photos_album_key) @role = args[:role] if args.key?(:role) @user_id = args[:user_id] if args.key?(:user_id) end |