Class: Google::Apis::ContentV2_1::AccountsCustomBatchResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AccountsCustomBatchResponse

Returns a new instance of AccountsCustomBatchResponse.



1079
1080
1081
# File 'lib/google/apis/content_v2_1/classes.rb', line 1079

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

Instance Attribute Details

#entriesArray<Google::Apis::ContentV2_1::AccountsCustomBatchResponseEntry>

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



1071
1072
1073
# File 'lib/google/apis/content_v2_1/classes.rb', line 1071

def entries
  @entries
end

#kindString

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

Returns:

  • (String)


1077
1078
1079
# File 'lib/google/apis/content_v2_1/classes.rb', line 1077

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1084
1085
1086
1087
# File 'lib/google/apis/content_v2_1/classes.rb', line 1084

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