class Google::Apis::PlusV1::Person::Url

Attributes

label[RW]

The label of the URL. Corresponds to the JSON property `label` @return [String]

type[RW]

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` @return [String]

value[RW]

The URL value. Corresponds to the JSON property `value` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/plus_v1/classes.rb, line 1954
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/plus_v1/classes.rb, line 1959
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