assetType = $assetType; } /** * @return self::ASSET_TYPE_* */ public function getAssetType() { return $this->assetType; } /** * The direction of the authorization relationship between this organization * and the organizations listed in the `orgs` field. The valid values for this * field include the following: `AUTHORIZATION_DIRECTION_FROM`: Allows this * organization to evaluate traffic in the organizations listed in the `orgs` * field. `AUTHORIZATION_DIRECTION_TO`: Allows the organizations listed in the * `orgs` field to evaluate the traffic in this organization. For the * authorization relationship to take effect, all of the organizations must * authorize and specify the appropriate relationship direction. For example, * if organization A authorized organization B and C to evaluate its traffic, * by specifying `AUTHORIZATION_DIRECTION_TO` as the authorization direction, * organizations B and C must specify `AUTHORIZATION_DIRECTION_FROM` as the * authorization direction in their `AuthorizedOrgsDesc` resource. * * Accepted values: AUTHORIZATION_DIRECTION_UNSPECIFIED, * AUTHORIZATION_DIRECTION_TO, AUTHORIZATION_DIRECTION_FROM * * @param self::AUTHORIZATION_DIRECTION_* $authorizationDirection */ public function setAuthorizationDirection($authorizationDirection) { $this->authorizationDirection = $authorizationDirection; } /** * @return self::AUTHORIZATION_DIRECTION_* */ public function getAuthorizationDirection() { return $this->authorizationDirection; } /** * A granular control type for authorization levels. Valid value is * `AUTHORIZATION_TYPE_TRUST`. * * Accepted values: AUTHORIZATION_TYPE_UNSPECIFIED, AUTHORIZATION_TYPE_TRUST * * @param self::AUTHORIZATION_TYPE_* $authorizationType */ public function setAuthorizationType($authorizationType) { $this->authorizationType = $authorizationType; } /** * @return self::AUTHORIZATION_TYPE_* */ public function getAuthorizationType() { return $this->authorizationType; } /** * Identifier. Resource name for the `AuthorizedOrgsDesc`. Format: `accessPoli * cies/{access_policy}/authorizedOrgsDescs/{authorized_orgs_desc}`. The * `authorized_orgs_desc` component must begin with a letter, followed by * alphanumeric characters or `_`. After you create an `AuthorizedOrgsDesc`, * you cannot change its `name`. * * @param string $name */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } /** * The list of organization ids in this AuthorizedOrgsDesc. Format: * `organizations/` Example: `organizations/123456` * * @param string[] $orgs */ public function setOrgs($orgs) { $this->orgs = $orgs; } /** * @return string[] */ public function getOrgs() { return $this->orgs; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(AuthorizedOrgsDesc::class, 'Google_Service_AccessContextManager_AuthorizedOrgsDesc');