Class: Google::Apis::CloudsearchV1::AppsDynamiteSharedUserBlockRelationship

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_requesterBoolean Also known as: has_blocked_requester?

Corresponds to the JSON property hasBlockedRequester

Returns:

  • (Boolean)


2637
2638
2639
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2637

def has_blocked_requester
  @has_blocked_requester
end

#is_blocked_by_requesterBoolean Also known as: is_blocked_by_requester?

Corresponds to the JSON property isBlockedByRequester

Returns:

  • (Boolean)


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