Skip to content

Commit 4aff726

Browse files
feat: [infra-manager] added support for service maintained provider (#6651)
* feat: added support for service maintained provider PiperOrigin-RevId: 802269281 Source-Link: googleapis/googleapis@65afc22 Source-Link: googleapis/googleapis-gen@f7c9511 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWNvbmZpZy8uT3dsQm90LnlhbWwiLCJoIjoiZjdjOTUxMWJlNWE4MmZjNmJlZDg1MzEwZjllN2VkMzkwZTU1ZWI0MSJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * Delete packages/google-cloud-config/LICENSE.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: sofisl <[email protected]>
1 parent d95f492 commit 4aff726

4 files changed

Lines changed: 533 additions & 0 deletions

File tree

packages/google-cloud-config/protos/google/cloud/config/v1/config.proto

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -551,6 +551,9 @@ message Deployment {
551551
// https://google.aip.dev/148#annotations for details on format and size
552552
// limitations.
553553
map<string, string> annotations = 24 [(google.api.field_behavior) = OPTIONAL];
554+
555+
// Optional. This field specifies the provider configurations.
556+
ProviderConfig provider_config = 25 [(google.api.field_behavior) = OPTIONAL];
554557
}
555558

556559
// TerraformBlueprint describes the source of a Terraform root module which
@@ -1068,6 +1071,10 @@ message Revision {
10681071
// applies.
10691072
QuotaValidation quota_validation = 20
10701073
[(google.api.field_behavior) = OPTIONAL];
1074+
1075+
// Output only. This field specifies the provider configurations.
1076+
ProviderConfig provider_config = 21
1077+
[(google.api.field_behavior) = OUTPUT_ONLY];
10711078
}
10721079

10731080
// Errors encountered during actuation using Terraform
@@ -1636,6 +1643,9 @@ message Preview {
16361643
// https://google.aip.dev/148#annotations for details on format and size
16371644
// limitations.
16381645
map<string, string> annotations = 20 [(google.api.field_behavior) = OPTIONAL];
1646+
1647+
// Optional. This field specifies the provider configurations.
1648+
ProviderConfig provider_config = 21 [(google.api.field_behavior) = OPTIONAL];
16391649
}
16401650

16411651
// Ephemeral metadata content describing the state of a preview operation.
@@ -2249,3 +2259,19 @@ message GetResourceDriftRequest {
22492259
}
22502260
];
22512261
}
2262+
2263+
// ProviderConfig contains the provider configurations.
2264+
message ProviderConfig {
2265+
// ProviderSource represents the source type of the provider.
2266+
enum ProviderSource {
2267+
// Unspecified source type, default to public sources.
2268+
PROVIDER_SOURCE_UNSPECIFIED = 0;
2269+
2270+
// Service maintained provider source type.
2271+
SERVICE_MAINTAINED = 1;
2272+
}
2273+
2274+
// Optional. ProviderSource specifies the source type of the provider.
2275+
optional ProviderSource source_type = 1
2276+
[(google.api.field_behavior) = OPTIONAL];
2277+
}

packages/google-cloud-config/protos/protos.d.ts

Lines changed: 124 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)