com.google.cloud.audit.ServiceAccountDelegationInfoOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-common-protos Show documentation
Show all versions of proto-google-common-protos Show documentation
PROTO library for proto-google-common-protos
/*
* Copyright 2024 Google LLC
*
* 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
*
* https://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.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/audit/audit_log.proto
// Protobuf Java Version: 3.25.2
package com.google.cloud.audit;
public interface ServiceAccountDelegationInfoOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.audit.ServiceAccountDelegationInfo)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* A string representing the principal_subject associated with the identity.
* For most identities, the format will be
* `principal://iam.googleapis.com/{identity pool name}/subject/{subject)`
* except for some GKE identities (GKE_WORKLOAD, FREEFORM, GKE_HUB_WORKLOAD)
* that are still in the legacy format `serviceAccount:{identity pool
* name}[{subject}]`
*
*
* string principal_subject = 3;
*
* @return The principalSubject.
*/
java.lang.String getPrincipalSubject();
/**
*
*
*
* A string representing the principal_subject associated with the identity.
* For most identities, the format will be
* `principal://iam.googleapis.com/{identity pool name}/subject/{subject)`
* except for some GKE identities (GKE_WORKLOAD, FREEFORM, GKE_HUB_WORKLOAD)
* that are still in the legacy format `serviceAccount:{identity pool
* name}[{subject}]`
*
*
* string principal_subject = 3;
*
* @return The bytes for principalSubject.
*/
com.google.protobuf.ByteString getPrincipalSubjectBytes();
/**
*
*
*
* First party (Google) identity as the real authority.
*
*
*
* .google.cloud.audit.ServiceAccountDelegationInfo.FirstPartyPrincipal first_party_principal = 1;
*
*
* @return Whether the firstPartyPrincipal field is set.
*/
boolean hasFirstPartyPrincipal();
/**
*
*
*
* First party (Google) identity as the real authority.
*
*
*
* .google.cloud.audit.ServiceAccountDelegationInfo.FirstPartyPrincipal first_party_principal = 1;
*
*
* @return The firstPartyPrincipal.
*/
com.google.cloud.audit.ServiceAccountDelegationInfo.FirstPartyPrincipal getFirstPartyPrincipal();
/**
*
*
*
* First party (Google) identity as the real authority.
*
*
*
* .google.cloud.audit.ServiceAccountDelegationInfo.FirstPartyPrincipal first_party_principal = 1;
*
*/
com.google.cloud.audit.ServiceAccountDelegationInfo.FirstPartyPrincipalOrBuilder
getFirstPartyPrincipalOrBuilder();
/**
*
*
*
* Third party identity as the real authority.
*
*
*
* .google.cloud.audit.ServiceAccountDelegationInfo.ThirdPartyPrincipal third_party_principal = 2;
*
*
* @return Whether the thirdPartyPrincipal field is set.
*/
boolean hasThirdPartyPrincipal();
/**
*
*
*
* Third party identity as the real authority.
*
*
*
* .google.cloud.audit.ServiceAccountDelegationInfo.ThirdPartyPrincipal third_party_principal = 2;
*
*
* @return The thirdPartyPrincipal.
*/
com.google.cloud.audit.ServiceAccountDelegationInfo.ThirdPartyPrincipal getThirdPartyPrincipal();
/**
*
*
*
* Third party identity as the real authority.
*
*
*
* .google.cloud.audit.ServiceAccountDelegationInfo.ThirdPartyPrincipal third_party_principal = 2;
*
*/
com.google.cloud.audit.ServiceAccountDelegationInfo.ThirdPartyPrincipalOrBuilder
getThirdPartyPrincipalOrBuilder();
com.google.cloud.audit.ServiceAccountDelegationInfo.AuthorityCase getAuthorityCase();
}