Class: Google::Apis::WebcontentpublisherV1::GeneratePlatformSiteTokensResponse

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

Overview

Response message for GeneratePlatformSiteTokens.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GeneratePlatformSiteTokensResponse

Returns a new instance of GeneratePlatformSiteTokensResponse.



164
165
166
# File 'lib/google/apis/webcontentpublisher_v1/classes.rb', line 164

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

Instance Attribute Details

#site_tokensArray<Google::Apis::WebcontentpublisherV1::SiteToken>

List of domain-scoped secure token mappings. Corresponds to the JSON property siteTokens



162
163
164
# File 'lib/google/apis/webcontentpublisher_v1/classes.rb', line 162

def site_tokens
  @site_tokens
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



169
170
171
# File 'lib/google/apis/webcontentpublisher_v1/classes.rb', line 169

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