com.google.storage.v2.BucketAccessControlOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-storage-v2 Show documentation
Show all versions of proto-google-cloud-storage-v2 Show documentation
PROTO library for proto-google-cloud-storage-v2
/*
* 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/storage/v2/storage.proto
// Protobuf Java Version: 3.25.3
package com.google.storage.v2;
public interface BucketAccessControlOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.storage.v2.BucketAccessControl)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* The access permission for the entity.
*
*
* string role = 1;
*
* @return The role.
*/
java.lang.String getRole();
/**
*
*
*
* The access permission for the entity.
*
*
* string role = 1;
*
* @return The bytes for role.
*/
com.google.protobuf.ByteString getRoleBytes();
/**
*
*
*
* The ID of the access-control entry.
*
*
* string id = 2;
*
* @return The id.
*/
java.lang.String getId();
/**
*
*
*
* The ID of the access-control entry.
*
*
* string id = 2;
*
* @return The bytes for id.
*/
com.google.protobuf.ByteString getIdBytes();
/**
*
*
*
* The entity holding the permission, in one of the following forms:
* * `user-{userid}`
* * `user-{email}`
* * `group-{groupid}`
* * `group-{email}`
* * `domain-{domain}`
* * `project-{team}-{projectnumber}`
* * `project-{team}-{projectid}`
* * `allUsers`
* * `allAuthenticatedUsers`
* Examples:
* * The user `liz@example.com` would be `user-liz@example.com`.
* * The group `example@googlegroups.com` would be
* `group-example@googlegroups.com`
* * All members of the Google Apps for Business domain `example.com` would be
* `domain-example.com`
* For project entities, `project-{team}-{projectnumber}` format will be
* returned on response.
*
*
* string entity = 3;
*
* @return The entity.
*/
java.lang.String getEntity();
/**
*
*
*
* The entity holding the permission, in one of the following forms:
* * `user-{userid}`
* * `user-{email}`
* * `group-{groupid}`
* * `group-{email}`
* * `domain-{domain}`
* * `project-{team}-{projectnumber}`
* * `project-{team}-{projectid}`
* * `allUsers`
* * `allAuthenticatedUsers`
* Examples:
* * The user `liz@example.com` would be `user-liz@example.com`.
* * The group `example@googlegroups.com` would be
* `group-example@googlegroups.com`
* * All members of the Google Apps for Business domain `example.com` would be
* `domain-example.com`
* For project entities, `project-{team}-{projectnumber}` format will be
* returned on response.
*
*
* string entity = 3;
*
* @return The bytes for entity.
*/
com.google.protobuf.ByteString getEntityBytes();
/**
*
*
*
* Output only. The alternative entity format, if exists. For project
* entities, `project-{team}-{projectid}` format will be returned on response.
*
*
* string entity_alt = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @return The entityAlt.
*/
java.lang.String getEntityAlt();
/**
*
*
*
* Output only. The alternative entity format, if exists. For project
* entities, `project-{team}-{projectid}` format will be returned on response.
*
*
* string entity_alt = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @return The bytes for entityAlt.
*/
com.google.protobuf.ByteString getEntityAltBytes();
/**
*
*
*
* The ID for the entity, if any.
*
*
* string entity_id = 4;
*
* @return The entityId.
*/
java.lang.String getEntityId();
/**
*
*
*
* The ID for the entity, if any.
*
*
* string entity_id = 4;
*
* @return The bytes for entityId.
*/
com.google.protobuf.ByteString getEntityIdBytes();
/**
*
*
*
* The etag of the BucketAccessControl.
* If included in the metadata of an update or delete request message, the
* operation operation will only be performed if the etag matches that of the
* bucket's BucketAccessControl.
*
*
* string etag = 8;
*
* @return The etag.
*/
java.lang.String getEtag();
/**
*
*
*
* The etag of the BucketAccessControl.
* If included in the metadata of an update or delete request message, the
* operation operation will only be performed if the etag matches that of the
* bucket's BucketAccessControl.
*
*
* string etag = 8;
*
* @return The bytes for etag.
*/
com.google.protobuf.ByteString getEtagBytes();
/**
*
*
*
* The email address associated with the entity, if any.
*
*
* string email = 5;
*
* @return The email.
*/
java.lang.String getEmail();
/**
*
*
*
* The email address associated with the entity, if any.
*
*
* string email = 5;
*
* @return The bytes for email.
*/
com.google.protobuf.ByteString getEmailBytes();
/**
*
*
*
* The domain associated with the entity, if any.
*
*
* string domain = 6;
*
* @return The domain.
*/
java.lang.String getDomain();
/**
*
*
*
* The domain associated with the entity, if any.
*
*
* string domain = 6;
*
* @return The bytes for domain.
*/
com.google.protobuf.ByteString getDomainBytes();
/**
*
*
*
* The project team associated with the entity, if any.
*
*
* .google.storage.v2.ProjectTeam project_team = 7;
*
* @return Whether the projectTeam field is set.
*/
boolean hasProjectTeam();
/**
*
*
*
* The project team associated with the entity, if any.
*
*
* .google.storage.v2.ProjectTeam project_team = 7;
*
* @return The projectTeam.
*/
com.google.storage.v2.ProjectTeam getProjectTeam();
/**
*
*
*
* The project team associated with the entity, if any.
*
*
* .google.storage.v2.ProjectTeam project_team = 7;
*/
com.google.storage.v2.ProjectTeamOrBuilder getProjectTeamOrBuilder();
}