Class: Google::Apis::AppengineV1alpha::AuthorizedDomain
- Inherits:
-
Object
- Object
- Google::Apis::AppengineV1alpha::AuthorizedDomain
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/appengine_v1alpha/classes.rb,
lib/google/apis/appengine_v1alpha/representations.rb,
lib/google/apis/appengine_v1alpha/representations.rb
Overview
A domain that a user has been authorized to administer. To authorize use of a domain, verify ownership via Search Console (https://search.google.com/search- console/welcome).
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.
127 128 129 |
# File 'lib/google/apis/appengine_v1alpha/classes.rb', line 127 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
119 120 121 |
# File 'lib/google/apis/appengine_v1alpha/classes.rb', line 119 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
125 126 127 |
# File 'lib/google/apis/appengine_v1alpha/classes.rb', line 125 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
132 133 134 135 |
# File 'lib/google/apis/appengine_v1alpha/classes.rb', line 132 def update!(**args) @id = args[:id] if args.key?(:id) @name = args[:name] if args.key?(:name) end |