Class: Google::Apis::ContentV2::BatchAccountStatusesResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BatchAccountStatusesResponse

Returns a new instance of BatchAccountStatusesResponse.



1275
1276
1277
# File 'lib/google/apis/content_v2/classes.rb', line 1275

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

Instance Attribute Details

#entriesArray<Google::Apis::ContentV2::AccountStatusesBatchResponseEntry>

The result of the execution of the batch requests. Corresponds to the JSON property entries



1267
1268
1269
# File 'lib/google/apis/content_v2/classes.rb', line 1267

def entries
  @entries
end

#kindString

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

Returns:

  • (String)


1273
1274
1275
# File 'lib/google/apis/content_v2/classes.rb', line 1273

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1280
1281
1282
1283
# File 'lib/google/apis/content_v2/classes.rb', line 1280

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