Class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1RelatedAccountGroupMembership
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1RelatedAccountGroupMembership
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/recaptchaenterprise_v1/classes.rb,
 lib/google/apis/recaptchaenterprise_v1/representations.rb,
 lib/google/apis/recaptchaenterprise_v1/representations.rb
Overview
A membership in a group of related accounts.
Instance Attribute Summary collapse
- 
  
    
      #account_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The unique stable account identifier of the member. 
- 
  
    
      #hashed_account_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Deprecated: use account_idinstead.
- 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Required. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ GoogleCloudRecaptchaenterpriseV1RelatedAccountGroupMembership 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of GoogleCloudRecaptchaenterpriseV1RelatedAccountGroupMembership. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Constructor Details
#initialize(**args) ⇒ GoogleCloudRecaptchaenterpriseV1RelatedAccountGroupMembership
Returns a new instance of GoogleCloudRecaptchaenterpriseV1RelatedAccountGroupMembership.
| 1452 1453 1454 | # File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 1452 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#account_id ⇒ String
The unique stable account identifier of the member. The identifier corresponds
to an account_id provided in a previous CreateAssessment or 
AnnotateAssessment call.
Corresponds to the JSON property accountId
| 1435 1436 1437 | # File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 1435 def account_id @account_id end | 
#hashed_account_id ⇒ String
Deprecated: use account_id instead. The unique stable hashed account
identifier of the member. The identifier corresponds to a hashed_account_id
provided in a previous CreateAssessment or AnnotateAssessment call.
Corresponds to the JSON property hashedAccountId
NOTE: Values are automatically base64 encoded/decoded in the client library.
| 1443 1444 1445 | # File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 1443 def hashed_account_id @hashed_account_id end | 
#name ⇒ String
Required. Identifier. The resource name for this membership in the format 
projects/project/relatedaccountgroups/relatedaccountgroup/memberships/
membership`.
Corresponds to the JSON propertyname`
| 1450 1451 1452 | # File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 1450 def name @name end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1457 1458 1459 1460 1461 | # File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 1457 def update!(**args) @account_id = args[:account_id] if args.key?(:account_id) @hashed_account_id = args[:hashed_account_id] if args.key?(:hashed_account_id) @name = args[:name] if args.key?(:name) end |