Class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V23ErrorsResourceCountDetails

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/searchads360_v0/classes.rb,
lib/google/apis/searchads360_v0/representations.rb,
lib/google/apis/searchads360_v0/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.



10951
10952
10953
# File 'lib/google/apis/searchads360_v0/classes.rb', line 10951

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)


10929
10930
10931
# File 'lib/google/apis/searchads360_v0/classes.rb', line 10929

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)


10934
10935
10936
# File 'lib/google/apis/searchads360_v0/classes.rb', line 10934

def enclosing_resource
  @enclosing_resource
end

#existing_countFixnum

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

Returns:

  • (Fixnum)


10939
10940
10941
# File 'lib/google/apis/searchads360_v0/classes.rb', line 10939

def existing_count
  @existing_count
end

#limitFixnum

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

Returns:

  • (Fixnum)


10944
10945
10946
# File 'lib/google/apis/searchads360_v0/classes.rb', line 10944

def limit
  @limit
end

#limit_typeString

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

Returns:

  • (String)


10949
10950
10951
# File 'lib/google/apis/searchads360_v0/classes.rb', line 10949

def limit_type
  @limit_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10956
10957
10958
10959
10960
10961
10962
# File 'lib/google/apis/searchads360_v0/classes.rb', line 10956

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