class Google::Apis::SearchconsoleV1::WmxSite

Contains permission level information about a Search Console site. For more information, see [Permissions in Search Console](support.google.com/ webmasters/answer/2451999).

Attributes

permission_level[RW]

The user's permission level for the site. Corresponds to the JSON property `permissionLevel` @return [String]

site_url[RW]

The URL of the site. Corresponds to the JSON property `siteUrl` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/searchconsole_v1/classes.rb, line 488
def update!(**args)
  @permission_level = args[:permission_level] if args.key?(:permission_level)
  @site_url = args[:site_url] if args.key?(:site_url)
end