Class: Google::Apis::AndroidenterpriseV1::GenerateProductApprovalUrlResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GenerateProductApprovalUrlResponse

Returns a new instance of GenerateProductApprovalUrlResponse.



2386
2387
2388
# File 'lib/google/apis/androidenterprise_v1/classes.rb', line 2386

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

Instance Attribute Details

#urlString

A URL that can be rendered in an iframe to display the permissions (if any) of a product. This URL can be used to approve the product only once and only within 24 hours of being generated, using the Products.approve call. If the product is currently unapproved and has no permissions, this URL will point to an empty page. If the product is currently approved, a URL will only be generated if that product has added permissions since it was last approved, and the URL will only display those new permissions that have not yet been accepted. Corresponds to the JSON property url

Returns:

  • (String)


2384
2385
2386
# File 'lib/google/apis/androidenterprise_v1/classes.rb', line 2384

def url
  @url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2391
2392
2393
# File 'lib/google/apis/androidenterprise_v1/classes.rb', line 2391

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