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.



14630
14631
14632
# File 'lib/google/apis/searchads360_v23/classes.rb', line 14630

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)


14608
14609
14610
# File 'lib/google/apis/searchads360_v23/classes.rb', line 14608

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)


14613
14614
14615
# File 'lib/google/apis/searchads360_v23/classes.rb', line 14613

def enclosing_resource
  @enclosing_resource
end

#existing_countFixnum

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

Returns:

  • (Fixnum)


14618
14619
14620
# File 'lib/google/apis/searchads360_v23/classes.rb', line 14618

def existing_count
  @existing_count
end

#limitFixnum

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

Returns:

  • (Fixnum)


14623
14624
14625
# File 'lib/google/apis/searchads360_v23/classes.rb', line 14623

def limit
  @limit
end

#limit_typeString

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

Returns:

  • (String)


14628
14629
14630
# File 'lib/google/apis/searchads360_v23/classes.rb', line 14628

def limit_type
  @limit_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14635
14636
14637
14638
14639
14640
14641
# File 'lib/google/apis/searchads360_v23/classes.rb', line 14635

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