class Google::Apis::BloggerV3::BlogPerUserInfo

Attributes

blog_id[RW]

ID of the Blog resource. Corresponds to the JSON property `blogId` @return [String]

has_admin_access[RW]

True if the user has Admin level access to the blog. Corresponds to the JSON property `hasAdminAccess` @return [Boolean]

has_admin_access?[RW]

True if the user has Admin level access to the blog. Corresponds to the JSON property `hasAdminAccess` @return [Boolean]

kind[RW]

The kind of this entity. Always blogger#blogPerUserInfo. Corresponds to the JSON property `kind` @return [String]

photos_album_key[RW]

The Photo Album Key for the user when adding photos to the blog. Corresponds to the JSON property `photosAlbumKey` @return [String]

role[RW]

Access permissions that the user has for the blog (ADMIN, AUTHOR, or READER). Corresponds to the JSON property `role` @return [String]

user_id[RW]

ID of the User. Corresponds to the JSON property `userId` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/blogger_v3/classes.rb, line 269
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/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