class Google::Apis::AnalyticsV3::ProfileRef

JSON template for a linked view (profile).

Attributes

account_id[RW]

Account ID to which this view (profile) belongs. Corresponds to the JSON property `accountId` @return [String]

href[RW]

Link for this view (profile). Corresponds to the JSON property `href` @return [String]

id[RW]

View (Profile) ID. Corresponds to the JSON property `id` @return [String]

internal_web_property_id[RW]

Internal ID for the web property to which this view (profile) belongs. Corresponds to the JSON property `internalWebPropertyId` @return [String]

kind[RW]

Analytics view (profile) reference. Corresponds to the JSON property `kind` @return [String]

name[RW]

Name of this view (profile). Corresponds to the JSON property `name` @return [String]

web_property_id[RW]

Web property ID of the form UA-XXXXX-YY to which this view (profile) belongs. Corresponds to the JSON property `webPropertyId` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/analytics_v3/classes.rb, line 4235
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 4240
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)
  @web_property_id = args[:web_property_id] if args.key?(:web_property_id)
end