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.



2588
2589
2590
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2588

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)


2579
2580
2581
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2579

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)


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