Skip to content

Commit

Permalink
chore: deprecate the AwsCrossAccountRole property (#727)
Browse files Browse the repository at this point in the history
- [ ] Regenerate this pull request now.

feat: add Azure Properties to Connection

Azure properties are used by BigQuery Omni in Azure regions.

PiperOrigin-RevId: 464570667

Source-Link: googleapis/googleapis@75905af

Source-Link: https://github.com/googleapis/googleapis-gen/commit/8c3a2485bb35012ecb7a2ced0f94a11d2de253b2
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOGMzYTI0ODViYjM1MDEyZWNiN2EyY2VkMGY5NGExMWQyZGUyNTNiMiJ9
  • Loading branch information
gcf-owl-bot[bot] authored Aug 4, 2022
1 parent 0427f34 commit aae5426
Show file tree
Hide file tree
Showing 8 changed files with 2,530 additions and 99 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ public enum AuthenticationMethodCase
implements
com.google.protobuf.Internal.EnumLite,
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
@java.lang.Deprecated
CROSS_ACCOUNT_ROLE(2),
ACCESS_ROLE(3),
AUTHENTICATIONMETHOD_NOT_SET(0);
Expand Down Expand Up @@ -200,13 +201,19 @@ public AuthenticationMethodCase getAuthenticationMethodCase() {
* <pre>
* Authentication using Google owned AWS IAM user's access key to assume
* into customer's AWS IAM Role.
* Deprecated, do not use.
* </pre>
*
* <code>.google.cloud.bigquery.connection.v1.AwsCrossAccountRole cross_account_role = 2;</code>
* <code>
* .google.cloud.bigquery.connection.v1.AwsCrossAccountRole cross_account_role = 2 [deprecated = true];
* </code>
*
* @deprecated google.cloud.bigquery.connection.v1.AwsProperties.cross_account_role is deprecated.
* See google/cloud/bigquery/connection/v1/connection.proto;l=314
* @return Whether the crossAccountRole field is set.
*/
@java.lang.Override
@java.lang.Deprecated
public boolean hasCrossAccountRole() {
return authenticationMethodCase_ == 2;
}
Expand All @@ -216,13 +223,19 @@ public boolean hasCrossAccountRole() {
* <pre>
* Authentication using Google owned AWS IAM user's access key to assume
* into customer's AWS IAM Role.
* Deprecated, do not use.
* </pre>
*
* <code>.google.cloud.bigquery.connection.v1.AwsCrossAccountRole cross_account_role = 2;</code>
* <code>
* .google.cloud.bigquery.connection.v1.AwsCrossAccountRole cross_account_role = 2 [deprecated = true];
* </code>
*
* @deprecated google.cloud.bigquery.connection.v1.AwsProperties.cross_account_role is deprecated.
* See google/cloud/bigquery/connection/v1/connection.proto;l=314
* @return The crossAccountRole.
*/
@java.lang.Override
@java.lang.Deprecated
public com.google.cloud.bigquery.connection.v1.AwsCrossAccountRole getCrossAccountRole() {
if (authenticationMethodCase_ == 2) {
return (com.google.cloud.bigquery.connection.v1.AwsCrossAccountRole) authenticationMethod_;
Expand All @@ -235,11 +248,15 @@ public com.google.cloud.bigquery.connection.v1.AwsCrossAccountRole getCrossAccou
* <pre>
* Authentication using Google owned AWS IAM user's access key to assume
* into customer's AWS IAM Role.
* Deprecated, do not use.
* </pre>
*
* <code>.google.cloud.bigquery.connection.v1.AwsCrossAccountRole cross_account_role = 2;</code>
* <code>
* .google.cloud.bigquery.connection.v1.AwsCrossAccountRole cross_account_role = 2 [deprecated = true];
* </code>
*/
@java.lang.Override
@java.lang.Deprecated
public com.google.cloud.bigquery.connection.v1.AwsCrossAccountRoleOrBuilder
getCrossAccountRoleOrBuilder() {
if (authenticationMethodCase_ == 2) {
Expand Down Expand Up @@ -705,13 +722,19 @@ public Builder clearAuthenticationMethod() {
* <pre>
* Authentication using Google owned AWS IAM user's access key to assume
* into customer's AWS IAM Role.
* Deprecated, do not use.
* </pre>
*
* <code>.google.cloud.bigquery.connection.v1.AwsCrossAccountRole cross_account_role = 2;</code>
* <code>
* .google.cloud.bigquery.connection.v1.AwsCrossAccountRole cross_account_role = 2 [deprecated = true];
* </code>
*
* @deprecated google.cloud.bigquery.connection.v1.AwsProperties.cross_account_role is
* deprecated. See google/cloud/bigquery/connection/v1/connection.proto;l=314
* @return Whether the crossAccountRole field is set.
*/
@java.lang.Override
@java.lang.Deprecated
public boolean hasCrossAccountRole() {
return authenticationMethodCase_ == 2;
}
Expand All @@ -721,13 +744,19 @@ public boolean hasCrossAccountRole() {
* <pre>
* Authentication using Google owned AWS IAM user's access key to assume
* into customer's AWS IAM Role.
* Deprecated, do not use.
* </pre>
*
* <code>.google.cloud.bigquery.connection.v1.AwsCrossAccountRole cross_account_role = 2;</code>
* <code>
* .google.cloud.bigquery.connection.v1.AwsCrossAccountRole cross_account_role = 2 [deprecated = true];
* </code>
*
* @deprecated google.cloud.bigquery.connection.v1.AwsProperties.cross_account_role is
* deprecated. See google/cloud/bigquery/connection/v1/connection.proto;l=314
* @return The crossAccountRole.
*/
@java.lang.Override
@java.lang.Deprecated
public com.google.cloud.bigquery.connection.v1.AwsCrossAccountRole getCrossAccountRole() {
if (crossAccountRoleBuilder_ == null) {
if (authenticationMethodCase_ == 2) {
Expand All @@ -748,10 +777,14 @@ public com.google.cloud.bigquery.connection.v1.AwsCrossAccountRole getCrossAccou
* <pre>
* Authentication using Google owned AWS IAM user's access key to assume
* into customer's AWS IAM Role.
* Deprecated, do not use.
* </pre>
*
* <code>.google.cloud.bigquery.connection.v1.AwsCrossAccountRole cross_account_role = 2;</code>
* <code>
* .google.cloud.bigquery.connection.v1.AwsCrossAccountRole cross_account_role = 2 [deprecated = true];
* </code>
*/
@java.lang.Deprecated
public Builder setCrossAccountRole(
com.google.cloud.bigquery.connection.v1.AwsCrossAccountRole value) {
if (crossAccountRoleBuilder_ == null) {
Expand All @@ -772,10 +805,14 @@ public Builder setCrossAccountRole(
* <pre>
* Authentication using Google owned AWS IAM user's access key to assume
* into customer's AWS IAM Role.
* Deprecated, do not use.
* </pre>
*
* <code>.google.cloud.bigquery.connection.v1.AwsCrossAccountRole cross_account_role = 2;</code>
* <code>
* .google.cloud.bigquery.connection.v1.AwsCrossAccountRole cross_account_role = 2 [deprecated = true];
* </code>
*/
@java.lang.Deprecated
public Builder setCrossAccountRole(
com.google.cloud.bigquery.connection.v1.AwsCrossAccountRole.Builder builderForValue) {
if (crossAccountRoleBuilder_ == null) {
Expand All @@ -793,10 +830,14 @@ public Builder setCrossAccountRole(
* <pre>
* Authentication using Google owned AWS IAM user's access key to assume
* into customer's AWS IAM Role.
* Deprecated, do not use.
* </pre>
*
* <code>.google.cloud.bigquery.connection.v1.AwsCrossAccountRole cross_account_role = 2;</code>
* <code>
* .google.cloud.bigquery.connection.v1.AwsCrossAccountRole cross_account_role = 2 [deprecated = true];
* </code>
*/
@java.lang.Deprecated
public Builder mergeCrossAccountRole(
com.google.cloud.bigquery.connection.v1.AwsCrossAccountRole value) {
if (crossAccountRoleBuilder_ == null) {
Expand Down Expand Up @@ -830,10 +871,14 @@ public Builder mergeCrossAccountRole(
* <pre>
* Authentication using Google owned AWS IAM user's access key to assume
* into customer's AWS IAM Role.
* Deprecated, do not use.
* </pre>
*
* <code>.google.cloud.bigquery.connection.v1.AwsCrossAccountRole cross_account_role = 2;</code>
* <code>
* .google.cloud.bigquery.connection.v1.AwsCrossAccountRole cross_account_role = 2 [deprecated = true];
* </code>
*/
@java.lang.Deprecated
public Builder clearCrossAccountRole() {
if (crossAccountRoleBuilder_ == null) {
if (authenticationMethodCase_ == 2) {
Expand All @@ -856,10 +901,14 @@ public Builder clearCrossAccountRole() {
* <pre>
* Authentication using Google owned AWS IAM user's access key to assume
* into customer's AWS IAM Role.
* Deprecated, do not use.
* </pre>
*
* <code>.google.cloud.bigquery.connection.v1.AwsCrossAccountRole cross_account_role = 2;</code>
* <code>
* .google.cloud.bigquery.connection.v1.AwsCrossAccountRole cross_account_role = 2 [deprecated = true];
* </code>
*/
@java.lang.Deprecated
public com.google.cloud.bigquery.connection.v1.AwsCrossAccountRole.Builder
getCrossAccountRoleBuilder() {
return getCrossAccountRoleFieldBuilder().getBuilder();
Expand All @@ -870,11 +919,15 @@ public Builder clearCrossAccountRole() {
* <pre>
* Authentication using Google owned AWS IAM user's access key to assume
* into customer's AWS IAM Role.
* Deprecated, do not use.
* </pre>
*
* <code>.google.cloud.bigquery.connection.v1.AwsCrossAccountRole cross_account_role = 2;</code>
* <code>
* .google.cloud.bigquery.connection.v1.AwsCrossAccountRole cross_account_role = 2 [deprecated = true];
* </code>
*/
@java.lang.Override
@java.lang.Deprecated
public com.google.cloud.bigquery.connection.v1.AwsCrossAccountRoleOrBuilder
getCrossAccountRoleOrBuilder() {
if ((authenticationMethodCase_ == 2) && (crossAccountRoleBuilder_ != null)) {
Expand All @@ -893,9 +946,12 @@ public Builder clearCrossAccountRole() {
* <pre>
* Authentication using Google owned AWS IAM user's access key to assume
* into customer's AWS IAM Role.
* Deprecated, do not use.
* </pre>
*
* <code>.google.cloud.bigquery.connection.v1.AwsCrossAccountRole cross_account_role = 2;</code>
* <code>
* .google.cloud.bigquery.connection.v1.AwsCrossAccountRole cross_account_role = 2 [deprecated = true];
* </code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.cloud.bigquery.connection.v1.AwsCrossAccountRole,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,36 +29,52 @@ public interface AwsPropertiesOrBuilder
* <pre>
* Authentication using Google owned AWS IAM user's access key to assume
* into customer's AWS IAM Role.
* Deprecated, do not use.
* </pre>
*
* <code>.google.cloud.bigquery.connection.v1.AwsCrossAccountRole cross_account_role = 2;</code>
* <code>
* .google.cloud.bigquery.connection.v1.AwsCrossAccountRole cross_account_role = 2 [deprecated = true];
* </code>
*
* @deprecated google.cloud.bigquery.connection.v1.AwsProperties.cross_account_role is deprecated.
* See google/cloud/bigquery/connection/v1/connection.proto;l=314
* @return Whether the crossAccountRole field is set.
*/
@java.lang.Deprecated
boolean hasCrossAccountRole();
/**
*
*
* <pre>
* Authentication using Google owned AWS IAM user's access key to assume
* into customer's AWS IAM Role.
* Deprecated, do not use.
* </pre>
*
* <code>.google.cloud.bigquery.connection.v1.AwsCrossAccountRole cross_account_role = 2;</code>
* <code>
* .google.cloud.bigquery.connection.v1.AwsCrossAccountRole cross_account_role = 2 [deprecated = true];
* </code>
*
* @deprecated google.cloud.bigquery.connection.v1.AwsProperties.cross_account_role is deprecated.
* See google/cloud/bigquery/connection/v1/connection.proto;l=314
* @return The crossAccountRole.
*/
@java.lang.Deprecated
com.google.cloud.bigquery.connection.v1.AwsCrossAccountRole getCrossAccountRole();
/**
*
*
* <pre>
* Authentication using Google owned AWS IAM user's access key to assume
* into customer's AWS IAM Role.
* Deprecated, do not use.
* </pre>
*
* <code>.google.cloud.bigquery.connection.v1.AwsCrossAccountRole cross_account_role = 2;</code>
* <code>
* .google.cloud.bigquery.connection.v1.AwsCrossAccountRole cross_account_role = 2 [deprecated = true];
* </code>
*/
@java.lang.Deprecated
com.google.cloud.bigquery.connection.v1.AwsCrossAccountRoleOrBuilder
getCrossAccountRoleOrBuilder();

Expand Down
Loading

0 comments on commit aae5426

Please sign in to comment.