class Google::Apis::AnalyticsV3::AccountTicket

JSON template for an Analytics account ticket. The account ticket consists of the ticket ID and the basic information for the account, property and profile.

Attributes

account[RW]

JSON template for Analytics account entry. Corresponds to the JSON property `account` @return [Google::Apis::AnalyticsV3::Account]

id[RW]

Account ticket ID used to access the account ticket. Corresponds to the JSON property `id` @return [String]

kind[RW]

Resource type for account ticket. Corresponds to the JSON property `kind` @return [String]

profile[RW]

JSON template for an Analytics view (profile). Corresponds to the JSON property `profile` @return [Google::Apis::AnalyticsV3::Profile]

redirect_uri[RW]

Redirect URI where the user will be sent after accepting Terms of Service. Must be configured in APIs console as a callback URL. Corresponds to the JSON property `redirectUri` @return [String]

webproperty[RW]

JSON template for an Analytics web property. Corresponds to the JSON property `webproperty` @return [Google::Apis::AnalyticsV3::Webproperty]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/analytics_v3/classes.rb, line 326
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 331
def update!(**args)
  @account = args[:account] if args.key?(:account)
  @id = args[:id] if args.key?(:id)
  @kind = args[:kind] if args.key?(:kind)
  @profile = args[:profile] if args.key?(:profile)
  @redirect_uri = args[:redirect_uri] if args.key?(:redirect_uri)
  @webproperty = args[:webproperty] if args.key?(:webproperty)
end