-
Notifications
You must be signed in to change notification settings - Fork 668
Expand file tree
/
Copy pathsnippet_metadata_google.cloud.iap.v1beta1.json
More file actions
151 lines (151 loc) · 5.5 KB
/
snippet_metadata_google.cloud.iap.v1beta1.json
File metadata and controls
151 lines (151 loc) · 5.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
{
"clientLibrary": {
"name": "nodejs-iap",
"version": "4.4.0",
"language": "TYPESCRIPT",
"apis": [
{
"id": "google.cloud.iap.v1beta1",
"version": "v1beta1"
}
]
},
"snippets": [
{
"regionTag": "iap_v1beta1_generated_IdentityAwareProxyAdminV1Beta1_SetIamPolicy_async",
"title": "IdentityAwareProxyAdminV1Beta1 setIamPolicy Sample",
"origin": "API_DEFINITION",
"description": " Sets the access control policy for an Identity-Aware Proxy protected resource. Replaces any existing policy. More information about managing access via IAP can be found at: https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api",
"canonical": true,
"file": "identity_aware_proxy_admin_v1_beta1.set_iam_policy.js",
"language": "JAVASCRIPT",
"segments": [
{
"start": 25,
"end": 69,
"type": "FULL"
}
],
"clientMethod": {
"shortName": "SetIamPolicy",
"fullName": "google.cloud.iap.v1beta1.IdentityAwareProxyAdminV1Beta1.SetIamPolicy",
"async": true,
"parameters": [
{
"name": "resource",
"type": "TYPE_STRING"
},
{
"name": "policy",
"type": ".google.iam.v1.Policy"
},
{
"name": "update_mask",
"type": ".google.protobuf.FieldMask"
}
],
"resultType": ".google.iam.v1.Policy",
"client": {
"shortName": "IdentityAwareProxyAdminV1Beta1Client",
"fullName": "google.cloud.iap.v1beta1.IdentityAwareProxyAdminV1Beta1Client"
},
"method": {
"shortName": "SetIamPolicy",
"fullName": "google.cloud.iap.v1beta1.IdentityAwareProxyAdminV1Beta1.SetIamPolicy",
"service": {
"shortName": "IdentityAwareProxyAdminV1Beta1",
"fullName": "google.cloud.iap.v1beta1.IdentityAwareProxyAdminV1Beta1"
}
}
}
},
{
"regionTag": "iap_v1beta1_generated_IdentityAwareProxyAdminV1Beta1_GetIamPolicy_async",
"title": "IdentityAwareProxyAdminV1Beta1 getIamPolicy Sample",
"origin": "API_DEFINITION",
"description": " Gets the access control policy for an Identity-Aware Proxy protected resource. More information about managing access via IAP can be found at: https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api",
"canonical": true,
"file": "identity_aware_proxy_admin_v1_beta1.get_iam_policy.js",
"language": "JAVASCRIPT",
"segments": [
{
"start": 25,
"end": 59,
"type": "FULL"
}
],
"clientMethod": {
"shortName": "GetIamPolicy",
"fullName": "google.cloud.iap.v1beta1.IdentityAwareProxyAdminV1Beta1.GetIamPolicy",
"async": true,
"parameters": [
{
"name": "resource",
"type": "TYPE_STRING"
},
{
"name": "options",
"type": ".google.iam.v1.GetPolicyOptions"
}
],
"resultType": ".google.iam.v1.Policy",
"client": {
"shortName": "IdentityAwareProxyAdminV1Beta1Client",
"fullName": "google.cloud.iap.v1beta1.IdentityAwareProxyAdminV1Beta1Client"
},
"method": {
"shortName": "GetIamPolicy",
"fullName": "google.cloud.iap.v1beta1.IdentityAwareProxyAdminV1Beta1.GetIamPolicy",
"service": {
"shortName": "IdentityAwareProxyAdminV1Beta1",
"fullName": "google.cloud.iap.v1beta1.IdentityAwareProxyAdminV1Beta1"
}
}
}
},
{
"regionTag": "iap_v1beta1_generated_IdentityAwareProxyAdminV1Beta1_TestIamPermissions_async",
"title": "IdentityAwareProxyAdminV1Beta1 testIamPermissions Sample",
"origin": "API_DEFINITION",
"description": " Returns permissions that a caller has on the Identity-Aware Proxy protected resource. If the resource does not exist or the caller does not have Identity-Aware Proxy permissions a [google.rpc.Code.PERMISSION_DENIED] will be returned. More information about managing access via IAP can be found at: https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api",
"canonical": true,
"file": "identity_aware_proxy_admin_v1_beta1.test_iam_permissions.js",
"language": "JAVASCRIPT",
"segments": [
{
"start": 25,
"end": 62,
"type": "FULL"
}
],
"clientMethod": {
"shortName": "TestIamPermissions",
"fullName": "google.cloud.iap.v1beta1.IdentityAwareProxyAdminV1Beta1.TestIamPermissions",
"async": true,
"parameters": [
{
"name": "resource",
"type": "TYPE_STRING"
},
{
"name": "permissions",
"type": "TYPE_STRING[]"
}
],
"resultType": ".google.iam.v1.TestIamPermissionsResponse",
"client": {
"shortName": "IdentityAwareProxyAdminV1Beta1Client",
"fullName": "google.cloud.iap.v1beta1.IdentityAwareProxyAdminV1Beta1Client"
},
"method": {
"shortName": "TestIamPermissions",
"fullName": "google.cloud.iap.v1beta1.IdentityAwareProxyAdminV1Beta1.TestIamPermissions",
"service": {
"shortName": "IdentityAwareProxyAdminV1Beta1",
"fullName": "google.cloud.iap.v1beta1.IdentityAwareProxyAdminV1Beta1"
}
}
}
}
]
}