-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- 72e3896a234eab603e817c03753b255814c6c4d6 Automatic import from cloud_mmv2_dcl_20220815_1531_RC00 by DCL Team <[email protected]> GitOrigin-RevId: 72e3896a234eab603e817c03753b255814c6c4d6
- Loading branch information
1 parent
c56a8cf
commit d8fc3a8
Showing
40 changed files
with
8,496 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Copyright 2022 Google LLC. All Rights Reserved. | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# 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. | ||
|
||
load("//:connector_rules.bzl", "proto_package") | ||
proto_package(name="cloudbuildv2/alpha", resources=["connection","repository"]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,112 @@ | ||
// Copyright 2022 Google LLC. All Rights Reserved. | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// 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"; | ||
// All generated protos should be opaque, with "xxx_hidden_" prepended to their field names. | ||
|
||
|
||
package dcl; | ||
|
||
import "proto/connector/sdk.proto"; | ||
import "proto/empty.proto"; | ||
|
||
|
||
enum Cloudbuildv2AlphaConnectionInstallationStateStageEnum { | ||
Cloudbuildv2AlphaConnectionInstallationStateStageEnumNO_VALUE_DO_NOT_USE = 0; | ||
Cloudbuildv2AlphaConnectionInstallationStateStageEnumSTAGE_UNSPECIFIED = 1; | ||
Cloudbuildv2AlphaConnectionInstallationStateStageEnumPENDING_CREATE_APP = 2; | ||
Cloudbuildv2AlphaConnectionInstallationStateStageEnumPENDING_USER_OAUTH = 3; | ||
Cloudbuildv2AlphaConnectionInstallationStateStageEnumPENDING_INSTALL_APP = 4; | ||
Cloudbuildv2AlphaConnectionInstallationStateStageEnumCOMPLETE = 5; | ||
} | ||
|
||
message Cloudbuildv2AlphaConnection { | ||
string name = 1; | ||
string create_time = 2; | ||
string update_time = 3; | ||
Cloudbuildv2AlphaConnectionGithubConfig github_config = 4; | ||
Cloudbuildv2AlphaConnectionGithubEnterpriseConfig github_enterprise_config = 5; | ||
Cloudbuildv2AlphaConnectionInstallationState installation_state = 6; | ||
bool disabled = 7; | ||
bool reconciling = 8; | ||
map<string, string> annotations = 9; | ||
string etag = 10; | ||
string project = 11; | ||
string location = 12; | ||
} | ||
|
||
message Cloudbuildv2AlphaConnectionGithubConfig { | ||
Cloudbuildv2AlphaConnectionGithubConfigAuthorizerCredential authorizer_credential = 1; | ||
int64 app_installation_id = 2; | ||
} | ||
|
||
message Cloudbuildv2AlphaConnectionGithubConfigAuthorizerCredential { | ||
string oauth_token_secret_version = 1; | ||
string username = 2; | ||
} | ||
|
||
message Cloudbuildv2AlphaConnectionGithubEnterpriseConfig { | ||
string host_uri = 1; | ||
int64 app_id = 2; | ||
string app_slug = 3; | ||
string private_key_secret_version = 4; | ||
string webhook_secret_secret_version = 5; | ||
string oauth_secret_secret_version = 6; | ||
string oauth_client_id_secret_version = 7; | ||
Cloudbuildv2AlphaConnectionGithubEnterpriseConfigAuthorizerCredential authorizer_credential = 8; | ||
int64 app_installation_id = 9; | ||
Cloudbuildv2AlphaConnectionGithubEnterpriseConfigServiceDirectoryConfig service_directory_config = 10; | ||
string ssl_ca = 11; | ||
} | ||
|
||
message Cloudbuildv2AlphaConnectionGithubEnterpriseConfigAuthorizerCredential { | ||
string oauth_token_secret_version = 1; | ||
string username = 2; | ||
} | ||
|
||
message Cloudbuildv2AlphaConnectionGithubEnterpriseConfigServiceDirectoryConfig { | ||
string service = 1; | ||
} | ||
|
||
message Cloudbuildv2AlphaConnectionInstallationState { | ||
Cloudbuildv2AlphaConnectionInstallationStateStageEnum stage = 1; | ||
string message = 2; | ||
string action_uri = 3; | ||
} | ||
|
||
message ApplyCloudbuildv2AlphaConnectionRequest { | ||
Cloudbuildv2AlphaConnection resource = 1; | ||
repeated LifecycleDirective lifecycle_directives = 2; | ||
string service_account_file = 3; | ||
} | ||
|
||
message DeleteCloudbuildv2AlphaConnectionRequest { | ||
string service_account_file = 1; | ||
Cloudbuildv2AlphaConnection resource = 2; | ||
} | ||
|
||
message ListCloudbuildv2AlphaConnectionRequest { | ||
string service_account_file = 1; | ||
string Project = 2; | ||
string Location = 3; | ||
} | ||
|
||
message ListCloudbuildv2AlphaConnectionResponse { | ||
repeated Cloudbuildv2AlphaConnection items = 1; | ||
} | ||
|
||
service Cloudbuildv2AlphaConnectionService { | ||
rpc ApplyCloudbuildv2AlphaConnection(ApplyCloudbuildv2AlphaConnectionRequest) returns (Cloudbuildv2AlphaConnection); | ||
rpc DeleteCloudbuildv2AlphaConnection(DeleteCloudbuildv2AlphaConnectionRequest) returns (google.protobuf.Empty); | ||
rpc ListCloudbuildv2AlphaConnection(ListCloudbuildv2AlphaConnectionRequest) returns (ListCloudbuildv2AlphaConnectionResponse); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
// Copyright 2022 Google LLC. All Rights Reserved. | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// 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"; | ||
// All generated protos should be opaque, with "xxx_hidden_" prepended to their field names. | ||
|
||
|
||
package dcl; | ||
|
||
import "proto/connector/sdk.proto"; | ||
import "proto/empty.proto"; | ||
|
||
|
||
message Cloudbuildv2AlphaRepository { | ||
string name = 1; | ||
string remote_uri = 2; | ||
string create_time = 3; | ||
string update_time = 4; | ||
map<string, string> annotations = 5; | ||
string etag = 6; | ||
string project = 7; | ||
string location = 8; | ||
string connection = 9; | ||
} | ||
|
||
message ApplyCloudbuildv2AlphaRepositoryRequest { | ||
Cloudbuildv2AlphaRepository resource = 1; | ||
repeated LifecycleDirective lifecycle_directives = 2; | ||
string service_account_file = 3; | ||
} | ||
|
||
message DeleteCloudbuildv2AlphaRepositoryRequest { | ||
string service_account_file = 1; | ||
Cloudbuildv2AlphaRepository resource = 2; | ||
} | ||
|
||
message ListCloudbuildv2AlphaRepositoryRequest { | ||
string service_account_file = 1; | ||
string Project = 2; | ||
string Location = 3; | ||
string Connection = 4; | ||
} | ||
|
||
message ListCloudbuildv2AlphaRepositoryResponse { | ||
repeated Cloudbuildv2AlphaRepository items = 1; | ||
} | ||
|
||
service Cloudbuildv2AlphaRepositoryService { | ||
rpc ApplyCloudbuildv2AlphaRepository(ApplyCloudbuildv2AlphaRepositoryRequest) returns (Cloudbuildv2AlphaRepository); | ||
rpc DeleteCloudbuildv2AlphaRepository(DeleteCloudbuildv2AlphaRepositoryRequest) returns (google.protobuf.Empty); | ||
rpc ListCloudbuildv2AlphaRepository(ListCloudbuildv2AlphaRepositoryRequest) returns (ListCloudbuildv2AlphaRepositoryResponse); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Copyright 2022 Google LLC. All Rights Reserved. | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# 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. | ||
|
||
load("//:connector_rules.bzl", "connector") | ||
connector(name="cloudbuildv2/alpha", resources=["connection","repository"]) |
Oops, something went wrong.