Class: Google::Apis::TagmanagerV2::ListAccountsResponse

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

Overview

List Accounts Response.

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) ⇒ ListAccountsResponse

Returns a new instance of ListAccountsResponse



939
940
941
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 939

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

Instance Attribute Details

#accountArray<Google::Apis::TagmanagerV2::Account>

List of GTM Accounts that a user has access to. Corresponds to the JSON property account



932
933
934
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 932

def 
  @account
end

#next_page_tokenString

Continuation token for fetching the next page of results. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


937
938
939
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 937

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



944
945
946
947
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 944

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