class Google::Apis::AnalyticsV3::WebPropertyRef

JSON template for a web property reference.

Attributes

account_id[RW]

Account ID to which this web property belongs. Corresponds to the JSON property `accountId` @return [String]

href[RW]

Link for this web property. Corresponds to the JSON property `href` @return [String]

id[RW]

Web property ID of the form UA-XXXXX-YY. Corresponds to the JSON property `id` @return [String]

internal_web_property_id[RW]

Internal ID for this web property. Corresponds to the JSON property `internalWebPropertyId` @return [String]

kind[RW]

Analytics web property reference. Corresponds to the JSON property `kind` @return [String]

name[RW]

Name of this web property. Corresponds to the JSON property `name` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/analytics_v3/classes.rb, line 5448
def update!(**args)
  @account_id = args[:account_id] if args.key?(:account_id)
  @href = args[:href] if args.key?(:href)
  @id = args[:id] if args.key?(:id)
  @internal_web_property_id = args[:internal_web_property_id] if args.key?(:internal_web_property_id)
  @kind = args[:kind] if args.key?(:kind)
  @name = args[:name] if args.key?(:name)
end