Class: Google::Apis::RunV1::AuthorizedDomain

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AuthorizedDomain

Returns a new instance of AuthorizedDomain.



132
133
134
# File 'lib/google/apis/run_v1/classes.rb', line 132

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

Instance Attribute Details

#idString

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

Returns:

  • (String)


124
125
126
# File 'lib/google/apis/run_v1/classes.rb', line 124

def id
  @id
end

#nameString

Deprecated Read only. Full path to the AuthorizedDomain resource in the API. Example: projects/myproject/authorizedDomains/example.com. Corresponds to the JSON property name

Returns:

  • (String)


130
131
132
# File 'lib/google/apis/run_v1/classes.rb', line 130

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



137
138
139
140
# File 'lib/google/apis/run_v1/classes.rb', line 137

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