pub struct AuthorizedOrgsDesc {
pub asset_type: Option<String>,
pub authorization_direction: Option<String>,
pub authorization_type: Option<String>,
pub name: Option<String>,
pub orgs: Option<Vec<String>>,
}
Expand description
AuthorizedOrgsDesc
contains data for an organization’s authorization policy.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- authorized orgs descs create access policies (request)
- authorized orgs descs get access policies (response)
- authorized orgs descs patch access policies (request)
Fields§
§asset_type: Option<String>
The asset type of this authorized orgs desc. Valid values are ASSET_TYPE_DEVICE
, and ASSET_TYPE_CREDENTIAL_STRENGTH
.
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.
A granular control type for authorization levels. Valid value is AUTHORIZATION_TYPE_TRUST
.
name: Option<String>
Resource name for the AuthorizedOrgsDesc
. Format: accessPolicies/{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
.
orgs: Option<Vec<String>>
The list of organization ids in this AuthorizedOrgsDesc. Format: organizations/
Example: organizations/123456
Trait Implementations§
source§impl Clone for AuthorizedOrgsDesc
impl Clone for AuthorizedOrgsDesc
source§fn clone(&self) -> AuthorizedOrgsDesc
fn clone(&self) -> AuthorizedOrgsDesc
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more