Skip to content

Commit

Permalink
feat: [google-cloud-securesourcemanager] Add branch rule APIs (#13189)
Browse files Browse the repository at this point in the history
- [ ] Regenerate this pull request now.

BEGIN_COMMIT_OVERRIDE
feat: Add branch rule APIs
feat: Add field `psc_allowed_projects` to message
`.google.cloud.securesourcemanager.v1.Instance`
docs: A comment for field `instance` in message
`.google.cloud.securesourcemanager.v1.Repository` is changed
END_COMMIT_OVERRIDE


PiperOrigin-RevId: 688170540

Source-Link:
googleapis/googleapis@b6a9d80

Source-Link:
googleapis/googleapis-gen@d9406c5
Copy-Tag:
eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXNlY3VyZXNvdXJjZW1hbmFnZXIvLk93bEJvdC55YW1sIiwiaCI6ImQ5NDA2YzVlODQwZDFlODI4OTIzMmNhMDg5ODI3YjcxYzc2MDFjMDAifQ==

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Oct 21, 2024
1 parent 70c2294 commit e6a764b
Show file tree
Hide file tree
Showing 26 changed files with 11,143 additions and 2,326 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,35 +25,49 @@
SecureSourceManagerClient,
)
from google.cloud.securesourcemanager_v1.types.secure_source_manager import (
BranchRule,
CreateBranchRuleRequest,
CreateInstanceRequest,
CreateRepositoryRequest,
DeleteBranchRuleRequest,
DeleteInstanceRequest,
DeleteRepositoryRequest,
GetBranchRuleRequest,
GetInstanceRequest,
GetRepositoryRequest,
Instance,
ListBranchRulesRequest,
ListBranchRulesResponse,
ListInstancesRequest,
ListInstancesResponse,
ListRepositoriesRequest,
ListRepositoriesResponse,
OperationMetadata,
Repository,
UpdateBranchRuleRequest,
)

__all__ = (
"SecureSourceManagerClient",
"SecureSourceManagerAsyncClient",
"BranchRule",
"CreateBranchRuleRequest",
"CreateInstanceRequest",
"CreateRepositoryRequest",
"DeleteBranchRuleRequest",
"DeleteInstanceRequest",
"DeleteRepositoryRequest",
"GetBranchRuleRequest",
"GetInstanceRequest",
"GetRepositoryRequest",
"Instance",
"ListBranchRulesRequest",
"ListBranchRulesResponse",
"ListInstancesRequest",
"ListInstancesResponse",
"ListRepositoriesRequest",
"ListRepositoriesResponse",
"OperationMetadata",
"Repository",
"UpdateBranchRuleRequest",
)
Original file line number Diff line number Diff line change
Expand Up @@ -23,35 +23,49 @@
SecureSourceManagerClient,
)
from .types.secure_source_manager import (
BranchRule,
CreateBranchRuleRequest,
CreateInstanceRequest,
CreateRepositoryRequest,
DeleteBranchRuleRequest,
DeleteInstanceRequest,
DeleteRepositoryRequest,
GetBranchRuleRequest,
GetInstanceRequest,
GetRepositoryRequest,
Instance,
ListBranchRulesRequest,
ListBranchRulesResponse,
ListInstancesRequest,
ListInstancesResponse,
ListRepositoriesRequest,
ListRepositoriesResponse,
OperationMetadata,
Repository,
UpdateBranchRuleRequest,
)

__all__ = (
"SecureSourceManagerAsyncClient",
"BranchRule",
"CreateBranchRuleRequest",
"CreateInstanceRequest",
"CreateRepositoryRequest",
"DeleteBranchRuleRequest",
"DeleteInstanceRequest",
"DeleteRepositoryRequest",
"GetBranchRuleRequest",
"GetInstanceRequest",
"GetRepositoryRequest",
"Instance",
"ListBranchRulesRequest",
"ListBranchRulesResponse",
"ListInstancesRequest",
"ListInstancesResponse",
"ListRepositoriesRequest",
"ListRepositoriesResponse",
"OperationMetadata",
"Repository",
"SecureSourceManagerClient",
"UpdateBranchRuleRequest",
)
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@
"grpc": {
"libraryClient": "SecureSourceManagerClient",
"rpcs": {
"CreateBranchRule": {
"methods": [
"create_branch_rule"
]
},
"CreateInstance": {
"methods": [
"create_instance"
Expand All @@ -20,6 +25,11 @@
"create_repository"
]
},
"DeleteBranchRule": {
"methods": [
"delete_branch_rule"
]
},
"DeleteInstance": {
"methods": [
"delete_instance"
Expand All @@ -30,6 +40,11 @@
"delete_repository"
]
},
"GetBranchRule": {
"methods": [
"get_branch_rule"
]
},
"GetIamPolicyRepo": {
"methods": [
"get_iam_policy_repo"
Expand All @@ -45,6 +60,11 @@
"get_repository"
]
},
"ListBranchRules": {
"methods": [
"list_branch_rules"
]
},
"ListInstances": {
"methods": [
"list_instances"
Expand All @@ -64,12 +84,22 @@
"methods": [
"test_iam_permissions_repo"
]
},
"UpdateBranchRule": {
"methods": [
"update_branch_rule"
]
}
}
},
"grpc-async": {
"libraryClient": "SecureSourceManagerAsyncClient",
"rpcs": {
"CreateBranchRule": {
"methods": [
"create_branch_rule"
]
},
"CreateInstance": {
"methods": [
"create_instance"
Expand All @@ -80,6 +110,11 @@
"create_repository"
]
},
"DeleteBranchRule": {
"methods": [
"delete_branch_rule"
]
},
"DeleteInstance": {
"methods": [
"delete_instance"
Expand All @@ -90,6 +125,11 @@
"delete_repository"
]
},
"GetBranchRule": {
"methods": [
"get_branch_rule"
]
},
"GetIamPolicyRepo": {
"methods": [
"get_iam_policy_repo"
Expand All @@ -105,6 +145,11 @@
"get_repository"
]
},
"ListBranchRules": {
"methods": [
"list_branch_rules"
]
},
"ListInstances": {
"methods": [
"list_instances"
Expand All @@ -124,12 +169,22 @@
"methods": [
"test_iam_permissions_repo"
]
},
"UpdateBranchRule": {
"methods": [
"update_branch_rule"
]
}
}
},
"rest": {
"libraryClient": "SecureSourceManagerClient",
"rpcs": {
"CreateBranchRule": {
"methods": [
"create_branch_rule"
]
},
"CreateInstance": {
"methods": [
"create_instance"
Expand All @@ -140,6 +195,11 @@
"create_repository"
]
},
"DeleteBranchRule": {
"methods": [
"delete_branch_rule"
]
},
"DeleteInstance": {
"methods": [
"delete_instance"
Expand All @@ -150,6 +210,11 @@
"delete_repository"
]
},
"GetBranchRule": {
"methods": [
"get_branch_rule"
]
},
"GetIamPolicyRepo": {
"methods": [
"get_iam_policy_repo"
Expand All @@ -165,6 +230,11 @@
"get_repository"
]
},
"ListBranchRules": {
"methods": [
"list_branch_rules"
]
},
"ListInstances": {
"methods": [
"list_instances"
Expand All @@ -184,6 +254,11 @@
"methods": [
"test_iam_permissions_repo"
]
},
"UpdateBranchRule": {
"methods": [
"update_branch_rule"
]
}
}
}
Expand Down
Loading

0 comments on commit e6a764b

Please sign in to comment.