Skip to content

Commit

Permalink
chore: reorder class names (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored Apr 2, 2021
1 parent d510b4c commit 1be8e9d
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 23 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1497,7 +1497,6 @@
"GlobalAddressesClient",
"GlobalForwardingRulesClient",
"GlobalNetworkEndpointGroupsAttachEndpointsRequest",
"GlobalNetworkEndpointGroupsClient",
"GlobalNetworkEndpointGroupsDetachEndpointsRequest",
"GlobalOperationsClient",
"GlobalOrganizationOperationsClient",
Expand Down Expand Up @@ -1933,6 +1932,7 @@
"RegionInstanceGroupManagerUpdateInstanceConfigReq",
"RegionInstanceGroupManagersAbandonInstancesRequest",
"RegionInstanceGroupManagersApplyUpdatesRequest",
"RegionInstanceGroupManagersClient",
"RegionInstanceGroupManagersCreateInstancesRequest",
"RegionInstanceGroupManagersDeleteInstancesRequest",
"RegionInstanceGroupManagersListErrorsResponse",
Expand Down Expand Up @@ -2271,5 +2271,5 @@
"ZoneSetLabelsRequest",
"ZoneSetPolicyRequest",
"ZonesClient",
"RegionInstanceGroupManagersClient",
"GlobalNetworkEndpointGroupsClient",
)
40 changes: 20 additions & 20 deletions packages/google-cloud-compute/scripts/fixup_compute_v1_keywords.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,21 +48,21 @@ 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', 'project', 'region', 'region_disks_add_resource_policies_request_resource', 'request_id', ),
'add_resource_policies': ('instance', 'instances_add_resource_policies_request_resource', 'project', 'zone', 'request_id', ),
'add_rule': ('project', 'security_policy', 'security_policy_rule_resource', ),
'add_signed_url_key': ('backend_service', 'project', 'signed_url_key_resource', 'request_id', ),
'add_signed_url_key': ('backend_bucket', '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': ('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', 'region', 'snapshot_resource', 'request_id', ),
'delete': ('instance_group_manager', 'project', 'region', 'request_id', ),
'delete': ('network_endpoint_group', 'project', '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', ),
'delete_signed_url_key': ('backend_bucket', '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': ('global_network_endpoint_groups_detach_endpoints_request_resource', 'network_endpoint_group', 'project', 'request_id', ),
Expand All @@ -71,12 +71,12 @@ class computeCallTransformer(cst.CSTTransformer):
'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': ('instance_group_manager', 'project', 'region', ),
'get': ('network_endpoint_group', 'project', ),
'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', 'region', 'resource', 'options_requested_policy_version', ),
'get_health': ('backend_service', 'project', 'region', 'resource_group_reference_resource', ),
'get_iam_policy': ('project', 'resource', 'zone', '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,9 +86,9 @@ 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': ('instance_group_manager_resource', 'project', 'region', 'request_id', ),
'insert': ('network_endpoint_group_resource', 'project', 'request_id', ),
'invalidate_cache': ('cache_invalidation_rule_resource', 'project', 'url_map', 'request_id', ),
'list': ('project', 'region', 'filter', 'max_results', 'order_by', 'page_token', 'return_partial_success', ),
'list': ('project', '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', 'project', 'region', 'region_instance_groups_list_instances_request_resource', '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': ('instance_group_manager', 'instance_group_manager_resource', 'project', 'region', 'request_id', ),
'patch': ('project', 'region', 'router', 'router_resource', '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,19 +112,19 @@ 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', 'project', 'region', 'region_disks_remove_resource_policies_request_resource', 'request_id', ),
'remove_resource_policies': ('instance', 'instances_remove_resource_policies_request_resource', 'project', 'zone', 'request_id', ),
'remove_rule': ('project', 'security_policy', 'priority', ),
'reset': ('instance', 'project', 'zone', 'request_id', ),
'resize': ('instance_group_manager', 'project', 'region', 'size', 'request_id', ),
'resize': ('disk', 'project', 'region', 'region_disks_resize_request_resource', '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', 'region', 'region_set_policy_request_resource', 'resource', ),
'set_iam_policy': ('project', 'resource', 'zone', 'zone_set_policy_request_resource', ),
'set_instance_template': ('instance_group_manager', 'project', 'region', 'region_instance_group_managers_set_template_request_resource', 'request_id', ),
'set_labels': ('project', 'region', 'region_set_labels_request_resource', 'resource', 'request_id', ),
'set_labels': ('instance', 'instances_set_labels_request_resource', 'project', 'zone', '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', ),
Expand All @@ -141,25 +141,25 @@ class computeCallTransformer(cst.CSTTransformer):
'set_ssl_certificates': ('project', 'target_ssl_proxies_set_ssl_certificates_request_resource', 'target_ssl_proxy', 'request_id', ),
'set_ssl_policy': ('project', 'ssl_policy_reference_resource', 'target_ssl_proxy', 'request_id', ),
'set_tags': ('instance', 'project', 'tags_resource', 'zone', 'request_id', ),
'set_target': ('forwarding_rule', 'project', 'region', 'target_reference_resource', 'request_id', ),
'set_target': ('forwarding_rule', 'project', 'target_reference_resource', 'request_id', ),
'set_target_pools': ('instance_group_manager', 'project', 'region', 'region_instance_group_managers_set_target_pools_request_resource', 'request_id', ),
'set_url_map': ('project', 'region', 'target_http_proxy', 'url_map_reference_resource', 'request_id', ),
'set_url_map': ('project', 'target_https_proxy', 'url_map_reference_resource', 'request_id', ),
'set_usage_export_bucket': ('project', 'usage_export_location_resource', 'request_id', ),
'simulate_maintenance_event': ('instance', 'project', 'zone', ),
'start': ('instance', 'project', 'zone', 'request_id', ),
'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', 'region', 'resource', 'test_permissions_request_resource', ),
'update': ('backend_service', 'backend_service_resource', 'project', 'request_id', ),
'test_iam_permissions': ('project', 'resource', 'test_permissions_request_resource', 'zone', ),
'update': ('project', 'region', 'router', 'router_resource', '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', 'region', 'region_url_maps_validate_request_resource', 'url_map', ),
'wait': ('operation', 'project', 'zone', ),
'validate': ('project', 'url_map', 'url_maps_validate_request_resource', ),
'wait': ('operation', 'project', 'region', ),

}

Expand Down
2 changes: 1 addition & 1 deletion 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": "d5f02ad82d9bf360b61211d5598d73b5a8b9be7a"
"sha": "a97482fd17d32d00194cffb5836ca68109871887"
}
},
{
Expand Down

0 comments on commit 1be8e9d

Please sign in to comment.