Class: Google::Apis::PlusDomainsV1::Person::Url
- Inherits:
-
Object
- Object
- Google::Apis::PlusDomainsV1::Person::Url
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/plus_domains_v1/classes.rb,
generated/google/apis/plus_domains_v1/representations.rb,
generated/google/apis/plus_domains_v1/representations.rb
Instance Attribute Summary collapse
-
#label ⇒ String
The label of the URL.
-
#type ⇒ String
The type of URL.
-
#value ⇒ String
The URL value.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Url
constructor
A new instance of Url.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Url
Returns a new instance of Url
2432 2433 2434 |
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 2432 def initialize(**args) update!(**args) end |
Instance Attribute Details
#label ⇒ String
The label of the URL.
Corresponds to the JSON property label
2415 2416 2417 |
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 2415 def label @label end |
#type ⇒ String
The type of URL. Possible values include, but are not limited to, the following values:
- "otherProfile" - URL for another profile.
- "contributor" - URL to a site for which this person is a contributor.
- "website" - URL for this Google+ Page's primary website.
- "other" - Other URL.
Corresponds to the JSON property
type
2425 2426 2427 |
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 2425 def type @type end |
#value ⇒ String
The URL value.
Corresponds to the JSON property value
2430 2431 2432 |
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 2430 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2437 2438 2439 2440 2441 |
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 2437 def update!(**args) @label = args[:label] if args.key?(:label) @type = args[:type] if args.key?(:type) @value = args[:value] if args.key?(:value) end |