<?php

return [
    'interfaces' => [
        'google.cloud.compute.v1.Networks' => [
            'AddPeering' => [
                'method' => 'post',
                'uriTemplate' => '/compute/v1/projects/{project}/global/networks/{network}/addPeering',
                'body' => 'networks_add_peering_request_resource',
                'placeholders' => [
                    'network' => [
                        'getters' => [
                            'getNetwork',
                        ],
                    ],
                    'project' => [
                        'getters' => [
                            'getProject',
                        ],
                    ],
                ],
            ],
            'Delete' => [
                'method' => 'delete',
                'uriTemplate' => '/compute/v1/projects/{project}/global/networks/{network}',
                'placeholders' => [
                    'network' => [
                        'getters' => [
                            'getNetwork',
                        ],
                    ],
                    'project' => [
                        'getters' => [
                            'getProject',
                        ],
                    ],
                ],
            ],
            'Get' => [
                'method' => 'get',
                'uriTemplate' => '/compute/v1/projects/{project}/global/networks/{network}',
                'placeholders' => [
                    'network' => [
                        'getters' => [
                            'getNetwork',
                        ],
                    ],
                    'project' => [
                        'getters' => [
                            'getProject',
                        ],
                    ],
                ],
            ],
            'Insert' => [
                'method' => 'post',
                'uriTemplate' => '/compute/v1/projects/{project}/global/networks',
                'body' => 'network_resource',
                'placeholders' => [
                    'project' => [
                        'getters' => [
                            'getProject',
                        ],
                    ],
                ],
            ],
            'List' => [
                'method' => 'get',
                'uriTemplate' => '/compute/v1/projects/{project}/global/networks',
                'placeholders' => [
                    'project' => [
                        'getters' => [
                            'getProject',
                        ],
                    ],
                ],
            ],
            'ListPeeringRoutes' => [
                'method' => 'get',
                'uriTemplate' => '/compute/v1/projects/{project}/global/networks/{network}/listPeeringRoutes',
                'placeholders' => [
                    'network' => [
                        'getters' => [
                            'getNetwork',
                        ],
                    ],
                    'project' => [
                        'getters' => [
                            'getProject',
                        ],
                    ],
                ],
            ],
            'Patch' => [
                'method' => 'patch',
                'uriTemplate' => '/compute/v1/projects/{project}/global/networks/{network}',
                'body' => 'network_resource',
                'placeholders' => [
                    'network' => [
                        'getters' => [
                            'getNetwork',
                        ],
                    ],
                    'project' => [
                        'getters' => [
                            'getProject',
                        ],
                    ],
                ],
            ],
            'RemovePeering' => [
                'method' => 'post',
                'uriTemplate' => '/compute/v1/projects/{project}/global/networks/{network}/removePeering',
                'body' => 'networks_remove_peering_request_resource',
                'placeholders' => [
                    'network' => [
                        'getters' => [
                            'getNetwork',
                        ],
                    ],
                    'project' => [
                        'getters' => [
                            'getProject',
                        ],
                    ],
                ],
            ],
            'SwitchToCustomMode' => [
                'method' => 'post',
                'uriTemplate' => '/compute/v1/projects/{project}/global/networks/{network}/switchToCustomMode',
                'placeholders' => [
                    'network' => [
                        'getters' => [
                            'getNetwork',
                        ],
                    ],
                    'project' => [
                        'getters' => [
                            'getProject',
                        ],
                    ],
                ],
            ],
            'UpdatePeering' => [
                'method' => 'patch',
                'uriTemplate' => '/compute/v1/projects/{project}/global/networks/{network}/updatePeering',
                'body' => 'networks_update_peering_request_resource',
                'placeholders' => [
                    'network' => [
                        'getters' => [
                            'getNetwork',
                        ],
                    ],
                    'project' => [
                        'getters' => [
                            'getProject',
                        ],
                    ],
                ],
            ],
        ],
    ],
];
