Skip to content

Commit

Permalink
chore: reorder imports (#30)
Browse files Browse the repository at this point in the history
* changes without context

        autosynth cannot find the source of changes triggered by earlier changes in this
        repository, or by version upgrades to tools such as linters.

* test: install pyopenssl for mtls testing

Source-Author: arithmetic1728 <58957152+arithmetic1728@users.noreply.github.com>
Source-Date: Tue Mar 2 12:27:56 2021 -0800
Source-Repo: googleapis/synthtool
Source-Sha: 0780323da96d5a53925fe0547757181fe76e8f1e
Source-Link: googleapis/synthtool@0780323
  • Loading branch information
yoshi-automation authored Mar 23, 2021
1 parent 71e10c1 commit 1555c4b
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 26 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1225,6 +1225,7 @@
"AutoscalerAggregatedList",
"AutoscalerList",
"AutoscalerStatusDetails",
"AutoscalersClient",
"AutoscalersScopedList",
"AutoscalingPolicy",
"AutoscalingPolicyCpuUtilization",
Expand Down Expand Up @@ -1932,7 +1933,6 @@
"RegionInstanceGroupManagerUpdateInstanceConfigReq",
"RegionInstanceGroupManagersAbandonInstancesRequest",
"RegionInstanceGroupManagersApplyUpdatesRequest",
"RegionInstanceGroupManagersClient",
"RegionInstanceGroupManagersCreateInstancesRequest",
"RegionInstanceGroupManagersDeleteInstancesRequest",
"RegionInstanceGroupManagersListErrorsResponse",
Expand Down Expand Up @@ -2271,5 +2271,5 @@
"ZoneSetLabelsRequest",
"ZoneSetPolicyRequest",
"ZonesClient",
"AutoscalersClient",
"RegionInstanceGroupManagersClient",
)
42 changes: 21 additions & 21 deletions packages/google-cloud-compute/scripts/fixup_compute_v1_keywords.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,35 +48,35 @@ class computeCallTransformer(cst.CSTTransformer):
'add_instances': ('instance_group', 'instance_groups_add_instances_request_resource', 'project', 'zone', 'request_id', ),
'add_nodes': ('node_group', 'node_groups_add_nodes_request_resource', 'project', 'zone', 'request_id', ),
'add_peering': ('network', 'networks_add_peering_request_resource', 'project', 'request_id', ),
'add_resource_policies': ('disk', 'disks_add_resource_policies_request_resource', 'project', 'zone', 'request_id', ),
'add_resource_policies': ('disk', 'project', 'region', 'region_disks_add_resource_policies_request_resource', 'request_id', ),
'add_rule': ('project', 'security_policy', 'security_policy_rule_resource', ),
'add_signed_url_key': ('backend_service', 'project', 'signed_url_key_resource', 'request_id', ),
'aggregated_list': ('project', 'filter', 'include_all_scopes', 'max_results', 'order_by', 'page_token', 'return_partial_success', ),
'apply_updates_to_instances': ('instance_group_manager', 'project', 'region', 'region_instance_group_managers_apply_updates_request_resource', ),
'attach_disk': ('attached_disk_resource', 'instance', 'project', 'zone', 'force_attach', 'request_id', ),
'attach_network_endpoints': ('network_endpoint_group', 'network_endpoint_groups_attach_endpoints_request_resource', 'project', 'zone', 'request_id', ),
'attach_network_endpoints': ('global_network_endpoint_groups_attach_endpoints_request_resource', 'network_endpoint_group', 'project', 'request_id', ),
'create_instances': ('instance_group_manager', 'project', 'region', 'region_instance_group_managers_create_instances_request_resource', 'request_id', ),
'create_snapshot': ('disk', 'project', 'snapshot_resource', 'zone', 'guest_flush', 'request_id', ),
'delete': ('autoscaler', 'project', 'zone', 'request_id', ),
'create_snapshot': ('disk', 'project', 'region', 'snapshot_resource', 'request_id', ),
'delete': ('instance_group_manager', 'project', 'region', 'request_id', ),
'delete_access_config': ('access_config', 'instance', 'network_interface', 'project', 'zone', 'request_id', ),
'delete_instances': ('instance_group_manager', 'project', 'region', 'region_instance_group_managers_delete_instances_request_resource', 'request_id', ),
'delete_nodes': ('node_group', 'node_groups_delete_nodes_request_resource', 'project', 'zone', 'request_id', ),
'delete_per_instance_configs': ('instance_group_manager', 'project', 'region', 'region_instance_group_manager_delete_instance_config_req_resource', ),
'delete_signed_url_key': ('backend_service', 'key_name', 'project', 'request_id', ),
'deprecate': ('deprecation_status_resource', 'image', 'project', 'request_id', ),
'detach_disk': ('device_name', 'instance', 'project', 'zone', 'request_id', ),
'detach_network_endpoints': ('network_endpoint_group', 'network_endpoint_groups_detach_endpoints_request_resource', 'project', 'zone', 'request_id', ),
'detach_network_endpoints': ('global_network_endpoint_groups_detach_endpoints_request_resource', 'network_endpoint_group', 'project', 'request_id', ),
'disable_xpn_host': ('project', 'request_id', ),
'disable_xpn_resource': ('project', 'projects_disable_xpn_resource_request_resource', 'request_id', ),
'enable_xpn_host': ('project', 'request_id', ),
'enable_xpn_resource': ('project', 'projects_enable_xpn_resource_request_resource', 'request_id', ),
'expand_ip_cidr_range': ('project', 'region', 'subnetwork', 'subnetworks_expand_ip_cidr_range_request_resource', 'request_id', ),
'get': ('autoscaler', 'project', 'zone', ),
'get': ('instance_group_manager', 'project', 'region', ),
'get_diagnostics': ('interconnect', 'project', ),
'get_from_family': ('family', 'project', ),
'get_guest_attributes': ('instance', 'project', 'zone', 'query_path', 'variable_key', ),
'get_health': ('instance_reference_resource', 'project', 'region', 'target_pool', ),
'get_iam_policy': ('project', 'resource', 'zone', 'options_requested_policy_version', ),
'get_iam_policy': ('project', 'region', 'resource', 'options_requested_policy_version', ),
'get_nat_mapping_info': ('project', 'region', 'router', 'filter', 'max_results', 'order_by', 'page_token', 'return_partial_success', ),
'get_router_status': ('project', 'region', 'router', ),
'get_rule': ('project', 'security_policy', 'priority', ),
Expand All @@ -86,14 +86,14 @@ class computeCallTransformer(cst.CSTTransformer):
'get_status': ('project', 'region', 'vpn_gateway', ),
'get_xpn_host': ('project', ),
'get_xpn_resources': ('project', 'filter', 'max_results', 'order_by', 'page_token', 'return_partial_success', ),
'insert': ('autoscaler_resource', 'project', 'zone', 'request_id', ),
'insert': ('instance_group_manager_resource', 'project', 'region', 'request_id', ),
'invalidate_cache': ('cache_invalidation_rule_resource', 'project', 'url_map', 'request_id', ),
'list': ('project', 'zone', 'filter', 'max_results', 'order_by', 'page_token', 'return_partial_success', ),
'list': ('project', 'region', 'filter', 'max_results', 'order_by', 'page_token', 'return_partial_success', ),
'list_available_features': ('project', 'filter', 'max_results', 'order_by', 'page_token', 'return_partial_success', ),
'list_errors': ('instance_group_manager', 'project', 'region', 'filter', 'max_results', 'order_by', 'page_token', 'return_partial_success', ),
'list_instances': ('instance_group', 'instance_groups_list_instances_request_resource', 'project', 'zone', 'filter', 'max_results', 'order_by', 'page_token', 'return_partial_success', ),
'list_instances': ('instance_group', 'project', 'region', 'region_instance_groups_list_instances_request_resource', 'filter', 'max_results', 'order_by', 'page_token', 'return_partial_success', ),
'list_managed_instances': ('instance_group_manager', 'project', 'region', 'filter', 'max_results', 'order_by', 'page_token', 'return_partial_success', ),
'list_network_endpoints': ('network_endpoint_group', 'network_endpoint_groups_list_endpoints_request_resource', 'project', 'zone', 'filter', 'max_results', 'order_by', 'page_token', 'return_partial_success', ),
'list_network_endpoints': ('network_endpoint_group', 'project', 'filter', 'max_results', 'order_by', 'page_token', 'return_partial_success', ),
'list_nodes': ('node_group', 'project', 'zone', 'filter', 'max_results', 'order_by', 'page_token', 'return_partial_success', ),
'list_peering_routes': ('network', 'project', 'direction', 'filter', 'max_results', 'order_by', 'page_token', 'peering_name', 'region', 'return_partial_success', ),
'list_per_instance_configs': ('instance_group_manager', 'project', 'region', 'filter', 'max_results', 'order_by', 'page_token', 'return_partial_success', ),
Expand All @@ -103,7 +103,7 @@ class computeCallTransformer(cst.CSTTransformer):
'list_xpn_hosts': ('project', 'projects_list_xpn_hosts_request_resource', 'filter', 'max_results', 'order_by', 'page_token', 'return_partial_success', ),
'move_disk': ('disk_move_request_resource', 'project', 'request_id', ),
'move_instance': ('instance_move_request_resource', 'project', 'request_id', ),
'patch': ('autoscaler_resource', 'project', 'zone', 'autoscaler', 'request_id', ),
'patch': ('instance_group_manager', 'instance_group_manager_resource', 'project', 'region', 'request_id', ),
'patch_per_instance_configs': ('instance_group_manager', 'project', 'region', 'region_instance_group_manager_patch_instance_config_req_resource', 'request_id', ),
'patch_rule': ('project', 'security_policy', 'security_policy_rule_resource', 'priority', ),
'preview': ('project', 'region', 'router', 'router_resource', ),
Expand All @@ -112,24 +112,24 @@ class computeCallTransformer(cst.CSTTransformer):
'remove_instance': ('project', 'region', 'target_pool', 'target_pools_remove_instance_request_resource', 'request_id', ),
'remove_instances': ('instance_group', 'instance_groups_remove_instances_request_resource', 'project', 'zone', 'request_id', ),
'remove_peering': ('network', 'networks_remove_peering_request_resource', 'project', 'request_id', ),
'remove_resource_policies': ('disk', 'disks_remove_resource_policies_request_resource', 'project', 'zone', 'request_id', ),
'remove_resource_policies': ('disk', 'project', 'region', 'region_disks_remove_resource_policies_request_resource', 'request_id', ),
'remove_rule': ('project', 'security_policy', 'priority', ),
'reset': ('instance', 'project', 'zone', 'request_id', ),
'resize': ('disk', 'disks_resize_request_resource', 'project', 'zone', 'request_id', ),
'resize': ('instance_group_manager', 'project', 'region', 'size', 'request_id', ),
'set_backend_service': ('project', 'target_ssl_proxies_set_backend_service_request_resource', 'target_ssl_proxy', 'request_id', ),
'set_backup': ('project', 'region', 'target_pool', 'target_reference_resource', 'failover_ratio', 'request_id', ),
'set_common_instance_metadata': ('metadata_resource', 'project', 'request_id', ),
'set_default_network_tier': ('project', 'projects_set_default_network_tier_request_resource', 'request_id', ),
'set_deletion_protection': ('project', 'resource', 'zone', 'deletion_protection', 'request_id', ),
'set_disk_auto_delete': ('auto_delete', 'device_name', 'instance', 'project', 'zone', 'request_id', ),
'set_iam_policy': ('project', 'resource', 'zone', 'zone_set_policy_request_resource', ),
'set_iam_policy': ('project', 'region', 'region_set_policy_request_resource', 'resource', ),
'set_instance_template': ('instance_group_manager', 'project', 'region', 'region_instance_group_managers_set_template_request_resource', 'request_id', ),
'set_labels': ('project', 'resource', 'zone', 'zone_set_labels_request_resource', 'request_id', ),
'set_labels': ('project', 'region', 'region_set_labels_request_resource', 'resource', 'request_id', ),
'set_machine_resources': ('instance', 'instances_set_machine_resources_request_resource', 'project', 'zone', 'request_id', ),
'set_machine_type': ('instance', 'instances_set_machine_type_request_resource', 'project', 'zone', 'request_id', ),
'set_metadata': ('instance', 'metadata_resource', 'project', 'zone', 'request_id', ),
'set_min_cpu_platform': ('instance', 'instances_set_min_cpu_platform_request_resource', 'project', 'zone', 'request_id', ),
'set_named_ports': ('instance_group', 'instance_groups_set_named_ports_request_resource', 'project', 'zone', 'request_id', ),
'set_named_ports': ('instance_group', 'project', 'region', 'region_instance_groups_set_named_ports_request_resource', 'request_id', ),
'set_node_template': ('node_group', 'node_groups_set_node_template_request_resource', 'project', 'zone', 'request_id', ),
'set_private_ip_google_access': ('project', 'region', 'subnetwork', 'subnetworks_set_private_ip_google_access_request_resource', 'request_id', ),
'set_proxy_header': ('project', 'target_ssl_proxies_set_proxy_header_request_resource', 'target_ssl_proxy', 'request_id', ),
Expand All @@ -150,16 +150,16 @@ class computeCallTransformer(cst.CSTTransformer):
'start_with_encryption_key': ('instance', 'instances_start_with_encryption_key_request_resource', 'project', 'zone', 'request_id', ),
'stop': ('instance', 'project', 'zone', 'request_id', ),
'switch_to_custom_mode': ('network', 'project', 'request_id', ),
'test_iam_permissions': ('project', 'resource', 'test_permissions_request_resource', 'zone', ),
'update': ('autoscaler_resource', 'project', 'zone', 'autoscaler', 'request_id', ),
'test_iam_permissions': ('project', 'region', 'resource', 'test_permissions_request_resource', ),
'update': ('backend_service', 'backend_service_resource', 'project', 'request_id', ),
'update_access_config': ('access_config_resource', 'instance', 'network_interface', 'project', 'zone', 'request_id', ),
'update_display_device': ('display_device_resource', 'instance', 'project', 'zone', 'request_id', ),
'update_network_interface': ('instance', 'network_interface', 'network_interface_resource', 'project', 'zone', 'request_id', ),
'update_peering': ('network', 'networks_update_peering_request_resource', 'project', 'request_id', ),
'update_per_instance_configs': ('instance_group_manager', 'project', 'region', 'region_instance_group_manager_update_instance_config_req_resource', 'request_id', ),
'update_shielded_instance_config': ('instance', 'project', 'shielded_instance_config_resource', 'zone', 'request_id', ),
'validate': ('project', 'url_map', 'url_maps_validate_request_resource', ),
'wait': ('operation', 'project', ),
'validate': ('project', 'region', 'region_url_maps_validate_request_resource', 'url_map', ),
'wait': ('operation', 'project', 'zone', ),

}

Expand Down
6 changes: 3 additions & 3 deletions packages/google-cloud-compute/synth.metadata
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/python-compute.git",
"sha": "5fb6ac47a153e7d407e1a164ee1dbf3ce34ffe77"
"sha": "d5f02ad82d9bf360b61211d5598d73b5a8b9be7a"
}
},
{
Expand All @@ -18,14 +18,14 @@
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
"sha": "d17674372e27fb8f23013935e794aa37502071aa"
"sha": "0780323da96d5a53925fe0547757181fe76e8f1e"
}
},
{
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
"sha": "d17674372e27fb8f23013935e794aa37502071aa"
"sha": "0780323da96d5a53925fe0547757181fe76e8f1e"
}
}
],
Expand Down

0 comments on commit 1555c4b

Please sign in to comment.