diff --git a/google-cloud-iamcredentials/src/main/java/com/google/cloud/iam/credentials/v1/IamCredentialsClient.java b/google-cloud-iamcredentials/src/main/java/com/google/cloud/iam/credentials/v1/IamCredentialsClient.java index 34a0bee5..8f531f3a 100644 --- a/google-cloud-iamcredentials/src/main/java/com/google/cloud/iam/credentials/v1/IamCredentialsClient.java +++ b/google-cloud-iamcredentials/src/main/java/com/google/cloud/iam/credentials/v1/IamCredentialsClient.java @@ -173,18 +173,21 @@ public IamCredentialsStub getStub() { * } * * - * @param name The resource name of the service account for which the credentials are requested, - * in the following format: `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. + * @param name Required. The resource name of the service account for which the credentials are + * requested, in the following format: + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard character is + * required; replacing it with a project ID is invalid. * @param delegates The sequence of service accounts in a delegation chain. Each service account * must be granted the `roles/iam.serviceAccountTokenCreator` role on its next service account * in the chain. The last service account in the chain must be granted the * `roles/iam.serviceAccountTokenCreator` role on the service account that is specified in the * `name` field of the request. *

The delegates must have the following format: - * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` - * @param scope Code to identify the scopes to be included in the OAuth 2.0 access token. See - * https://developers.google.com/identity/protocols/googlescopes for more information. At - * least one value required. + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard character is + * required; replacing it with a project ID is invalid. + * @param scope Required. Code to identify the scopes to be included in the OAuth 2.0 access + * token. See https://developers.google.com/identity/protocols/googlescopes for more + * information. At least one value required. * @param lifetime The desired lifetime duration of the access token in seconds. Must be set to a * value less than or equal to 3600 (1 hour). If a value is not specified, the token's * lifetime will be set to a default value of one hour. @@ -219,18 +222,21 @@ public final GenerateAccessTokenResponse generateAccessToken( * } * * - * @param name The resource name of the service account for which the credentials are requested, - * in the following format: `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. + * @param name Required. The resource name of the service account for which the credentials are + * requested, in the following format: + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard character is + * required; replacing it with a project ID is invalid. * @param delegates The sequence of service accounts in a delegation chain. Each service account * must be granted the `roles/iam.serviceAccountTokenCreator` role on its next service account * in the chain. The last service account in the chain must be granted the * `roles/iam.serviceAccountTokenCreator` role on the service account that is specified in the * `name` field of the request. *

The delegates must have the following format: - * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` - * @param scope Code to identify the scopes to be included in the OAuth 2.0 access token. See - * https://developers.google.com/identity/protocols/googlescopes for more information. At - * least one value required. + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard character is + * required; replacing it with a project ID is invalid. + * @param scope Required. Code to identify the scopes to be included in the OAuth 2.0 access + * token. See https://developers.google.com/identity/protocols/googlescopes for more + * information. At least one value required. * @param lifetime The desired lifetime duration of the access token in seconds. Must be set to a * value less than or equal to 3600 (1 hour). If a value is not specified, the token's * lifetime will be set to a default value of one hour. @@ -315,17 +321,20 @@ public final GenerateAccessTokenResponse generateAccessToken(GenerateAccessToken * } * * - * @param name The resource name of the service account for which the credentials are requested, - * in the following format: `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. + * @param name Required. The resource name of the service account for which the credentials are + * requested, in the following format: + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard character is + * required; replacing it with a project ID is invalid. * @param delegates The sequence of service accounts in a delegation chain. Each service account * must be granted the `roles/iam.serviceAccountTokenCreator` role on its next service account * in the chain. The last service account in the chain must be granted the * `roles/iam.serviceAccountTokenCreator` role on the service account that is specified in the * `name` field of the request. *

The delegates must have the following format: - * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` - * @param audience The audience for the token, such as the API or account that this token grants - * access to. + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard character is + * required; replacing it with a project ID is invalid. + * @param audience Required. The audience for the token, such as the API or account that this + * token grants access to. * @param includeEmail Include the service account email in the token. If set to `true`, the token * will contain `email` and `email_verified` claims. * @throws com.google.api.gax.rpc.ApiException if the remote call fails @@ -359,17 +368,20 @@ public final GenerateIdTokenResponse generateIdToken( * } * * - * @param name The resource name of the service account for which the credentials are requested, - * in the following format: `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. + * @param name Required. The resource name of the service account for which the credentials are + * requested, in the following format: + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard character is + * required; replacing it with a project ID is invalid. * @param delegates The sequence of service accounts in a delegation chain. Each service account * must be granted the `roles/iam.serviceAccountTokenCreator` role on its next service account * in the chain. The last service account in the chain must be granted the * `roles/iam.serviceAccountTokenCreator` role on the service account that is specified in the * `name` field of the request. *

The delegates must have the following format: - * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` - * @param audience The audience for the token, such as the API or account that this token grants - * access to. + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard character is + * required; replacing it with a project ID is invalid. + * @param audience Required. The audience for the token, such as the API or account that this + * token grants access to. * @param includeEmail Include the service account email in the token. If set to `true`, the token * will contain `email` and `email_verified` claims. * @throws com.google.api.gax.rpc.ApiException if the remote call fails @@ -452,16 +464,19 @@ public final GenerateIdTokenResponse generateIdToken(GenerateIdTokenRequest requ * } * * - * @param name The resource name of the service account for which the credentials are requested, - * in the following format: `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. + * @param name Required. The resource name of the service account for which the credentials are + * requested, in the following format: + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard character is + * required; replacing it with a project ID is invalid. * @param delegates The sequence of service accounts in a delegation chain. Each service account * must be granted the `roles/iam.serviceAccountTokenCreator` role on its next service account * in the chain. The last service account in the chain must be granted the * `roles/iam.serviceAccountTokenCreator` role on the service account that is specified in the * `name` field of the request. *

The delegates must have the following format: - * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` - * @param payload The bytes to sign. + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard character is + * required; replacing it with a project ID is invalid. + * @param payload Required. The bytes to sign. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final SignBlobResponse signBlob( @@ -491,16 +506,19 @@ public final SignBlobResponse signBlob( * } * * - * @param name The resource name of the service account for which the credentials are requested, - * in the following format: `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. + * @param name Required. The resource name of the service account for which the credentials are + * requested, in the following format: + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard character is + * required; replacing it with a project ID is invalid. * @param delegates The sequence of service accounts in a delegation chain. Each service account * must be granted the `roles/iam.serviceAccountTokenCreator` role on its next service account * in the chain. The last service account in the chain must be granted the * `roles/iam.serviceAccountTokenCreator` role on the service account that is specified in the * `name` field of the request. *

The delegates must have the following format: - * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` - * @param payload The bytes to sign. + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard character is + * required; replacing it with a project ID is invalid. + * @param payload Required. The bytes to sign. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final SignBlobResponse signBlob(String name, List delegates, ByteString payload) { @@ -578,16 +596,19 @@ public final UnaryCallable signBlobCallable() * } * * - * @param name The resource name of the service account for which the credentials are requested, - * in the following format: `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. + * @param name Required. The resource name of the service account for which the credentials are + * requested, in the following format: + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard character is + * required; replacing it with a project ID is invalid. * @param delegates The sequence of service accounts in a delegation chain. Each service account * must be granted the `roles/iam.serviceAccountTokenCreator` role on its next service account * in the chain. The last service account in the chain must be granted the * `roles/iam.serviceAccountTokenCreator` role on the service account that is specified in the * `name` field of the request. *

The delegates must have the following format: - * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` - * @param payload The JWT payload to sign: a JSON object that contains a JWT Claims Set. + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard character is + * required; replacing it with a project ID is invalid. + * @param payload Required. The JWT payload to sign: a JSON object that contains a JWT Claims Set. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final SignJwtResponse signJwt( @@ -617,16 +638,19 @@ public final SignJwtResponse signJwt( * } * * - * @param name The resource name of the service account for which the credentials are requested, - * in the following format: `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. + * @param name Required. The resource name of the service account for which the credentials are + * requested, in the following format: + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard character is + * required; replacing it with a project ID is invalid. * @param delegates The sequence of service accounts in a delegation chain. Each service account * must be granted the `roles/iam.serviceAccountTokenCreator` role on its next service account * in the chain. The last service account in the chain must be granted the * `roles/iam.serviceAccountTokenCreator` role on the service account that is specified in the * `name` field of the request. *

