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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/analyticsadmin_v1alpha/classes.rb,
lib/google/apis/analyticsadmin_v1alpha/representations.rb,
lib/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.



4954
4955
4956
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 4954

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



4946
4947
4948
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 4946

def 
  @account
end

#redirect_uriString

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

Returns:

  • (String)


4952
4953
4954
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 4952

def redirect_uri
  @redirect_uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4959
4960
4961
4962
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 4959

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