Class: Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaProvisionAccountTicketRequest

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

Overview

Request message for ProvisionAccountTicket RPC.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAnalyticsAdminV1betaProvisionAccountTicketRequest

Returns a new instance of GoogleAnalyticsAdminV1betaProvisionAccountTicketRequest.



2058
2059
2060
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 2058

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

Instance Attribute Details

#accountGoogle::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaAccount

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



2050
2051
2052
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 2050

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)


2056
2057
2058
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 2056

def redirect_uri
  @redirect_uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2063
2064
2065
2066
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 2063

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