@itentialopensource/adapter-gcp_compute 0.2.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +32 -1
- package/README.md +85 -12
- package/adapter.js +11822 -9796
- package/adapterBase.js +40 -3
- package/entities/.generic/action.json +5 -5
- package/entities/.system/action.json +1 -1
- package/entities/AcceleratorTypes/action.json +3 -3
- package/entities/Addresses/action.json +5 -5
- package/entities/Autoscalers/action.json +7 -7
- package/entities/BackendBuckets/action.json +8 -8
- package/entities/BackendServices/action.json +11 -11
- package/entities/DiskTypes/action.json +3 -3
- package/entities/Disks/action.json +13 -13
- package/entities/ExternalVpnGateways/action.json +6 -6
- package/entities/FirewallPolicies/action.json +382 -0
- package/entities/FirewallPolicies/mockdatafiles/addFirewallPolicyAssociation-default.json +45 -0
- package/entities/FirewallPolicies/mockdatafiles/addFirewallPolicyRule-default.json +45 -0
- package/entities/FirewallPolicies/mockdatafiles/cloneFirewallPolicyRule-default.json +45 -0
- package/entities/FirewallPolicies/mockdatafiles/deleteFirewallPolicy-default.json +45 -0
- package/entities/FirewallPolicies/mockdatafiles/getFirewallPolicy-default.json +45 -0
- package/entities/FirewallPolicies/mockdatafiles/getFirewallPolicyAssociation-default.json +7 -0
- package/entities/FirewallPolicies/mockdatafiles/getFirewallPolicyIamPolicy-default.json +26 -0
- package/entities/FirewallPolicies/mockdatafiles/getFirewallPolicyRule-default.json +32 -0
- package/entities/FirewallPolicies/mockdatafiles/insertFirewallPolicy-default.json +45 -0
- package/entities/FirewallPolicies/mockdatafiles/listFirewallPolicy-default.json +75 -0
- package/entities/FirewallPolicies/mockdatafiles/listFirewallPolicyAssociations-default.json +12 -0
- package/entities/FirewallPolicies/mockdatafiles/moveFirewallPolicy-default.json +45 -0
- package/entities/FirewallPolicies/mockdatafiles/patchFirewallPolicy-default.json +57 -0
- package/entities/FirewallPolicies/mockdatafiles/patchFirewallPolicyRule-default.json +45 -0
- package/entities/FirewallPolicies/mockdatafiles/removeFirewallPolicyAssociation-default.json +45 -0
- package/entities/FirewallPolicies/mockdatafiles/removeFirewallPolicyRule-default.json +45 -0
- package/entities/FirewallPolicies/mockdatafiles/setFirewallPolicyIamPolicy-default.json +26 -0
- package/entities/FirewallPolicies/mockdatafiles/testFirewallPolicyIamPermissions-default.json +6 -0
- package/entities/FirewallPolicies/schema.json +47 -0
- package/entities/Firewalls/action.json +6 -6
- package/entities/ForwardingRules/action.json +7 -7
- package/entities/GlobalAddresses/action.json +4 -4
- package/entities/GlobalForwardingRules/action.json +6 -6
- package/entities/GlobalNetworkEndpointGroups/action.json +7 -7
- package/entities/GlobalOperations/action.json +5 -5
- package/entities/HealthChecks/action.json +7 -7
- package/entities/HttpHealthChecks/action.json +6 -6
- package/entities/HttpsHealthChecks/action.json +6 -6
- package/entities/Images/action.json +10 -10
- package/entities/InstanceGroupManagers/action.json +20 -20
- package/entities/InstanceGroups/action.json +9 -9
- package/entities/InstanceTemplates/action.json +7 -7
- package/entities/Instances/action.json +40 -40
- package/entities/InterconnectAttachments/action.json +6 -6
- package/entities/InterconnectLocations/action.json +2 -2
- package/entities/Interconnects/action.json +6 -6
- package/entities/LicenseCodes/action.json +2 -2
- package/entities/Licenses/action.json +7 -7
- package/entities/MachineTypes/action.json +3 -3
- package/entities/NetworkEndpointGroups/action.json +9 -9
- package/entities/Networks/action.json +10 -10
- package/entities/NodeGroups/action.json +13 -13
- package/entities/NodeTemplates/action.json +8 -8
- package/entities/NodeTypes/action.json +3 -3
- package/entities/PacketMirrorings/action.json +7 -7
- package/entities/Projects/action.json +13 -13
- package/entities/RegionAutoscalers/action.json +6 -6
- package/entities/RegionBackendServices/action.json +7 -7
- package/entities/RegionCommitments/action.json +4 -4
- package/entities/RegionDiskTypes/action.json +2 -2
- package/entities/RegionDisks/action.json +12 -12
- package/entities/RegionHealthCheckServices/action.json +5 -5
- package/entities/RegionHealthChecks/action.json +6 -6
- package/entities/RegionInstanceGroupManagers/action.json +19 -19
- package/entities/RegionInstanceGroups/action.json +4 -4
- package/entities/RegionNetworkEndpointGroups/action.json +4 -4
- package/entities/RegionNotificationEndpoints/action.json +4 -4
- package/entities/RegionOperations/action.json +4 -4
- package/entities/RegionSslCertificates/action.json +4 -4
- package/entities/RegionTargetHttpProxies/action.json +5 -5
- package/entities/RegionTargetHttpsProxies/action.json +6 -6
- package/entities/RegionUrlMaps/action.json +7 -7
- package/entities/Regions/action.json +2 -2
- package/entities/Reservations/action.json +9 -9
- package/entities/ResourcePolicies/action.json +8 -8
- package/entities/Routers/action.json +10 -10
- package/entities/Routes/action.json +4 -4
- package/entities/SecurityPolicies/action.json +10 -10
- package/entities/Snapshots/action.json +7 -7
- package/entities/SslCertificates/action.json +5 -5
- package/entities/SslPolicies/action.json +6 -6
- package/entities/Subnetworks/action.json +12 -12
- package/entities/TargetGrpcProxies/action.json +5 -5
- package/entities/TargetHttpProxies/action.json +6 -6
- package/entities/TargetHttpsProxies/action.json +9 -9
- package/entities/TargetInstances/action.json +5 -5
- package/entities/TargetPools/action.json +11 -11
- package/entities/TargetSslProxies/action.json +8 -8
- package/entities/TargetTcpProxies/action.json +6 -6
- package/entities/TargetVpnGateways/action.json +5 -5
- package/entities/UrlMaps/action.json +9 -9
- package/entities/VpnGateways/action.json +8 -8
- package/entities/VpnTunnels/action.json +5 -5
- package/entities/ZoneOperations/action.json +4 -4
- package/entities/Zones/action.json +2 -2
- package/error.json +6 -0
- package/package.json +19 -18
- package/pronghorn.json +11625 -10511
- package/propertiesSchema.json +65 -0
- package/refs?service=git-upload-pack +0 -0
- package/report/updateReport1615068706854.json +95 -0
- package/report/updateReport1642776932883.json +95 -0
- package/sampleProperties.json +7 -3
- package/test/integration/adapterTestBasicGet.js +1 -1
- package/test/integration/adapterTestIntegration.js +463 -4
- package/test/unit/adapterBaseTestUnit.js +14 -6
- package/test/unit/adapterTestUnit.js +1122 -6
- package/utils/addAuth.js +94 -0
- package/utils/basicGet.js +1 -14
- package/utils/entitiesToDB.js +224 -0
- package/utils/modify.js +4 -4
- package/utils/packModificationScript.js +1 -1
- package/utils/patches2bundledDeps.js +90 -0
- package/utils/removeHooks.js +20 -0
- package/utils/tbScript.js +14 -8
- package/utils/tbUtils.js +98 -19
- package/utils/troubleshootingAdapter.js +2 -26
- package/test/integration/adapterTestIntegration_me.js +0 -464
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "string",
|
|
3
|
+
"creationTimestamp": "string",
|
|
4
|
+
"name": "string",
|
|
5
|
+
"zone": "string",
|
|
6
|
+
"clientOperationId": "string",
|
|
7
|
+
"operationType": "string",
|
|
8
|
+
"targetLink": "string",
|
|
9
|
+
"targetId": "string",
|
|
10
|
+
"status": "string",
|
|
11
|
+
"statusMessage": "string",
|
|
12
|
+
"user": "string",
|
|
13
|
+
"progress": 1,
|
|
14
|
+
"insertTime": "string",
|
|
15
|
+
"startTime": "string",
|
|
16
|
+
"endTime": "string",
|
|
17
|
+
"error": {
|
|
18
|
+
"errors": [
|
|
19
|
+
{
|
|
20
|
+
"code": "string",
|
|
21
|
+
"location": "string",
|
|
22
|
+
"message": "string"
|
|
23
|
+
}
|
|
24
|
+
]
|
|
25
|
+
},
|
|
26
|
+
"warnings": [
|
|
27
|
+
{
|
|
28
|
+
"code": "string",
|
|
29
|
+
"message": "string",
|
|
30
|
+
"data": [
|
|
31
|
+
{
|
|
32
|
+
"key": "string",
|
|
33
|
+
"value": "string"
|
|
34
|
+
}
|
|
35
|
+
]
|
|
36
|
+
}
|
|
37
|
+
],
|
|
38
|
+
"httpErrorStatusCode": 1,
|
|
39
|
+
"httpErrorMessage": "string",
|
|
40
|
+
"selfLink": "string",
|
|
41
|
+
"region": "string",
|
|
42
|
+
"description": "string",
|
|
43
|
+
"operationGroupId": "string",
|
|
44
|
+
"kind": "string"
|
|
45
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "string",
|
|
3
|
+
"items": [
|
|
4
|
+
{
|
|
5
|
+
"id": "string",
|
|
6
|
+
"creationTimestamp": "string",
|
|
7
|
+
"name": "string",
|
|
8
|
+
"description": "string",
|
|
9
|
+
"rules": [
|
|
10
|
+
{
|
|
11
|
+
"description": "string",
|
|
12
|
+
"priority": 1,
|
|
13
|
+
"match": {
|
|
14
|
+
"srcIpRanges": [
|
|
15
|
+
"string"
|
|
16
|
+
],
|
|
17
|
+
"destIpRanges": [
|
|
18
|
+
"string"
|
|
19
|
+
],
|
|
20
|
+
"layer4Configs": [
|
|
21
|
+
{
|
|
22
|
+
"ipProtocol": "string",
|
|
23
|
+
"ports": [
|
|
24
|
+
"string"
|
|
25
|
+
]
|
|
26
|
+
}
|
|
27
|
+
]
|
|
28
|
+
},
|
|
29
|
+
"action": "string",
|
|
30
|
+
"direction": "string",
|
|
31
|
+
"targetResources": [
|
|
32
|
+
"string"
|
|
33
|
+
],
|
|
34
|
+
"enableLogging": true,
|
|
35
|
+
"ruleTupleCount": 1,
|
|
36
|
+
"targetServiceAccounts": [
|
|
37
|
+
"string"
|
|
38
|
+
],
|
|
39
|
+
"disabled": true,
|
|
40
|
+
"kind": "string"
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
"fingerprint": "string",
|
|
44
|
+
"selfLink": "string",
|
|
45
|
+
"selfLinkWithId": "string",
|
|
46
|
+
"associations": [
|
|
47
|
+
{
|
|
48
|
+
"name": "string",
|
|
49
|
+
"attachmentTarget": "string",
|
|
50
|
+
"firewallPolicyId": "string",
|
|
51
|
+
"shortName": "string",
|
|
52
|
+
"displayName": "string"
|
|
53
|
+
}
|
|
54
|
+
],
|
|
55
|
+
"ruleTupleCount": 1,
|
|
56
|
+
"shortName": "string",
|
|
57
|
+
"displayName": "string",
|
|
58
|
+
"parent": "string",
|
|
59
|
+
"kind": "string"
|
|
60
|
+
}
|
|
61
|
+
],
|
|
62
|
+
"nextPageToken": "string",
|
|
63
|
+
"warning": {
|
|
64
|
+
"code": "string",
|
|
65
|
+
"message": "string",
|
|
66
|
+
"data": [
|
|
67
|
+
{
|
|
68
|
+
"key": "string",
|
|
69
|
+
"value": "string"
|
|
70
|
+
}
|
|
71
|
+
]
|
|
72
|
+
},
|
|
73
|
+
"kind": "string"
|
|
74
|
+
}
|
|
75
|
+
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "string",
|
|
3
|
+
"creationTimestamp": "string",
|
|
4
|
+
"name": "string",
|
|
5
|
+
"zone": "string",
|
|
6
|
+
"clientOperationId": "string",
|
|
7
|
+
"operationType": "string",
|
|
8
|
+
"targetLink": "string",
|
|
9
|
+
"targetId": "string",
|
|
10
|
+
"status": "string",
|
|
11
|
+
"statusMessage": "string",
|
|
12
|
+
"user": "string",
|
|
13
|
+
"progress": 1,
|
|
14
|
+
"insertTime": "string",
|
|
15
|
+
"startTime": "string",
|
|
16
|
+
"endTime": "string",
|
|
17
|
+
"error": {
|
|
18
|
+
"errors": [
|
|
19
|
+
{
|
|
20
|
+
"code": "string",
|
|
21
|
+
"location": "string",
|
|
22
|
+
"message": "string"
|
|
23
|
+
}
|
|
24
|
+
]
|
|
25
|
+
},
|
|
26
|
+
"warnings": [
|
|
27
|
+
{
|
|
28
|
+
"code": "string",
|
|
29
|
+
"message": "string",
|
|
30
|
+
"data": [
|
|
31
|
+
{
|
|
32
|
+
"key": "string",
|
|
33
|
+
"value": "string"
|
|
34
|
+
}
|
|
35
|
+
]
|
|
36
|
+
}
|
|
37
|
+
],
|
|
38
|
+
"httpErrorStatusCode": 1,
|
|
39
|
+
"httpErrorMessage": "string",
|
|
40
|
+
"selfLink": "string",
|
|
41
|
+
"region": "string",
|
|
42
|
+
"description": "string",
|
|
43
|
+
"operationGroupId": "string",
|
|
44
|
+
"kind": "string"
|
|
45
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "string",
|
|
3
|
+
"creationTimestamp": "string",
|
|
4
|
+
"name": "string",
|
|
5
|
+
"description": "string",
|
|
6
|
+
"rules": [
|
|
7
|
+
{
|
|
8
|
+
"description": "string",
|
|
9
|
+
"priority": 1,
|
|
10
|
+
"match": {
|
|
11
|
+
"srcIpRanges": [
|
|
12
|
+
"string"
|
|
13
|
+
],
|
|
14
|
+
"destIpRanges": [
|
|
15
|
+
"string"
|
|
16
|
+
],
|
|
17
|
+
"layer4Configs": [
|
|
18
|
+
{
|
|
19
|
+
"ipProtocol": "string",
|
|
20
|
+
"ports": [
|
|
21
|
+
"string"
|
|
22
|
+
]
|
|
23
|
+
}
|
|
24
|
+
]
|
|
25
|
+
},
|
|
26
|
+
"action": "string",
|
|
27
|
+
"direction": "string",
|
|
28
|
+
"targetResources": [
|
|
29
|
+
"string"
|
|
30
|
+
],
|
|
31
|
+
"enableLogging": true,
|
|
32
|
+
"ruleTupleCount": 1,
|
|
33
|
+
"targetServiceAccounts": [
|
|
34
|
+
"string"
|
|
35
|
+
],
|
|
36
|
+
"disabled": true,
|
|
37
|
+
"kind": "string"
|
|
38
|
+
}
|
|
39
|
+
],
|
|
40
|
+
"fingerprint": "string",
|
|
41
|
+
"selfLink": "string",
|
|
42
|
+
"selfLinkWithId": "string",
|
|
43
|
+
"associations": [
|
|
44
|
+
{
|
|
45
|
+
"name": "string",
|
|
46
|
+
"attachmentTarget": "string",
|
|
47
|
+
"firewallPolicyId": "string",
|
|
48
|
+
"shortName": "string",
|
|
49
|
+
"displayName": "string"
|
|
50
|
+
}
|
|
51
|
+
],
|
|
52
|
+
"ruleTupleCount": 1,
|
|
53
|
+
"shortName": "string",
|
|
54
|
+
"displayName": "string",
|
|
55
|
+
"parent": "string",
|
|
56
|
+
"kind": "string"
|
|
57
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "string",
|
|
3
|
+
"creationTimestamp": "string",
|
|
4
|
+
"name": "string",
|
|
5
|
+
"zone": "string",
|
|
6
|
+
"clientOperationId": "string",
|
|
7
|
+
"operationType": "string",
|
|
8
|
+
"targetLink": "string",
|
|
9
|
+
"targetId": "string",
|
|
10
|
+
"status": "string",
|
|
11
|
+
"statusMessage": "string",
|
|
12
|
+
"user": "string",
|
|
13
|
+
"progress": 1,
|
|
14
|
+
"insertTime": "string",
|
|
15
|
+
"startTime": "string",
|
|
16
|
+
"endTime": "string",
|
|
17
|
+
"error": {
|
|
18
|
+
"errors": [
|
|
19
|
+
{
|
|
20
|
+
"code": "string",
|
|
21
|
+
"location": "string",
|
|
22
|
+
"message": "string"
|
|
23
|
+
}
|
|
24
|
+
]
|
|
25
|
+
},
|
|
26
|
+
"warnings": [
|
|
27
|
+
{
|
|
28
|
+
"code": "string",
|
|
29
|
+
"message": "string",
|
|
30
|
+
"data": [
|
|
31
|
+
{
|
|
32
|
+
"key": "string",
|
|
33
|
+
"value": "string"
|
|
34
|
+
}
|
|
35
|
+
]
|
|
36
|
+
}
|
|
37
|
+
],
|
|
38
|
+
"httpErrorStatusCode": 1,
|
|
39
|
+
"httpErrorMessage": "string",
|
|
40
|
+
"selfLink": "string",
|
|
41
|
+
"region": "string",
|
|
42
|
+
"description": "string",
|
|
43
|
+
"operationGroupId": "string",
|
|
44
|
+
"kind": "string"
|
|
45
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "string",
|
|
3
|
+
"creationTimestamp": "string",
|
|
4
|
+
"name": "string",
|
|
5
|
+
"zone": "string",
|
|
6
|
+
"clientOperationId": "string",
|
|
7
|
+
"operationType": "string",
|
|
8
|
+
"targetLink": "string",
|
|
9
|
+
"targetId": "string",
|
|
10
|
+
"status": "string",
|
|
11
|
+
"statusMessage": "string",
|
|
12
|
+
"user": "string",
|
|
13
|
+
"progress": 1,
|
|
14
|
+
"insertTime": "string",
|
|
15
|
+
"startTime": "string",
|
|
16
|
+
"endTime": "string",
|
|
17
|
+
"error": {
|
|
18
|
+
"errors": [
|
|
19
|
+
{
|
|
20
|
+
"code": "string",
|
|
21
|
+
"location": "string",
|
|
22
|
+
"message": "string"
|
|
23
|
+
}
|
|
24
|
+
]
|
|
25
|
+
},
|
|
26
|
+
"warnings": [
|
|
27
|
+
{
|
|
28
|
+
"code": "string",
|
|
29
|
+
"message": "string",
|
|
30
|
+
"data": [
|
|
31
|
+
{
|
|
32
|
+
"key": "string",
|
|
33
|
+
"value": "string"
|
|
34
|
+
}
|
|
35
|
+
]
|
|
36
|
+
}
|
|
37
|
+
],
|
|
38
|
+
"httpErrorStatusCode": 1,
|
|
39
|
+
"httpErrorMessage": "string",
|
|
40
|
+
"selfLink": "string",
|
|
41
|
+
"region": "string",
|
|
42
|
+
"description": "string",
|
|
43
|
+
"operationGroupId": "string",
|
|
44
|
+
"kind": "string"
|
|
45
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "string",
|
|
3
|
+
"creationTimestamp": "string",
|
|
4
|
+
"name": "string",
|
|
5
|
+
"zone": "string",
|
|
6
|
+
"clientOperationId": "string",
|
|
7
|
+
"operationType": "string",
|
|
8
|
+
"targetLink": "string",
|
|
9
|
+
"targetId": "string",
|
|
10
|
+
"status": "string",
|
|
11
|
+
"statusMessage": "string",
|
|
12
|
+
"user": "string",
|
|
13
|
+
"progress": 1,
|
|
14
|
+
"insertTime": "string",
|
|
15
|
+
"startTime": "string",
|
|
16
|
+
"endTime": "string",
|
|
17
|
+
"error": {
|
|
18
|
+
"errors": [
|
|
19
|
+
{
|
|
20
|
+
"code": "string",
|
|
21
|
+
"location": "string",
|
|
22
|
+
"message": "string"
|
|
23
|
+
}
|
|
24
|
+
]
|
|
25
|
+
},
|
|
26
|
+
"warnings": [
|
|
27
|
+
{
|
|
28
|
+
"code": "string",
|
|
29
|
+
"message": "string",
|
|
30
|
+
"data": [
|
|
31
|
+
{
|
|
32
|
+
"key": "string",
|
|
33
|
+
"value": "string"
|
|
34
|
+
}
|
|
35
|
+
]
|
|
36
|
+
}
|
|
37
|
+
],
|
|
38
|
+
"httpErrorStatusCode": 1,
|
|
39
|
+
"httpErrorMessage": "string",
|
|
40
|
+
"selfLink": "string",
|
|
41
|
+
"region": "string",
|
|
42
|
+
"description": "string",
|
|
43
|
+
"operationGroupId": "string",
|
|
44
|
+
"kind": "string"
|
|
45
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"bindings": [
|
|
3
|
+
{
|
|
4
|
+
"role": "roles/resourcemanager.organizationAdmin",
|
|
5
|
+
"members": [
|
|
6
|
+
"user:mike@example.com",
|
|
7
|
+
"group:admins@example.com",
|
|
8
|
+
"domain:google.com",
|
|
9
|
+
"serviceAccount:my-project-id@appspot.gserviceaccount.com"
|
|
10
|
+
]
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"role": "roles/resourcemanager.organizationViewer",
|
|
14
|
+
"members": [
|
|
15
|
+
"user:eve@example.com"
|
|
16
|
+
],
|
|
17
|
+
"condition": {
|
|
18
|
+
"title": "expirable access",
|
|
19
|
+
"description": "Does not grant access after Sep 2020",
|
|
20
|
+
"expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')"
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"etag": "BwWWja0YfJA=",
|
|
25
|
+
"version": 3
|
|
26
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "schema.json",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"schema": "http://json-schema.org/draft-07/schema#",
|
|
5
|
+
"translate": true,
|
|
6
|
+
"dynamicfields": true,
|
|
7
|
+
"properties": {
|
|
8
|
+
"ph_request_type": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"description": "type of request (internal to adapter)",
|
|
11
|
+
"default": "addFirewallPolicyAssociation",
|
|
12
|
+
"enum": [
|
|
13
|
+
"addFirewallPolicyAssociation",
|
|
14
|
+
"addFirewallPolicyRule",
|
|
15
|
+
"cloneFirewallPolicyRule",
|
|
16
|
+
"deleteFirewallPolicy",
|
|
17
|
+
"getFirewallPolicy",
|
|
18
|
+
"getFirewallPolicyAssociation",
|
|
19
|
+
"getFirewallPolicyIamPolicy",
|
|
20
|
+
"getFirewallPolicyRule",
|
|
21
|
+
"insertFirewallPolicy",
|
|
22
|
+
"listFirewallPolicy",
|
|
23
|
+
"listFirewallPolicyAssociations",
|
|
24
|
+
"moveFirewallPolicy",
|
|
25
|
+
"patchFirewallPolicy",
|
|
26
|
+
"patchFirewallPolicyRule",
|
|
27
|
+
"removeFirewallPolicyAssociation",
|
|
28
|
+
"removeFirewallPolicyRule",
|
|
29
|
+
"setFirewallPolicyIamPolicy",
|
|
30
|
+
"testFirewallPolicyIamPermissions"
|
|
31
|
+
],
|
|
32
|
+
"external_name": "ph_request_type"
|
|
33
|
+
},
|
|
34
|
+
"oauthToken": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"description": "OAuth 2.0 token for the current user.",
|
|
37
|
+
"parse": false,
|
|
38
|
+
"encode": false,
|
|
39
|
+
"encrypt": {
|
|
40
|
+
"type": "AES",
|
|
41
|
+
"key": ""
|
|
42
|
+
},
|
|
43
|
+
"external_name": "oauth_token"
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"definitions": {}
|
|
47
|
+
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"name": "getProjectGlobalFirewalls",
|
|
5
5
|
"protocol": "REST",
|
|
6
6
|
"method": "GET",
|
|
7
|
-
"entitypath": "{base_path}/{version}/{pathv1}/global/firewalls?{query}",
|
|
7
|
+
"entitypath": "{base_path}/{version}/projects/{pathv1}/global/firewalls?{query}",
|
|
8
8
|
"requestSchema": "schema.json",
|
|
9
9
|
"responseSchema": "schema.json",
|
|
10
10
|
"timeout": 0,
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"name": "postProjectGlobalFirewalls",
|
|
26
26
|
"protocol": "REST",
|
|
27
27
|
"method": "POST",
|
|
28
|
-
"entitypath": "{base_path}/{version}/{pathv1}/global/firewalls?{query}",
|
|
28
|
+
"entitypath": "{base_path}/{version}/projects/{pathv1}/global/firewalls?{query}",
|
|
29
29
|
"requestSchema": "schema.json",
|
|
30
30
|
"responseSchema": "schema.json",
|
|
31
31
|
"timeout": 0,
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"name": "deleteProjectGlobalFirewallsFirewall",
|
|
46
46
|
"protocol": "REST",
|
|
47
47
|
"method": "DELETE",
|
|
48
|
-
"entitypath": "{base_path}/{version}/{pathv1}/global/firewalls/{pathv2}?{query}",
|
|
48
|
+
"entitypath": "{base_path}/{version}/projects/{pathv1}/global/firewalls/{pathv2}?{query}",
|
|
49
49
|
"requestSchema": "schema.json",
|
|
50
50
|
"responseSchema": "schema.json",
|
|
51
51
|
"timeout": 0,
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"name": "getProjectGlobalFirewallsFirewall",
|
|
66
66
|
"protocol": "REST",
|
|
67
67
|
"method": "GET",
|
|
68
|
-
"entitypath": "{base_path}/{version}/{pathv1}/global/firewalls/{pathv2}?{query}",
|
|
68
|
+
"entitypath": "{base_path}/{version}/projects/{pathv1}/global/firewalls/{pathv2}?{query}",
|
|
69
69
|
"requestSchema": "schema.json",
|
|
70
70
|
"responseSchema": "schema.json",
|
|
71
71
|
"timeout": 0,
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
"name": "patchProjectGlobalFirewallsFirewall",
|
|
87
87
|
"protocol": "REST",
|
|
88
88
|
"method": "PATCH",
|
|
89
|
-
"entitypath": "{base_path}/{version}/{pathv1}/global/firewalls/{pathv2}?{query}",
|
|
89
|
+
"entitypath": "{base_path}/{version}/projects/{pathv1}/global/firewalls/{pathv2}?{query}",
|
|
90
90
|
"requestSchema": "schema.json",
|
|
91
91
|
"responseSchema": "schema.json",
|
|
92
92
|
"timeout": 0,
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
"name": "putProjectGlobalFirewallsFirewall",
|
|
107
107
|
"protocol": "REST",
|
|
108
108
|
"method": "PUT",
|
|
109
|
-
"entitypath": "{base_path}/{version}/{pathv1}/global/firewalls/{pathv2}?{query}",
|
|
109
|
+
"entitypath": "{base_path}/{version}/projects/{pathv1}/global/firewalls/{pathv2}?{query}",
|
|
110
110
|
"requestSchema": "schema.json",
|
|
111
111
|
"responseSchema": "schema.json",
|
|
112
112
|
"timeout": 0,
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"name": "getProjectAggregatedForwardingRules",
|
|
5
5
|
"protocol": "REST",
|
|
6
6
|
"method": "GET",
|
|
7
|
-
"entitypath": "{base_path}/{version}/{pathv1}/aggregated/forwardingRules?{query}",
|
|
7
|
+
"entitypath": "{base_path}/{version}/projects/{pathv1}/aggregated/forwardingRules?{query}",
|
|
8
8
|
"requestSchema": "schema.json",
|
|
9
9
|
"responseSchema": "schema.json",
|
|
10
10
|
"timeout": 0,
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"name": "getProjectRegionsRegionForwardingRules",
|
|
26
26
|
"protocol": "REST",
|
|
27
27
|
"method": "GET",
|
|
28
|
-
"entitypath": "{base_path}/{version}/{pathv1}/regions/{pathv2}/forwardingRules?{query}",
|
|
28
|
+
"entitypath": "{base_path}/{version}/projects/{pathv1}/regions/{pathv2}/forwardingRules?{query}",
|
|
29
29
|
"requestSchema": "schema.json",
|
|
30
30
|
"responseSchema": "schema.json",
|
|
31
31
|
"timeout": 0,
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"name": "postProjectRegionsRegionForwardingRules",
|
|
47
47
|
"protocol": "REST",
|
|
48
48
|
"method": "POST",
|
|
49
|
-
"entitypath": "{base_path}/{version}/{pathv1}/regions/{pathv2}/forwardingRules?{query}",
|
|
49
|
+
"entitypath": "{base_path}/{version}/projects/{pathv1}/regions/{pathv2}/forwardingRules?{query}",
|
|
50
50
|
"requestSchema": "schema.json",
|
|
51
51
|
"responseSchema": "schema.json",
|
|
52
52
|
"timeout": 0,
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"name": "deleteProjectRegionsRegionForwardingRulesForwardingRule",
|
|
67
67
|
"protocol": "REST",
|
|
68
68
|
"method": "DELETE",
|
|
69
|
-
"entitypath": "{base_path}/{version}/{pathv1}/regions/{pathv2}/forwardingRules/{pathv3}?{query}",
|
|
69
|
+
"entitypath": "{base_path}/{version}/projects/{pathv1}/regions/{pathv2}/forwardingRules/{pathv3}?{query}",
|
|
70
70
|
"requestSchema": "schema.json",
|
|
71
71
|
"responseSchema": "schema.json",
|
|
72
72
|
"timeout": 0,
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
"name": "getProjectRegionsRegionForwardingRulesForwardingRule",
|
|
87
87
|
"protocol": "REST",
|
|
88
88
|
"method": "GET",
|
|
89
|
-
"entitypath": "{base_path}/{version}/{pathv1}/regions/{pathv2}/forwardingRules/{pathv3}?{query}",
|
|
89
|
+
"entitypath": "{base_path}/{version}/projects/{pathv1}/regions/{pathv2}/forwardingRules/{pathv3}?{query}",
|
|
90
90
|
"requestSchema": "schema.json",
|
|
91
91
|
"responseSchema": "schema.json",
|
|
92
92
|
"timeout": 0,
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
"name": "patchProjectRegionsRegionForwardingRulesForwardingRule",
|
|
108
108
|
"protocol": "REST",
|
|
109
109
|
"method": "PATCH",
|
|
110
|
-
"entitypath": "{base_path}/{version}/{pathv1}/regions/{pathv2}/forwardingRules/{pathv3}?{query}",
|
|
110
|
+
"entitypath": "{base_path}/{version}/projects/{pathv1}/regions/{pathv2}/forwardingRules/{pathv3}?{query}",
|
|
111
111
|
"requestSchema": "schema.json",
|
|
112
112
|
"responseSchema": "schema.json",
|
|
113
113
|
"timeout": 0,
|
|
@@ -127,7 +127,7 @@
|
|
|
127
127
|
"name": "postProjectRegionsRegionForwardingRulesForwardingRuleSetTarget",
|
|
128
128
|
"protocol": "REST",
|
|
129
129
|
"method": "POST",
|
|
130
|
-
"entitypath": "{base_path}/{version}/{pathv1}/regions/{pathv2}/forwardingRules/{pathv3}/setTarget?{query}",
|
|
130
|
+
"entitypath": "{base_path}/{version}/projects/{pathv1}/regions/{pathv2}/forwardingRules/{pathv3}/setTarget?{query}",
|
|
131
131
|
"requestSchema": "schema.json",
|
|
132
132
|
"responseSchema": "schema.json",
|
|
133
133
|
"timeout": 0,
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"name": "getProjectGlobalAddresses",
|
|
5
5
|
"protocol": "REST",
|
|
6
6
|
"method": "GET",
|
|
7
|
-
"entitypath": "{base_path}/{version}/{pathv1}/global/addresses?{query}",
|
|
7
|
+
"entitypath": "{base_path}/{version}/projects/{pathv1}/global/addresses?{query}",
|
|
8
8
|
"requestSchema": "schema.json",
|
|
9
9
|
"responseSchema": "schema.json",
|
|
10
10
|
"timeout": 0,
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"name": "postProjectGlobalAddresses",
|
|
26
26
|
"protocol": "REST",
|
|
27
27
|
"method": "POST",
|
|
28
|
-
"entitypath": "{base_path}/{version}/{pathv1}/global/addresses?{query}",
|
|
28
|
+
"entitypath": "{base_path}/{version}/projects/{pathv1}/global/addresses?{query}",
|
|
29
29
|
"requestSchema": "schema.json",
|
|
30
30
|
"responseSchema": "schema.json",
|
|
31
31
|
"timeout": 0,
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"name": "deleteProjectGlobalAddressesAddress",
|
|
46
46
|
"protocol": "REST",
|
|
47
47
|
"method": "DELETE",
|
|
48
|
-
"entitypath": "{base_path}/{version}/{pathv1}/global/addresses/{pathv2}?{query}",
|
|
48
|
+
"entitypath": "{base_path}/{version}/projects/{pathv1}/global/addresses/{pathv2}?{query}",
|
|
49
49
|
"requestSchema": "schema.json",
|
|
50
50
|
"responseSchema": "schema.json",
|
|
51
51
|
"timeout": 0,
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"name": "getProjectGlobalAddressesAddress",
|
|
66
66
|
"protocol": "REST",
|
|
67
67
|
"method": "GET",
|
|
68
|
-
"entitypath": "{base_path}/{version}/{pathv1}/global/addresses/{pathv2}?{query}",
|
|
68
|
+
"entitypath": "{base_path}/{version}/projects/{pathv1}/global/addresses/{pathv2}?{query}",
|
|
69
69
|
"requestSchema": "schema.json",
|
|
70
70
|
"responseSchema": "schema.json",
|
|
71
71
|
"timeout": 0,
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"name": "getProjectGlobalForwardingRules",
|
|
5
5
|
"protocol": "REST",
|
|
6
6
|
"method": "GET",
|
|
7
|
-
"entitypath": "{base_path}/{version}/{pathv1}/global/forwardingRules?{query}",
|
|
7
|
+
"entitypath": "{base_path}/{version}/projects/{pathv1}/global/forwardingRules?{query}",
|
|
8
8
|
"requestSchema": "schema.json",
|
|
9
9
|
"responseSchema": "schema.json",
|
|
10
10
|
"timeout": 0,
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"name": "postProjectGlobalForwardingRules",
|
|
26
26
|
"protocol": "REST",
|
|
27
27
|
"method": "POST",
|
|
28
|
-
"entitypath": "{base_path}/{version}/{pathv1}/global/forwardingRules?{query}",
|
|
28
|
+
"entitypath": "{base_path}/{version}/projects/{pathv1}/global/forwardingRules?{query}",
|
|
29
29
|
"requestSchema": "schema.json",
|
|
30
30
|
"responseSchema": "schema.json",
|
|
31
31
|
"timeout": 0,
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"name": "deleteProjectGlobalForwardingRulesForwardingRule",
|
|
46
46
|
"protocol": "REST",
|
|
47
47
|
"method": "DELETE",
|
|
48
|
-
"entitypath": "{base_path}/{version}/{pathv1}/global/forwardingRules/{pathv2}?{query}",
|
|
48
|
+
"entitypath": "{base_path}/{version}/projects/{pathv1}/global/forwardingRules/{pathv2}?{query}",
|
|
49
49
|
"requestSchema": "schema.json",
|
|
50
50
|
"responseSchema": "schema.json",
|
|
51
51
|
"timeout": 0,
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"name": "getProjectGlobalForwardingRulesForwardingRule",
|
|
66
66
|
"protocol": "REST",
|
|
67
67
|
"method": "GET",
|
|
68
|
-
"entitypath": "{base_path}/{version}/{pathv1}/global/forwardingRules/{pathv2}?{query}",
|
|
68
|
+
"entitypath": "{base_path}/{version}/projects/{pathv1}/global/forwardingRules/{pathv2}?{query}",
|
|
69
69
|
"requestSchema": "schema.json",
|
|
70
70
|
"responseSchema": "schema.json",
|
|
71
71
|
"timeout": 0,
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
"name": "patchProjectGlobalForwardingRulesForwardingRule",
|
|
87
87
|
"protocol": "REST",
|
|
88
88
|
"method": "PATCH",
|
|
89
|
-
"entitypath": "{base_path}/{version}/{pathv1}/global/forwardingRules/{pathv2}?{query}",
|
|
89
|
+
"entitypath": "{base_path}/{version}/projects/{pathv1}/global/forwardingRules/{pathv2}?{query}",
|
|
90
90
|
"requestSchema": "schema.json",
|
|
91
91
|
"responseSchema": "schema.json",
|
|
92
92
|
"timeout": 0,
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
"name": "postProjectGlobalForwardingRulesForwardingRuleSetTarget",
|
|
107
107
|
"protocol": "REST",
|
|
108
108
|
"method": "POST",
|
|
109
|
-
"entitypath": "{base_path}/{version}/{pathv1}/global/forwardingRules/{pathv2}/setTarget?{query}",
|
|
109
|
+
"entitypath": "{base_path}/{version}/projects/{pathv1}/global/forwardingRules/{pathv2}/setTarget?{query}",
|
|
110
110
|
"requestSchema": "schema.json",
|
|
111
111
|
"responseSchema": "schema.json",
|
|
112
112
|
"timeout": 0,
|