Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProvisionAccountTicketRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/analyticsadmin_v1alpha/classes.rb,
generated/google/apis/analyticsadmin_v1alpha/representations.rb,
generated/google/apis/analyticsadmin_v1alpha/representations.rb

Overview

Request message for ProvisionAccountTicket RPC.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaProvisionAccountTicketRequest

Returns a new instance of GoogleAnalyticsAdminV1alphaProvisionAccountTicketRequest.



1205
1206
1207
# File 'generated/google/apis/analyticsadmin_v1alpha/classes.rb', line 1205

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#accountGoogle::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccount

A resource message representing a Google Analytics account. Corresponds to the JSON property account



1197
1198
1199
# File 'generated/google/apis/analyticsadmin_v1alpha/classes.rb', line 1197

def 
  @account
end

#redirect_uriString

Redirect URI where the user will be sent after accepting Terms of Service. Must be configured in Developers Console as a Redirect URI Corresponds to the JSON property redirectUri

Returns:

  • (String)


1203
1204
1205
# File 'generated/google/apis/analyticsadmin_v1alpha/classes.rb', line 1203

def redirect_uri
  @redirect_uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1210
1211
1212
1213
# File 'generated/google/apis/analyticsadmin_v1alpha/classes.rb', line 1210

def update!(**args)
  @account = args[:account] if args.key?(:account)
  @redirect_uri = args[:redirect_uri] if args.key?(:redirect_uri)
end