Class: Google::Apis::RunV1alpha1::AuthorizedDomain

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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ AuthorizedDomain

Returns a new instance of AuthorizedDomain.



183
184
185
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 183

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)


175
176
177
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 175

def id
  @id
end

#nameString

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

Returns:

  • (String)


181
182
183
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 181

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



188
189
190
191
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 188

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