Class: Google::Apis::AppengineV1beta::AuthorizedDomain

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/appengine_v1beta/classes.rb,
lib/google/apis/appengine_v1beta/representations.rb,
lib/google/apis/appengine_v1beta/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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AuthorizedDomain

Returns a new instance of AuthorizedDomain.



321
322
323
# File 'lib/google/apis/appengine_v1beta/classes.rb', line 321

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#idString

Fully qualified domain name of the domain authorized for use. Example: example. com. Corresponds to the JSON property id

Returns:

  • (String)


313
314
315
# File 'lib/google/apis/appengine_v1beta/classes.rb', line 313

def id
  @id
end

#nameString

Full path to the AuthorizedDomain resource in the API. Example: apps/myapp/ authorizedDomains/example.com.@OutputOnly Corresponds to the JSON property name

Returns:

  • (String)


319
320
321
# File 'lib/google/apis/appengine_v1beta/classes.rb', line 319

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



326
327
328
329
# File 'lib/google/apis/appengine_v1beta/classes.rb', line 326

def update!(**args)
  @id = args[:id] if args.key?(:id)
  @name = args[:name] if args.key?(:name)
end