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

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

Overview

Information about a resource with issue.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ResourceIssue

Returns a new instance of ResourceIssue



99
100
101
# File 'generated/google/apis/searchconsole_v1/classes.rb', line 99

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

Instance Attribute Details

#blocked_resourceGoogle::Apis::SearchconsoleV1::BlockedResource

Blocked resource. Corresponds to the JSON property blockedResource



97
98
99
# File 'generated/google/apis/searchconsole_v1/classes.rb', line 97

def blocked_resource
  @blocked_resource
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



104
105
106
# File 'generated/google/apis/searchconsole_v1/classes.rb', line 104

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