class Google::Apis::AnalyticsV3::AccountTreeRequest

JSON template for an Analytics account tree requests. The account tree request is used in the provisioning api to create an account, property, and view ( profile). It contains the basic information required to make these fields.

Attributes

account_name[RW]

Corresponds to the JSON property `accountName` @return [String]

kind[RW]

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

profile_name[RW]

Corresponds to the JSON property `profileName` @return [String]

timezone[RW]

Corresponds to the JSON property `timezone` @return [String]

webproperty_name[RW]

Corresponds to the JSON property `webpropertyName` @return [String]

website_url[RW]

Corresponds to the JSON property `websiteUrl` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/analytics_v3/classes.rb, line 377
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 382
def update!(**args)
  @account_name = args[:account_name] if args.key?(:account_name)
  @kind = args[:kind] if args.key?(:kind)
  @profile_name = args[:profile_name] if args.key?(:profile_name)
  @timezone = args[:timezone] if args.key?(:timezone)
  @webproperty_name = args[:webproperty_name] if args.key?(:webproperty_name)
  @website_url = args[:website_url] if args.key?(:website_url)
end