8000 feat: added support for service maintained provider · googleapis/googleapis@65afc22 · GitHub
[go: up one dir, main page]

Skip to content

Commit 65afc22

Browse files
Google APIscopybara-github
authored andcommitted
feat: added support for service maintained provider
PiperOrigin-RevId: 802269281
1 parent 4a2d23d commit 65afc22

File tree

2 files changed

+26
-31
lines changed

2 files changed

+26
-31
lines changed

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+
}

google/cloud/config/v1/config_v1.yaml

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -92,37 +92,6 @@ authentication:
9292
https://www.googleapis.com/auth/cloud-platform
9393
9494
publishing:
95-
method_settings:
96-
- selector: google.cloud.config.v1.Config.CreateDeployment
97-
long_running:
98-
initial_poll_delay: 300s
99-
poll_delay_multiplier: 1.25
100-
max_poll_delay: 3600s
101-
total_poll_timeout: 43200s
102-
- selector: google.cloud.config.v1.Config.UpdateDeployment
103-
long_running:
104-
initial_poll_delay: 300s
105-
poll_delay_multiplier: 1.25
106-
max_poll_delay: 3600s
107-
total_poll_timeout: 43200s
108-
- selector: google.cloud.config.v1.Config.DeleteDeployment
109-
long_running:
110-
initial_poll_delay: 300s
111-
poll_delay_multiplier: 1.25
112-
max_poll_delay: 3600s
113-
total_poll_timeout: 43200s
114-
- selector: google.cloud.config.v1.Config.CreatePreview
115-
long_running:
116-
initial_poll_delay: 300s
117-
poll_delay_multiplier: 1.25
118-
max_poll_delay: 3600s
119-
total_poll_timeout: 43200s
120-
- selector: google.cloud.config.v1.Config.DeletePreview
121-
long_running:
122-
initial_poll_delay: 300s
123-
poll_delay_multiplier: 1.25
124-
max_poll_delay: 3600s
125-
total_poll_timeout: 43200s
12695
new_issue_uri: https://issuetracker.google.com/issues/new?component=536700
12796
documentation_uri: https://cloud.google.com/infrastructure-manager/docs/overview
12897
api_short_name: infra-manager

0 commit comments

Comments
 (0)
0