Class: Google::Apis::TagmanagerV2::ListEnvironmentsResponse

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 Environments 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) ⇒ ListEnvironmentsResponse

Returns a new instance of ListEnvironmentsResponse.



1243
1244
1245
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 1243

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

Instance Attribute Details

#environmentArray<Google::Apis::TagmanagerV2::Environment>

All Environments of a GTM Container. Corresponds to the JSON property environment



1236
1237
1238
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 1236

def environment
  @environment
end

#next_page_tokenString

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

Returns:

  • (String)


1241
1242
1243
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 1241

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1248
1249
1250
1251
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 1248

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