Class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1RelatedAccountGroup

Inherits:
Object
  • Object
show all
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 group of related accounts.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRecaptchaenterpriseV1RelatedAccountGroup

Returns a new instance of GoogleCloudRecaptchaenterpriseV1RelatedAccountGroup.



1416
1417
1418
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 1416

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

Instance Attribute Details

#nameString

Required. Identifier. The resource name for the related account group in the format projects/project/relatedaccountgroups/related_account_group`. Corresponds to the JSON propertyname`

Returns:

  • (String)


1414
1415
1416
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 1414

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1421
1422
1423
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 1421

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