com.google.api.servicecontrol.v2.ResourceInfoOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-service-control-v2 Show documentation
Show all versions of proto-google-cloud-service-control-v2 Show documentation
Proto library for google-cloud-service-control
The newest version!
/*
* 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/api/servicecontrol/v2/service_controller.proto
// Protobuf Java Version: 3.25.5
package com.google.api.servicecontrol.v2;
public interface ResourceInfoOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.api.servicecontrol.v2.ResourceInfo)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* The name of the resource referenced in the request.
*
*
* string name = 1;
*
* @return The name.
*/
java.lang.String getName();
/**
*
*
*
* The name of the resource referenced in the request.
*
*
* string name = 1;
*
* @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
/**
*
*
*
* The resource type in the format of "{service}/{kind}".
*
*
* string type = 2;
*
* @return The type.
*/
java.lang.String getType();
/**
*
*
*
* The resource type in the format of "{service}/{kind}".
*
*
* string type = 2;
*
* @return The bytes for type.
*/
com.google.protobuf.ByteString getTypeBytes();
/**
*
*
*
* The resource permission needed for this request.
* The format must be "{service}/{plural}.{verb}".
*
*
* string permission = 3;
*
* @return The permission.
*/
java.lang.String getPermission();
/**
*
*
*
* The resource permission needed for this request.
* The format must be "{service}/{plural}.{verb}".
*
*
* string permission = 3;
*
* @return The bytes for permission.
*/
com.google.protobuf.ByteString getPermissionBytes();
/**
*
*
*
* Optional. The identifier of the container of this resource. For Google
* Cloud APIs, the resource container must be one of the following formats:
* - `projects/<project-id or project-number>`
* - `folders/<folder-id>`
* - `organizations/<organization-id>`
* For the policy enforcement on the container level (VPCSC and Location
* Policy check), this field takes precedence on the container extracted from
* name when presents.
*
*
* string container = 4;
*
* @return The container.
*/
java.lang.String getContainer();
/**
*
*
*
* Optional. The identifier of the container of this resource. For Google
* Cloud APIs, the resource container must be one of the following formats:
* - `projects/<project-id or project-number>`
* - `folders/<folder-id>`
* - `organizations/<organization-id>`
* For the policy enforcement on the container level (VPCSC and Location
* Policy check), this field takes precedence on the container extracted from
* name when presents.
*
*
* string container = 4;
*
* @return The bytes for container.
*/
com.google.protobuf.ByteString getContainerBytes();
/**
*
*
*
* Optional. The location of the resource. The value must be a valid zone,
* region or multiregion. For example: "europe-west4" or
* "northamerica-northeast1-a"
*
*
* string location = 5;
*
* @return The location.
*/
java.lang.String getLocation();
/**
*
*
*
* Optional. The location of the resource. The value must be a valid zone,
* region or multiregion. For example: "europe-west4" or
* "northamerica-northeast1-a"
*
*
* string location = 5;
*
* @return The bytes for location.
*/
com.google.protobuf.ByteString getLocationBytes();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy