Class: Google::Apis::AppengineV1::AuthorizedDomain
- Inherits:
-
Object
- Object
- Google::Apis::AppengineV1::AuthorizedDomain
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/appengine_v1/classes.rb,
generated/google/apis/appengine_v1/representations.rb,
generated/google/apis/appengine_v1/representations.rb
Overview
A domain that a user has been authorized to administer. To authorize use of a domain, verify ownership via Webmaster Central (https://www.google.com/ webmasters/verification/home).
Instance Attribute Summary collapse
-
#id ⇒ String
Fully qualified domain name of the domain authorized for use.
-
#name ⇒ String
Full path to the AuthorizedDomain resource in the API.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AuthorizedDomain
constructor
A new instance of AuthorizedDomain.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AuthorizedDomain
Returns a new instance of AuthorizedDomain.
304 305 306 |
# File 'generated/google/apis/appengine_v1/classes.rb', line 304 def initialize(**args) update!(**args) end |
Instance Attribute Details
#id ⇒ String
Fully qualified domain name of the domain authorized for use. Example: example.
com.
Corresponds to the JSON property id
296 297 298 |
# File 'generated/google/apis/appengine_v1/classes.rb', line 296 def id @id end |
#name ⇒ String
Full path to the AuthorizedDomain resource in the API. Example: apps/myapp/
authorizedDomains/example.com.@OutputOnly
Corresponds to the JSON property name
302 303 304 |
# File 'generated/google/apis/appengine_v1/classes.rb', line 302 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
309 310 311 312 |
# File 'generated/google/apis/appengine_v1/classes.rb', line 309 def update!(**args) @id = args[:id] if args.key?(:id) @name = args[:name] if args.key?(:name) end |