Skip to content

Commit

Permalink
docs: deprecate the AwsCrossAccountRole property (#240)
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: googleapis/googleapis-gen@8c3a248
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOGMzYTI0ODViYjM1MDEyZWNiN2EyY2VkMGY5NGExMWQyZGUyNTNiMiJ9
  • Loading branch information
gcf-owl-bot[bot] authored Aug 2, 2022
1 parent d4b3839 commit 4ab9909
Show file tree
Hide file tree
Showing 4 changed files with 78 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
AwsAccessRole,
AwsCrossAccountRole,
AwsProperties,
AzureProperties,
CloudResourceProperties,
CloudSpannerProperties,
CloudSqlCredential,
Expand All @@ -43,6 +44,7 @@
"AwsAccessRole",
"AwsCrossAccountRole",
"AwsProperties",
"AzureProperties",
"CloudResourceProperties",
"CloudSpannerProperties",
"CloudSqlCredential",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
AwsAccessRole,
AwsCrossAccountRole,
AwsProperties,
AzureProperties,
CloudResourceProperties,
CloudSpannerProperties,
CloudSqlCredential,
Expand All @@ -40,6 +41,7 @@
"AwsAccessRole",
"AwsCrossAccountRole",
"AwsProperties",
"AzureProperties",
"CloudResourceProperties",
"CloudSpannerProperties",
"CloudSqlCredential",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
AwsAccessRole,
AwsCrossAccountRole,
AwsProperties,
AzureProperties,
CloudResourceProperties,
CloudSpannerProperties,
CloudSqlCredential,
Expand All @@ -34,6 +35,7 @@
"AwsAccessRole",
"AwsCrossAccountRole",
"AwsProperties",
"AzureProperties",
"CloudResourceProperties",
"CloudSpannerProperties",
"CloudSqlCredential",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"AwsProperties",
"AwsCrossAccountRole",
"AwsAccessRole",
"AzureProperties",
"CloudResourceProperties",
},
)
Expand Down Expand Up @@ -211,6 +212,10 @@ class Connection(proto.Message):
aws (google.cloud.bigquery_connection_v1.types.AwsProperties):
Amazon Web Services (AWS) properties.
This field is a member of `oneof`_ ``properties``.
azure (google.cloud.bigquery_connection_v1.types.AzureProperties):
Azure properties.
This field is a member of `oneof`_ ``properties``.
cloud_spanner (google.cloud.bigquery_connection_v1.types.CloudSpannerProperties):
Cloud Spanner properties.
Expand Down Expand Up @@ -255,6 +260,12 @@ class Connection(proto.Message):
oneof="properties",
message="AwsProperties",
)
azure = proto.Field(
proto.MESSAGE,
number=11,
oneof="properties",
message="AzureProperties",
)
cloud_spanner = proto.Field(
proto.MESSAGE,
number=21,
Expand Down Expand Up @@ -390,7 +401,7 @@ class AwsProperties(proto.Message):
cross_account_role (google.cloud.bigquery_connection_v1.types.AwsCrossAccountRole):
Authentication using Google owned AWS IAM
user's access key to assume into customer's AWS
IAM Role.
IAM Role. Deprecated, do not use.
This field is a member of `oneof`_ ``authentication_method``.
access_role (google.cloud.bigquery_connection_v1.types.AwsAccessRole):
Expand Down Expand Up @@ -472,6 +483,66 @@ class AwsAccessRole(proto.Message):
)


class AzureProperties(proto.Message):
r"""Container for connection properties specific to Azure.
Attributes:
application (str):
Output only. The name of the Azure Active
Directory Application.
client_id (str):
Output only. The client id of the Azure
Active Directory Application.
object_id (str):
Output only. The object id of the Azure
Active Directory Application.
customer_tenant_id (str):
The id of customer's directory that host the
data.
redirect_uri (str):
The URL user will be redirected to after
granting consent during connection setup.
federated_application_client_id (str):
The client id of the user's Azure Active
Directory Application used for a federated
connection.
identity (str):
Output only. A unique Google-owned and
Google-generated identity for the Connection.
This identity will be used to access the user's
Azure Active Directory Application.
"""

application = proto.Field(
proto.STRING,
number=1,
)
client_id = proto.Field(
proto.STRING,
number=2,
)
object_id = proto.Field(
proto.STRING,
number=3,
)
customer_tenant_id = proto.Field(
proto.STRING,
number=4,
)
redirect_uri = proto.Field(
proto.STRING,
number=5,
)
federated_application_client_id = proto.Field(
proto.STRING,
number=6,
)
identity = proto.Field(
proto.STRING,
number=7,
)


class CloudResourceProperties(proto.Message):
r"""Container for connection properties for delegation of access
to GCP resources.
Expand Down

0 comments on commit 4ab9909

Please sign in to comment.