Class: Google::Apis::CloudsearchV1::AppsDynamiteSharedUserBlockRelationship
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::AppsDynamiteSharedUserBlockRelationship
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudsearch_v1/classes.rb,
lib/google/apis/cloudsearch_v1/representations.rb,
lib/google/apis/cloudsearch_v1/representations.rb
Overview
User-block relationship
Instance Attribute Summary collapse
-
#has_blocked_requester ⇒ Boolean
(also: #has_blocked_requester?)
Corresponds to the JSON property
hasBlockedRequester
. -
#is_blocked_by_requester ⇒ Boolean
(also: #is_blocked_by_requester?)
Corresponds to the JSON property
isBlockedByRequester
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AppsDynamiteSharedUserBlockRelationship
constructor
A new instance of AppsDynamiteSharedUserBlockRelationship.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AppsDynamiteSharedUserBlockRelationship
Returns a new instance of AppsDynamiteSharedUserBlockRelationship.
2588 2589 2590 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2588 def initialize(**args) update!(**args) end |
Instance Attribute Details
#has_blocked_requester ⇒ Boolean Also known as: has_blocked_requester?
Corresponds to the JSON property hasBlockedRequester
2579 2580 2581 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2579 def has_blocked_requester @has_blocked_requester end |
#is_blocked_by_requester ⇒ Boolean Also known as: is_blocked_by_requester?
Corresponds to the JSON property isBlockedByRequester
2585 2586 2587 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2585 def is_blocked_by_requester @is_blocked_by_requester end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2593 2594 2595 2596 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2593 def update!(**args) @has_blocked_requester = args[:has_blocked_requester] if args.key?(:has_blocked_requester) @is_blocked_by_requester = args[:is_blocked_by_requester] if args.key?(:is_blocked_by_requester) end |