Class: Google::Apis::AndroidenterpriseV1::SignupInfo

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

Overview

A resource returned by the GenerateSignupUrl API, which contains the Signup URL and Completion Token.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SignupInfo

Returns a new instance of SignupInfo.



2655
2656
2657
# File 'lib/google/apis/androidenterprise_v1/classes.rb', line 2655

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

Instance Attribute Details

#completion_tokenString

An opaque token that will be required, along with the Enterprise Token, for obtaining the enterprise resource from CompleteSignup. Corresponds to the JSON property completionToken

Returns:

  • (String)


2642
2643
2644
# File 'lib/google/apis/androidenterprise_v1/classes.rb', line 2642

def completion_token
  @completion_token
end

#kindString

Deprecated. Corresponds to the JSON property kind

Returns:

  • (String)


2647
2648
2649
# File 'lib/google/apis/androidenterprise_v1/classes.rb', line 2647

def kind
  @kind
end

#urlString

A URL under which the Admin can sign up for an enterprise. The page pointed to cannot be rendered in an iframe. Corresponds to the JSON property url

Returns:

  • (String)


2653
2654
2655
# File 'lib/google/apis/androidenterprise_v1/classes.rb', line 2653

def url
  @url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2660
2661
2662
2663
2664
# File 'lib/google/apis/androidenterprise_v1/classes.rb', line 2660

def update!(**args)
  @completion_token = args[:completion_token] if args.key?(:completion_token)
  @kind = args[:kind] if args.key?(:kind)
  @url = args[:url] if args.key?(:url)
end