Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ErrorsResourceCountDetails

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

Overview

Error details returned when an resource count limit was exceeded.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ErrorsResourceCountDetails

Returns a new instance of GoogleAdsSearchads360V23ErrorsResourceCountDetails.



14756
14757
14758
# File 'lib/google/apis/searchads360_v23/classes.rb', line 14756

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

Instance Attribute Details

#enclosing_idString

The ID of the resource whose limit was exceeded. External customer ID if the limit is for a customer. Corresponds to the JSON property enclosingId

Returns:

  • (String)


14734
14735
14736
# File 'lib/google/apis/searchads360_v23/classes.rb', line 14734

def enclosing_id
  @enclosing_id
end

#enclosing_resourceString

The name of the resource ( etc.) whose limit was exceeded. Corresponds to the JSON property enclosingResource

Returns:

  • (String)


14739
14740
14741
# File 'lib/google/apis/searchads360_v23/classes.rb', line 14739

def enclosing_resource
  @enclosing_resource
end

#existing_countFixnum

The count of existing entities. Corresponds to the JSON property existingCount

Returns:

  • (Fixnum)


14744
14745
14746
# File 'lib/google/apis/searchads360_v23/classes.rb', line 14744

def existing_count
  @existing_count
end

#limitFixnum

The limit which was exceeded. Corresponds to the JSON property limit

Returns:

  • (Fixnum)


14749
14750
14751
# File 'lib/google/apis/searchads360_v23/classes.rb', line 14749

def limit
  @limit
end

#limit_typeString

The resource limit type which was exceeded. Corresponds to the JSON property limitType

Returns:

  • (String)


14754
14755
14756
# File 'lib/google/apis/searchads360_v23/classes.rb', line 14754

def limit_type
  @limit_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14761
14762
14763
14764
14765
14766
14767
# File 'lib/google/apis/searchads360_v23/classes.rb', line 14761

def update!(**args)
  @enclosing_id = args[:enclosing_id] if args.key?(:enclosing_id)
  @enclosing_resource = args[:enclosing_resource] if args.key?(:enclosing_resource)
  @existing_count = args[:existing_count] if args.key?(:existing_count)
  @limit = args[:limit] if args.key?(:limit)
  @limit_type = args[:limit_type] if args.key?(:limit_type)
end