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

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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ SignupInfo

Returns a new instance of SignupInfo



1906
1907
1908
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 1906

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)


1892
1893
1894
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 1892

def completion_token
  @completion_token
end

#kindString

Identifies what kind of resource this is. Value: the fixed string " androidenterprise#signupInfo". Corresponds to the JSON property kind

Returns:

  • (String)


1898
1899
1900
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 1898

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)


1904
1905
1906
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 1904

def url
  @url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1911
1912
1913
1914
1915
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 1911

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