1 /* 2 * Copyright 2020 Google LLC 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * https://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 // Generated by the protocol buffer compiler. DO NOT EDIT! 17 // source: google/cloud/tasks/v2/target.proto 18 19 package com.google.cloud.tasks.v2; 20 21 public interface OidcTokenOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.OidcToken) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * [Service account email](https://cloud.google.com/iam/docs/service-accounts) 31 * to be used for generating OIDC token. 32 * The service account must be within the same project as the queue. The 33 * caller must have iam.serviceAccounts.actAs permission for the service 34 * account. 35 * </pre> 36 * 37 * <code>string service_account_email = 1;</code> 38 * 39 * @return The serviceAccountEmail. 40 */ getServiceAccountEmail()41 java.lang.String getServiceAccountEmail(); 42 /** 43 * 44 * 45 * <pre> 46 * [Service account email](https://cloud.google.com/iam/docs/service-accounts) 47 * to be used for generating OIDC token. 48 * The service account must be within the same project as the queue. The 49 * caller must have iam.serviceAccounts.actAs permission for the service 50 * account. 51 * </pre> 52 * 53 * <code>string service_account_email = 1;</code> 54 * 55 * @return The bytes for serviceAccountEmail. 56 */ getServiceAccountEmailBytes()57 com.google.protobuf.ByteString getServiceAccountEmailBytes(); 58 59 /** 60 * 61 * 62 * <pre> 63 * Audience to be used when generating OIDC token. If not specified, the URI 64 * specified in target will be used. 65 * </pre> 66 * 67 * <code>string audience = 2;</code> 68 * 69 * @return The audience. 70 */ getAudience()71 java.lang.String getAudience(); 72 /** 73 * 74 * 75 * <pre> 76 * Audience to be used when generating OIDC token. If not specified, the URI 77 * specified in target will be used. 78 * </pre> 79 * 80 * <code>string audience = 2;</code> 81 * 82 * @return The bytes for audience. 83 */ getAudienceBytes()84 com.google.protobuf.ByteString getAudienceBytes(); 85 } 86