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



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

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

Instance Attribute Details

#blocked_resourceGoogle::Apis::SearchconsoleV1::BlockedResource

Blocked resource. Corresponds to the JSON property blockedResource



95
96
97
# File 'generated/google/apis/searchconsole_v1/classes.rb', line 95

def blocked_resource
  @blocked_resource
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



102
103
104
# File 'generated/google/apis/searchconsole_v1/classes.rb', line 102

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