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.
2646 2647 2648 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2646 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
2637 2638 2639 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2637 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
2643 2644 2645 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2643 def is_blocked_by_requester @is_blocked_by_requester end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2651 2652 2653 2654 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2651 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 |