📄 Source: GoogleCloudRecaptchaenterpriseV1RelatedAccountGroupMembership.php
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\RecaptchaEnterprise;
class GoogleCloudRecaptchaenterpriseV1RelatedAccountGroupMembership extends \Google\Model
{
/**
* The unique stable account identifier of the member. The identifier
* corresponds to an `account_id` provided in a previous `CreateAssessment` or
* `AnnotateAssessment` call.
*
* @var string
*/
public $accountId;
/**
* 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.
*
* @deprecated
* @var string
*/
public $hashedAccountId;
/**
* Required. Identifier. The resource name for this membership in the format `
* projects/{project}/relatedaccountgroups/{relatedaccountgroup}/memberships/{
* membership}`.
*
* @var string
*/
public $name;
/**
* The unique stable account identifier of the member. The identifier
* corresponds to an `account_id` provided in a previous `CreateAssessment` or
* `AnnotateAssessment` call.
*
* @param string $accountId
*/
public function setAccountId($accountId)
{
$this->accountId = $accountId;
}
/**
* @return string
*/
public function getAccountId()
{
return $this->accountId;
}
/**
* 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.
*
* @deprecated
* @param string $hashedAccountId
*/
public function setHashedAccountId($hashedAccountId)
{
$this->hashedAccountId = $hashedAccountId;
}
/**
* @deprecated
* @return string
*/
public function getHashedAccountId()
{
return $this->hashedAccountId;
}
/**
* Required. Identifier. The resource name for this membership in the format `
* projects/{project}/relatedaccountgroups/{relatedaccountgroup}/memberships/{
* membership}`.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRecaptchaenterpriseV1RelatedAccountGroupMembership::class, 'Google_Service_RecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1RelatedAccountGroupMembership');
← Back