The delegates must have the following format: - * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` - * @param payload The JWT payload to sign: a JSON object that contains a JWT Claims Set. + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard character is + * required; replacing it with a project ID is invalid. + * @param payload Required. The JWT payload to sign: a JSON object that contains a JWT Claims Set. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final SignJwtResponse signJwt(String name, List delegates, String payload) { diff --git a/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/GenerateAccessTokenRequest.java b/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/GenerateAccessTokenRequest.java index d665c540..e669231b 100644 --- a/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/GenerateAccessTokenRequest.java +++ b/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/GenerateAccessTokenRequest.java @@ -153,12 +153,15 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *

-   * The resource name of the service account for which the credentials
+   * Required. The resource name of the service account for which the credentials
    * are requested, in the following format:
-   * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`.
+   * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard
+   * character is required; replacing it with a project ID is invalid.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -177,12 +180,15 @@ public java.lang.String getName() { * * *
-   * The resource name of the service account for which the credentials
+   * Required. The resource name of the service account for which the credentials
    * are requested, in the following format:
-   * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`.
+   * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard
+   * character is required; replacing it with a project ID is invalid.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -211,7 +217,8 @@ public com.google.protobuf.ByteString getNameBytes() { * on the service account that is specified in the `name` field of the * request. * The delegates must have the following format: - * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard + * character is required; replacing it with a project ID is invalid. * * * repeated string delegates = 2; @@ -232,7 +239,8 @@ public com.google.protobuf.ProtocolStringList getDelegatesList() { * on the service account that is specified in the `name` field of the * request. * The delegates must have the following format: - * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard + * character is required; replacing it with a project ID is invalid. * * * repeated string delegates = 2; @@ -253,7 +261,8 @@ public int getDelegatesCount() { * on the service account that is specified in the `name` field of the * request. * The delegates must have the following format: - * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard + * character is required; replacing it with a project ID is invalid. * * * repeated string delegates = 2; @@ -275,7 +284,8 @@ public java.lang.String getDelegates(int index) { * on the service account that is specified in the `name` field of the * request. * The delegates must have the following format: - * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard + * character is required; replacing it with a project ID is invalid. * * * repeated string delegates = 2; @@ -293,13 +303,13 @@ public com.google.protobuf.ByteString getDelegatesBytes(int index) { * * *
-   * Code to identify the scopes to be included in the OAuth 2.0 access token.
+   * Required. Code to identify the scopes to be included in the OAuth 2.0 access token.
    * See https://developers.google.com/identity/protocols/googlescopes for more
    * information.
    * At least one value required.
    * 
* - * repeated string scope = 4; + * repeated string scope = 4 [(.google.api.field_behavior) = REQUIRED]; * * @return A list containing the scope. */ @@ -310,13 +320,13 @@ public com.google.protobuf.ProtocolStringList getScopeList() { * * *
-   * Code to identify the scopes to be included in the OAuth 2.0 access token.
+   * Required. Code to identify the scopes to be included in the OAuth 2.0 access token.
    * See https://developers.google.com/identity/protocols/googlescopes for more
    * information.
    * At least one value required.
    * 
* - * repeated string scope = 4; + * repeated string scope = 4 [(.google.api.field_behavior) = REQUIRED]; * * @return The count of scope. */ @@ -327,13 +337,13 @@ public int getScopeCount() { * * *
-   * Code to identify the scopes to be included in the OAuth 2.0 access token.
+   * Required. Code to identify the scopes to be included in the OAuth 2.0 access token.
    * See https://developers.google.com/identity/protocols/googlescopes for more
    * information.
    * At least one value required.
    * 
* - * repeated string scope = 4; + * repeated string scope = 4 [(.google.api.field_behavior) = REQUIRED]; * * @param index The index of the element to return. * @return The scope at the given index. @@ -345,13 +355,13 @@ public java.lang.String getScope(int index) { * * *
-   * Code to identify the scopes to be included in the OAuth 2.0 access token.
+   * Required. Code to identify the scopes to be included in the OAuth 2.0 access token.
    * See https://developers.google.com/identity/protocols/googlescopes for more
    * information.
    * At least one value required.
    * 
* - * repeated string scope = 4; + * repeated string scope = 4 [(.google.api.field_behavior) = REQUIRED]; * * @param index The index of the value to return. * @return The bytes of the scope at the given index. @@ -828,12 +838,15 @@ public Builder mergeFrom( * * *
-     * The resource name of the service account for which the credentials
+     * Required. The resource name of the service account for which the credentials
      * are requested, in the following format:
-     * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`.
+     * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard
+     * character is required; replacing it with a project ID is invalid.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -852,12 +865,15 @@ public java.lang.String getName() { * * *
-     * The resource name of the service account for which the credentials
+     * Required. The resource name of the service account for which the credentials
      * are requested, in the following format:
-     * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`.
+     * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard
+     * character is required; replacing it with a project ID is invalid.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -876,12 +892,15 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * The resource name of the service account for which the credentials
+     * Required. The resource name of the service account for which the credentials
      * are requested, in the following format:
-     * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`.
+     * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard
+     * character is required; replacing it with a project ID is invalid.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The name to set. * @return This builder for chaining. @@ -899,12 +918,15 @@ public Builder setName(java.lang.String value) { * * *
-     * The resource name of the service account for which the credentials
+     * Required. The resource name of the service account for which the credentials
      * are requested, in the following format:
-     * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`.
+     * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard
+     * character is required; replacing it with a project ID is invalid.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -918,12 +940,15 @@ public Builder clearName() { * * *
-     * The resource name of the service account for which the credentials
+     * Required. The resource name of the service account for which the credentials
      * are requested, in the following format:
-     * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`.
+     * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard
+     * character is required; replacing it with a project ID is invalid.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for name to set. * @return This builder for chaining. @@ -959,7 +984,8 @@ private void ensureDelegatesIsMutable() { * on the service account that is specified in the `name` field of the * request. * The delegates must have the following format: - * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard + * character is required; replacing it with a project ID is invalid. * * * repeated string delegates = 2; @@ -980,7 +1006,8 @@ public com.google.protobuf.ProtocolStringList getDelegatesList() { * on the service account that is specified in the `name` field of the * request. * The delegates must have the following format: - * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard + * character is required; replacing it with a project ID is invalid. * * * repeated string delegates = 2; @@ -1001,7 +1028,8 @@ public int getDelegatesCount() { * on the service account that is specified in the `name` field of the * request. * The delegates must have the following format: - * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard + * character is required; replacing it with a project ID is invalid. * * * repeated string delegates = 2; @@ -1023,7 +1051,8 @@ public java.lang.String getDelegates(int index) { * on the service account that is specified in the `name` field of the * request. * The delegates must have the following format: - * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard + * character is required; replacing it with a project ID is invalid. * * * repeated string delegates = 2; @@ -1045,7 +1074,8 @@ public com.google.protobuf.ByteString getDelegatesBytes(int index) { * on the service account that is specified in the `name` field of the * request. * The delegates must have the following format: - * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard + * character is required; replacing it with a project ID is invalid. * * * repeated string delegates = 2; @@ -1074,7 +1104,8 @@ public Builder setDelegates(int index, java.lang.String value) { * on the service account that is specified in the `name` field of the * request. * The delegates must have the following format: - * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard + * character is required; replacing it with a project ID is invalid. * * * repeated string delegates = 2; @@ -1102,7 +1133,8 @@ public Builder addDelegates(java.lang.String value) { * on the service account that is specified in the `name` field of the * request. * The delegates must have the following format: - * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard + * character is required; replacing it with a project ID is invalid. * * * repeated string delegates = 2; @@ -1127,7 +1159,8 @@ public Builder addAllDelegates(java.lang.Iterable values) { * on the service account that is specified in the `name` field of the * request. * The delegates must have the following format: - * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard + * character is required; replacing it with a project ID is invalid. * * * repeated string delegates = 2; @@ -1151,7 +1184,8 @@ public Builder clearDelegates() { * on the service account that is specified in the `name` field of the * request. * The delegates must have the following format: - * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard + * character is required; replacing it with a project ID is invalid. * * * repeated string delegates = 2; @@ -1183,13 +1217,13 @@ private void ensureScopeIsMutable() { * * *
-     * Code to identify the scopes to be included in the OAuth 2.0 access token.
+     * Required. Code to identify the scopes to be included in the OAuth 2.0 access token.
      * See https://developers.google.com/identity/protocols/googlescopes for more
      * information.
      * At least one value required.
      * 
* - * repeated string scope = 4; + * repeated string scope = 4 [(.google.api.field_behavior) = REQUIRED]; * * @return A list containing the scope. */ @@ -1200,13 +1234,13 @@ public com.google.protobuf.ProtocolStringList getScopeList() { * * *
-     * Code to identify the scopes to be included in the OAuth 2.0 access token.
+     * Required. Code to identify the scopes to be included in the OAuth 2.0 access token.
      * See https://developers.google.com/identity/protocols/googlescopes for more
      * information.
      * At least one value required.
      * 
* - * repeated string scope = 4; + * repeated string scope = 4 [(.google.api.field_behavior) = REQUIRED]; * * @return The count of scope. */ @@ -1217,13 +1251,13 @@ public int getScopeCount() { * * *
-     * Code to identify the scopes to be included in the OAuth 2.0 access token.
+     * Required. Code to identify the scopes to be included in the OAuth 2.0 access token.
      * See https://developers.google.com/identity/protocols/googlescopes for more
      * information.
      * At least one value required.
      * 
* - * repeated string scope = 4; + * repeated string scope = 4 [(.google.api.field_behavior) = REQUIRED]; * * @param index The index of the element to return. * @return The scope at the given index. @@ -1235,13 +1269,13 @@ public java.lang.String getScope(int index) { * * *
-     * Code to identify the scopes to be included in the OAuth 2.0 access token.
+     * Required. Code to identify the scopes to be included in the OAuth 2.0 access token.
      * See https://developers.google.com/identity/protocols/googlescopes for more
      * information.
      * At least one value required.
      * 
* - * repeated string scope = 4; + * repeated string scope = 4 [(.google.api.field_behavior) = REQUIRED]; * * @param index The index of the value to return. * @return The bytes of the scope at the given index. @@ -1253,13 +1287,13 @@ public com.google.protobuf.ByteString getScopeBytes(int index) { * * *
-     * Code to identify the scopes to be included in the OAuth 2.0 access token.
+     * Required. Code to identify the scopes to be included in the OAuth 2.0 access token.
      * See https://developers.google.com/identity/protocols/googlescopes for more
      * information.
      * At least one value required.
      * 
* - * repeated string scope = 4; + * repeated string scope = 4 [(.google.api.field_behavior) = REQUIRED]; * * @param index The index to set the value at. * @param value The scope to set. @@ -1278,13 +1312,13 @@ public Builder setScope(int index, java.lang.String value) { * * *
-     * Code to identify the scopes to be included in the OAuth 2.0 access token.
+     * Required. Code to identify the scopes to be included in the OAuth 2.0 access token.
      * See https://developers.google.com/identity/protocols/googlescopes for more
      * information.
      * At least one value required.
      * 
* - * repeated string scope = 4; + * repeated string scope = 4 [(.google.api.field_behavior) = REQUIRED]; * * @param value The scope to add. * @return This builder for chaining. @@ -1302,13 +1336,13 @@ public Builder addScope(java.lang.String value) { * * *
-     * Code to identify the scopes to be included in the OAuth 2.0 access token.
+     * Required. Code to identify the scopes to be included in the OAuth 2.0 access token.
      * See https://developers.google.com/identity/protocols/googlescopes for more
      * information.
      * At least one value required.
      * 
* - * repeated string scope = 4; + * repeated string scope = 4 [(.google.api.field_behavior) = REQUIRED]; * * @param values The scope to add. * @return This builder for chaining. @@ -1323,13 +1357,13 @@ public Builder addAllScope(java.lang.Iterable values) { * * *
-     * Code to identify the scopes to be included in the OAuth 2.0 access token.
+     * Required. Code to identify the scopes to be included in the OAuth 2.0 access token.
      * See https://developers.google.com/identity/protocols/googlescopes for more
      * information.
      * At least one value required.
      * 
* - * repeated string scope = 4; + * repeated string scope = 4 [(.google.api.field_behavior) = REQUIRED]; * * @return This builder for chaining. */ @@ -1343,13 +1377,13 @@ public Builder clearScope() { * * *
-     * Code to identify the scopes to be included in the OAuth 2.0 access token.
+     * Required. Code to identify the scopes to be included in the OAuth 2.0 access token.
      * See https://developers.google.com/identity/protocols/googlescopes for more
      * information.
      * At least one value required.
      * 
* - * repeated string scope = 4; + * repeated string scope = 4 [(.google.api.field_behavior) = REQUIRED]; * * @param value The bytes of the scope to add. * @return This builder for chaining. diff --git a/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/GenerateAccessTokenRequestOrBuilder.java b/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/GenerateAccessTokenRequestOrBuilder.java index f398a733..e75147e8 100644 --- a/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/GenerateAccessTokenRequestOrBuilder.java +++ b/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/GenerateAccessTokenRequestOrBuilder.java @@ -27,12 +27,15 @@ public interface GenerateAccessTokenRequestOrBuilder * * *
-   * The resource name of the service account for which the credentials
+   * Required. The resource name of the service account for which the credentials
    * are requested, in the following format:
-   * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`.
+   * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard
+   * character is required; replacing it with a project ID is invalid.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -41,12 +44,15 @@ public interface GenerateAccessTokenRequestOrBuilder * * *
-   * The resource name of the service account for which the credentials
+   * Required. The resource name of the service account for which the credentials
    * are requested, in the following format:
-   * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`.
+   * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard
+   * character is required; replacing it with a project ID is invalid.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -63,7 +69,8 @@ public interface GenerateAccessTokenRequestOrBuilder * on the service account that is specified in the `name` field of the * request. * The delegates must have the following format: - * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard + * character is required; replacing it with a project ID is invalid. * * * repeated string delegates = 2; @@ -82,7 +89,8 @@ public interface GenerateAccessTokenRequestOrBuilder * on the service account that is specified in the `name` field of the * request. * The delegates must have the following format: - * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard + * character is required; replacing it with a project ID is invalid. * * * repeated string delegates = 2; @@ -101,7 +109,8 @@ public interface GenerateAccessTokenRequestOrBuilder * on the service account that is specified in the `name` field of the * request. * The delegates must have the following format: - * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard + * character is required; replacing it with a project ID is invalid. * * * repeated string delegates = 2; @@ -121,7 +130,8 @@ public interface GenerateAccessTokenRequestOrBuilder * on the service account that is specified in the `name` field of the * request. * The delegates must have the following format: - * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard + * character is required; replacing it with a project ID is invalid. * * * repeated string delegates = 2; @@ -135,13 +145,13 @@ public interface GenerateAccessTokenRequestOrBuilder * * *
-   * Code to identify the scopes to be included in the OAuth 2.0 access token.
+   * Required. Code to identify the scopes to be included in the OAuth 2.0 access token.
    * See https://developers.google.com/identity/protocols/googlescopes for more
    * information.
    * At least one value required.
    * 
* - * repeated string scope = 4; + * repeated string scope = 4 [(.google.api.field_behavior) = REQUIRED]; * * @return A list containing the scope. */ @@ -150,13 +160,13 @@ public interface GenerateAccessTokenRequestOrBuilder * * *
-   * Code to identify the scopes to be included in the OAuth 2.0 access token.
+   * Required. Code to identify the scopes to be included in the OAuth 2.0 access token.
    * See https://developers.google.com/identity/protocols/googlescopes for more
    * information.
    * At least one value required.
    * 
* - * repeated string scope = 4; + * repeated string scope = 4 [(.google.api.field_behavior) = REQUIRED]; * * @return The count of scope. */ @@ -165,13 +175,13 @@ public interface GenerateAccessTokenRequestOrBuilder * * *
-   * Code to identify the scopes to be included in the OAuth 2.0 access token.
+   * Required. Code to identify the scopes to be included in the OAuth 2.0 access token.
    * See https://developers.google.com/identity/protocols/googlescopes for more
    * information.
    * At least one value required.
    * 
* - * repeated string scope = 4; + * repeated string scope = 4 [(.google.api.field_behavior) = REQUIRED]; * * @param index The index of the element to return. * @return The scope at the given index. @@ -181,13 +191,13 @@ public interface GenerateAccessTokenRequestOrBuilder * * *
-   * Code to identify the scopes to be included in the OAuth 2.0 access token.
+   * Required. Code to identify the scopes to be included in the OAuth 2.0 access token.
    * See https://developers.google.com/identity/protocols/googlescopes for more
    * information.
    * At least one value required.
    * 
* - * repeated string scope = 4; + * repeated string scope = 4 [(.google.api.field_behavior) = REQUIRED]; * * @param index The index of the value to return. * @return The bytes of the scope at the given index. diff --git a/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/GenerateIdTokenRequest.java b/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/GenerateIdTokenRequest.java index 0cb900d3..5bcbce55 100644 --- a/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/GenerateIdTokenRequest.java +++ b/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/GenerateIdTokenRequest.java @@ -137,12 +137,15 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The resource name of the service account for which the credentials
+   * Required. The resource name of the service account for which the credentials
    * are requested, in the following format:
-   * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`.
+   * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard
+   * character is required; replacing it with a project ID is invalid.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -161,12 +164,15 @@ public java.lang.String getName() { * * *
-   * The resource name of the service account for which the credentials
+   * Required. The resource name of the service account for which the credentials
    * are requested, in the following format:
-   * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`.
+   * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard
+   * character is required; replacing it with a project ID is invalid.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -195,7 +201,8 @@ public com.google.protobuf.ByteString getNameBytes() { * on the service account that is specified in the `name` field of the * request. * The delegates must have the following format: - * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard + * character is required; replacing it with a project ID is invalid. * * * repeated string delegates = 2; @@ -216,7 +223,8 @@ public com.google.protobuf.ProtocolStringList getDelegatesList() { * on the service account that is specified in the `name` field of the * request. * The delegates must have the following format: - * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard + * character is required; replacing it with a project ID is invalid. * * * repeated string delegates = 2; @@ -237,7 +245,8 @@ public int getDelegatesCount() { * on the service account that is specified in the `name` field of the * request. * The delegates must have the following format: - * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard + * character is required; replacing it with a project ID is invalid. * * * repeated string delegates = 2; @@ -259,7 +268,8 @@ public java.lang.String getDelegates(int index) { * on the service account that is specified in the `name` field of the * request. * The delegates must have the following format: - * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard + * character is required; replacing it with a project ID is invalid. * * * repeated string delegates = 2; @@ -277,11 +287,11 @@ public com.google.protobuf.ByteString getDelegatesBytes(int index) { * * *
-   * The audience for the token, such as the API or account that this token
+   * Required. The audience for the token, such as the API or account that this token
    * grants access to.
    * 
* - * string audience = 3; + * string audience = 3 [(.google.api.field_behavior) = REQUIRED]; * * @return The audience. */ @@ -300,11 +310,11 @@ public java.lang.String getAudience() { * * *
-   * The audience for the token, such as the API or account that this token
+   * Required. The audience for the token, such as the API or account that this token
    * grants access to.
    * 
* - * string audience = 3; + * string audience = 3 [(.google.api.field_behavior) = REQUIRED]; * * @return The bytes for audience. */ @@ -721,12 +731,15 @@ public Builder mergeFrom( * * *
-     * The resource name of the service account for which the credentials
+     * Required. The resource name of the service account for which the credentials
      * are requested, in the following format:
-     * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`.
+     * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard
+     * character is required; replacing it with a project ID is invalid.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -745,12 +758,15 @@ public java.lang.String getName() { * * *
-     * The resource name of the service account for which the credentials
+     * Required. The resource name of the service account for which the credentials
      * are requested, in the following format:
-     * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`.
+     * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard
+     * character is required; replacing it with a project ID is invalid.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -769,12 +785,15 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * The resource name of the service account for which the credentials
+     * Required. The resource name of the service account for which the credentials
      * are requested, in the following format:
-     * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`.
+     * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard
+     * character is required; replacing it with a project ID is invalid.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The name to set. * @return This builder for chaining. @@ -792,12 +811,15 @@ public Builder setName(java.lang.String value) { * * *
-     * The resource name of the service account for which the credentials
+     * Required. The resource name of the service account for which the credentials
      * are requested, in the following format:
-     * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`.
+     * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard
+     * character is required; replacing it with a project ID is invalid.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -811,12 +833,15 @@ public Builder clearName() { * * *
-     * The resource name of the service account for which the credentials
+     * Required. The resource name of the service account for which the credentials
      * are requested, in the following format:
-     * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`.
+     * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard
+     * character is required; replacing it with a project ID is invalid.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for name to set. * @return This builder for chaining. @@ -852,7 +877,8 @@ private void ensureDelegatesIsMutable() { * on the service account that is specified in the `name` field of the * request. * The delegates must have the following format: - * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard + * character is required; replacing it with a project ID is invalid. * * * repeated string delegates = 2; @@ -873,7 +899,8 @@ public com.google.protobuf.ProtocolStringList getDelegatesList() { * on the service account that is specified in the `name` field of the * request. * The delegates must have the following format: - * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard + * character is required; replacing it with a project ID is invalid. * * * repeated string delegates = 2; @@ -894,7 +921,8 @@ public int getDelegatesCount() { * on the service account that is specified in the `name` field of the * request. * The delegates must have the following format: - * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard + * character is required; replacing it with a project ID is invalid. * * * repeated string delegates = 2; @@ -916,7 +944,8 @@ public java.lang.String getDelegates(int index) { * on the service account that is specified in the `name` field of the * request. * The delegates must have the following format: - * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard + * character is required; replacing it with a project ID is invalid. * * * repeated string delegates = 2; @@ -938,7 +967,8 @@ public com.google.protobuf.ByteString getDelegatesBytes(int index) { * on the service account that is specified in the `name` field of the * request. * The delegates must have the following format: - * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard + * character is required; replacing it with a project ID is invalid. * * * repeated string delegates = 2; @@ -967,7 +997,8 @@ public Builder setDelegates(int index, java.lang.String value) { * on the service account that is specified in the `name` field of the * request. * The delegates must have the following format: - * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard + * character is required; replacing it with a project ID is invalid. * * * repeated string delegates = 2; @@ -995,7 +1026,8 @@ public Builder addDelegates(java.lang.String value) { * on the service account that is specified in the `name` field of the * request. * The delegates must have the following format: - * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard + * character is required; replacing it with a project ID is invalid. * * * repeated string delegates = 2; @@ -1020,7 +1052,8 @@ public Builder addAllDelegates(java.lang.Iterable values) { * on the service account that is specified in the `name` field of the * request. * The delegates must have the following format: - * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard + * character is required; replacing it with a project ID is invalid. * * * repeated string delegates = 2; @@ -1044,7 +1077,8 @@ public Builder clearDelegates() { * on the service account that is specified in the `name` field of the * request. * The delegates must have the following format: - * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard + * character is required; replacing it with a project ID is invalid. * * * repeated string delegates = 2; @@ -1068,11 +1102,11 @@ public Builder addDelegatesBytes(com.google.protobuf.ByteString value) { * * *
-     * The audience for the token, such as the API or account that this token
+     * Required. The audience for the token, such as the API or account that this token
      * grants access to.
      * 
* - * string audience = 3; + * string audience = 3 [(.google.api.field_behavior) = REQUIRED]; * * @return The audience. */ @@ -1091,11 +1125,11 @@ public java.lang.String getAudience() { * * *
-     * The audience for the token, such as the API or account that this token
+     * Required. The audience for the token, such as the API or account that this token
      * grants access to.
      * 
* - * string audience = 3; + * string audience = 3 [(.google.api.field_behavior) = REQUIRED]; * * @return The bytes for audience. */ @@ -1114,11 +1148,11 @@ public com.google.protobuf.ByteString getAudienceBytes() { * * *
-     * The audience for the token, such as the API or account that this token
+     * Required. The audience for the token, such as the API or account that this token
      * grants access to.
      * 
* - * string audience = 3; + * string audience = 3 [(.google.api.field_behavior) = REQUIRED]; * * @param value The audience to set. * @return This builder for chaining. @@ -1136,11 +1170,11 @@ public Builder setAudience(java.lang.String value) { * * *
-     * The audience for the token, such as the API or account that this token
+     * Required. The audience for the token, such as the API or account that this token
      * grants access to.
      * 
* - * string audience = 3; + * string audience = 3 [(.google.api.field_behavior) = REQUIRED]; * * @return This builder for chaining. */ @@ -1154,11 +1188,11 @@ public Builder clearAudience() { * * *
-     * The audience for the token, such as the API or account that this token
+     * Required. The audience for the token, such as the API or account that this token
      * grants access to.
      * 
* - * string audience = 3; + * string audience = 3 [(.google.api.field_behavior) = REQUIRED]; * * @param value The bytes for audience to set. * @return This builder for chaining. diff --git a/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/GenerateIdTokenRequestOrBuilder.java b/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/GenerateIdTokenRequestOrBuilder.java index 1992d599..91bceb32 100644 --- a/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/GenerateIdTokenRequestOrBuilder.java +++ b/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/GenerateIdTokenRequestOrBuilder.java @@ -27,12 +27,15 @@ public interface GenerateIdTokenRequestOrBuilder * * *
-   * The resource name of the service account for which the credentials
+   * Required. The resource name of the service account for which the credentials
    * are requested, in the following format:
-   * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`.
+   * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard
+   * character is required; replacing it with a project ID is invalid.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -41,12 +44,15 @@ public interface GenerateIdTokenRequestOrBuilder * * *
-   * The resource name of the service account for which the credentials
+   * Required. The resource name of the service account for which the credentials
    * are requested, in the following format:
-   * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`.
+   * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard
+   * character is required; replacing it with a project ID is invalid.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -63,7 +69,8 @@ public interface GenerateIdTokenRequestOrBuilder * on the service account that is specified in the `name` field of the * request. * The delegates must have the following format: - * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard + * character is required; replacing it with a project ID is invalid. * * * repeated string delegates = 2; @@ -82,7 +89,8 @@ public interface GenerateIdTokenRequestOrBuilder * on the service account that is specified in the `name` field of the * request. * The delegates must have the following format: - * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard + * character is required; replacing it with a project ID is invalid. * * * repeated string delegates = 2; @@ -101,7 +109,8 @@ public interface GenerateIdTokenRequestOrBuilder * on the service account that is specified in the `name` field of the * request. * The delegates must have the following format: - * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard + * character is required; replacing it with a project ID is invalid. * * * repeated string delegates = 2; @@ -121,7 +130,8 @@ public interface GenerateIdTokenRequestOrBuilder * on the service account that is specified in the `name` field of the * request. * The delegates must have the following format: - * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard + * character is required; replacing it with a project ID is invalid. * * * repeated string delegates = 2; @@ -135,11 +145,11 @@ public interface GenerateIdTokenRequestOrBuilder * * *
-   * The audience for the token, such as the API or account that this token
+   * Required. The audience for the token, such as the API or account that this token
    * grants access to.
    * 
* - * string audience = 3; + * string audience = 3 [(.google.api.field_behavior) = REQUIRED]; * * @return The audience. */ @@ -148,11 +158,11 @@ public interface GenerateIdTokenRequestOrBuilder * * *
-   * The audience for the token, such as the API or account that this token
+   * Required. The audience for the token, such as the API or account that this token
    * grants access to.
    * 
* - * string audience = 3; + * string audience = 3 [(.google.api.field_behavior) = REQUIRED]; * * @return The bytes for audience. */ diff --git a/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/IAMCredentialsCommonProto.java b/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/IAMCredentialsCommonProto.java index ceb9243d..d5a1c22f 100644 --- a/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/IAMCredentialsCommonProto.java +++ b/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/IAMCredentialsCommonProto.java @@ -69,33 +69,44 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { "\n&google/iam/credentials/v1/common.proto" - + "\022\031google.iam.credentials.v1\032\036google/prot" - + "obuf/duration.proto\032\037google/protobuf/tim" - + "estamp.proto\"y\n\032GenerateAccessTokenReque" - + "st\022\014\n\004name\030\001 \001(\t\022\021\n\tdelegates\030\002 \003(\t\022\r\n\005s" - + "cope\030\004 \003(\t\022+\n\010lifetime\030\007 \001(\0132\031.google.pr" - + "otobuf.Duration\"d\n\033GenerateAccessTokenRe" - + "sponse\022\024\n\014access_token\030\001 \001(\t\022/\n\013expire_t" - + "ime\030\003 \001(\0132\032.google.protobuf.Timestamp\"C\n" - + "\017SignBlobRequest\022\014\n\004name\030\001 \001(\t\022\021\n\tdelega" - + "tes\030\003 \003(\t\022\017\n\007payload\030\005 \001(\014\"7\n\020SignBlobRe" - + "sponse\022\016\n\006key_id\030\001 \001(\t\022\023\n\013signed_blob\030\004 " - + "\001(\014\"B\n\016SignJwtRequest\022\014\n\004name\030\001 \001(\t\022\021\n\td" - + "elegates\030\003 \003(\t\022\017\n\007payload\030\005 \001(\t\"5\n\017SignJ" - + "wtResponse\022\016\n\006key_id\030\001 \001(\t\022\022\n\nsigned_jwt" - + "\030\002 \001(\t\"b\n\026GenerateIdTokenRequest\022\014\n\004name" - + "\030\001 \001(\t\022\021\n\tdelegates\030\002 \003(\t\022\020\n\010audience\030\003 " - + "\001(\t\022\025\n\rinclude_email\030\004 \001(\010\"(\n\027GenerateId" - + "TokenResponse\022\r\n\005token\030\001 \001(\tB\213\001\n#com.goo" - + "gle.cloud.iam.credentials.v1B\031IAMCredent" - + "ialsCommonProtoP\001ZDgoogle.golang.org/gen" - + "proto/googleapis/iam/credentials/v1;cred" - + "entials\370\001\001b\006proto3" + + "\022\031google.iam.credentials.v1\032\037google/api/" + + "field_behavior.proto\032\031google/api/resourc" + + "e.proto\032\036google/protobuf/duration.proto\032" + + "\037google/protobuf/timestamp.proto\"\251\001\n\032Gen" + + "erateAccessTokenRequest\0227\n\004name\030\001 \001(\tB)\340" + + "A\002\372A#\n!iam.googleapis.com/ServiceAccount" + + "\022\021\n\tdelegates\030\002 \003(\t\022\022\n\005scope\030\004 \003(\tB\003\340A\002\022" + + "+\n\010lifetime\030\007 \001(\0132\031.google.protobuf.Dura" + + "tion\"d\n\033GenerateAccessTokenResponse\022\024\n\014a" + + "ccess_token\030\001 \001(\t\022/\n\013expire_time\030\003 \001(\0132\032" + + ".google.protobuf.Timestamp\"s\n\017SignBlobRe" + + "quest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!iam.googlea" + + "pis.com/ServiceAccount\022\021\n\tdelegates\030\003 \003(" + + "\t\022\024\n\007payload\030\005 \001(\014B\003\340A\002\"7\n\020SignBlobRespo" + + "nse\022\016\n\006key_id\030\001 \001(\t\022\023\n\013signed_blob\030\004 \001(\014" + + "\"r\n\016SignJwtRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#" + + "\n!iam.googleapis.com/ServiceAccount\022\021\n\td" + + "elegates\030\003 \003(\t\022\024\n\007payload\030\005 \001(\tB\003\340A\002\"5\n\017" + + "SignJwtResponse\022\016\n\006key_id\030\001 \001(\t\022\022\n\nsigne" + + "d_jwt\030\002 \001(\t\"\222\001\n\026GenerateIdTokenRequest\0227" + + "\n\004name\030\001 \001(\tB)\340A\002\372A#\n!iam.googleapis.com" + + "/ServiceAccount\022\021\n\tdelegates\030\002 \003(\t\022\025\n\010au" + + "dience\030\003 \001(\tB\003\340A\002\022\025\n\rinclude_email\030\004 \001(\010" + + "\"(\n\027GenerateIdTokenResponse\022\r\n\005token\030\001 \001" + + "(\tB\347\001\n#com.google.cloud.iam.credentials." + + "v1B\031IAMCredentialsCommonProtoP\001ZDgoogle." + + "golang.org/genproto/googleapis/iam/crede" + + "ntials/v1;credentials\370\001\001\352AY\n!iam.googlea" + + "pis.com/ServiceAccount\0224projects/{projec" + + "t}/serviceAccounts/{service_account}b\006pr" + + "oto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), com.google.protobuf.DurationProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), }); @@ -163,6 +174,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "Token", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resourceDefinition); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); com.google.protobuf.DurationProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); } diff --git a/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/IAMCredentialsProto.java b/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/IAMCredentialsProto.java index 8249c691..396b2299 100644 --- a/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/IAMCredentialsProto.java +++ b/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/IAMCredentialsProto.java @@ -37,44 +37,55 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { java.lang.String[] descriptorData = { "\n.google/iam/credentials/v1/iamcredentia" + "ls.proto\022\031google.iam.credentials.v1\032\034goo" - + "gle/api/annotations.proto\032&google/iam/cr" - + "edentials/v1/common.proto2\340\005\n\016IAMCredent" - + "ials\022\314\001\n\023GenerateAccessToken\0225.google.ia" - + "m.credentials.v1.GenerateAccessTokenRequ" - + "est\0326.google.iam.credentials.v1.Generate" - + "AccessTokenResponse\"F\202\323\344\223\002@\";/v1/{name=p" - + "rojects/*/serviceAccounts/*}:generateAcc" - + "essToken:\001*\022\274\001\n\017GenerateIdToken\0221.google" - + ".iam.credentials.v1.GenerateIdTokenReque" - + "st\0322.google.iam.credentials.v1.GenerateI" - + "dTokenResponse\"B\202\323\344\223\002<\"7/v1/{name=projec" - + "ts/*/serviceAccounts/*}:generateIdToken:" - + "\001*\022\240\001\n\010SignBlob\022*.google.iam.credentials" - + ".v1.SignBlobRequest\032+.google.iam.credent" - + "ials.v1.SignBlobResponse\";\202\323\344\223\0025\"0/v1/{n" - + "ame=projects/*/serviceAccounts/*}:signBl" - + "ob:\001*\022\234\001\n\007SignJwt\022).google.iam.credentia" - + "ls.v1.SignJwtRequest\032*.google.iam.creden" - + "tials.v1.SignJwtResponse\":\202\323\344\223\0024\"//v1/{n" - + "ame=projects/*/serviceAccounts/*}:signJw" - + "t:\001*B\205\001\n#com.google.cloud.iam.credential" - + "s.v1B\023IAMCredentialsProtoP\001ZDgoogle.gola" - + "ng.org/genproto/googleapis/iam/credentia" - + "ls/v1;credentials\370\001\001b\006proto3" + + "gle/api/annotations.proto\032\027google/api/cl" + + "ient.proto\032&google/iam/credentials/v1/co" + + "mmon.proto2\255\007\n\016IAMCredentials\022\354\001\n\023Genera" + + "teAccessToken\0225.google.iam.credentials.v" + + "1.GenerateAccessTokenRequest\0326.google.ia" + + "m.credentials.v1.GenerateAccessTokenResp" + + "onse\"f\202\323\344\223\002@\";/v1/{name=projects/*/servi" + + "ceAccounts/*}:generateAccessToken:\001*\332A\035n" + + "ame,delegates,scope,lifetime\022\344\001\n\017Generat" + + "eIdToken\0221.google.iam.credentials.v1.Gen" + + "erateIdTokenRequest\0322.google.iam.credent" + + "ials.v1.GenerateIdTokenResponse\"j\202\323\344\223\002<\"" + + "7/v1/{name=projects/*/serviceAccounts/*}" + + ":generateIdToken:\001*\332A%name,delegates,aud" + + "ience,include_email\022\271\001\n\010SignBlob\022*.googl" + + "e.iam.credentials.v1.SignBlobRequest\032+.g" + + "oogle.iam.credentials.v1.SignBlobRespons" + + "e\"T\202\323\344\223\0025\"0/v1/{name=projects/*/serviceA" + + "ccounts/*}:signBlob:\001*\332A\026name,delegates," + + "payload\022\265\001\n\007SignJwt\022).google.iam.credent" + + "ials.v1.SignJwtRequest\032*.google.iam.cred" + + "entials.v1.SignJwtResponse\"S\202\323\344\223\0024\"//v1/" + + "{name=projects/*/serviceAccounts/*}:sign" + + "Jwt:\001*\332A\026name,delegates,payload\032Q\312A\035iamc" + + "redentials.googleapis.com\322A.https://www." + + "googleapis.com/auth/cloud-platformB\205\001\n#c" + + "om.google.cloud.iam.credentials.v1B\023IAMC" + + "redentialsProtoP\001ZDgoogle.golang.org/gen" + + "proto/googleapis/iam/credentials/v1;cred" + + "entials\370\001\001b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), com.google.cloud.iam.credentials.v1.IAMCredentialsCommonProto.getDescriptor(), }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); com.google.cloud.iam.credentials.v1.IAMCredentialsCommonProto.getDescriptor(); } diff --git a/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/SignBlobRequest.java b/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/SignBlobRequest.java index 198dcda3..7d12e437 100644 --- a/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/SignBlobRequest.java +++ b/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/SignBlobRequest.java @@ -130,12 +130,15 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The resource name of the service account for which the credentials
+   * Required. The resource name of the service account for which the credentials
    * are requested, in the following format:
-   * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`.
+   * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard
+   * character is required; replacing it with a project ID is invalid.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -154,12 +157,15 @@ public java.lang.String getName() { * * *
-   * The resource name of the service account for which the credentials
+   * Required. The resource name of the service account for which the credentials
    * are requested, in the following format:
-   * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`.
+   * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard
+   * character is required; replacing it with a project ID is invalid.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -188,7 +194,8 @@ public com.google.protobuf.ByteString getNameBytes() { * on the service account that is specified in the `name` field of the * request. * The delegates must have the following format: - * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard + * character is required; replacing it with a project ID is invalid. * * * repeated string delegates = 3; @@ -209,7 +216,8 @@ public com.google.protobuf.ProtocolStringList getDelegatesList() { * on the service account that is specified in the `name` field of the * request. * The delegates must have the following format: - * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard + * character is required; replacing it with a project ID is invalid. * * * repeated string delegates = 3; @@ -230,7 +238,8 @@ public int getDelegatesCount() { * on the service account that is specified in the `name` field of the * request. * The delegates must have the following format: - * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard + * character is required; replacing it with a project ID is invalid. * * * repeated string delegates = 3; @@ -252,7 +261,8 @@ public java.lang.String getDelegates(int index) { * on the service account that is specified in the `name` field of the * request. * The delegates must have the following format: - * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard + * character is required; replacing it with a project ID is invalid. * * * repeated string delegates = 3; @@ -270,10 +280,10 @@ public com.google.protobuf.ByteString getDelegatesBytes(int index) { * * *
-   * The bytes to sign.
+   * Required. The bytes to sign.
    * 
* - * bytes payload = 5; + * bytes payload = 5 [(.google.api.field_behavior) = REQUIRED]; * * @return The payload. */ @@ -647,12 +657,15 @@ public Builder mergeFrom( * * *
-     * The resource name of the service account for which the credentials
+     * Required. The resource name of the service account for which the credentials
      * are requested, in the following format:
-     * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`.
+     * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard
+     * character is required; replacing it with a project ID is invalid.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -671,12 +684,15 @@ public java.lang.String getName() { * * *
-     * The resource name of the service account for which the credentials
+     * Required. The resource name of the service account for which the credentials
      * are requested, in the following format:
-     * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`.
+     * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard
+     * character is required; replacing it with a project ID is invalid.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -695,12 +711,15 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * The resource name of the service account for which the credentials
+     * Required. The resource name of the service account for which the credentials
      * are requested, in the following format:
-     * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`.
+     * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard
+     * character is required; replacing it with a project ID is invalid.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The name to set. * @return This builder for chaining. @@ -718,12 +737,15 @@ public Builder setName(java.lang.String value) { * * *
-     * The resource name of the service account for which the credentials
+     * Required. The resource name of the service account for which the credentials
      * are requested, in the following format:
-     * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`.
+     * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard
+     * character is required; replacing it with a project ID is invalid.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -737,12 +759,15 @@ public Builder clearName() { * * *
-     * The resource name of the service account for which the credentials
+     * Required. The resource name of the service account for which the credentials
      * are requested, in the following format:
-     * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`.
+     * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard
+     * character is required; replacing it with a project ID is invalid.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for name to set. * @return This builder for chaining. @@ -778,7 +803,8 @@ private void ensureDelegatesIsMutable() { * on the service account that is specified in the `name` field of the * request. * The delegates must have the following format: - * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard + * character is required; replacing it with a project ID is invalid. * * * repeated string delegates = 3; @@ -799,7 +825,8 @@ public com.google.protobuf.ProtocolStringList getDelegatesList() { * on the service account that is specified in the `name` field of the * request. * The delegates must have the following format: - * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard + * character is required; replacing it with a project ID is invalid. * * * repeated string delegates = 3; @@ -820,7 +847,8 @@ public int getDelegatesCount() { * on the service account that is specified in the `name` field of the * request. * The delegates must have the following format: - * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard + * character is required; replacing it with a project ID is invalid. * * * repeated string delegates = 3; @@ -842,7 +870,8 @@ public java.lang.String getDelegates(int index) { * on the service account that is specified in the `name` field of the * request. * The delegates must have the following format: - * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard + * character is required; replacing it with a project ID is invalid. * * * repeated string delegates = 3; @@ -864,7 +893,8 @@ public com.google.protobuf.ByteString getDelegatesBytes(int index) { * on the service account that is specified in the `name` field of the * request. * The delegates must have the following format: - * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard + * character is required; replacing it with a project ID is invalid. * * * repeated string delegates = 3; @@ -893,7 +923,8 @@ public Builder setDelegates(int index, java.lang.String value) { * on the service account that is specified in the `name` field of the * request. * The delegates must have the following format: - * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard + * character is required; replacing it with a project ID is invalid. * * * repeated string delegates = 3; @@ -921,7 +952,8 @@ public Builder addDelegates(java.lang.String value) { * on the service account that is specified in the `name` field of the * request. * The delegates must have the following format: - * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard + * character is required; replacing it with a project ID is invalid. * * * repeated string delegates = 3; @@ -946,7 +978,8 @@ public Builder addAllDelegates(java.lang.Iterable values) { * on the service account that is specified in the `name` field of the * request. * The delegates must have the following format: - * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard + * character is required; replacing it with a project ID is invalid. * * * repeated string delegates = 3; @@ -970,7 +1003,8 @@ public Builder clearDelegates() { * on the service account that is specified in the `name` field of the * request. * The delegates must have the following format: - * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard + * character is required; replacing it with a project ID is invalid. * * * repeated string delegates = 3; @@ -994,10 +1028,10 @@ public Builder addDelegatesBytes(com.google.protobuf.ByteString value) { * * *
-     * The bytes to sign.
+     * Required. The bytes to sign.
      * 
* - * bytes payload = 5; + * bytes payload = 5 [(.google.api.field_behavior) = REQUIRED]; * * @return The payload. */ @@ -1008,10 +1042,10 @@ public com.google.protobuf.ByteString getPayload() { * * *
-     * The bytes to sign.
+     * Required. The bytes to sign.
      * 
* - * bytes payload = 5; + * bytes payload = 5 [(.google.api.field_behavior) = REQUIRED]; * * @param value The payload to set. * @return This builder for chaining. @@ -1029,10 +1063,10 @@ public Builder setPayload(com.google.protobuf.ByteString value) { * * *
-     * The bytes to sign.
+     * Required. The bytes to sign.
      * 
* - * bytes payload = 5; + * bytes payload = 5 [(.google.api.field_behavior) = REQUIRED]; * * @return This builder for chaining. */ diff --git a/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/SignBlobRequestOrBuilder.java b/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/SignBlobRequestOrBuilder.java index aa2eb5d9..22c608bc 100644 --- a/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/SignBlobRequestOrBuilder.java +++ b/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/SignBlobRequestOrBuilder.java @@ -27,12 +27,15 @@ public interface SignBlobRequestOrBuilder * * *
-   * The resource name of the service account for which the credentials
+   * Required. The resource name of the service account for which the credentials
    * are requested, in the following format:
-   * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`.
+   * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard
+   * character is required; replacing it with a project ID is invalid.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -41,12 +44,15 @@ public interface SignBlobRequestOrBuilder * * *
-   * The resource name of the service account for which the credentials
+   * Required. The resource name of the service account for which the credentials
    * are requested, in the following format:
-   * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`.
+   * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard
+   * character is required; replacing it with a project ID is invalid.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -63,7 +69,8 @@ public interface SignBlobRequestOrBuilder * on the service account that is specified in the `name` field of the * request. * The delegates must have the following format: - * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard + * character is required; replacing it with a project ID is invalid. * * * repeated string delegates = 3; @@ -82,7 +89,8 @@ public interface SignBlobRequestOrBuilder * on the service account that is specified in the `name` field of the * request. * The delegates must have the following format: - * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard + * character is required; replacing it with a project ID is invalid. * * * repeated string delegates = 3; @@ -101,7 +109,8 @@ public interface SignBlobRequestOrBuilder * on the service account that is specified in the `name` field of the * request. * The delegates must have the following format: - * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard + * character is required; replacing it with a project ID is invalid. * * * repeated string delegates = 3; @@ -121,7 +130,8 @@ public interface SignBlobRequestOrBuilder * on the service account that is specified in the `name` field of the * request. * The delegates must have the following format: - * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard + * character is required; replacing it with a project ID is invalid. * * * repeated string delegates = 3; @@ -135,10 +145,10 @@ public interface SignBlobRequestOrBuilder * * *
-   * The bytes to sign.
+   * Required. The bytes to sign.
    * 
* - * bytes payload = 5; + * bytes payload = 5 [(.google.api.field_behavior) = REQUIRED]; * * @return The payload. */ diff --git a/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/SignJwtRequest.java b/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/SignJwtRequest.java index f43749af..25202d44 100644 --- a/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/SignJwtRequest.java +++ b/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/SignJwtRequest.java @@ -132,12 +132,15 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The resource name of the service account for which the credentials
+   * Required. The resource name of the service account for which the credentials
    * are requested, in the following format:
-   * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`.
+   * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard
+   * character is required; replacing it with a project ID is invalid.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -156,12 +159,15 @@ public java.lang.String getName() { * * *
-   * The resource name of the service account for which the credentials
+   * Required. The resource name of the service account for which the credentials
    * are requested, in the following format:
-   * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`.
+   * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard
+   * character is required; replacing it with a project ID is invalid.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -190,7 +196,8 @@ public com.google.protobuf.ByteString getNameBytes() { * on the service account that is specified in the `name` field of the * request. * The delegates must have the following format: - * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard + * character is required; replacing it with a project ID is invalid. * * * repeated string delegates = 3; @@ -211,7 +218,8 @@ public com.google.protobuf.ProtocolStringList getDelegatesList() { * on the service account that is specified in the `name` field of the * request. * The delegates must have the following format: - * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard + * character is required; replacing it with a project ID is invalid. * * * repeated string delegates = 3; @@ -232,7 +240,8 @@ public int getDelegatesCount() { * on the service account that is specified in the `name` field of the * request. * The delegates must have the following format: - * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard + * character is required; replacing it with a project ID is invalid. * * * repeated string delegates = 3; @@ -254,7 +263,8 @@ public java.lang.String getDelegates(int index) { * on the service account that is specified in the `name` field of the * request. * The delegates must have the following format: - * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard + * character is required; replacing it with a project ID is invalid. * * * repeated string delegates = 3; @@ -272,10 +282,10 @@ public com.google.protobuf.ByteString getDelegatesBytes(int index) { * * *
-   * The JWT payload to sign: a JSON object that contains a JWT Claims Set.
+   * Required. The JWT payload to sign: a JSON object that contains a JWT Claims Set.
    * 
* - * string payload = 5; + * string payload = 5 [(.google.api.field_behavior) = REQUIRED]; * * @return The payload. */ @@ -294,10 +304,10 @@ public java.lang.String getPayload() { * * *
-   * The JWT payload to sign: a JSON object that contains a JWT Claims Set.
+   * Required. The JWT payload to sign: a JSON object that contains a JWT Claims Set.
    * 
* - * string payload = 5; + * string payload = 5 [(.google.api.field_behavior) = REQUIRED]; * * @return The bytes for payload. */ @@ -680,12 +690,15 @@ public Builder mergeFrom( * * *
-     * The resource name of the service account for which the credentials
+     * Required. The resource name of the service account for which the credentials
      * are requested, in the following format:
-     * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`.
+     * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard
+     * character is required; replacing it with a project ID is invalid.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -704,12 +717,15 @@ public java.lang.String getName() { * * *
-     * The resource name of the service account for which the credentials
+     * Required. The resource name of the service account for which the credentials
      * are requested, in the following format:
-     * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`.
+     * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard
+     * character is required; replacing it with a project ID is invalid.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -728,12 +744,15 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * The resource name of the service account for which the credentials
+     * Required. The resource name of the service account for which the credentials
      * are requested, in the following format:
-     * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`.
+     * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard
+     * character is required; replacing it with a project ID is invalid.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The name to set. * @return This builder for chaining. @@ -751,12 +770,15 @@ public Builder setName(java.lang.String value) { * * *
-     * The resource name of the service account for which the credentials
+     * Required. The resource name of the service account for which the credentials
      * are requested, in the following format:
-     * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`.
+     * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard
+     * character is required; replacing it with a project ID is invalid.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -770,12 +792,15 @@ public Builder clearName() { * * *
-     * The resource name of the service account for which the credentials
+     * Required. The resource name of the service account for which the credentials
      * are requested, in the following format:
-     * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`.
+     * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard
+     * character is required; replacing it with a project ID is invalid.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for name to set. * @return This builder for chaining. @@ -811,7 +836,8 @@ private void ensureDelegatesIsMutable() { * on the service account that is specified in the `name` field of the * request. * The delegates must have the following format: - * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard + * character is required; replacing it with a project ID is invalid. * * * repeated string delegates = 3; @@ -832,7 +858,8 @@ public com.google.protobuf.ProtocolStringList getDelegatesList() { * on the service account that is specified in the `name` field of the * request. * The delegates must have the following format: - * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard + * character is required; replacing it with a project ID is invalid. * * * repeated string delegates = 3; @@ -853,7 +880,8 @@ public int getDelegatesCount() { * on the service account that is specified in the `name` field of the * request. * The delegates must have the following format: - * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard + * character is required; replacing it with a project ID is invalid. * * * repeated string delegates = 3; @@ -875,7 +903,8 @@ public java.lang.String getDelegates(int index) { * on the service account that is specified in the `name` field of the * request. * The delegates must have the following format: - * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard + * character is required; replacing it with a project ID is invalid. * * * repeated string delegates = 3; @@ -897,7 +926,8 @@ public com.google.protobuf.ByteString getDelegatesBytes(int index) { * on the service account that is specified in the `name` field of the * request. * The delegates must have the following format: - * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard + * character is required; replacing it with a project ID is invalid. * * * repeated string delegates = 3; @@ -926,7 +956,8 @@ public Builder setDelegates(int index, java.lang.String value) { * on the service account that is specified in the `name` field of the * request. * The delegates must have the following format: - * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard + * character is required; replacing it with a project ID is invalid. * * * repeated string delegates = 3; @@ -954,7 +985,8 @@ public Builder addDelegates(java.lang.String value) { * on the service account that is specified in the `name` field of the * request. * The delegates must have the following format: - * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard + * character is required; replacing it with a project ID is invalid. * * * repeated string delegates = 3; @@ -979,7 +1011,8 @@ public Builder addAllDelegates(java.lang.Iterable values) { * on the service account that is specified in the `name` field of the * request. * The delegates must have the following format: - * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard + * character is required; replacing it with a project ID is invalid. * * * repeated string delegates = 3; @@ -1003,7 +1036,8 @@ public Builder clearDelegates() { * on the service account that is specified in the `name` field of the * request. * The delegates must have the following format: - * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard + * character is required; replacing it with a project ID is invalid. * * * repeated string delegates = 3; @@ -1027,10 +1061,10 @@ public Builder addDelegatesBytes(com.google.protobuf.ByteString value) { * * *
-     * The JWT payload to sign: a JSON object that contains a JWT Claims Set.
+     * Required. The JWT payload to sign: a JSON object that contains a JWT Claims Set.
      * 
* - * string payload = 5; + * string payload = 5 [(.google.api.field_behavior) = REQUIRED]; * * @return The payload. */ @@ -1049,10 +1083,10 @@ public java.lang.String getPayload() { * * *
-     * The JWT payload to sign: a JSON object that contains a JWT Claims Set.
+     * Required. The JWT payload to sign: a JSON object that contains a JWT Claims Set.
      * 
* - * string payload = 5; + * string payload = 5 [(.google.api.field_behavior) = REQUIRED]; * * @return The bytes for payload. */ @@ -1071,10 +1105,10 @@ public com.google.protobuf.ByteString getPayloadBytes() { * * *
-     * The JWT payload to sign: a JSON object that contains a JWT Claims Set.
+     * Required. The JWT payload to sign: a JSON object that contains a JWT Claims Set.
      * 
* - * string payload = 5; + * string payload = 5 [(.google.api.field_behavior) = REQUIRED]; * * @param value The payload to set. * @return This builder for chaining. @@ -1092,10 +1126,10 @@ public Builder setPayload(java.lang.String value) { * * *
-     * The JWT payload to sign: a JSON object that contains a JWT Claims Set.
+     * Required. The JWT payload to sign: a JSON object that contains a JWT Claims Set.
      * 
* - * string payload = 5; + * string payload = 5 [(.google.api.field_behavior) = REQUIRED]; * * @return This builder for chaining. */ @@ -1109,10 +1143,10 @@ public Builder clearPayload() { * * *
-     * The JWT payload to sign: a JSON object that contains a JWT Claims Set.
+     * Required. The JWT payload to sign: a JSON object that contains a JWT Claims Set.
      * 
* - * string payload = 5; + * string payload = 5 [(.google.api.field_behavior) = REQUIRED]; * * @param value The bytes for payload to set. * @return This builder for chaining. diff --git a/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/SignJwtRequestOrBuilder.java b/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/SignJwtRequestOrBuilder.java index 4897c908..da12a83c 100644 --- a/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/SignJwtRequestOrBuilder.java +++ b/proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/SignJwtRequestOrBuilder.java @@ -27,12 +27,15 @@ public interface SignJwtRequestOrBuilder * * *
-   * The resource name of the service account for which the credentials
+   * Required. The resource name of the service account for which the credentials
    * are requested, in the following format:
-   * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`.
+   * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard
+   * character is required; replacing it with a project ID is invalid.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -41,12 +44,15 @@ public interface SignJwtRequestOrBuilder * * *
-   * The resource name of the service account for which the credentials
+   * Required. The resource name of the service account for which the credentials
    * are requested, in the following format:
-   * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`.
+   * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard
+   * character is required; replacing it with a project ID is invalid.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -63,7 +69,8 @@ public interface SignJwtRequestOrBuilder * on the service account that is specified in the `name` field of the * request. * The delegates must have the following format: - * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard + * character is required; replacing it with a project ID is invalid. * * * repeated string delegates = 3; @@ -82,7 +89,8 @@ public interface SignJwtRequestOrBuilder * on the service account that is specified in the `name` field of the * request. * The delegates must have the following format: - * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard + * character is required; replacing it with a project ID is invalid. * * * repeated string delegates = 3; @@ -101,7 +109,8 @@ public interface SignJwtRequestOrBuilder * on the service account that is specified in the `name` field of the * request. * The delegates must have the following format: - * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard + * character is required; replacing it with a project ID is invalid. * * * repeated string delegates = 3; @@ -121,7 +130,8 @@ public interface SignJwtRequestOrBuilder * on the service account that is specified in the `name` field of the * request. * The delegates must have the following format: - * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` + * `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard + * character is required; replacing it with a project ID is invalid. * * * repeated string delegates = 3; @@ -135,10 +145,10 @@ public interface SignJwtRequestOrBuilder * * *
-   * The JWT payload to sign: a JSON object that contains a JWT Claims Set.
+   * Required. The JWT payload to sign: a JSON object that contains a JWT Claims Set.
    * 
* - * string payload = 5; + * string payload = 5 [(.google.api.field_behavior) = REQUIRED]; * * @return The payload. */ @@ -147,10 +157,10 @@ public interface SignJwtRequestOrBuilder * * *
-   * The JWT payload to sign: a JSON object that contains a JWT Claims Set.
+   * Required. The JWT payload to sign: a JSON object that contains a JWT Claims Set.
    * 
* - * string payload = 5; + * string payload = 5 [(.google.api.field_behavior) = REQUIRED]; * * @return The bytes for payload. */ diff --git a/proto-google-cloud-iamcredentials-v1/src/main/proto/google/iam/credentials/v1/common.proto b/proto-google-cloud-iamcredentials-v1/src/main/proto/google/iam/credentials/v1/common.proto index 6ba01019..361f2e90 100644 --- a/proto-google-cloud-iamcredentials-v1/src/main/proto/google/iam/credentials/v1/common.proto +++ b/proto-google-cloud-iamcredentials-v1/src/main/proto/google/iam/credentials/v1/common.proto @@ -1,4 +1,4 @@ -// Copyright 2018 Google LLC +// Copyright 2019 Google LLC. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -11,11 +11,14 @@ // 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. +// syntax = "proto3"; package google.iam.credentials.v1; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; @@ -24,12 +27,22 @@ option go_package = "google.golang.org/genproto/googleapis/iam/credentials/v1;cr option java_multiple_files = true; option java_outer_classname = "IAMCredentialsCommonProto"; option java_package = "com.google.cloud.iam.credentials.v1"; +option (google.api.resource_definition) = { + type: "iam.googleapis.com/ServiceAccount" + pattern: "projects/{project}/serviceAccounts/{service_account}" +}; message GenerateAccessTokenRequest { - // The resource name of the service account for which the credentials + // Required. The resource name of the service account for which the credentials // are requested, in the following format: - // `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. - string name = 1; + // `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard + // character is required; replacing it with a project ID is invalid. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "iam.googleapis.com/ServiceAccount" + } + ]; // The sequence of service accounts in a delegation chain. Each service // account must be granted the `roles/iam.serviceAccountTokenCreator` role @@ -39,14 +52,15 @@ message GenerateAccessTokenRequest { // request. // // The delegates must have the following format: - // `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` + // `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard + // character is required; replacing it with a project ID is invalid. repeated string delegates = 2; - // Code to identify the scopes to be included in the OAuth 2.0 access token. + // Required. Code to identify the scopes to be included in the OAuth 2.0 access token. // See https://developers.google.com/identity/protocols/googlescopes for more // information. // At least one value required. - repeated string scope = 4; + repeated string scope = 4 [(google.api.field_behavior) = REQUIRED]; // The desired lifetime duration of the access token in seconds. // Must be set to a value less than or equal to 3600 (1 hour). If a value is @@ -65,10 +79,16 @@ message GenerateAccessTokenResponse { } message SignBlobRequest { - // The resource name of the service account for which the credentials + // Required. The resource name of the service account for which the credentials // are requested, in the following format: - // `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. - string name = 1; + // `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard + // character is required; replacing it with a project ID is invalid. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "iam.googleapis.com/ServiceAccount" + } + ]; // The sequence of service accounts in a delegation chain. Each service // account must be granted the `roles/iam.serviceAccountTokenCreator` role @@ -78,11 +98,12 @@ message SignBlobRequest { // request. // // The delegates must have the following format: - // `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` + // `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard + // character is required; replacing it with a project ID is invalid. repeated string delegates = 3; - // The bytes to sign. - bytes payload = 5; + // Required. The bytes to sign. + bytes payload = 5 [(google.api.field_behavior) = REQUIRED]; } message SignBlobResponse { @@ -94,10 +115,16 @@ message SignBlobResponse { } message SignJwtRequest { - // The resource name of the service account for which the credentials + // Required. The resource name of the service account for which the credentials // are requested, in the following format: - // `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. - string name = 1; + // `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard + // character is required; replacing it with a project ID is invalid. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "iam.googleapis.com/ServiceAccount" + } + ]; // The sequence of service accounts in a delegation chain. Each service // account must be granted the `roles/iam.serviceAccountTokenCreator` role @@ -107,11 +134,12 @@ message SignJwtRequest { // request. // // The delegates must have the following format: - // `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` + // `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard + // character is required; replacing it with a project ID is invalid. repeated string delegates = 3; - // The JWT payload to sign: a JSON object that contains a JWT Claims Set. - string payload = 5; + // Required. The JWT payload to sign: a JSON object that contains a JWT Claims Set. + string payload = 5 [(google.api.field_behavior) = REQUIRED]; } message SignJwtResponse { @@ -123,10 +151,16 @@ message SignJwtResponse { } message GenerateIdTokenRequest { - // The resource name of the service account for which the credentials + // Required. The resource name of the service account for which the credentials // are requested, in the following format: - // `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. - string name = 1; + // `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard + // character is required; replacing it with a project ID is invalid. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "iam.googleapis.com/ServiceAccount" + } + ]; // The sequence of service accounts in a delegation chain. Each service // account must be granted the `roles/iam.serviceAccountTokenCreator` role @@ -136,12 +170,13 @@ message GenerateIdTokenRequest { // request. // // The delegates must have the following format: - // `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}` + // `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard + // character is required; replacing it with a project ID is invalid. repeated string delegates = 2; - // The audience for the token, such as the API or account that this token + // Required. The audience for the token, such as the API or account that this token // grants access to. - string audience = 3; + string audience = 3 [(google.api.field_behavior) = REQUIRED]; // Include the service account email in the token. If set to `true`, the // token will contain `email` and `email_verified` claims. diff --git a/proto-google-cloud-iamcredentials-v1/src/main/proto/google/iam/credentials/v1/iamcredentials.proto b/proto-google-cloud-iamcredentials-v1/src/main/proto/google/iam/credentials/v1/iamcredentials.proto index 3308d63a..29554c56 100644 --- a/proto-google-cloud-iamcredentials-v1/src/main/proto/google/iam/credentials/v1/iamcredentials.proto +++ b/proto-google-cloud-iamcredentials-v1/src/main/proto/google/iam/credentials/v1/iamcredentials.proto @@ -1,4 +1,4 @@ -// Copyright 2018 Google LLC +// Copyright 2019 Google LLC. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -11,12 +11,14 @@ // 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. +// syntax = "proto3"; package google.iam.credentials.v1; import "google/api/annotations.proto"; +import "google/api/client.proto"; import "google/iam/credentials/v1/common.proto"; option cc_enable_arenas = true; @@ -35,22 +37,25 @@ option java_package = "com.google.cloud.iam.credentials.v1"; // tokens, OpenID Connect ID tokens, self-signed JSON Web Tokens (JWTs), and // more. service IAMCredentials { + option (google.api.default_host) = "iamcredentials.googleapis.com"; + option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + // Generates an OAuth 2.0 access token for a service account. - rpc GenerateAccessToken(GenerateAccessTokenRequest) - returns (GenerateAccessTokenResponse) { + rpc GenerateAccessToken(GenerateAccessTokenRequest) returns (GenerateAccessTokenResponse) { option (google.api.http) = { post: "/v1/{name=projects/*/serviceAccounts/*}:generateAccessToken" body: "*" }; + option (google.api.method_signature) = "name,delegates,scope,lifetime"; } // Generates an OpenID Connect ID token for a service account. - rpc GenerateIdToken(GenerateIdTokenRequest) - returns (GenerateIdTokenResponse) { + rpc GenerateIdToken(GenerateIdTokenRequest) returns (GenerateIdTokenResponse) { option (google.api.http) = { post: "/v1/{name=projects/*/serviceAccounts/*}:generateIdToken" body: "*" }; + option (google.api.method_signature) = "name,delegates,audience,include_email"; } // Signs a blob using a service account's system-managed private key. @@ -59,6 +64,7 @@ service IAMCredentials { post: "/v1/{name=projects/*/serviceAccounts/*}:signBlob" body: "*" }; + option (google.api.method_signature) = "name,delegates,payload"; } // Signs a JWT using a service account's system-managed private key. @@ -67,5 +73,6 @@ service IAMCredentials { post: "/v1/{name=projects/*/serviceAccounts/*}:signJwt" body: "*" }; + option (google.api.method_signature) = "name,delegates,payload"; } } diff --git a/synth.metadata b/synth.metadata index ac748e97..7a7cdecf 100644 --- a/synth.metadata +++ b/synth.metadata @@ -1,19 +1,19 @@ { - "updateTime": "2019-12-12T08:44:50.656064Z", + "updateTime": "2019-12-20T08:44:47.932519Z", "sources": [ { "generator": { "name": "artman", - "version": "0.42.2", - "dockerImage": "googleapis/artman@sha256:a86051ce32e2454ca2558ec9e437d46c2184b6dd291f57b0686676d77242658e" + "version": "0.42.3", + "dockerImage": "googleapis/artman@sha256:feed210b5723c6f524b52ef6d7740a030f2d1a8f7c29a71c5e5b4481ceaad7f5" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "19c4589a3cb44b3679f7b3fba88365b3d055d5f8", - "internalRef": "285013366" + "sha": "50af0530730348f1e3697bf3c70261f7daaf2981", + "internalRef": "286491002" } }, { @@ -35,5 +35,376 @@ "config": "google/iam/credentials/artman_iamcredentials_v1.yaml" } } + ], + "newFiles": [ + { + "path": "versions.txt" + }, + { + "path": "CONTRIBUTING.md" + }, + { + "path": "CHANGELOG.md" + }, + { + "path": "README.md" + }, + { + "path": "synth.metadata" + }, + { + "path": "LICENSE" + }, + { + "path": "codecov.yaml" + }, + { + "path": ".gitignore" + }, + { + "path": "license-checks.xml" + }, + { + "path": "synth.py" + }, + { + "path": "pom.xml" + }, + { + "path": "java.header" + }, + { + "path": ".repo-metadata.json" + }, + { + "path": "CODE_OF_CONDUCT.md" + }, + { + "path": "renovate.json" + }, + { + "path": "google-cloud-iamcredentials/pom.xml" + }, + { + "path": "google-cloud-iamcredentials/src/test/java/com/google/cloud/iam/credentials/v1/MockIAMCredentials.java" + }, + { + "path": "google-cloud-iamcredentials/src/test/java/com/google/cloud/iam/credentials/v1/MockIAMCredentialsImpl.java" + }, + { + "path": "google-cloud-iamcredentials/src/test/java/com/google/cloud/iam/credentials/v1/IamCredentialsClientTest.java" + }, + { + "path": "google-cloud-iamcredentials/src/main/java/com/google/cloud/iam/credentials/v1/IamCredentialsSettings.java" + }, + { + "path": "google-cloud-iamcredentials/src/main/java/com/google/cloud/iam/credentials/v1/package-info.java" + }, + { + "path": "google-cloud-iamcredentials/src/main/java/com/google/cloud/iam/credentials/v1/IamCredentialsClient.java" + }, + { + "path": "google-cloud-iamcredentials/src/main/java/com/google/cloud/iam/credentials/v1/stub/IamCredentialsStub.java" + }, + { + "path": "google-cloud-iamcredentials/src/main/java/com/google/cloud/iam/credentials/v1/stub/GrpcIamCredentialsCallableFactory.java" + }, + { + "path": "google-cloud-iamcredentials/src/main/java/com/google/cloud/iam/credentials/v1/stub/IamCredentialsStubSettings.java" + }, + { + "path": "google-cloud-iamcredentials/src/main/java/com/google/cloud/iam/credentials/v1/stub/GrpcIamCredentialsStub.java" + }, + { + "path": "proto-google-cloud-iamcredentials-v1/pom.xml" + }, + { + "path": "proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/SignJwtRequest.java" + }, + { + "path": "proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/SignBlobRequestOrBuilder.java" + }, + { + "path": "proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/SignJwtResponseOrBuilder.java" + }, + { + "path": "proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/GenerateIdTokenRequest.java" + }, + { + "path": "proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/GenerateAccessTokenRequestOrBuilder.java" + }, + { + "path": "proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/GenerateAccessTokenRequest.java" + }, + { + "path": "proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/IAMCredentialsProto.java" + }, + { + "path": "proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/IAMCredentialsCommonProto.java" + }, + { + "path": "proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/GenerateIdTokenResponseOrBuilder.java" + }, + { + "path": "proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/SignBlobResponseOrBuilder.java" + }, + { + "path": "proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/SignBlobResponse.java" + }, + { + "path": "proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/SignBlobRequest.java" + }, + { + "path": "proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/GenerateAccessTokenResponseOrBuilder.java" + }, + { + "path": "proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/SignJwtRequestOrBuilder.java" + }, + { + "path": "proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/GenerateIdTokenRequestOrBuilder.java" + }, + { + "path": "proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/SignJwtResponse.java" + }, + { + "path": "proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/ServiceAccountName.java" + }, + { + "path": "proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/GenerateIdTokenResponse.java" + }, + { + "path": "proto-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/GenerateAccessTokenResponse.java" + }, + { + "path": "proto-google-cloud-iamcredentials-v1/src/main/proto/google/iam/credentials/v1/iamcredentials.proto" + }, + { + "path": "proto-google-cloud-iamcredentials-v1/src/main/proto/google/iam/credentials/v1/common.proto" + }, + { + "path": "grpc-google-cloud-iamcredentials-v1/pom.xml" + }, + { + "path": "grpc-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/IAMCredentialsGrpc.java" + }, + { + "path": ".git/HEAD" + }, + { + "path": ".git/index" + }, + { + "path": ".git/shallow" + }, + { + "path": ".git/packed-refs" + }, + { + "path": ".git/config" + }, + { + "path": ".git/logs/HEAD" + }, + { + "path": ".git/logs/refs/heads/master" + }, + { + "path": ".git/logs/refs/heads/autosynth" + }, + { + "path": ".git/logs/refs/remotes/origin/HEAD" + }, + { + "path": ".git/refs/heads/master" + }, + { + "path": ".git/refs/heads/autosynth" + }, + { + "path": ".git/refs/remotes/origin/HEAD" + }, + { + "path": ".git/objects/pack/pack-922ff410f22ac6f9dc9cd72416335fbafc099a65.idx" + }, + { + "path": ".git/objects/pack/pack-922ff410f22ac6f9dc9cd72416335fbafc099a65.pack" + }, + { + "path": "__pycache__/synth.cpython-36.pyc" + }, + { + "path": "google-cloud-iamcredentials-bom/pom.xml" + }, + { + "path": ".github/PULL_REQUEST_TEMPLATE.md" + }, + { + "path": ".github/release-please.yml" + }, + { + "path": ".github/ISSUE_TEMPLATE/feature_request.md" + }, + { + "path": ".github/ISSUE_TEMPLATE/bug_report.md" + }, + { + "path": ".github/ISSUE_TEMPLATE/support_request.md" + }, + { + "path": ".kokoro/common.cfg" + }, + { + "path": ".kokoro/dependencies.sh" + }, + { + "path": ".kokoro/linkage-monitor.sh" + }, + { + "path": ".kokoro/build.sh" + }, + { + "path": ".kokoro/build.bat" + }, + { + "path": ".kokoro/coerce_logs.sh" + }, + { + "path": ".kokoro/trampoline.sh" + }, + { + "path": ".kokoro/nightly/common.cfg" + }, + { + "path": ".kokoro/nightly/java11.cfg" + }, + { + "path": ".kokoro/nightly/java8.cfg" + }, + { + "path": ".kokoro/nightly/integration.cfg" + }, + { + "path": ".kokoro/nightly/java8-osx.cfg" + }, + { + "path": ".kokoro/nightly/dependencies.cfg" + }, + { + "path": ".kokoro/nightly/java8-win.cfg" + }, + { + "path": ".kokoro/nightly/lint.cfg" + }, + { + "path": ".kokoro/nightly/java7.cfg" + }, + { + "path": ".kokoro/presubmit/common.cfg" + }, + { + "path": ".kokoro/presubmit/java11.cfg" + }, + { + "path": ".kokoro/presubmit/java8.cfg" + }, + { + "path": ".kokoro/presubmit/integration.cfg" + }, + { + "path": ".kokoro/presubmit/java8-osx.cfg" + }, + { + "path": ".kokoro/presubmit/dependencies.cfg" + }, + { + "path": ".kokoro/presubmit/linkage-monitor.cfg" + }, + { + "path": ".kokoro/presubmit/java8-win.cfg" + }, + { + "path": ".kokoro/presubmit/clirr.cfg" + }, + { + "path": ".kokoro/presubmit/lint.cfg" + }, + { + "path": ".kokoro/presubmit/java7.cfg" + }, + { + "path": ".kokoro/release/common.cfg" + }, + { + "path": ".kokoro/release/bump_snapshot.cfg" + }, + { + "path": ".kokoro/release/stage.sh" + }, + { + "path": ".kokoro/release/snapshot.cfg" + }, + { + "path": ".kokoro/release/snapshot.sh" + }, + { + "path": ".kokoro/release/bump_snapshot.sh" + }, + { + "path": ".kokoro/release/promote.sh" + }, + { + "path": ".kokoro/release/drop.sh" + }, + { + "path": ".kokoro/release/publish_javadoc.cfg" + }, + { + "path": ".kokoro/release/common.sh" + }, + { + "path": ".kokoro/release/drop.cfg" + }, + { + "path": ".kokoro/release/stage.cfg" + }, + { + "path": ".kokoro/release/publish_javadoc.sh" + }, + { + "path": ".kokoro/release/promote.cfg" + }, + { + "path": ".kokoro/continuous/common.cfg" + }, + { + "path": ".kokoro/continuous/java11.cfg" + }, + { + "path": ".kokoro/continuous/java8.cfg" + }, + { + "path": ".kokoro/continuous/integration.cfg" + }, + { + "path": ".kokoro/continuous/propose_release.sh" + }, + { + "path": ".kokoro/continuous/java8-osx.cfg" + }, + { + "path": ".kokoro/continuous/dependencies.cfg" + }, + { + "path": ".kokoro/continuous/propose_release.cfg" + }, + { + "path": ".kokoro/continuous/java8-win.cfg" + }, + { + "path": ".kokoro/continuous/lint.cfg" + }, + { + "path": ".kokoro/continuous/java7.cfg" + } ] } \ No newline at end of file