Class: Google::Apis::SearchconsoleV1::ResourceIssue

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

Overview

Information about a resource with issue.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ResourceIssue

Returns a new instance of ResourceIssue.



549
550
551
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 549

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

Instance Attribute Details

#blocked_resourceGoogle::Apis::SearchconsoleV1::BlockedResource

Blocked resource. Corresponds to the JSON property blockedResource



547
548
549
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 547

def blocked_resource
  @blocked_resource
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



554
555
556
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 554

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