Class: Google::Apis::CloudidentityV1beta1::CheckTransitiveMembershipResponse

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/cloudidentity_v1beta1/classes.rb,
lib/google/apis/cloudidentity_v1beta1/representations.rb,
lib/google/apis/cloudidentity_v1beta1/representations.rb

Overview

The response message for MembershipsService.CheckTransitiveMembership.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CheckTransitiveMembershipResponse

Returns a new instance of CheckTransitiveMembershipResponse.



596
597
598
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 596

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

Instance Attribute Details

#has_membershipBoolean Also known as: has_membership?

Response does not include the possible roles of a member since the behavior of this rpc is not all-or-nothing unlike the other rpcs. So, it may not be possible to list all the roles definitively, due to possible lack of authorization in some of the paths. Corresponds to the JSON property hasMembership

Returns:

  • (Boolean)


593
594
595
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 593

def has_membership
  @has_membership
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



601
602
603
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 601

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