Class: Google::Apis::WebmastersV3::WmxSite
- Inherits:
-
Object
- Object
- Google::Apis::WebmastersV3::WmxSite
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/webmasters_v3/classes.rb,
generated/google/apis/webmasters_v3/representations.rb,
generated/google/apis/webmasters_v3/representations.rb
Overview
Contains permission level information about a Search Console site. For more information, see Permissions in Search Console.
Instance Attribute Summary collapse
-
#permission_level ⇒ String
The user's permission level for the site.
-
#site_url ⇒ String
The URL of the site.
Instance Method Summary collapse
-
#initialize(**args) ⇒ WmxSite
constructor
A new instance of WmxSite.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ WmxSite
Returns a new instance of WmxSite
454 455 456 |
# File 'generated/google/apis/webmasters_v3/classes.rb', line 454 def initialize(**args) update!(**args) end |
Instance Attribute Details
#permission_level ⇒ String
The user's permission level for the site.
Corresponds to the JSON property permissionLevel
447 448 449 |
# File 'generated/google/apis/webmasters_v3/classes.rb', line 447 def @permission_level end |
#site_url ⇒ String
The URL of the site.
Corresponds to the JSON property siteUrl
452 453 454 |
# File 'generated/google/apis/webmasters_v3/classes.rb', line 452 def site_url @site_url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
459 460 461 462 |
# File 'generated/google/apis/webmasters_v3/classes.rb', line 459 def update!(**args) @permission_level = args[:permission_level] if args.key?(:permission_level) @site_url = args[:site_url] if args.key?(:site_url) end |