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.



1122
1123
1124
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 1122

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

Instance Attribute Details

#nameString

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

Returns:

  • (String)


1120
1121
1122
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 1120

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1127
1128
1129
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 1127

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