generated/google/apis/compute_beta/service.rb in google-api-client-0.39.3 vs generated/google/apis/compute_beta/service.rb in google-api-client-0.39.4

- old
+ new

@@ -45,11 +45,11 @@ # @return [String] # Deprecated. Please use quotaUser instead. attr_accessor :user_ip def initialize - super('https://compute.googleapis.com/', 'compute/beta/projects/') + super('https://compute.googleapis.com/', 'compute/beta/') @batch_path = 'batch/compute/beta' end # Retrieves an aggregated list of accelerator types. # @param [String] project @@ -113,11 +113,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def aggregated_accelerator_type_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/acceleratorTypes', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/acceleratorTypes', options) command.response_representation = Google::Apis::ComputeBeta::AcceleratorTypeAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::AcceleratorTypeAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? @@ -155,11 +155,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_accelerator_type(project, zone, accelerator_type, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/acceleratorTypes/{acceleratorType}', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/acceleratorTypes/{acceleratorType}', options) command.response_representation = Google::Apis::ComputeBeta::AcceleratorType::Representation command.response_class = Google::Apis::ComputeBeta::AcceleratorType command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['acceleratorType'] = accelerator_type unless accelerator_type.nil? @@ -226,11 +226,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_accelerator_types(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/acceleratorTypes', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/acceleratorTypes', options) command.response_representation = Google::Apis::ComputeBeta::AcceleratorTypeList::Representation command.response_class = Google::Apis::ComputeBeta::AcceleratorTypeList command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.query['filter'] = filter unless filter.nil? @@ -305,11 +305,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_aggregated_addresses(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/addresses', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/addresses', options) command.response_representation = Google::Apis::ComputeBeta::AddressAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::AddressAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? @@ -358,11 +358,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_address(project, region, address, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/regions/{region}/addresses/{address}', options) + command = make_simple_command(:delete, 'projects/{project}/regions/{region}/addresses/{address}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['address'] = address unless address.nil? @@ -398,11 +398,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_address(project, region, address, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/addresses/{address}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/addresses/{address}', options) command.response_representation = Google::Apis::ComputeBeta::Address::Representation command.response_class = Google::Apis::ComputeBeta::Address command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['address'] = address unless address.nil? @@ -448,11 +448,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_address(project, region, address_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/addresses', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/addresses', options) command.request_representation = Google::Apis::ComputeBeta::Address::Representation command.request_object = address_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -521,11 +521,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_addresses(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/addresses', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/addresses', options) command.response_representation = Google::Apis::ComputeBeta::AddressList::Representation command.response_class = Google::Apis::ComputeBeta::AddressList command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['filter'] = filter unless filter.nil? @@ -576,11 +576,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_address_labels(project, region, resource, region_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/addresses/{resource}/setLabels', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/addresses/{resource}/setLabels', options) command.request_representation = Google::Apis::ComputeBeta::RegionSetLabelsRequest::Representation command.request_object = region_set_labels_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -619,11 +619,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_address_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/addresses/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/addresses/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::TestPermissionsResponse command.params['project'] = project unless project.nil? @@ -697,11 +697,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_aggregated_autoscalers(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/autoscalers', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/autoscalers', options) command.response_representation = Google::Apis::ComputeBeta::AutoscalerAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::AutoscalerAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? @@ -750,11 +750,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_autoscaler(project, zone, autoscaler, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/zones/{zone}/autoscalers/{autoscaler}', options) + command = make_simple_command(:delete, 'projects/{project}/zones/{zone}/autoscalers/{autoscaler}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['autoscaler'] = autoscaler unless autoscaler.nil? @@ -791,11 +791,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_autoscaler(project, zone, autoscaler, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/autoscalers/{autoscaler}', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/autoscalers/{autoscaler}', options) command.response_representation = Google::Apis::ComputeBeta::Autoscaler::Representation command.response_class = Google::Apis::ComputeBeta::Autoscaler command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['autoscaler'] = autoscaler unless autoscaler.nil? @@ -841,11 +841,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_autoscaler(project, zone, autoscaler_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/autoscalers', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/autoscalers', options) command.request_representation = Google::Apis::ComputeBeta::Autoscaler::Representation command.request_object = autoscaler_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -914,11 +914,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_autoscalers(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/autoscalers', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/autoscalers', options) command.response_representation = Google::Apis::ComputeBeta::AutoscalerList::Representation command.response_class = Google::Apis::ComputeBeta::AutoscalerList command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.query['filter'] = filter unless filter.nil? @@ -970,11 +970,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_autoscaler(project, zone, autoscaler_object = nil, autoscaler: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/zones/{zone}/autoscalers', options) + command = make_simple_command(:patch, 'projects/{project}/zones/{zone}/autoscalers', options) command.request_representation = Google::Apis::ComputeBeta::Autoscaler::Representation command.request_object = autoscaler_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -1013,11 +1013,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_autoscaler_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/autoscalers/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/autoscalers/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::TestPermissionsResponse command.params['project'] = project unless project.nil? @@ -1067,11 +1067,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def update_autoscaler(project, zone, autoscaler_object = nil, autoscaler: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:put, '{project}/zones/{zone}/autoscalers', options) + command = make_simple_command(:put, 'projects/{project}/zones/{zone}/autoscalers', options) command.request_representation = Google::Apis::ComputeBeta::Autoscaler::Representation command.request_object = autoscaler_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -1120,11 +1120,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def add_backend_bucket_signed_url_key(project, backend_bucket, signed_url_key_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/backendBuckets/{backendBucket}/addSignedUrlKey', options) + command = make_simple_command(:post, 'projects/{project}/global/backendBuckets/{backendBucket}/addSignedUrlKey', options) command.request_representation = Google::Apis::ComputeBeta::SignedUrlKey::Representation command.request_object = signed_url_key_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -1170,11 +1170,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_backend_bucket(project, backend_bucket, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/backendBuckets/{backendBucket}', options) + command = make_simple_command(:delete, 'projects/{project}/global/backendBuckets/{backendBucket}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['backendBucket'] = backend_bucket unless backend_bucket.nil? command.query['requestId'] = request_id unless request_id.nil? @@ -1221,11 +1221,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_backend_bucket_signed_url_key(project, backend_bucket, key_name, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/backendBuckets/{backendBucket}/deleteSignedUrlKey', options) + command = make_simple_command(:post, 'projects/{project}/global/backendBuckets/{backendBucket}/deleteSignedUrlKey', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['backendBucket'] = backend_bucket unless backend_bucket.nil? command.query['keyName'] = key_name unless key_name.nil? @@ -1260,11 +1260,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_backend_bucket(project, backend_bucket, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/backendBuckets/{backendBucket}', options) + command = make_simple_command(:get, 'projects/{project}/global/backendBuckets/{backendBucket}', options) command.response_representation = Google::Apis::ComputeBeta::BackendBucket::Representation command.response_class = Google::Apis::ComputeBeta::BackendBucket command.params['project'] = project unless project.nil? command.params['backendBucket'] = backend_bucket unless backend_bucket.nil? command.query['fields'] = fields unless fields.nil? @@ -1307,11 +1307,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_backend_bucket(project, backend_bucket_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/backendBuckets', options) + command = make_simple_command(:post, 'projects/{project}/global/backendBuckets', options) command.request_representation = Google::Apis::ComputeBeta::BackendBucket::Representation command.request_object = backend_bucket_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -1378,11 +1378,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_backend_buckets(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/backendBuckets', options) + command = make_simple_command(:get, 'projects/{project}/global/backendBuckets', options) command.response_representation = Google::Apis::ComputeBeta::BackendBucketList::Representation command.response_class = Google::Apis::ComputeBeta::BackendBucketList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? @@ -1431,11 +1431,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_backend_bucket(project, backend_bucket, backend_bucket_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/global/backendBuckets/{backendBucket}', options) + command = make_simple_command(:patch, 'projects/{project}/global/backendBuckets/{backendBucket}', options) command.request_representation = Google::Apis::ComputeBeta::BackendBucket::Representation command.request_object = backend_bucket_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -1483,11 +1483,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def update_backend_bucket(project, backend_bucket, backend_bucket_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:put, '{project}/global/backendBuckets/{backendBucket}', options) + command = make_simple_command(:put, 'projects/{project}/global/backendBuckets/{backendBucket}', options) command.request_representation = Google::Apis::ComputeBeta::BackendBucket::Representation command.request_object = backend_bucket_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -1535,11 +1535,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def add_backend_service_signed_url_key(project, backend_service, signed_url_key_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/backendServices/{backendService}/addSignedUrlKey', options) + command = make_simple_command(:post, 'projects/{project}/global/backendServices/{backendService}/addSignedUrlKey', options) command.request_representation = Google::Apis::ComputeBeta::SignedUrlKey::Representation command.request_object = signed_url_key_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -1614,11 +1614,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def aggregated_backend_service_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/backendServices', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/backendServices', options) command.response_representation = Google::Apis::ComputeBeta::BackendServiceAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::BackendServiceAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? @@ -1665,11 +1665,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_backend_service(project, backend_service, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/backendServices/{backendService}', options) + command = make_simple_command(:delete, 'projects/{project}/global/backendServices/{backendService}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['backendService'] = backend_service unless backend_service.nil? command.query['requestId'] = request_id unless request_id.nil? @@ -1717,11 +1717,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_backend_service_signed_url_key(project, backend_service, key_name, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/backendServices/{backendService}/deleteSignedUrlKey', options) + command = make_simple_command(:post, 'projects/{project}/global/backendServices/{backendService}/deleteSignedUrlKey', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['backendService'] = backend_service unless backend_service.nil? command.query['keyName'] = key_name unless key_name.nil? @@ -1756,11 +1756,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_backend_service(project, backend_service, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/backendServices/{backendService}', options) + command = make_simple_command(:get, 'projects/{project}/global/backendServices/{backendService}', options) command.response_representation = Google::Apis::ComputeBeta::BackendService::Representation command.response_class = Google::Apis::ComputeBeta::BackendService command.params['project'] = project unless project.nil? command.params['backendService'] = backend_service unless backend_service.nil? command.query['fields'] = fields unless fields.nil? @@ -1794,11 +1794,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_backend_service_health(project, backend_service, resource_group_reference_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/backendServices/{backendService}/getHealth', options) + command = make_simple_command(:post, 'projects/{project}/global/backendServices/{backendService}/getHealth', options) command.request_representation = Google::Apis::ComputeBeta::ResourceGroupReference::Representation command.request_object = resource_group_reference_object command.response_representation = Google::Apis::ComputeBeta::BackendServiceGroupHealth::Representation command.response_class = Google::Apis::ComputeBeta::BackendServiceGroupHealth command.params['project'] = project unless project.nil? @@ -1845,11 +1845,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_backend_service(project, backend_service_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/backendServices', options) + command = make_simple_command(:post, 'projects/{project}/global/backendServices', options) command.request_representation = Google::Apis::ComputeBeta::BackendService::Representation command.request_object = backend_service_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -1916,11 +1916,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_backend_services(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/backendServices', options) + command = make_simple_command(:get, 'projects/{project}/global/backendServices', options) command.response_representation = Google::Apis::ComputeBeta::BackendServiceList::Representation command.response_class = Google::Apis::ComputeBeta::BackendServiceList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? @@ -1971,11 +1971,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_backend_service(project, backend_service, backend_service_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/global/backendServices/{backendService}', options) + command = make_simple_command(:patch, 'projects/{project}/global/backendServices/{backendService}', options) command.request_representation = Google::Apis::ComputeBeta::BackendService::Representation command.request_object = backend_service_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -2023,11 +2023,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_backend_service_security_policy(project, backend_service, security_policy_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/backendServices/{backendService}/setSecurityPolicy', options) + command = make_simple_command(:post, 'projects/{project}/global/backendServices/{backendService}/setSecurityPolicy', options) command.request_representation = Google::Apis::ComputeBeta::SecurityPolicyReference::Representation command.request_object = security_policy_reference_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -2063,11 +2063,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_backend_service_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/backendServices/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/global/backendServices/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::TestPermissionsResponse command.params['project'] = project unless project.nil? @@ -2116,11 +2116,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def update_backend_service(project, backend_service, backend_service_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:put, '{project}/global/backendServices/{backendService}', options) + command = make_simple_command(:put, 'projects/{project}/global/backendServices/{backendService}', options) command.request_representation = Google::Apis::ComputeBeta::BackendService::Representation command.request_object = backend_service_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -2194,11 +2194,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_aggregated_disk_types(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/diskTypes', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/diskTypes', options) command.response_representation = Google::Apis::ComputeBeta::DiskTypeAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::DiskTypeAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? @@ -2237,11 +2237,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_disk_type(project, zone, disk_type, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/diskTypes/{diskType}', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/diskTypes/{diskType}', options) command.response_representation = Google::Apis::ComputeBeta::DiskType::Representation command.response_class = Google::Apis::ComputeBeta::DiskType command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['diskType'] = disk_type unless disk_type.nil? @@ -2308,11 +2308,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_disk_types(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/diskTypes', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/diskTypes', options) command.response_representation = Google::Apis::ComputeBeta::DiskTypeList::Representation command.response_class = Google::Apis::ComputeBeta::DiskTypeList command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.query['filter'] = filter unless filter.nil? @@ -2363,11 +2363,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def add_disk_resource_policies(project, zone, disk, disks_add_resource_policies_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/disks/{disk}/addResourcePolicies', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/disks/{disk}/addResourcePolicies', options) command.request_representation = Google::Apis::ComputeBeta::DisksAddResourcePoliciesRequest::Representation command.request_object = disks_add_resource_policies_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -2442,11 +2442,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_aggregated_disk(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/disks', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/disks', options) command.response_representation = Google::Apis::ComputeBeta::DiskAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::DiskAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? @@ -2500,11 +2500,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def create_disk_snapshot(project, zone, disk, snapshot_object = nil, guest_flush: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/disks/{disk}/createSnapshot', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/disks/{disk}/createSnapshot', options) command.request_representation = Google::Apis::ComputeBeta::Snapshot::Representation command.request_object = snapshot_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -2556,11 +2556,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_disk(project, zone, disk, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/zones/{zone}/disks/{disk}', options) + command = make_simple_command(:delete, 'projects/{project}/zones/{zone}/disks/{disk}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['disk'] = disk unless disk.nil? @@ -2597,11 +2597,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_disk(project, zone, disk, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/disks/{disk}', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/disks/{disk}', options) command.response_representation = Google::Apis::ComputeBeta::Disk::Representation command.response_class = Google::Apis::ComputeBeta::Disk command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['disk'] = disk unless disk.nil? @@ -2639,11 +2639,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_disk_iam_policy(project, zone, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/disks/{resource}/getIamPolicy', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/disks/{resource}/getIamPolicy', options) command.response_representation = Google::Apis::ComputeBeta::Policy::Representation command.response_class = Google::Apis::ComputeBeta::Policy command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['resource'] = resource unless resource.nil? @@ -2694,11 +2694,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_disk(project, zone, disk_object = nil, request_id: nil, source_image: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/disks', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/disks', options) command.request_representation = Google::Apis::ComputeBeta::Disk::Representation command.request_object = disk_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -2768,11 +2768,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_disks(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/disks', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/disks', options) command.response_representation = Google::Apis::ComputeBeta::DiskList::Representation command.response_class = Google::Apis::ComputeBeta::DiskList command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.query['filter'] = filter unless filter.nil? @@ -2822,11 +2822,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def remove_disk_resource_policies(project, zone, disk, disks_remove_resource_policies_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/disks/{disk}/removeResourcePolicies', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/disks/{disk}/removeResourcePolicies', options) command.request_representation = Google::Apis::ComputeBeta::DisksRemoveResourcePoliciesRequest::Representation command.request_object = disks_remove_resource_policies_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -2877,11 +2877,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def resize_disk(project, zone, disk, disks_resize_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/disks/{disk}/resize', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/disks/{disk}/resize', options) command.request_representation = Google::Apis::ComputeBeta::DisksResizeRequest::Representation command.request_object = disks_resize_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -2921,11 +2921,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_disk_iam_policy(project, zone, resource, zone_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/disks/{resource}/setIamPolicy', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/disks/{resource}/setIamPolicy', options) command.request_representation = Google::Apis::ComputeBeta::ZoneSetPolicyRequest::Representation command.request_object = zone_set_policy_request_object command.response_representation = Google::Apis::ComputeBeta::Policy::Representation command.response_class = Google::Apis::ComputeBeta::Policy command.params['project'] = project unless project.nil? @@ -2975,11 +2975,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_disk_labels(project, zone, resource, zone_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/disks/{resource}/setLabels', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/disks/{resource}/setLabels', options) command.request_representation = Google::Apis::ComputeBeta::ZoneSetLabelsRequest::Representation command.request_object = zone_set_labels_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -3018,11 +3018,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_disk_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/disks/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/disks/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::TestPermissionsResponse command.params['project'] = project unless project.nil? @@ -3068,11 +3068,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_external_vpn_gateway(project, external_vpn_gateway, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/externalVpnGateways/{externalVpnGateway}', options) + command = make_simple_command(:delete, 'projects/{project}/global/externalVpnGateways/{externalVpnGateway}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['externalVpnGateway'] = external_vpn_gateway unless external_vpn_gateway.nil? command.query['requestId'] = request_id unless request_id.nil? @@ -3106,11 +3106,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_external_vpn_gateway(project, external_vpn_gateway, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/externalVpnGateways/{externalVpnGateway}', options) + command = make_simple_command(:get, 'projects/{project}/global/externalVpnGateways/{externalVpnGateway}', options) command.response_representation = Google::Apis::ComputeBeta::ExternalVpnGateway::Representation command.response_class = Google::Apis::ComputeBeta::ExternalVpnGateway command.params['project'] = project unless project.nil? command.params['externalVpnGateway'] = external_vpn_gateway unless external_vpn_gateway.nil? command.query['fields'] = fields unless fields.nil? @@ -3153,11 +3153,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_external_vpn_gateway(project, external_vpn_gateway_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/externalVpnGateways', options) + command = make_simple_command(:post, 'projects/{project}/global/externalVpnGateways', options) command.request_representation = Google::Apis::ComputeBeta::ExternalVpnGateway::Representation command.request_object = external_vpn_gateway_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -3223,11 +3223,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_external_vpn_gateways(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/externalVpnGateways', options) + command = make_simple_command(:get, 'projects/{project}/global/externalVpnGateways', options) command.response_representation = Google::Apis::ComputeBeta::ExternalVpnGatewayList::Representation command.response_class = Google::Apis::ComputeBeta::ExternalVpnGatewayList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? @@ -3264,11 +3264,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_external_vpn_gateway_labels(project, resource, global_set_labels_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/externalVpnGateways/{resource}/setLabels', options) + command = make_simple_command(:post, 'projects/{project}/global/externalVpnGateways/{resource}/setLabels', options) command.request_representation = Google::Apis::ComputeBeta::GlobalSetLabelsRequest::Representation command.request_object = global_set_labels_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -3303,11 +3303,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_external_vpn_gateway_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/externalVpnGateways/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/global/externalVpnGateways/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::TestPermissionsResponse command.params['project'] = project unless project.nil? @@ -3352,11 +3352,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_firewall(project, firewall, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/firewalls/{firewall}', options) + command = make_simple_command(:delete, 'projects/{project}/global/firewalls/{firewall}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['firewall'] = firewall unless firewall.nil? command.query['requestId'] = request_id unless request_id.nil? @@ -3389,11 +3389,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_firewall(project, firewall, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/firewalls/{firewall}', options) + command = make_simple_command(:get, 'projects/{project}/global/firewalls/{firewall}', options) command.response_representation = Google::Apis::ComputeBeta::Firewall::Representation command.response_class = Google::Apis::ComputeBeta::Firewall command.params['project'] = project unless project.nil? command.params['firewall'] = firewall unless firewall.nil? command.query['fields'] = fields unless fields.nil? @@ -3436,11 +3436,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_firewall(project, firewall_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/firewalls', options) + command = make_simple_command(:post, 'projects/{project}/global/firewalls', options) command.request_representation = Google::Apis::ComputeBeta::Firewall::Representation command.request_object = firewall_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -3506,11 +3506,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_firewalls(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/firewalls', options) + command = make_simple_command(:get, 'projects/{project}/global/firewalls', options) command.response_representation = Google::Apis::ComputeBeta::FirewallList::Representation command.response_class = Google::Apis::ComputeBeta::FirewallList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? @@ -3559,11 +3559,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_firewall(project, firewall, firewall_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/global/firewalls/{firewall}', options) + command = make_simple_command(:patch, 'projects/{project}/global/firewalls/{firewall}', options) command.request_representation = Google::Apis::ComputeBeta::Firewall::Representation command.request_object = firewall_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -3599,11 +3599,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_firewall_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/firewalls/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/global/firewalls/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::TestPermissionsResponse command.params['project'] = project unless project.nil? @@ -3651,11 +3651,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def update_firewall(project, firewall, firewall_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:put, '{project}/global/firewalls/{firewall}', options) + command = make_simple_command(:put, 'projects/{project}/global/firewalls/{firewall}', options) command.request_representation = Google::Apis::ComputeBeta::Firewall::Representation command.request_object = firewall_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -3729,11 +3729,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_aggregated_forwarding_rules(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/forwardingRules', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/forwardingRules', options) command.response_representation = Google::Apis::ComputeBeta::ForwardingRuleAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::ForwardingRuleAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? @@ -3782,11 +3782,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_forwarding_rule(project, region, forwarding_rule, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/regions/{region}/forwardingRules/{forwardingRule}', options) + command = make_simple_command(:delete, 'projects/{project}/regions/{region}/forwardingRules/{forwardingRule}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['forwardingRule'] = forwarding_rule unless forwarding_rule.nil? @@ -3822,11 +3822,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_forwarding_rule(project, region, forwarding_rule, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/forwardingRules/{forwardingRule}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/forwardingRules/{forwardingRule}', options) command.response_representation = Google::Apis::ComputeBeta::ForwardingRule::Representation command.response_class = Google::Apis::ComputeBeta::ForwardingRule command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['forwardingRule'] = forwarding_rule unless forwarding_rule.nil? @@ -3872,11 +3872,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_forwarding_rule(project, region, forwarding_rule_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/forwardingRules', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/forwardingRules', options) command.request_representation = Google::Apis::ComputeBeta::ForwardingRule::Representation command.request_object = forwarding_rule_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -3946,11 +3946,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_forwarding_rules(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/forwardingRules', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/forwardingRules', options) command.response_representation = Google::Apis::ComputeBeta::ForwardingRuleList::Representation command.response_class = Google::Apis::ComputeBeta::ForwardingRuleList command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['filter'] = filter unless filter.nil? @@ -4002,11 +4002,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_forwarding_rule(project, region, forwarding_rule, forwarding_rule_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/regions/{region}/forwardingRules/{forwardingRule}', options) + command = make_simple_command(:patch, 'projects/{project}/regions/{region}/forwardingRules/{forwardingRule}', options) command.request_representation = Google::Apis::ComputeBeta::ForwardingRule::Representation command.request_object = forwarding_rule_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -4057,11 +4057,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_forwarding_rule_labels(project, region, resource, region_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/forwardingRules/{resource}/setLabels', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/forwardingRules/{resource}/setLabels', options) command.request_representation = Google::Apis::ComputeBeta::RegionSetLabelsRequest::Representation command.request_object = region_set_labels_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -4112,11 +4112,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_forwarding_rule_target(project, region, forwarding_rule, target_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/forwardingRules/{forwardingRule}/setTarget', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/forwardingRules/{forwardingRule}/setTarget', options) command.request_representation = Google::Apis::ComputeBeta::TargetReference::Representation command.request_object = target_reference_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -4155,11 +4155,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_forwarding_rule_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/forwardingRules/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/forwardingRules/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::TestPermissionsResponse command.params['project'] = project unless project.nil? @@ -4205,11 +4205,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_global_address(project, address, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/addresses/{address}', options) + command = make_simple_command(:delete, 'projects/{project}/global/addresses/{address}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['address'] = address unless address.nil? command.query['requestId'] = request_id unless request_id.nil? @@ -4243,11 +4243,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_global_address(project, address, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/addresses/{address}', options) + command = make_simple_command(:get, 'projects/{project}/global/addresses/{address}', options) command.response_representation = Google::Apis::ComputeBeta::Address::Representation command.response_class = Google::Apis::ComputeBeta::Address command.params['project'] = project unless project.nil? command.params['address'] = address unless address.nil? command.query['fields'] = fields unless fields.nil? @@ -4290,11 +4290,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_global_address(project, address_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/addresses', options) + command = make_simple_command(:post, 'projects/{project}/global/addresses', options) command.request_representation = Google::Apis::ComputeBeta::Address::Representation command.request_object = address_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -4360,11 +4360,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_global_addresses(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/addresses', options) + command = make_simple_command(:get, 'projects/{project}/global/addresses', options) command.response_representation = Google::Apis::ComputeBeta::AddressList::Representation command.response_class = Google::Apis::ComputeBeta::AddressList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? @@ -4401,11 +4401,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_global_address_labels(project, resource, global_set_labels_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/addresses/{resource}/setLabels', options) + command = make_simple_command(:post, 'projects/{project}/global/addresses/{resource}/setLabels', options) command.request_representation = Google::Apis::ComputeBeta::GlobalSetLabelsRequest::Representation command.request_object = global_set_labels_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -4440,11 +4440,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_global_address_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/addresses/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/global/addresses/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::TestPermissionsResponse command.params['project'] = project unless project.nil? @@ -4489,11 +4489,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_global_forwarding_rule(project, forwarding_rule, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/forwardingRules/{forwardingRule}', options) + command = make_simple_command(:delete, 'projects/{project}/global/forwardingRules/{forwardingRule}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['forwardingRule'] = forwarding_rule unless forwarding_rule.nil? command.query['requestId'] = request_id unless request_id.nil? @@ -4527,11 +4527,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_global_forwarding_rule(project, forwarding_rule, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/forwardingRules/{forwardingRule}', options) + command = make_simple_command(:get, 'projects/{project}/global/forwardingRules/{forwardingRule}', options) command.response_representation = Google::Apis::ComputeBeta::ForwardingRule::Representation command.response_class = Google::Apis::ComputeBeta::ForwardingRule command.params['project'] = project unless project.nil? command.params['forwardingRule'] = forwarding_rule unless forwarding_rule.nil? command.query['fields'] = fields unless fields.nil? @@ -4574,11 +4574,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_global_forwarding_rule(project, forwarding_rule_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/forwardingRules', options) + command = make_simple_command(:post, 'projects/{project}/global/forwardingRules', options) command.request_representation = Google::Apis::ComputeBeta::ForwardingRule::Representation command.request_object = forwarding_rule_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -4645,11 +4645,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_global_forwarding_rules(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/forwardingRules', options) + command = make_simple_command(:get, 'projects/{project}/global/forwardingRules', options) command.response_representation = Google::Apis::ComputeBeta::ForwardingRuleList::Representation command.response_class = Google::Apis::ComputeBeta::ForwardingRuleList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? @@ -4698,11 +4698,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_global_forwarding_rule(project, forwarding_rule, forwarding_rule_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/global/forwardingRules/{forwardingRule}', options) + command = make_simple_command(:patch, 'projects/{project}/global/forwardingRules/{forwardingRule}', options) command.request_representation = Google::Apis::ComputeBeta::ForwardingRule::Representation command.request_object = forwarding_rule_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -4739,11 +4739,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_global_forwarding_rule_labels(project, resource, global_set_labels_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/forwardingRules/{resource}/setLabels', options) + command = make_simple_command(:post, 'projects/{project}/global/forwardingRules/{resource}/setLabels', options) command.request_representation = Google::Apis::ComputeBeta::GlobalSetLabelsRequest::Representation command.request_object = global_set_labels_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -4790,11 +4790,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_global_forwarding_rule_target(project, forwarding_rule, target_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/forwardingRules/{forwardingRule}/setTarget', options) + command = make_simple_command(:post, 'projects/{project}/global/forwardingRules/{forwardingRule}/setTarget', options) command.request_representation = Google::Apis::ComputeBeta::TargetReference::Representation command.request_object = target_reference_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -4830,11 +4830,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_global_forwarding_rule_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/forwardingRules/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/global/forwardingRules/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::TestPermissionsResponse command.params['project'] = project unless project.nil? @@ -4881,11 +4881,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def attach_global_network_endpoint_group_network_endpoints(project, network_endpoint_group, global_network_endpoint_groups_attach_endpoints_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/networkEndpointGroups/{networkEndpointGroup}/attachNetworkEndpoints', options) + command = make_simple_command(:post, 'projects/{project}/global/networkEndpointGroups/{networkEndpointGroup}/attachNetworkEndpoints', options) command.request_representation = Google::Apis::ComputeBeta::GlobalNetworkEndpointGroupsAttachEndpointsRequest::Representation command.request_object = global_network_endpoint_groups_attach_endpoints_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -4933,11 +4933,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_global_network_endpoint_group(project, network_endpoint_group, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/networkEndpointGroups/{networkEndpointGroup}', options) + command = make_simple_command(:delete, 'projects/{project}/global/networkEndpointGroups/{networkEndpointGroup}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['networkEndpointGroup'] = network_endpoint_group unless network_endpoint_group.nil? command.query['requestId'] = request_id unless request_id.nil? @@ -4983,11 +4983,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def detach_global_network_endpoint_group_network_endpoints(project, network_endpoint_group, global_network_endpoint_groups_detach_endpoints_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/networkEndpointGroups/{networkEndpointGroup}/detachNetworkEndpoints', options) + command = make_simple_command(:post, 'projects/{project}/global/networkEndpointGroups/{networkEndpointGroup}/detachNetworkEndpoints', options) command.request_representation = Google::Apis::ComputeBeta::GlobalNetworkEndpointGroupsDetachEndpointsRequest::Representation command.request_object = global_network_endpoint_groups_detach_endpoints_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -5023,11 +5023,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_global_network_endpoint_group(project, network_endpoint_group, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/networkEndpointGroups/{networkEndpointGroup}', options) + command = make_simple_command(:get, 'projects/{project}/global/networkEndpointGroups/{networkEndpointGroup}', options) command.response_representation = Google::Apis::ComputeBeta::NetworkEndpointGroup::Representation command.response_class = Google::Apis::ComputeBeta::NetworkEndpointGroup command.params['project'] = project unless project.nil? command.params['networkEndpointGroup'] = network_endpoint_group unless network_endpoint_group.nil? command.query['fields'] = fields unless fields.nil? @@ -5070,11 +5070,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_global_network_endpoint_group(project, network_endpoint_group_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/networkEndpointGroups', options) + command = make_simple_command(:post, 'projects/{project}/global/networkEndpointGroups', options) command.request_representation = Google::Apis::ComputeBeta::NetworkEndpointGroup::Representation command.request_object = network_endpoint_group_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -5141,11 +5141,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_global_network_endpoint_groups(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/networkEndpointGroups', options) + command = make_simple_command(:get, 'projects/{project}/global/networkEndpointGroups', options) command.response_representation = Google::Apis::ComputeBeta::NetworkEndpointGroupList::Representation command.response_class = Google::Apis::ComputeBeta::NetworkEndpointGroupList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? @@ -5215,11 +5215,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_global_network_endpoint_group_network_endpoints(project, network_endpoint_group, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/networkEndpointGroups/{networkEndpointGroup}/listNetworkEndpoints', options) + command = make_simple_command(:post, 'projects/{project}/global/networkEndpointGroups/{networkEndpointGroup}/listNetworkEndpoints', options) command.response_representation = Google::Apis::ComputeBeta::NetworkEndpointGroupsListNetworkEndpoints::Representation command.response_class = Google::Apis::ComputeBeta::NetworkEndpointGroupsListNetworkEndpoints command.params['project'] = project unless project.nil? command.params['networkEndpointGroup'] = network_endpoint_group unless network_endpoint_group.nil? command.query['filter'] = filter unless filter.nil? @@ -5294,11 +5294,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_aggregated_global_operation(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/operations', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/operations', options) command.response_representation = Google::Apis::ComputeBeta::OperationAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::OperationAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? @@ -5334,11 +5334,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_global_operation(project, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/operations/{operation}', options) + command = make_simple_command(:delete, 'projects/{project}/global/operations/{operation}', options) command.params['project'] = project unless project.nil? command.params['operation'] = operation unless operation.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? @@ -5369,11 +5369,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_global_operation(project, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/operations/{operation}', options) + command = make_simple_command(:get, 'projects/{project}/global/operations/{operation}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['operation'] = operation unless operation.nil? command.query['fields'] = fields unless fields.nil? @@ -5437,11 +5437,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_global_operations(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/operations', options) + command = make_simple_command(:get, 'projects/{project}/global/operations', options) command.response_representation = Google::Apis::ComputeBeta::OperationList::Representation command.response_class = Google::Apis::ComputeBeta::OperationList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? @@ -5486,11 +5486,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def wait_global_operation(project, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/operations/{operation}/wait', options) + command = make_simple_command(:post, 'projects/{project}/global/operations/{operation}/wait', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['operation'] = operation unless operation.nil? command.query['fields'] = fields unless fields.nil? @@ -5705,11 +5705,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def aggregated_health_check_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/healthChecks', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/healthChecks', options) command.response_representation = Google::Apis::ComputeBeta::HealthChecksAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::HealthChecksAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? @@ -5756,11 +5756,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_health_check(project, health_check, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/healthChecks/{healthCheck}', options) + command = make_simple_command(:delete, 'projects/{project}/global/healthChecks/{healthCheck}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['healthCheck'] = health_check unless health_check.nil? command.query['requestId'] = request_id unless request_id.nil? @@ -5794,11 +5794,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_health_check(project, health_check, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/healthChecks/{healthCheck}', options) + command = make_simple_command(:get, 'projects/{project}/global/healthChecks/{healthCheck}', options) command.response_representation = Google::Apis::ComputeBeta::HealthCheck::Representation command.response_class = Google::Apis::ComputeBeta::HealthCheck command.params['project'] = project unless project.nil? command.params['healthCheck'] = health_check unless health_check.nil? command.query['fields'] = fields unless fields.nil? @@ -5841,11 +5841,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_health_check(project, health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/healthChecks', options) + command = make_simple_command(:post, 'projects/{project}/global/healthChecks', options) command.request_representation = Google::Apis::ComputeBeta::HealthCheck::Representation command.request_object = health_check_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -5911,11 +5911,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_health_checks(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/healthChecks', options) + command = make_simple_command(:get, 'projects/{project}/global/healthChecks', options) command.response_representation = Google::Apis::ComputeBeta::HealthCheckList::Representation command.response_class = Google::Apis::ComputeBeta::HealthCheckList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? @@ -5964,11 +5964,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_health_check(project, health_check, health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/global/healthChecks/{healthCheck}', options) + command = make_simple_command(:patch, 'projects/{project}/global/healthChecks/{healthCheck}', options) command.request_representation = Google::Apis::ComputeBeta::HealthCheck::Representation command.request_object = health_check_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -6004,11 +6004,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_health_check_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/healthChecks/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/global/healthChecks/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::TestPermissionsResponse command.params['project'] = project unless project.nil? @@ -6055,11 +6055,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def update_health_check(project, health_check, health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:put, '{project}/global/healthChecks/{healthCheck}', options) + command = make_simple_command(:put, 'projects/{project}/global/healthChecks/{healthCheck}', options) command.request_representation = Google::Apis::ComputeBeta::HealthCheck::Representation command.request_object = health_check_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -6105,11 +6105,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_http_health_check(project, http_health_check, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/httpHealthChecks/{httpHealthCheck}', options) + command = make_simple_command(:delete, 'projects/{project}/global/httpHealthChecks/{httpHealthCheck}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['httpHealthCheck'] = http_health_check unless http_health_check.nil? command.query['requestId'] = request_id unless request_id.nil? @@ -6143,11 +6143,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_http_health_check(project, http_health_check, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/httpHealthChecks/{httpHealthCheck}', options) + command = make_simple_command(:get, 'projects/{project}/global/httpHealthChecks/{httpHealthCheck}', options) command.response_representation = Google::Apis::ComputeBeta::HttpHealthCheck::Representation command.response_class = Google::Apis::ComputeBeta::HttpHealthCheck command.params['project'] = project unless project.nil? command.params['httpHealthCheck'] = http_health_check unless http_health_check.nil? command.query['fields'] = fields unless fields.nil? @@ -6190,11 +6190,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_http_health_check(project, http_health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/httpHealthChecks', options) + command = make_simple_command(:post, 'projects/{project}/global/httpHealthChecks', options) command.request_representation = Google::Apis::ComputeBeta::HttpHealthCheck::Representation command.request_object = http_health_check_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -6261,11 +6261,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_http_health_checks(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/httpHealthChecks', options) + command = make_simple_command(:get, 'projects/{project}/global/httpHealthChecks', options) command.response_representation = Google::Apis::ComputeBeta::HttpHealthCheckList::Representation command.response_class = Google::Apis::ComputeBeta::HttpHealthCheckList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? @@ -6314,11 +6314,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_http_health_check(project, http_health_check, http_health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/global/httpHealthChecks/{httpHealthCheck}', options) + command = make_simple_command(:patch, 'projects/{project}/global/httpHealthChecks/{httpHealthCheck}', options) command.request_representation = Google::Apis::ComputeBeta::HttpHealthCheck::Representation command.request_object = http_health_check_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -6354,11 +6354,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_http_health_check_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/httpHealthChecks/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/global/httpHealthChecks/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::TestPermissionsResponse command.params['project'] = project unless project.nil? @@ -6405,11 +6405,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def update_http_health_check(project, http_health_check, http_health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:put, '{project}/global/httpHealthChecks/{httpHealthCheck}', options) + command = make_simple_command(:put, 'projects/{project}/global/httpHealthChecks/{httpHealthCheck}', options) command.request_representation = Google::Apis::ComputeBeta::HttpHealthCheck::Representation command.request_object = http_health_check_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -6455,11 +6455,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_https_health_check(project, https_health_check, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/httpsHealthChecks/{httpsHealthCheck}', options) + command = make_simple_command(:delete, 'projects/{project}/global/httpsHealthChecks/{httpsHealthCheck}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['httpsHealthCheck'] = https_health_check unless https_health_check.nil? command.query['requestId'] = request_id unless request_id.nil? @@ -6493,11 +6493,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_https_health_check(project, https_health_check, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/httpsHealthChecks/{httpsHealthCheck}', options) + command = make_simple_command(:get, 'projects/{project}/global/httpsHealthChecks/{httpsHealthCheck}', options) command.response_representation = Google::Apis::ComputeBeta::HttpsHealthCheck::Representation command.response_class = Google::Apis::ComputeBeta::HttpsHealthCheck command.params['project'] = project unless project.nil? command.params['httpsHealthCheck'] = https_health_check unless https_health_check.nil? command.query['fields'] = fields unless fields.nil? @@ -6540,11 +6540,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_https_health_check(project, https_health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/httpsHealthChecks', options) + command = make_simple_command(:post, 'projects/{project}/global/httpsHealthChecks', options) command.request_representation = Google::Apis::ComputeBeta::HttpsHealthCheck::Representation command.request_object = https_health_check_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -6611,11 +6611,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_https_health_checks(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/httpsHealthChecks', options) + command = make_simple_command(:get, 'projects/{project}/global/httpsHealthChecks', options) command.response_representation = Google::Apis::ComputeBeta::HttpsHealthCheckList::Representation command.response_class = Google::Apis::ComputeBeta::HttpsHealthCheckList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? @@ -6664,11 +6664,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_https_health_check(project, https_health_check, https_health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/global/httpsHealthChecks/{httpsHealthCheck}', options) + command = make_simple_command(:patch, 'projects/{project}/global/httpsHealthChecks/{httpsHealthCheck}', options) command.request_representation = Google::Apis::ComputeBeta::HttpsHealthCheck::Representation command.request_object = https_health_check_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -6704,11 +6704,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_https_health_check_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/httpsHealthChecks/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/global/httpsHealthChecks/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::TestPermissionsResponse command.params['project'] = project unless project.nil? @@ -6755,11 +6755,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def update_https_health_check(project, https_health_check, https_health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:put, '{project}/global/httpsHealthChecks/{httpsHealthCheck}', options) + command = make_simple_command(:put, 'projects/{project}/global/httpsHealthChecks/{httpsHealthCheck}', options) command.request_representation = Google::Apis::ComputeBeta::HttpsHealthCheck::Representation command.request_object = https_health_check_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -6805,11 +6805,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_image(project, image, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/images/{image}', options) + command = make_simple_command(:delete, 'projects/{project}/global/images/{image}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['image'] = image unless image.nil? command.query['requestId'] = request_id unless request_id.nil? @@ -6855,11 +6855,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def deprecate_image(project, image, deprecation_status_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/images/{image}/deprecate', options) + command = make_simple_command(:post, 'projects/{project}/global/images/{image}/deprecate', options) command.request_representation = Google::Apis::ComputeBeta::DeprecationStatus::Representation command.request_object = deprecation_status_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -6895,11 +6895,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_image(project, image, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/images/{image}', options) + command = make_simple_command(:get, 'projects/{project}/global/images/{image}', options) command.response_representation = Google::Apis::ComputeBeta::Image::Representation command.response_class = Google::Apis::ComputeBeta::Image command.params['project'] = project unless project.nil? command.params['image'] = image unless image.nil? command.query['fields'] = fields unless fields.nil? @@ -6931,11 +6931,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_image_from_family(project, family, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/images/family/{family}', options) + command = make_simple_command(:get, 'projects/{project}/global/images/family/{family}', options) command.response_representation = Google::Apis::ComputeBeta::Image::Representation command.response_class = Google::Apis::ComputeBeta::Image command.params['project'] = project unless project.nil? command.params['family'] = family unless family.nil? command.query['fields'] = fields unless fields.nil? @@ -6970,11 +6970,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_image_iam_policy(project, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/images/{resource}/getIamPolicy', options) + command = make_simple_command(:get, 'projects/{project}/global/images/{resource}/getIamPolicy', options) command.response_representation = Google::Apis::ComputeBeta::Policy::Representation command.response_class = Google::Apis::ComputeBeta::Policy command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['optionsRequestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil? @@ -7020,11 +7020,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_image(project, image_object = nil, force_create: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/images', options) + command = make_simple_command(:post, 'projects/{project}/global/images', options) command.request_representation = Google::Apis::ComputeBeta::Image::Representation command.request_object = image_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -7096,11 +7096,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_images(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/images', options) + command = make_simple_command(:get, 'projects/{project}/global/images', options) command.response_representation = Google::Apis::ComputeBeta::ImageList::Representation command.response_class = Google::Apis::ComputeBeta::ImageList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? @@ -7137,11 +7137,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_image_iam_policy(project, resource, global_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/images/{resource}/setIamPolicy', options) + command = make_simple_command(:post, 'projects/{project}/global/images/{resource}/setIamPolicy', options) command.request_representation = Google::Apis::ComputeBeta::GlobalSetPolicyRequest::Representation command.request_object = global_set_policy_request_object command.response_representation = Google::Apis::ComputeBeta::Policy::Representation command.response_class = Google::Apis::ComputeBeta::Policy command.params['project'] = project unless project.nil? @@ -7177,11 +7177,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_image_labels(project, resource, global_set_labels_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/images/{resource}/setLabels', options) + command = make_simple_command(:post, 'projects/{project}/global/images/{resource}/setLabels', options) command.request_representation = Google::Apis::ComputeBeta::GlobalSetLabelsRequest::Representation command.request_object = global_set_labels_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -7216,11 +7216,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_image_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/images/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/global/images/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::TestPermissionsResponse command.params['project'] = project unless project.nil? @@ -7279,11 +7279,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def abandon_instance_group_manager_instances(project, zone, instance_group_manager, instance_group_managers_abandon_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/abandonInstances', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/abandonInstances', options) command.request_representation = Google::Apis::ComputeBeta::InstanceGroupManagersAbandonInstancesRequest::Representation command.request_object = instance_group_managers_abandon_instances_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -7358,11 +7358,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_aggregated_instance_group_managers(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/instanceGroupManagers', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/instanceGroupManagers', options) command.response_representation = Google::Apis::ComputeBeta::InstanceGroupManagerAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::InstanceGroupManagerAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? @@ -7403,11 +7403,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def apply_instance_group_manager_updates_to_instances(project, zone, instance_group_manager, instance_group_managers_apply_updates_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/applyUpdatesToInstances', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/applyUpdatesToInstances', options) command.request_representation = Google::Apis::ComputeBeta::InstanceGroupManagersApplyUpdatesRequest::Representation command.request_object = instance_group_managers_apply_updates_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -7461,11 +7461,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def create_instance_group_manager_instances(project, zone, instance_group_manager, instance_group_managers_create_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/createInstances', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/createInstances', options) command.request_representation = Google::Apis::ComputeBeta::InstanceGroupManagersCreateInstancesRequest::Representation command.request_object = instance_group_managers_create_instances_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -7516,11 +7516,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_instance_group_manager(project, zone, instance_group_manager, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}', options) + command = make_simple_command(:delete, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? @@ -7578,11 +7578,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_instance_group_manager_instances(project, zone, instance_group_manager, instance_group_managers_delete_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/deleteInstances', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/deleteInstances', options) command.request_representation = Google::Apis::ComputeBeta::InstanceGroupManagersDeleteInstancesRequest::Representation command.request_object = instance_group_managers_delete_instances_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -7622,11 +7622,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_instance_group_manager_per_instance_configs(project, zone, instance_group_manager, instance_group_managers_delete_per_instance_configs_req_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/deletePerInstanceConfigs', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/deletePerInstanceConfigs', options) command.request_representation = Google::Apis::ComputeBeta::InstanceGroupManagersDeletePerInstanceConfigsReq::Representation command.request_object = instance_group_managers_delete_per_instance_configs_req_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -7664,11 +7664,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_instance_group_manager(project, zone, instance_group_manager, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}', options) command.response_representation = Google::Apis::ComputeBeta::InstanceGroupManager::Representation command.response_class = Google::Apis::ComputeBeta::InstanceGroupManager command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? @@ -7720,11 +7720,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_instance_group_manager(project, zone, instance_group_manager_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroupManagers', options) command.request_representation = Google::Apis::ComputeBeta::InstanceGroupManager::Representation command.request_object = instance_group_manager_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -7794,11 +7794,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_instance_group_managers(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/instanceGroupManagers', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/instanceGroupManagers', options) command.response_representation = Google::Apis::ComputeBeta::InstanceGroupManagerList::Representation command.response_class = Google::Apis::ComputeBeta::InstanceGroupManagerList command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.query['filter'] = filter unless filter.nil? @@ -7874,11 +7874,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_instance_group_manager_errors(project, zone, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listErrors', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listErrors', options) command.response_representation = Google::Apis::ComputeBeta::InstanceGroupManagersListErrorsResponse::Representation command.response_class = Google::Apis::ComputeBeta::InstanceGroupManagersListErrorsResponse command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? @@ -7955,11 +7955,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_instance_group_manager_managed_instances(project, zone, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances', options) command.response_representation = Google::Apis::ComputeBeta::InstanceGroupManagersListManagedInstancesResponse::Representation command.response_class = Google::Apis::ComputeBeta::InstanceGroupManagersListManagedInstancesResponse command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? @@ -8033,11 +8033,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_instance_group_manager_per_instance_configs(project, zone, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listPerInstanceConfigs', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listPerInstanceConfigs', options) command.response_representation = Google::Apis::ComputeBeta::InstanceGroupManagersListPerInstanceConfigsResp::Representation command.response_class = Google::Apis::ComputeBeta::InstanceGroupManagersListPerInstanceConfigsResp command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? @@ -8093,11 +8093,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_instance_group_manager(project, zone, instance_group_manager, instance_group_manager_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}', options) + command = make_simple_command(:patch, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}', options) command.request_representation = Google::Apis::ComputeBeta::InstanceGroupManager::Representation command.request_object = instance_group_manager_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -8150,11 +8150,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_instance_group_manager_per_instance_configs(project, zone, instance_group_manager, instance_group_managers_patch_per_instance_configs_req_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/patchPerInstanceConfigs', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/patchPerInstanceConfigs', options) command.request_representation = Google::Apis::ComputeBeta::InstanceGroupManagersPatchPerInstanceConfigsReq::Representation command.request_object = instance_group_managers_patch_per_instance_configs_req_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -8213,11 +8213,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def recreate_instance_group_manager_instances(project, zone, instance_group_manager, instance_group_managers_recreate_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/recreateInstances', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/recreateInstances', options) command.request_representation = Google::Apis::ComputeBeta::InstanceGroupManagersRecreateInstancesRequest::Representation command.request_object = instance_group_managers_recreate_instances_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -8285,11 +8285,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def resize_instance_group_manager(project, zone, instance_group_manager, size, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resize', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resize', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? @@ -8349,11 +8349,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def resize_instance_group_manager_advanced(project, zone, instance_group_manager, instance_group_managers_resize_advanced_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resizeAdvanced', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resizeAdvanced', options) command.request_representation = Google::Apis::ComputeBeta::InstanceGroupManagersResizeAdvancedRequest::Representation command.request_object = instance_group_managers_resize_advanced_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -8404,11 +8404,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_instance_group_manager_auto_healing_policies(project, zone, instance_group_manager, instance_group_managers_set_auto_healing_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setAutoHealingPolicies', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setAutoHealingPolicies', options) command.request_representation = Google::Apis::ComputeBeta::InstanceGroupManagersSetAutoHealingRequest::Representation command.request_object = instance_group_managers_set_auto_healing_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -8460,11 +8460,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_instance_group_manager_instance_template(project, zone, instance_group_manager, instance_group_managers_set_instance_template_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate', options) command.request_representation = Google::Apis::ComputeBeta::InstanceGroupManagersSetInstanceTemplateRequest::Representation command.request_object = instance_group_managers_set_instance_template_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -8519,11 +8519,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_instance_group_manager_target_pools(project, zone, instance_group_manager, instance_group_managers_set_target_pools_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setTargetPools', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setTargetPools', options) command.request_representation = Google::Apis::ComputeBeta::InstanceGroupManagersSetTargetPoolsRequest::Representation command.request_object = instance_group_managers_set_target_pools_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -8562,11 +8562,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_instance_group_manager_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroupManagers/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::TestPermissionsResponse command.params['project'] = project unless project.nil? @@ -8619,11 +8619,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def update_instance_group_manager(project, zone, instance_group_manager, instance_group_manager_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:put, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}', options) + command = make_simple_command(:put, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}', options) command.request_representation = Google::Apis::ComputeBeta::InstanceGroupManager::Representation command.request_object = instance_group_manager_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -8676,11 +8676,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def update_instance_group_manager_per_instance_configs(project, zone, instance_group_manager, instance_group_managers_update_per_instance_configs_req_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/updatePerInstanceConfigs', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/updatePerInstanceConfigs', options) command.request_representation = Google::Apis::ComputeBeta::InstanceGroupManagersUpdatePerInstanceConfigsReq::Representation command.request_object = instance_group_managers_update_per_instance_configs_req_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -8732,11 +8732,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def add_instance_group_instances(project, zone, instance_group, instance_groups_add_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroups/{instanceGroup}/addInstances', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}/addInstances', options) command.request_representation = Google::Apis::ComputeBeta::InstanceGroupsAddInstancesRequest::Representation command.request_object = instance_groups_add_instances_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -8811,11 +8811,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_aggregated_instance_groups(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/instanceGroups', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/instanceGroups', options) command.response_representation = Google::Apis::ComputeBeta::InstanceGroupAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::InstanceGroupAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? @@ -8866,11 +8866,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_instance_group(project, zone, instance_group, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/zones/{zone}/instanceGroups/{instanceGroup}', options) + command = make_simple_command(:delete, 'projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instanceGroup'] = instance_group unless instance_group.nil? @@ -8907,11 +8907,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_instance_group(project, zone, instance_group, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/instanceGroups/{instanceGroup}', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}', options) command.response_representation = Google::Apis::ComputeBeta::InstanceGroup::Representation command.response_class = Google::Apis::ComputeBeta::InstanceGroup command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instanceGroup'] = instance_group unless instance_group.nil? @@ -8957,11 +8957,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_instance_group(project, zone, instance_group_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroups', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroups', options) command.request_representation = Google::Apis::ComputeBeta::InstanceGroup::Representation command.request_object = instance_group_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -9031,11 +9031,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_instance_groups(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/instanceGroups', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/instanceGroups', options) command.response_representation = Google::Apis::ComputeBeta::InstanceGroupList::Representation command.response_class = Google::Apis::ComputeBeta::InstanceGroupList command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.query['filter'] = filter unless filter.nil? @@ -9109,11 +9109,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_instance_group_instances(project, zone, instance_group, instance_groups_list_instances_request_object = nil, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroups/{instanceGroup}/listInstances', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}/listInstances', options) command.request_representation = Google::Apis::ComputeBeta::InstanceGroupsListInstancesRequest::Representation command.request_object = instance_groups_list_instances_request_object command.response_representation = Google::Apis::ComputeBeta::InstanceGroupsListInstances::Representation command.response_class = Google::Apis::ComputeBeta::InstanceGroupsListInstances command.params['project'] = project unless project.nil? @@ -9170,11 +9170,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def remove_instance_group_instances(project, zone, instance_group, instance_groups_remove_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroups/{instanceGroup}/removeInstances', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}/removeInstances', options) command.request_representation = Google::Apis::ComputeBeta::InstanceGroupsRemoveInstancesRequest::Representation command.request_object = instance_groups_remove_instances_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -9224,11 +9224,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_instance_group_named_ports(project, zone, instance_group, instance_groups_set_named_ports_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroups/{instanceGroup}/setNamedPorts', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}/setNamedPorts', options) command.request_representation = Google::Apis::ComputeBeta::InstanceGroupsSetNamedPortsRequest::Representation command.request_object = instance_groups_set_named_ports_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -9267,11 +9267,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_instance_group_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroups/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroups/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::TestPermissionsResponse command.params['project'] = project unless project.nil? @@ -9319,11 +9319,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_instance_template(project, instance_template, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/instanceTemplates/{instanceTemplate}', options) + command = make_simple_command(:delete, 'projects/{project}/global/instanceTemplates/{instanceTemplate}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['instanceTemplate'] = instance_template unless instance_template.nil? command.query['requestId'] = request_id unless request_id.nil? @@ -9357,11 +9357,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_instance_template(project, instance_template, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/instanceTemplates/{instanceTemplate}', options) + command = make_simple_command(:get, 'projects/{project}/global/instanceTemplates/{instanceTemplate}', options) command.response_representation = Google::Apis::ComputeBeta::InstanceTemplate::Representation command.response_class = Google::Apis::ComputeBeta::InstanceTemplate command.params['project'] = project unless project.nil? command.params['instanceTemplate'] = instance_template unless instance_template.nil? command.query['fields'] = fields unless fields.nil? @@ -9396,11 +9396,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_instance_template_iam_policy(project, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/instanceTemplates/{resource}/getIamPolicy', options) + command = make_simple_command(:get, 'projects/{project}/global/instanceTemplates/{resource}/getIamPolicy', options) command.response_representation = Google::Apis::ComputeBeta::Policy::Representation command.response_class = Google::Apis::ComputeBeta::Policy command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['optionsRequestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil? @@ -9446,11 +9446,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_instance_template(project, instance_template_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/instanceTemplates', options) + command = make_simple_command(:post, 'projects/{project}/global/instanceTemplates', options) command.request_representation = Google::Apis::ComputeBeta::InstanceTemplate::Representation command.request_object = instance_template_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -9517,11 +9517,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_instance_templates(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/instanceTemplates', options) + command = make_simple_command(:get, 'projects/{project}/global/instanceTemplates', options) command.response_representation = Google::Apis::ComputeBeta::InstanceTemplateList::Representation command.response_class = Google::Apis::ComputeBeta::InstanceTemplateList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? @@ -9558,11 +9558,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_instance_template_iam_policy(project, resource, global_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/instanceTemplates/{resource}/setIamPolicy', options) + command = make_simple_command(:post, 'projects/{project}/global/instanceTemplates/{resource}/setIamPolicy', options) command.request_representation = Google::Apis::ComputeBeta::GlobalSetPolicyRequest::Representation command.request_object = global_set_policy_request_object command.response_representation = Google::Apis::ComputeBeta::Policy::Representation command.response_class = Google::Apis::ComputeBeta::Policy command.params['project'] = project unless project.nil? @@ -9597,11 +9597,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_instance_template_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/instanceTemplates/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/global/instanceTemplates/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::TestPermissionsResponse command.params['project'] = project unless project.nil? @@ -9651,11 +9651,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def add_instance_access_config(project, zone, instance, network_interface, access_config_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/addAccessConfig', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/addAccessConfig', options) command.request_representation = Google::Apis::ComputeBeta::AccessConfig::Representation command.request_object = access_config_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -9708,11 +9708,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def add_instance_resource_policies(project, zone, instance, instances_add_resource_policies_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/addResourcePolicies', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/addResourcePolicies', options) command.request_representation = Google::Apis::ComputeBeta::InstancesAddResourcePoliciesRequest::Representation command.request_object = instances_add_resource_policies_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -9788,11 +9788,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_aggregated_instances(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/instances', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/instances', options) command.response_representation = Google::Apis::ComputeBeta::InstanceAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::InstanceAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? @@ -9848,11 +9848,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def attach_disk(project, zone, instance, attached_disk_object = nil, force_attach: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/attachDisk', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/attachDisk', options) command.request_representation = Google::Apis::ComputeBeta::AttachedDisk::Representation command.request_object = attached_disk_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -9903,11 +9903,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_instance(project, zone, instance, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/zones/{zone}/instances/{instance}', options) + command = make_simple_command(:delete, 'projects/{project}/zones/{zone}/instances/{instance}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? @@ -9958,11 +9958,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_instance_access_config(project, zone, instance, access_config, network_interface, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/deleteAccessConfig', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/deleteAccessConfig', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? @@ -10014,11 +10014,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def detach_disk(project, zone, instance, device_name, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/detachDisk', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/detachDisk', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? @@ -10056,11 +10056,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_instance(project, zone, instance, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/instances/{instance}', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/instances/{instance}', options) command.response_representation = Google::Apis::ComputeBeta::Instance::Representation command.response_class = Google::Apis::ComputeBeta::Instance command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? @@ -10097,11 +10097,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_instance_effective_firewalls(project, zone, instance, network_interface, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/instances/{instance}/getEffectiveFirewalls', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/instances/{instance}/getEffectiveFirewalls', options) command.response_representation = Google::Apis::ComputeBeta::InstancesGetEffectiveFirewallsResponse::Representation command.response_class = Google::Apis::ComputeBeta::InstancesGetEffectiveFirewallsResponse command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? @@ -10141,11 +10141,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_instance_guest_attributes(project, zone, instance, query_path: nil, variable_key: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/instances/{instance}/getGuestAttributes', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/instances/{instance}/getGuestAttributes', options) command.response_representation = Google::Apis::ComputeBeta::GuestAttributes::Representation command.response_class = Google::Apis::ComputeBeta::GuestAttributes command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? @@ -10185,11 +10185,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_instance_iam_policy(project, zone, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/instances/{resource}/getIamPolicy', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/instances/{resource}/getIamPolicy', options) command.response_representation = Google::Apis::ComputeBeta::Policy::Representation command.response_class = Google::Apis::ComputeBeta::Policy command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['resource'] = resource unless resource.nil? @@ -10225,11 +10225,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_instance_screenshot(project, zone, instance, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/instances/{instance}/screenshot', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/instances/{instance}/screenshot', options) command.response_representation = Google::Apis::ComputeBeta::Screenshot::Representation command.response_class = Google::Apis::ComputeBeta::Screenshot command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? @@ -10271,11 +10271,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_instance_serial_port_output(project, zone, instance, port: nil, start: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/instances/{instance}/serialPort', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/instances/{instance}/serialPort', options) command.response_representation = Google::Apis::ComputeBeta::SerialPortOutput::Representation command.response_class = Google::Apis::ComputeBeta::SerialPortOutput command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? @@ -10312,11 +10312,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_instance_shielded_instance_identity(project, zone, instance, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/instances/{instance}/getShieldedInstanceIdentity', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/instances/{instance}/getShieldedInstanceIdentity', options) command.response_representation = Google::Apis::ComputeBeta::ShieldedInstanceIdentity::Representation command.response_class = Google::Apis::ComputeBeta::ShieldedInstanceIdentity command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? @@ -10351,11 +10351,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_instance_shielded_vm_identity(project, zone, instance, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/instances/{instance}/getShieldedVmIdentity', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/instances/{instance}/getShieldedVmIdentity', options) command.response_representation = Google::Apis::ComputeBeta::ShieldedVmIdentity::Representation command.response_class = Google::Apis::ComputeBeta::ShieldedVmIdentity command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? @@ -10417,11 +10417,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_instance(project, zone, instance_object = nil, request_id: nil, source_instance_template: nil, source_machine_image: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances', options) command.request_representation = Google::Apis::ComputeBeta::Instance::Representation command.request_object = instance_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -10492,11 +10492,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_instances(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/instances', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/instances', options) command.response_representation = Google::Apis::ComputeBeta::InstanceList::Representation command.response_class = Google::Apis::ComputeBeta::InstanceList command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.query['filter'] = filter unless filter.nil? @@ -10570,11 +10570,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_instance_referrers(project, zone, instance, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/instances/{instance}/referrers', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/instances/{instance}/referrers', options) command.response_representation = Google::Apis::ComputeBeta::InstanceListReferrers::Representation command.response_class = Google::Apis::ComputeBeta::InstanceListReferrers command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? @@ -10625,11 +10625,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def remove_instance_resource_policies(project, zone, instance, instances_remove_resource_policies_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/removeResourcePolicies', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/removeResourcePolicies', options) command.request_representation = Google::Apis::ComputeBeta::InstancesRemoveResourcePoliciesRequest::Representation command.request_object = instances_remove_resource_policies_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -10679,11 +10679,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def reset_instance(project, zone, instance, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/reset', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/reset', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? @@ -10731,11 +10731,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def resume_instance(project, zone, instance, instances_resume_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/resume', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/resume', options) command.request_representation = Google::Apis::ComputeBeta::InstancesResumeRequest::Representation command.request_object = instances_resume_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -10786,11 +10786,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_instance_deletion_protection(project, zone, resource, deletion_protection: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances/{resource}/setDeletionProtection', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{resource}/setDeletionProtection', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['resource'] = resource unless resource.nil? @@ -10843,11 +10843,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_disk_auto_delete(project, zone, instance, auto_delete, device_name, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/setDiskAutoDelete', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/setDiskAutoDelete', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? @@ -10887,11 +10887,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_instance_iam_policy(project, zone, resource, zone_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances/{resource}/setIamPolicy', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{resource}/setIamPolicy', options) command.request_representation = Google::Apis::ComputeBeta::ZoneSetPolicyRequest::Representation command.request_object = zone_set_policy_request_object command.response_representation = Google::Apis::ComputeBeta::Policy::Representation command.response_class = Google::Apis::ComputeBeta::Policy command.params['project'] = project unless project.nil? @@ -10941,11 +10941,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_instance_labels(project, zone, instance, instances_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/setLabels', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/setLabels', options) command.request_representation = Google::Apis::ComputeBeta::InstancesSetLabelsRequest::Representation command.request_object = instances_set_labels_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -10996,11 +10996,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_instance_machine_resources(project, zone, instance, instances_set_machine_resources_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/setMachineResources', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/setMachineResources', options) command.request_representation = Google::Apis::ComputeBeta::InstancesSetMachineResourcesRequest::Representation command.request_object = instances_set_machine_resources_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -11051,11 +11051,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_instance_machine_type(project, zone, instance, instances_set_machine_type_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/setMachineType', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/setMachineType', options) command.request_representation = Google::Apis::ComputeBeta::InstancesSetMachineTypeRequest::Representation command.request_object = instances_set_machine_type_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -11105,11 +11105,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_instance_metadata(project, zone, instance, metadata_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/setMetadata', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/setMetadata', options) command.request_representation = Google::Apis::ComputeBeta::Metadata::Representation command.request_object = metadata_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -11161,11 +11161,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_instance_min_cpu_platform(project, zone, instance, instances_set_min_cpu_platform_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/setMinCpuPlatform', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/setMinCpuPlatform', options) command.request_representation = Google::Apis::ComputeBeta::InstancesSetMinCpuPlatformRequest::Representation command.request_object = instances_set_min_cpu_platform_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -11215,11 +11215,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_instance_scheduling(project, zone, instance, scheduling_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/setScheduling', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/setScheduling', options) command.request_representation = Google::Apis::ComputeBeta::Scheduling::Representation command.request_object = scheduling_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -11270,11 +11270,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_instance_service_account(project, zone, instance, instances_set_service_account_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/setServiceAccount', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/setServiceAccount', options) command.request_representation = Google::Apis::ComputeBeta::InstancesSetServiceAccountRequest::Representation command.request_object = instances_set_service_account_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -11326,11 +11326,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_instance_shielded_instance_integrity_policy(project, zone, instance, shielded_instance_integrity_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/zones/{zone}/instances/{instance}/setShieldedInstanceIntegrityPolicy', options) + command = make_simple_command(:patch, 'projects/{project}/zones/{zone}/instances/{instance}/setShieldedInstanceIntegrityPolicy', options) command.request_representation = Google::Apis::ComputeBeta::ShieldedInstanceIntegrityPolicy::Representation command.request_object = shielded_instance_integrity_policy_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -11382,11 +11382,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_instance_shielded_vm_integrity_policy(project, zone, instance, shielded_vm_integrity_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/zones/{zone}/instances/{instance}/setShieldedVmIntegrityPolicy', options) + command = make_simple_command(:patch, 'projects/{project}/zones/{zone}/instances/{instance}/setShieldedVmIntegrityPolicy', options) command.request_representation = Google::Apis::ComputeBeta::ShieldedVmIntegrityPolicy::Representation command.request_object = shielded_vm_integrity_policy_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -11437,11 +11437,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_instance_tags(project, zone, instance, tags_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/setTags', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/setTags', options) command.request_representation = Google::Apis::ComputeBeta::Tags::Representation command.request_object = tags_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -11479,11 +11479,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def simulate_instance_maintenance_event(project, zone, instance, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/simulateMaintenanceEvent', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/simulateMaintenanceEvent', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? @@ -11530,11 +11530,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def start_instance(project, zone, instance, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/start', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/start', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? @@ -11583,11 +11583,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def start_instance_with_encryption_key(project, zone, instance, instances_start_with_encryption_key_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/startWithEncryptionKey', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/startWithEncryptionKey', options) command.request_representation = Google::Apis::ComputeBeta::InstancesStartWithEncryptionKeyRequest::Representation command.request_object = instances_start_with_encryption_key_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -11640,11 +11640,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def stop_instance(project, zone, instance, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/stop', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/stop', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? @@ -11699,11 +11699,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def suspend_instance(project, zone, instance, discard_local_ssd: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/suspend', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/suspend', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? @@ -11741,11 +11741,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_instance_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::TestPermissionsResponse command.params['project'] = project unless project.nil? @@ -11805,11 +11805,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def update_instance(project, zone, instance, instance_object = nil, minimal_action: nil, most_disruptive_allowed_action: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:put, '{project}/zones/{zone}/instances/{instance}', options) + command = make_simple_command(:put, 'projects/{project}/zones/{zone}/instances/{instance}', options) command.request_representation = Google::Apis::ComputeBeta::Instance::Representation command.request_object = instance_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -11865,11 +11865,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def update_instance_access_config(project, zone, instance, network_interface, access_config_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/updateAccessConfig', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/updateAccessConfig', options) command.request_representation = Google::Apis::ComputeBeta::AccessConfig::Representation command.request_object = access_config_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -11922,11 +11922,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def update_instance_display_device(project, zone, instance, display_device_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/zones/{zone}/instances/{instance}/updateDisplayDevice', options) + command = make_simple_command(:patch, 'projects/{project}/zones/{zone}/instances/{instance}/updateDisplayDevice', options) command.request_representation = Google::Apis::ComputeBeta::DisplayDevice::Representation command.request_object = display_device_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -11978,11 +11978,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def update_instance_network_interface(project, zone, instance, network_interface, network_interface_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/zones/{zone}/instances/{instance}/updateNetworkInterface', options) + command = make_simple_command(:patch, 'projects/{project}/zones/{zone}/instances/{instance}/updateNetworkInterface', options) command.request_representation = Google::Apis::ComputeBeta::NetworkInterface::Representation command.request_object = network_interface_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -12035,11 +12035,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def update_instance_shielded_instance_config(project, zone, instance, shielded_instance_config_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/zones/{zone}/instances/{instance}/updateShieldedInstanceConfig', options) + command = make_simple_command(:patch, 'projects/{project}/zones/{zone}/instances/{instance}/updateShieldedInstanceConfig', options) command.request_representation = Google::Apis::ComputeBeta::ShieldedInstanceConfig::Representation command.request_object = shielded_instance_config_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -12091,11 +12091,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def update_instance_shielded_vm_config(project, zone, instance, shielded_vm_config_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/zones/{zone}/instances/{instance}/updateShieldedVmConfig', options) + command = make_simple_command(:patch, 'projects/{project}/zones/{zone}/instances/{instance}/updateShieldedVmConfig', options) command.request_representation = Google::Apis::ComputeBeta::ShieldedVmConfig::Representation command.request_object = shielded_vm_config_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -12170,11 +12170,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def aggregated_interconnect_attachment_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/interconnectAttachments', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/interconnectAttachments', options) command.response_representation = Google::Apis::ComputeBeta::InterconnectAttachmentAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::InterconnectAttachmentAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? @@ -12223,11 +12223,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_interconnect_attachment(project, region, interconnect_attachment, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}', options) + command = make_simple_command(:delete, 'projects/{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['interconnectAttachment'] = interconnect_attachment unless interconnect_attachment.nil? @@ -12263,11 +12263,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_interconnect_attachment(project, region, interconnect_attachment, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}', options) command.response_representation = Google::Apis::ComputeBeta::InterconnectAttachment::Representation command.response_class = Google::Apis::ComputeBeta::InterconnectAttachment command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['interconnectAttachment'] = interconnect_attachment unless interconnect_attachment.nil? @@ -12315,11 +12315,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_interconnect_attachment(project, region, interconnect_attachment_object = nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/interconnectAttachments', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/interconnectAttachments', options) command.request_representation = Google::Apis::ComputeBeta::InterconnectAttachment::Representation command.request_object = interconnect_attachment_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -12390,11 +12390,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_interconnect_attachments(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/interconnectAttachments', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/interconnectAttachments', options) command.response_representation = Google::Apis::ComputeBeta::InterconnectAttachmentList::Representation command.response_class = Google::Apis::ComputeBeta::InterconnectAttachmentList command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['filter'] = filter unless filter.nil? @@ -12446,11 +12446,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_interconnect_attachment(project, region, interconnect_attachment, interconnect_attachment_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}', options) + command = make_simple_command(:patch, 'projects/{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}', options) command.request_representation = Google::Apis::ComputeBeta::InterconnectAttachment::Representation command.request_object = interconnect_attachment_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -12501,11 +12501,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_interconnect_attachment_labels(project, region, resource, region_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/interconnectAttachments/{resource}/setLabels', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/interconnectAttachments/{resource}/setLabels', options) command.request_representation = Google::Apis::ComputeBeta::RegionSetLabelsRequest::Representation command.request_object = region_set_labels_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -12544,11 +12544,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_interconnect_attachment_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/interconnectAttachments/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/interconnectAttachments/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::TestPermissionsResponse command.params['project'] = project unless project.nil? @@ -12584,11 +12584,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_interconnect_location(project, interconnect_location, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/interconnectLocations/{interconnectLocation}', options) + command = make_simple_command(:get, 'projects/{project}/global/interconnectLocations/{interconnectLocation}', options) command.response_representation = Google::Apis::ComputeBeta::InterconnectLocation::Representation command.response_class = Google::Apis::ComputeBeta::InterconnectLocation command.params['project'] = project unless project.nil? command.params['interconnectLocation'] = interconnect_location unless interconnect_location.nil? command.query['fields'] = fields unless fields.nil? @@ -12653,11 +12653,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_interconnect_locations(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/interconnectLocations', options) + command = make_simple_command(:get, 'projects/{project}/global/interconnectLocations', options) command.response_representation = Google::Apis::ComputeBeta::InterconnectLocationList::Representation command.response_class = Google::Apis::ComputeBeta::InterconnectLocationList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? @@ -12703,11 +12703,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_interconnect(project, interconnect, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/interconnects/{interconnect}', options) + command = make_simple_command(:delete, 'projects/{project}/global/interconnects/{interconnect}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['interconnect'] = interconnect unless interconnect.nil? command.query['requestId'] = request_id unless request_id.nil? @@ -12741,11 +12741,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_interconnect(project, interconnect, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/interconnects/{interconnect}', options) + command = make_simple_command(:get, 'projects/{project}/global/interconnects/{interconnect}', options) command.response_representation = Google::Apis::ComputeBeta::Interconnect::Representation command.response_class = Google::Apis::ComputeBeta::Interconnect command.params['project'] = project unless project.nil? command.params['interconnect'] = interconnect unless interconnect.nil? command.query['fields'] = fields unless fields.nil? @@ -12777,11 +12777,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_interconnect_diagnostics(project, interconnect, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/interconnects/{interconnect}/getDiagnostics', options) + command = make_simple_command(:get, 'projects/{project}/global/interconnects/{interconnect}/getDiagnostics', options) command.response_representation = Google::Apis::ComputeBeta::InterconnectsGetDiagnosticsResponse::Representation command.response_class = Google::Apis::ComputeBeta::InterconnectsGetDiagnosticsResponse command.params['project'] = project unless project.nil? command.params['interconnect'] = interconnect unless interconnect.nil? command.query['fields'] = fields unless fields.nil? @@ -12824,11 +12824,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_interconnect(project, interconnect_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/interconnects', options) + command = make_simple_command(:post, 'projects/{project}/global/interconnects', options) command.request_representation = Google::Apis::ComputeBeta::Interconnect::Representation command.request_object = interconnect_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -12894,11 +12894,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_interconnects(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/interconnects', options) + command = make_simple_command(:get, 'projects/{project}/global/interconnects', options) command.response_representation = Google::Apis::ComputeBeta::InterconnectList::Representation command.response_class = Google::Apis::ComputeBeta::InterconnectList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? @@ -12947,11 +12947,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_interconnect(project, interconnect, interconnect_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/global/interconnects/{interconnect}', options) + command = make_simple_command(:patch, 'projects/{project}/global/interconnects/{interconnect}', options) command.request_representation = Google::Apis::ComputeBeta::Interconnect::Representation command.request_object = interconnect_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -12988,11 +12988,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_interconnect_labels(project, resource, global_set_labels_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/interconnects/{resource}/setLabels', options) + command = make_simple_command(:post, 'projects/{project}/global/interconnects/{resource}/setLabels', options) command.request_representation = Google::Apis::ComputeBeta::GlobalSetLabelsRequest::Representation command.request_object = global_set_labels_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -13027,11 +13027,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_interconnect_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/interconnects/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/global/interconnects/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::TestPermissionsResponse command.params['project'] = project unless project.nil? @@ -13068,11 +13068,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_license_code(project, license_code, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/licenseCodes/{licenseCode}', options) + command = make_simple_command(:get, 'projects/{project}/global/licenseCodes/{licenseCode}', options) command.response_representation = Google::Apis::ComputeBeta::LicenseCode::Representation command.response_class = Google::Apis::ComputeBeta::LicenseCode command.params['project'] = project unless project.nil? command.params['licenseCode'] = license_code unless license_code.nil? command.query['fields'] = fields unless fields.nil? @@ -13116,11 +13116,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_license(project, license, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/licenses/{license}', options) + command = make_simple_command(:delete, 'projects/{project}/global/licenses/{license}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['license'] = license unless license.nil? command.query['requestId'] = request_id unless request_id.nil? @@ -13154,11 +13154,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_license(project, license, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/licenses/{license}', options) + command = make_simple_command(:get, 'projects/{project}/global/licenses/{license}', options) command.response_representation = Google::Apis::ComputeBeta::License::Representation command.response_class = Google::Apis::ComputeBeta::License command.params['project'] = project unless project.nil? command.params['license'] = license unless license.nil? command.query['fields'] = fields unless fields.nil? @@ -13194,11 +13194,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_license_iam_policy(project, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/licenses/{resource}/getIamPolicy', options) + command = make_simple_command(:get, 'projects/{project}/global/licenses/{resource}/getIamPolicy', options) command.response_representation = Google::Apis::ComputeBeta::Policy::Representation command.response_class = Google::Apis::ComputeBeta::Policy command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['optionsRequestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil? @@ -13243,11 +13243,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_license(project, license_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/licenses', options) + command = make_simple_command(:post, 'projects/{project}/global/licenses', options) command.request_representation = Google::Apis::ComputeBeta::License::Representation command.request_object = license_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -13319,11 +13319,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_licenses(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/licenses', options) + command = make_simple_command(:get, 'projects/{project}/global/licenses', options) command.response_representation = Google::Apis::ComputeBeta::LicensesListResponse::Representation command.response_class = Google::Apis::ComputeBeta::LicensesListResponse command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? @@ -13361,11 +13361,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_license_iam_policy(project, resource, global_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/licenses/{resource}/setIamPolicy', options) + command = make_simple_command(:post, 'projects/{project}/global/licenses/{resource}/setIamPolicy', options) command.request_representation = Google::Apis::ComputeBeta::GlobalSetPolicyRequest::Representation command.request_object = global_set_policy_request_object command.response_representation = Google::Apis::ComputeBeta::Policy::Representation command.response_class = Google::Apis::ComputeBeta::Policy command.params['project'] = project unless project.nil? @@ -13411,11 +13411,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_machine_image(project, machine_image, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/machineImages/{machineImage}', options) + command = make_simple_command(:delete, 'projects/{project}/global/machineImages/{machineImage}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['machineImage'] = machine_image unless machine_image.nil? command.query['requestId'] = request_id unless request_id.nil? @@ -13449,11 +13449,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_machine_image(project, machine_image, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/machineImages/{machineImage}', options) + command = make_simple_command(:get, 'projects/{project}/global/machineImages/{machineImage}', options) command.response_representation = Google::Apis::ComputeBeta::MachineImage::Representation command.response_class = Google::Apis::ComputeBeta::MachineImage command.params['project'] = project unless project.nil? command.params['machineImage'] = machine_image unless machine_image.nil? command.query['fields'] = fields unless fields.nil? @@ -13488,11 +13488,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_machine_image_iam_policy(project, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/machineImages/{resource}/getIamPolicy', options) + command = make_simple_command(:get, 'projects/{project}/global/machineImages/{resource}/getIamPolicy', options) command.response_representation = Google::Apis::ComputeBeta::Policy::Representation command.response_class = Google::Apis::ComputeBeta::Policy command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['optionsRequestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil? @@ -13540,11 +13540,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_machine_image(project, machine_image_object = nil, request_id: nil, source_instance: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/machineImages', options) + command = make_simple_command(:post, 'projects/{project}/global/machineImages', options) command.request_representation = Google::Apis::ComputeBeta::MachineImage::Representation command.request_object = machine_image_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -13612,11 +13612,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_machine_images(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/machineImages', options) + command = make_simple_command(:get, 'projects/{project}/global/machineImages', options) command.response_representation = Google::Apis::ComputeBeta::MachineImageList::Representation command.response_class = Google::Apis::ComputeBeta::MachineImageList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? @@ -13653,11 +13653,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_machine_image_iam_policy(project, resource, global_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/machineImages/{resource}/setIamPolicy', options) + command = make_simple_command(:post, 'projects/{project}/global/machineImages/{resource}/setIamPolicy', options) command.request_representation = Google::Apis::ComputeBeta::GlobalSetPolicyRequest::Representation command.request_object = global_set_policy_request_object command.response_representation = Google::Apis::ComputeBeta::Policy::Representation command.response_class = Google::Apis::ComputeBeta::Policy command.params['project'] = project unless project.nil? @@ -13692,11 +13692,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_machine_image_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/machineImages/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/global/machineImages/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::TestPermissionsResponse command.params['project'] = project unless project.nil? @@ -13769,11 +13769,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_aggregated_machine_types(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/machineTypes', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/machineTypes', options) command.response_representation = Google::Apis::ComputeBeta::MachineTypeAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::MachineTypeAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? @@ -13812,11 +13812,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_machine_type(project, zone, machine_type, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/machineTypes/{machineType}', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/machineTypes/{machineType}', options) command.response_representation = Google::Apis::ComputeBeta::MachineType::Representation command.response_class = Google::Apis::ComputeBeta::MachineType command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['machineType'] = machine_type unless machine_type.nil? @@ -13883,11 +13883,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_machine_types(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/machineTypes', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/machineTypes', options) command.response_representation = Google::Apis::ComputeBeta::MachineTypeList::Representation command.response_class = Google::Apis::ComputeBeta::MachineTypeList command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.query['filter'] = filter unless filter.nil? @@ -13962,11 +13962,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def aggregated_network_endpoint_group_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/networkEndpointGroups', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/networkEndpointGroups', options) command.response_representation = Google::Apis::ComputeBeta::NetworkEndpointGroupAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::NetworkEndpointGroupAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? @@ -14018,11 +14018,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def attach_network_endpoint_group_network_endpoints(project, zone, network_endpoint_group, network_endpoint_groups_attach_endpoints_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/attachNetworkEndpoints', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/attachNetworkEndpoints', options) command.request_representation = Google::Apis::ComputeBeta::NetworkEndpointGroupsAttachEndpointsRequest::Representation command.request_object = network_endpoint_groups_attach_endpoints_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -14076,11 +14076,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_network_endpoint_group(project, zone, network_endpoint_group, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}', options) + command = make_simple_command(:delete, 'projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['networkEndpointGroup'] = network_endpoint_group unless network_endpoint_group.nil? @@ -14130,11 +14130,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def detach_network_endpoint_group_network_endpoints(project, zone, network_endpoint_group, network_endpoint_groups_detach_endpoints_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/detachNetworkEndpoints', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/detachNetworkEndpoints', options) command.request_representation = Google::Apis::ComputeBeta::NetworkEndpointGroupsDetachEndpointsRequest::Representation command.request_object = network_endpoint_groups_detach_endpoints_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -14174,11 +14174,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_network_endpoint_group(project, zone, network_endpoint_group, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}', options) command.response_representation = Google::Apis::ComputeBeta::NetworkEndpointGroup::Representation command.response_class = Google::Apis::ComputeBeta::NetworkEndpointGroup command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['networkEndpointGroup'] = network_endpoint_group unless network_endpoint_group.nil? @@ -14225,11 +14225,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_network_endpoint_group(project, zone, network_endpoint_group_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/networkEndpointGroups', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/networkEndpointGroups', options) command.request_representation = Google::Apis::ComputeBeta::NetworkEndpointGroup::Representation command.request_object = network_endpoint_group_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -14300,11 +14300,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_network_endpoint_groups(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/networkEndpointGroups', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/networkEndpointGroups', options) command.response_representation = Google::Apis::ComputeBeta::NetworkEndpointGroupList::Representation command.response_class = Google::Apis::ComputeBeta::NetworkEndpointGroupList command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.query['filter'] = filter unless filter.nil? @@ -14379,11 +14379,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_network_endpoint_group_network_endpoints(project, zone, network_endpoint_group, network_endpoint_groups_list_endpoints_request_object = nil, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/listNetworkEndpoints', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/listNetworkEndpoints', options) command.request_representation = Google::Apis::ComputeBeta::NetworkEndpointGroupsListEndpointsRequest::Representation command.request_object = network_endpoint_groups_list_endpoints_request_object command.response_representation = Google::Apis::ComputeBeta::NetworkEndpointGroupsListNetworkEndpoints::Representation command.response_class = Google::Apis::ComputeBeta::NetworkEndpointGroupsListNetworkEndpoints command.params['project'] = project unless project.nil? @@ -14425,11 +14425,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_network_endpoint_group_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/networkEndpointGroups/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/networkEndpointGroups/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::TestPermissionsResponse command.params['project'] = project unless project.nil? @@ -14476,11 +14476,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def add_network_peering(project, network, networks_add_peering_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/networks/{network}/addPeering', options) + command = make_simple_command(:post, 'projects/{project}/global/networks/{network}/addPeering', options) command.request_representation = Google::Apis::ComputeBeta::NetworksAddPeeringRequest::Representation command.request_object = networks_add_peering_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -14526,11 +14526,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_network(project, network, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/networks/{network}', options) + command = make_simple_command(:delete, 'projects/{project}/global/networks/{network}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['network'] = network unless network.nil? command.query['requestId'] = request_id unless request_id.nil? @@ -14564,11 +14564,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_network(project, network, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/networks/{network}', options) + command = make_simple_command(:get, 'projects/{project}/global/networks/{network}', options) command.response_representation = Google::Apis::ComputeBeta::Network::Representation command.response_class = Google::Apis::ComputeBeta::Network command.params['project'] = project unless project.nil? command.params['network'] = network unless network.nil? command.query['fields'] = fields unless fields.nil? @@ -14600,11 +14600,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_network_effective_firewalls(project, network, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/networks/{network}/getEffectiveFirewalls', options) + command = make_simple_command(:get, 'projects/{project}/global/networks/{network}/getEffectiveFirewalls', options) command.response_representation = Google::Apis::ComputeBeta::NetworksGetEffectiveFirewallsResponse::Representation command.response_class = Google::Apis::ComputeBeta::NetworksGetEffectiveFirewallsResponse command.params['project'] = project unless project.nil? command.params['network'] = network unless network.nil? command.query['fields'] = fields unless fields.nil? @@ -14647,11 +14647,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_network(project, network_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/networks', options) + command = make_simple_command(:post, 'projects/{project}/global/networks', options) command.request_representation = Google::Apis::ComputeBeta::Network::Representation command.request_object = network_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -14717,11 +14717,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_networks(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/networks', options) + command = make_simple_command(:get, 'projects/{project}/global/networks', options) command.response_representation = Google::Apis::ComputeBeta::NetworkList::Representation command.response_class = Google::Apis::ComputeBeta::NetworkList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? @@ -14797,11 +14797,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_network_peering_routes(project, network, direction: nil, filter: nil, max_results: nil, order_by: nil, page_token: nil, peering_name: nil, region: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/networks/{network}/listPeeringRoutes', options) + command = make_simple_command(:get, 'projects/{project}/global/networks/{network}/listPeeringRoutes', options) command.response_representation = Google::Apis::ComputeBeta::ExchangedPeeringRoutesList::Representation command.response_class = Google::Apis::ComputeBeta::ExchangedPeeringRoutesList command.params['project'] = project unless project.nil? command.params['network'] = network unless network.nil? command.query['direction'] = direction unless direction.nil? @@ -14853,11 +14853,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_network(project, network, network_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/global/networks/{network}', options) + command = make_simple_command(:patch, 'projects/{project}/global/networks/{network}', options) command.request_representation = Google::Apis::ComputeBeta::Network::Representation command.request_object = network_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -14904,11 +14904,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def remove_network_peering(project, network, networks_remove_peering_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/networks/{network}/removePeering', options) + command = make_simple_command(:post, 'projects/{project}/global/networks/{network}/removePeering', options) command.request_representation = Google::Apis::ComputeBeta::NetworksRemovePeeringRequest::Representation command.request_object = networks_remove_peering_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -14954,11 +14954,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def switch_network_to_custom_mode(project, network, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/networks/{network}/switchToCustomMode', options) + command = make_simple_command(:post, 'projects/{project}/global/networks/{network}/switchToCustomMode', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['network'] = network unless network.nil? command.query['requestId'] = request_id unless request_id.nil? @@ -14992,11 +14992,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_network_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/networks/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/global/networks/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::TestPermissionsResponse command.params['project'] = project unless project.nil? @@ -15044,11 +15044,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def update_network_peering(project, network, networks_update_peering_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/global/networks/{network}/updatePeering', options) + command = make_simple_command(:patch, 'projects/{project}/global/networks/{network}/updatePeering', options) command.request_representation = Google::Apis::ComputeBeta::NetworksUpdatePeeringRequest::Representation command.request_object = networks_update_peering_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -15097,11 +15097,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def add_node_group_nodes(project, zone, node_group, node_groups_add_nodes_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/nodeGroups/{nodeGroup}/addNodes', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/addNodes', options) command.request_representation = Google::Apis::ComputeBeta::NodeGroupsAddNodesRequest::Representation command.request_object = node_groups_add_nodes_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -15177,11 +15177,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def aggregated_node_group_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/nodeGroups', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/nodeGroups', options) command.response_representation = Google::Apis::ComputeBeta::NodeGroupAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::NodeGroupAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? @@ -15230,11 +15230,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_node_group(project, zone, node_group, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/zones/{zone}/nodeGroups/{nodeGroup}', options) + command = make_simple_command(:delete, 'projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['nodeGroup'] = node_group unless node_group.nil? @@ -15282,11 +15282,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_node_group_nodes(project, zone, node_group, node_groups_delete_nodes_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/nodeGroups/{nodeGroup}/deleteNodes', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/deleteNodes', options) command.request_representation = Google::Apis::ComputeBeta::NodeGroupsDeleteNodesRequest::Representation command.request_object = node_groups_delete_nodes_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -15326,11 +15326,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_node_group(project, zone, node_group, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/nodeGroups/{nodeGroup}', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}', options) command.response_representation = Google::Apis::ComputeBeta::NodeGroup::Representation command.response_class = Google::Apis::ComputeBeta::NodeGroup command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['nodeGroup'] = node_group unless node_group.nil? @@ -15368,11 +15368,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_node_group_iam_policy(project, zone, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/nodeGroups/{resource}/getIamPolicy', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/nodeGroups/{resource}/getIamPolicy', options) command.response_representation = Google::Apis::ComputeBeta::Policy::Representation command.response_class = Google::Apis::ComputeBeta::Policy command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['resource'] = resource unless resource.nil? @@ -15421,11 +15421,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_node_group(project, zone, initial_node_count, node_group_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/nodeGroups', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/nodeGroups', options) command.request_representation = Google::Apis::ComputeBeta::NodeGroup::Representation command.request_object = node_group_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -15496,11 +15496,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_node_groups(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/nodeGroups', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/nodeGroups', options) command.response_representation = Google::Apis::ComputeBeta::NodeGroupList::Representation command.response_class = Google::Apis::ComputeBeta::NodeGroupList command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.query['filter'] = filter unless filter.nil? @@ -15572,11 +15572,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_node_group_nodes(project, zone, node_group, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/nodeGroups/{nodeGroup}/listNodes', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/listNodes', options) command.response_representation = Google::Apis::ComputeBeta::NodeGroupsListNodes::Representation command.response_class = Google::Apis::ComputeBeta::NodeGroupsListNodes command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['nodeGroup'] = node_group unless node_group.nil? @@ -15627,11 +15627,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_node_group(project, zone, node_group, node_group_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/zones/{zone}/nodeGroups/{nodeGroup}', options) + command = make_simple_command(:patch, 'projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}', options) command.request_representation = Google::Apis::ComputeBeta::NodeGroup::Representation command.request_object = node_group_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -15671,11 +15671,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_node_group_iam_policy(project, zone, resource, zone_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/nodeGroups/{resource}/setIamPolicy', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/nodeGroups/{resource}/setIamPolicy', options) command.request_representation = Google::Apis::ComputeBeta::ZoneSetPolicyRequest::Representation command.request_object = zone_set_policy_request_object command.response_representation = Google::Apis::ComputeBeta::Policy::Representation command.response_class = Google::Apis::ComputeBeta::Policy command.params['project'] = project unless project.nil? @@ -15724,11 +15724,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_node_group_node_template(project, zone, node_group, node_groups_set_node_template_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/nodeGroups/{nodeGroup}/setNodeTemplate', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/setNodeTemplate', options) command.request_representation = Google::Apis::ComputeBeta::NodeGroupsSetNodeTemplateRequest::Representation command.request_object = node_groups_set_node_template_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -15767,11 +15767,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_node_group_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/nodeGroups/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/nodeGroups/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::TestPermissionsResponse command.params['project'] = project unless project.nil? @@ -15845,11 +15845,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def aggregated_node_template_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/nodeTemplates', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/nodeTemplates', options) command.response_representation = Google::Apis::ComputeBeta::NodeTemplateAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::NodeTemplateAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? @@ -15898,11 +15898,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_node_template(project, region, node_template, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/regions/{region}/nodeTemplates/{nodeTemplate}', options) + command = make_simple_command(:delete, 'projects/{project}/regions/{region}/nodeTemplates/{nodeTemplate}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['nodeTemplate'] = node_template unless node_template.nil? @@ -15939,11 +15939,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_node_template(project, region, node_template, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/nodeTemplates/{nodeTemplate}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/nodeTemplates/{nodeTemplate}', options) command.response_representation = Google::Apis::ComputeBeta::NodeTemplate::Representation command.response_class = Google::Apis::ComputeBeta::NodeTemplate command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['nodeTemplate'] = node_template unless node_template.nil? @@ -15981,11 +15981,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_node_template_iam_policy(project, region, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/nodeTemplates/{resource}/getIamPolicy', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/nodeTemplates/{resource}/getIamPolicy', options) command.response_representation = Google::Apis::ComputeBeta::Policy::Representation command.response_class = Google::Apis::ComputeBeta::Policy command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? @@ -16032,11 +16032,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_node_template(project, region, node_template_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/nodeTemplates', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/nodeTemplates', options) command.request_representation = Google::Apis::ComputeBeta::NodeTemplate::Representation command.request_object = node_template_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -16105,11 +16105,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_node_templates(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/nodeTemplates', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/nodeTemplates', options) command.response_representation = Google::Apis::ComputeBeta::NodeTemplateList::Representation command.response_class = Google::Apis::ComputeBeta::NodeTemplateList command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['filter'] = filter unless filter.nil? @@ -16149,11 +16149,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_node_template_iam_policy(project, region, resource, region_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/nodeTemplates/{resource}/setIamPolicy', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/nodeTemplates/{resource}/setIamPolicy', options) command.request_representation = Google::Apis::ComputeBeta::RegionSetPolicyRequest::Representation command.request_object = region_set_policy_request_object command.response_representation = Google::Apis::ComputeBeta::Policy::Representation command.response_class = Google::Apis::ComputeBeta::Policy command.params['project'] = project unless project.nil? @@ -16191,11 +16191,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_node_template_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/nodeTemplates/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/nodeTemplates/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::TestPermissionsResponse command.params['project'] = project unless project.nil? @@ -16269,11 +16269,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def aggregated_node_type_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/nodeTypes', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/nodeTypes', options) command.response_representation = Google::Apis::ComputeBeta::NodeTypeAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::NodeTypeAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? @@ -16312,11 +16312,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_node_type(project, zone, node_type, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/nodeTypes/{nodeType}', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/nodeTypes/{nodeType}', options) command.response_representation = Google::Apis::ComputeBeta::NodeType::Representation command.response_class = Google::Apis::ComputeBeta::NodeType command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['nodeType'] = node_type unless node_type.nil? @@ -16383,11 +16383,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_node_types(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/nodeTypes', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/nodeTypes', options) command.response_representation = Google::Apis::ComputeBeta::NodeTypeList::Representation command.response_class = Google::Apis::ComputeBeta::NodeTypeList command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.query['filter'] = filter unless filter.nil? @@ -17157,11 +17157,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def aggregated_packet_mirroring_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/packetMirrorings', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/packetMirrorings', options) command.response_representation = Google::Apis::ComputeBeta::PacketMirroringAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::PacketMirroringAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? @@ -17210,11 +17210,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_packet_mirroring(project, region, packet_mirroring, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/regions/{region}/packetMirrorings/{packetMirroring}', options) + command = make_simple_command(:delete, 'projects/{project}/regions/{region}/packetMirrorings/{packetMirroring}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['packetMirroring'] = packet_mirroring unless packet_mirroring.nil? @@ -17250,11 +17250,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_packet_mirroring(project, region, packet_mirroring, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/packetMirrorings/{packetMirroring}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/packetMirrorings/{packetMirroring}', options) command.response_representation = Google::Apis::ComputeBeta::PacketMirroring::Representation command.response_class = Google::Apis::ComputeBeta::PacketMirroring command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['packetMirroring'] = packet_mirroring unless packet_mirroring.nil? @@ -17300,11 +17300,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_packet_mirroring(project, region, packet_mirroring_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/packetMirrorings', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/packetMirrorings', options) command.request_representation = Google::Apis::ComputeBeta::PacketMirroring::Representation command.request_object = packet_mirroring_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -17374,11 +17374,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_packet_mirrorings(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/packetMirrorings', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/packetMirrorings', options) command.response_representation = Google::Apis::ComputeBeta::PacketMirroringList::Representation command.response_class = Google::Apis::ComputeBeta::PacketMirroringList command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['filter'] = filter unless filter.nil? @@ -17430,11 +17430,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_packet_mirroring(project, region, packet_mirroring, packet_mirroring_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/regions/{region}/packetMirrorings/{packetMirroring}', options) + command = make_simple_command(:patch, 'projects/{project}/regions/{region}/packetMirrorings/{packetMirroring}', options) command.request_representation = Google::Apis::ComputeBeta::PacketMirroring::Representation command.request_object = packet_mirroring_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -17473,11 +17473,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_packet_mirroring_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/packetMirrorings/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/packetMirrorings/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::TestPermissionsResponse command.params['project'] = project unless project.nil? @@ -17521,11 +17521,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def disable_project_xpn_host(project, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/disableXpnHost', options) + command = make_simple_command(:post, 'projects/{project}/disableXpnHost', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? @@ -17568,11 +17568,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def disable_project_xpn_resource(project, projects_disable_xpn_resource_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/disableXpnResource', options) + command = make_simple_command(:post, 'projects/{project}/disableXpnResource', options) command.request_representation = Google::Apis::ComputeBeta::ProjectsDisableXpnResourceRequest::Representation command.request_object = projects_disable_xpn_resource_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -17615,11 +17615,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def enable_project_xpn_host(project, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/enableXpnHost', options) + command = make_simple_command(:post, 'projects/{project}/enableXpnHost', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? @@ -17662,11 +17662,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def enable_project_xpn_resource(project, projects_enable_xpn_resource_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/enableXpnResource', options) + command = make_simple_command(:post, 'projects/{project}/enableXpnResource', options) command.request_representation = Google::Apis::ComputeBeta::ProjectsEnableXpnResourceRequest::Representation command.request_object = projects_enable_xpn_resource_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -17698,11 +17698,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_project(project, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}', options) + command = make_simple_command(:get, 'projects/{project}', options) command.response_representation = Google::Apis::ComputeBeta::Project::Representation command.response_class = Google::Apis::ComputeBeta::Project command.params['project'] = project unless project.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -17732,11 +17732,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_project_xpn_host(project, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/getXpnHost', options) + command = make_simple_command(:get, 'projects/{project}/getXpnHost', options) command.response_representation = Google::Apis::ComputeBeta::Project::Representation command.response_class = Google::Apis::ComputeBeta::Project command.params['project'] = project unless project.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -17800,11 +17800,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_project_xpn_resources(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/getXpnResources', options) + command = make_simple_command(:get, 'projects/{project}/getXpnResources', options) command.response_representation = Google::Apis::ComputeBeta::ProjectsGetXpnResources::Representation command.response_class = Google::Apis::ComputeBeta::ProjectsGetXpnResources command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? @@ -17872,11 +17872,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_project_xpn_hosts(project, projects_list_xpn_hosts_request_object = nil, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/listXpnHosts', options) + command = make_simple_command(:post, 'projects/{project}/listXpnHosts', options) command.request_representation = Google::Apis::ComputeBeta::ProjectsListXpnHostsRequest::Representation command.request_object = projects_list_xpn_hosts_request_object command.response_representation = Google::Apis::ComputeBeta::XpnHostList::Representation command.response_class = Google::Apis::ComputeBeta::XpnHostList command.params['project'] = project unless project.nil? @@ -17923,11 +17923,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def move_disk(project, disk_move_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/moveDisk', options) + command = make_simple_command(:post, 'projects/{project}/moveDisk', options) command.request_representation = Google::Apis::ComputeBeta::DiskMoveRequest::Representation command.request_object = disk_move_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -17971,11 +17971,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def move_instance(project, move_instance_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/moveInstance', options) + command = make_simple_command(:post, 'projects/{project}/moveInstance', options) command.request_representation = Google::Apis::ComputeBeta::MoveInstanceRequest::Representation command.request_object = move_instance_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -18020,11 +18020,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_common_instance_metadata(project, metadata_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/setCommonInstanceMetadata', options) + command = make_simple_command(:post, 'projects/{project}/setCommonInstanceMetadata', options) command.request_representation = Google::Apis::ComputeBeta::Metadata::Representation command.request_object = metadata_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -18070,11 +18070,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_project_default_network_tier(project, projects_set_default_network_tier_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/setDefaultNetworkTier', options) + command = make_simple_command(:post, 'projects/{project}/setDefaultNetworkTier', options) command.request_representation = Google::Apis::ComputeBeta::ProjectsSetDefaultNetworkTierRequest::Representation command.request_object = projects_set_default_network_tier_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -18120,11 +18120,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_usage_export_bucket(project, usage_export_location_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/setUsageExportBucket', options) + command = make_simple_command(:post, 'projects/{project}/setUsageExportBucket', options) command.request_representation = Google::Apis::ComputeBeta::UsageExportLocation::Representation command.request_object = usage_export_location_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -18171,11 +18171,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_region_autoscaler(project, region, autoscaler, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/regions/{region}/autoscalers/{autoscaler}', options) + command = make_simple_command(:delete, 'projects/{project}/regions/{region}/autoscalers/{autoscaler}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['autoscaler'] = autoscaler unless autoscaler.nil? @@ -18211,11 +18211,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_region_autoscaler(project, region, autoscaler, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/autoscalers/{autoscaler}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/autoscalers/{autoscaler}', options) command.response_representation = Google::Apis::ComputeBeta::Autoscaler::Representation command.response_class = Google::Apis::ComputeBeta::Autoscaler command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['autoscaler'] = autoscaler unless autoscaler.nil? @@ -18261,11 +18261,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_region_autoscaler(project, region, autoscaler_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/autoscalers', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/autoscalers', options) command.request_representation = Google::Apis::ComputeBeta::Autoscaler::Representation command.request_object = autoscaler_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -18334,11 +18334,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_region_autoscalers(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/autoscalers', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/autoscalers', options) command.response_representation = Google::Apis::ComputeBeta::RegionAutoscalerList::Representation command.response_class = Google::Apis::ComputeBeta::RegionAutoscalerList command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['filter'] = filter unless filter.nil? @@ -18390,11 +18390,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_region_autoscaler(project, region, autoscaler_object = nil, autoscaler: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/regions/{region}/autoscalers', options) + command = make_simple_command(:patch, 'projects/{project}/regions/{region}/autoscalers', options) command.request_representation = Google::Apis::ComputeBeta::Autoscaler::Representation command.request_object = autoscaler_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -18433,11 +18433,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_region_autoscaler_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/autoscalers/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/autoscalers/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::TestPermissionsResponse command.params['project'] = project unless project.nil? @@ -18487,11 +18487,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def update_region_autoscaler(project, region, autoscaler_object = nil, autoscaler: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:put, '{project}/regions/{region}/autoscalers', options) + command = make_simple_command(:put, 'projects/{project}/regions/{region}/autoscalers', options) command.request_representation = Google::Apis::ComputeBeta::Autoscaler::Representation command.request_object = autoscaler_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -18540,11 +18540,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_region_backend_service(project, region, backend_service, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/regions/{region}/backendServices/{backendService}', options) + command = make_simple_command(:delete, 'projects/{project}/regions/{region}/backendServices/{backendService}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['backendService'] = backend_service unless backend_service.nil? @@ -18580,11 +18580,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_region_backend_service(project, region, backend_service, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/backendServices/{backendService}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/backendServices/{backendService}', options) command.response_representation = Google::Apis::ComputeBeta::BackendService::Representation command.response_class = Google::Apis::ComputeBeta::BackendService command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['backendService'] = backend_service unless backend_service.nil? @@ -18619,11 +18619,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_region_backend_service_health(project, region, backend_service, resource_group_reference_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/backendServices/{backendService}/getHealth', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/backendServices/{backendService}/getHealth', options) command.request_representation = Google::Apis::ComputeBeta::ResourceGroupReference::Representation command.request_object = resource_group_reference_object command.response_representation = Google::Apis::ComputeBeta::BackendServiceGroupHealth::Representation command.response_class = Google::Apis::ComputeBeta::BackendServiceGroupHealth command.params['project'] = project unless project.nil? @@ -18673,11 +18673,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_region_backend_service(project, region, backend_service_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/backendServices', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/backendServices', options) command.request_representation = Google::Apis::ComputeBeta::BackendService::Representation command.request_object = backend_service_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -18747,11 +18747,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_region_backend_services(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/backendServices', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/backendServices', options) command.response_representation = Google::Apis::ComputeBeta::BackendServiceList::Representation command.response_class = Google::Apis::ComputeBeta::BackendServiceList command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['filter'] = filter unless filter.nil? @@ -18805,11 +18805,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_region_backend_service(project, region, backend_service, backend_service_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/regions/{region}/backendServices/{backendService}', options) + command = make_simple_command(:patch, 'projects/{project}/regions/{region}/backendServices/{backendService}', options) command.request_representation = Google::Apis::ComputeBeta::BackendService::Representation command.request_object = backend_service_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -18848,11 +18848,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_region_backend_service_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/backendServices/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/backendServices/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::TestPermissionsResponse command.params['project'] = project unless project.nil? @@ -18904,11 +18904,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def update_region_backend_service(project, region, backend_service, backend_service_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:put, '{project}/regions/{region}/backendServices/{backendService}', options) + command = make_simple_command(:put, 'projects/{project}/regions/{region}/backendServices/{backendService}', options) command.request_representation = Google::Apis::ComputeBeta::BackendService::Representation command.request_object = backend_service_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -18983,11 +18983,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def aggregated_region_commitment_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/commitments', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/commitments', options) command.response_representation = Google::Apis::ComputeBeta::CommitmentAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::CommitmentAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? @@ -19026,11 +19026,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_region_commitment(project, region, commitment, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/commitments/{commitment}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/commitments/{commitment}', options) command.response_representation = Google::Apis::ComputeBeta::Commitment::Representation command.response_class = Google::Apis::ComputeBeta::Commitment command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['commitment'] = commitment unless commitment.nil? @@ -19076,11 +19076,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_region_commitment(project, region, commitment_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/commitments', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/commitments', options) command.request_representation = Google::Apis::ComputeBeta::Commitment::Representation command.request_object = commitment_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -19149,11 +19149,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_region_commitments(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/commitments', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/commitments', options) command.response_representation = Google::Apis::ComputeBeta::CommitmentList::Representation command.response_class = Google::Apis::ComputeBeta::CommitmentList command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['filter'] = filter unless filter.nil? @@ -19203,11 +19203,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def update_region_commitment_reservations(project, region, commitment, region_commitments_update_reservations_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/commitments/{commitment}/updateReservations', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/commitments/{commitment}/updateReservations', options) command.request_representation = Google::Apis::ComputeBeta::RegionCommitmentsUpdateReservationsRequest::Representation command.request_object = region_commitments_update_reservations_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -19246,11 +19246,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_region_disk_type(project, region, disk_type, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/diskTypes/{diskType}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/diskTypes/{diskType}', options) command.response_representation = Google::Apis::ComputeBeta::DiskType::Representation command.response_class = Google::Apis::ComputeBeta::DiskType command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['diskType'] = disk_type unless disk_type.nil? @@ -19317,11 +19317,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_region_disk_types(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/diskTypes', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/diskTypes', options) command.response_representation = Google::Apis::ComputeBeta::RegionDiskTypeList::Representation command.response_class = Google::Apis::ComputeBeta::RegionDiskTypeList command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['filter'] = filter unless filter.nil? @@ -19372,11 +19372,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def add_region_disk_resource_policies(project, region, disk, region_disks_add_resource_policies_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/disks/{disk}/addResourcePolicies', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/disks/{disk}/addResourcePolicies', options) command.request_representation = Google::Apis::ComputeBeta::RegionDisksAddResourcePoliciesRequest::Representation command.request_object = region_disks_add_resource_policies_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -19426,11 +19426,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def create_region_disk_snapshot(project, region, disk, snapshot_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/disks/{disk}/createSnapshot', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/disks/{disk}/createSnapshot', options) command.request_representation = Google::Apis::ComputeBeta::Snapshot::Representation command.request_object = snapshot_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -19482,11 +19482,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_region_disk(project, region, disk, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/regions/{region}/disks/{disk}', options) + command = make_simple_command(:delete, 'projects/{project}/regions/{region}/disks/{disk}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['disk'] = disk unless disk.nil? @@ -19522,11 +19522,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_region_disk(project, region, disk, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/disks/{disk}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/disks/{disk}', options) command.response_representation = Google::Apis::ComputeBeta::Disk::Representation command.response_class = Google::Apis::ComputeBeta::Disk command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['disk'] = disk unless disk.nil? @@ -19564,11 +19564,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_region_disk_iam_policy(project, region, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/disks/{resource}/getIamPolicy', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/disks/{resource}/getIamPolicy', options) command.response_representation = Google::Apis::ComputeBeta::Policy::Representation command.response_class = Google::Apis::ComputeBeta::Policy command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? @@ -19617,11 +19617,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_region_disk(project, region, disk_object = nil, request_id: nil, source_image: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/disks', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/disks', options) command.request_representation = Google::Apis::ComputeBeta::Disk::Representation command.request_object = disk_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -19691,11 +19691,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_region_disks(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/disks', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/disks', options) command.response_representation = Google::Apis::ComputeBeta::DiskList::Representation command.response_class = Google::Apis::ComputeBeta::DiskList command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['filter'] = filter unless filter.nil? @@ -19745,11 +19745,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def remove_region_disk_resource_policies(project, region, disk, region_disks_remove_resource_policies_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/disks/{disk}/removeResourcePolicies', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/disks/{disk}/removeResourcePolicies', options) command.request_representation = Google::Apis::ComputeBeta::RegionDisksRemoveResourcePoliciesRequest::Representation command.request_object = region_disks_remove_resource_policies_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -19799,11 +19799,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def resize_region_disk(project, region, disk, region_disks_resize_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/disks/{disk}/resize', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/disks/{disk}/resize', options) command.request_representation = Google::Apis::ComputeBeta::RegionDisksResizeRequest::Representation command.request_object = region_disks_resize_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -19843,11 +19843,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_region_disk_iam_policy(project, region, resource, region_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/disks/{resource}/setIamPolicy', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/disks/{resource}/setIamPolicy', options) command.request_representation = Google::Apis::ComputeBeta::RegionSetPolicyRequest::Representation command.request_object = region_set_policy_request_object command.response_representation = Google::Apis::ComputeBeta::Policy::Representation command.response_class = Google::Apis::ComputeBeta::Policy command.params['project'] = project unless project.nil? @@ -19896,11 +19896,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_region_disk_labels(project, region, resource, region_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/disks/{resource}/setLabels', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/disks/{resource}/setLabels', options) command.request_representation = Google::Apis::ComputeBeta::RegionSetLabelsRequest::Representation command.request_object = region_set_labels_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -19939,11 +19939,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_region_disk_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/disks/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/disks/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::TestPermissionsResponse command.params['project'] = project unless project.nil? @@ -19992,11 +19992,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_region_health_check_service(project, region, health_check_service, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/regions/{region}/healthCheckServices/{healthCheckService}', options) + command = make_simple_command(:delete, 'projects/{project}/regions/{region}/healthCheckServices/{healthCheckService}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['healthCheckService'] = health_check_service unless health_check_service.nil? @@ -20033,11 +20033,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_region_health_check_service(project, region, health_check_service, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/healthCheckServices/{healthCheckService}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/healthCheckServices/{healthCheckService}', options) command.response_representation = Google::Apis::ComputeBeta::HealthCheckService::Representation command.response_class = Google::Apis::ComputeBeta::HealthCheckService command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['healthCheckService'] = health_check_service unless health_check_service.nil? @@ -20083,11 +20083,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_region_health_check_service(project, region, health_check_service_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/healthCheckServices', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/healthCheckServices', options) command.request_representation = Google::Apis::ComputeBeta::HealthCheckService::Representation command.request_object = health_check_service_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -20157,11 +20157,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_region_health_check_services(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/healthCheckServices', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/healthCheckServices', options) command.response_representation = Google::Apis::ComputeBeta::HealthCheckServicesList::Representation command.response_class = Google::Apis::ComputeBeta::HealthCheckServicesList command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['filter'] = filter unless filter.nil? @@ -20214,11 +20214,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_region_health_check_service(project, region, health_check_service, health_check_service_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/regions/{region}/healthCheckServices/{healthCheckService}', options) + command = make_simple_command(:patch, 'projects/{project}/regions/{region}/healthCheckServices/{healthCheckService}', options) command.request_representation = Google::Apis::ComputeBeta::HealthCheckService::Representation command.request_object = health_check_service_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -20267,11 +20267,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_region_health_check(project, region, health_check, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/regions/{region}/healthChecks/{healthCheck}', options) + command = make_simple_command(:delete, 'projects/{project}/regions/{region}/healthChecks/{healthCheck}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['healthCheck'] = health_check unless health_check.nil? @@ -20308,11 +20308,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_region_health_check(project, region, health_check, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/healthChecks/{healthCheck}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/healthChecks/{healthCheck}', options) command.response_representation = Google::Apis::ComputeBeta::HealthCheck::Representation command.response_class = Google::Apis::ComputeBeta::HealthCheck command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['healthCheck'] = health_check unless health_check.nil? @@ -20358,11 +20358,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_region_health_check(project, region, health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/healthChecks', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/healthChecks', options) command.request_representation = Google::Apis::ComputeBeta::HealthCheck::Representation command.request_object = health_check_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -20431,11 +20431,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_region_health_checks(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/healthChecks', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/healthChecks', options) command.response_representation = Google::Apis::ComputeBeta::HealthCheckList::Representation command.response_class = Google::Apis::ComputeBeta::HealthCheckList command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['filter'] = filter unless filter.nil? @@ -20487,11 +20487,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_region_health_check(project, region, health_check, health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/regions/{region}/healthChecks/{healthCheck}', options) + command = make_simple_command(:patch, 'projects/{project}/regions/{region}/healthChecks/{healthCheck}', options) command.request_representation = Google::Apis::ComputeBeta::HealthCheck::Representation command.request_object = health_check_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -20542,11 +20542,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def update_region_health_check(project, region, health_check, health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:put, '{project}/regions/{region}/healthChecks/{healthCheck}', options) + command = make_simple_command(:put, 'projects/{project}/regions/{region}/healthChecks/{healthCheck}', options) command.request_representation = Google::Apis::ComputeBeta::HealthCheck::Representation command.request_object = health_check_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -20607,11 +20607,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def abandon_region_instance_group_manager_instances(project, region, instance_group_manager, region_instance_group_managers_abandon_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/abandonInstances', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/abandonInstances', options) command.request_representation = Google::Apis::ComputeBeta::RegionInstanceGroupManagersAbandonInstancesRequest::Representation command.request_object = region_instance_group_managers_abandon_instances_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -20650,11 +20650,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def apply_region_instance_group_manager_updates_to_instances(project, region, instance_group_manager, region_instance_group_managers_apply_updates_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/applyUpdatesToInstances', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/applyUpdatesToInstances', options) command.request_representation = Google::Apis::ComputeBeta::RegionInstanceGroupManagersApplyUpdatesRequest::Representation command.request_object = region_instance_group_managers_apply_updates_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -20708,11 +20708,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def create_region_instance_group_manager_instances(project, region, instance_group_manager, region_instance_group_managers_create_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/createInstances', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/createInstances', options) command.request_representation = Google::Apis::ComputeBeta::RegionInstanceGroupManagersCreateInstancesRequest::Representation command.request_object = region_instance_group_managers_create_instances_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -20762,11 +20762,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_region_instance_group_manager(project, region, instance_group_manager, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}', options) + command = make_simple_command(:delete, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? @@ -20824,11 +20824,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_region_instance_group_manager_instances(project, region, instance_group_manager, region_instance_group_managers_delete_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/deleteInstances', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/deleteInstances', options) command.request_representation = Google::Apis::ComputeBeta::RegionInstanceGroupManagersDeleteInstancesRequest::Representation command.request_object = region_instance_group_managers_delete_instances_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -20867,11 +20867,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_region_instance_group_manager_per_instance_configs(project, region, instance_group_manager, region_instance_group_manager_delete_instance_config_req_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/deletePerInstanceConfigs', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/deletePerInstanceConfigs', options) command.request_representation = Google::Apis::ComputeBeta::RegionInstanceGroupManagerDeleteInstanceConfigReq::Representation command.request_object = region_instance_group_manager_delete_instance_config_req_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -20908,11 +20908,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_region_instance_group_manager(project, region, instance_group_manager, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}', options) command.response_representation = Google::Apis::ComputeBeta::InstanceGroupManager::Representation command.response_class = Google::Apis::ComputeBeta::InstanceGroupManager command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? @@ -20963,11 +20963,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_region_instance_group_manager(project, region, instance_group_manager_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroupManagers', options) command.request_representation = Google::Apis::ComputeBeta::InstanceGroupManager::Representation command.request_object = instance_group_manager_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -21037,11 +21037,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_region_instance_group_managers(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/instanceGroupManagers', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/instanceGroupManagers', options) command.response_representation = Google::Apis::ComputeBeta::RegionInstanceGroupManagerList::Representation command.response_class = Google::Apis::ComputeBeta::RegionInstanceGroupManagerList command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['filter'] = filter unless filter.nil? @@ -21116,11 +21116,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_region_instance_group_manager_errors(project, region, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listErrors', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listErrors', options) command.response_representation = Google::Apis::ComputeBeta::RegionInstanceGroupManagersListErrorsResponse::Representation command.response_class = Google::Apis::ComputeBeta::RegionInstanceGroupManagersListErrorsResponse command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? @@ -21195,11 +21195,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_region_instance_group_manager_managed_instances(project, region, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances', options) command.response_representation = Google::Apis::ComputeBeta::RegionInstanceGroupManagersListInstancesResponse::Representation command.response_class = Google::Apis::ComputeBeta::RegionInstanceGroupManagersListInstancesResponse command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? @@ -21272,11 +21272,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_region_instance_group_manager_per_instance_configs(project, region, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listPerInstanceConfigs', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listPerInstanceConfigs', options) command.response_representation = Google::Apis::ComputeBeta::RegionInstanceGroupManagersListInstanceConfigsResp::Representation command.response_class = Google::Apis::ComputeBeta::RegionInstanceGroupManagersListInstanceConfigsResp command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? @@ -21332,11 +21332,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_region_instance_group_manager(project, region, instance_group_manager, instance_group_manager_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}', options) + command = make_simple_command(:patch, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}', options) command.request_representation = Google::Apis::ComputeBeta::InstanceGroupManager::Representation command.request_object = instance_group_manager_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -21388,11 +21388,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_region_instance_group_manager_per_instance_configs(project, region, instance_group_manager, region_instance_group_manager_patch_instance_config_req_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/patchPerInstanceConfigs', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/patchPerInstanceConfigs', options) command.request_representation = Google::Apis::ComputeBeta::RegionInstanceGroupManagerPatchInstanceConfigReq::Representation command.request_object = region_instance_group_manager_patch_instance_config_req_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -21451,11 +21451,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def recreate_region_instance_group_manager_instances(project, region, instance_group_manager, region_instance_group_managers_recreate_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/recreateInstances', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/recreateInstances', options) command.request_representation = Google::Apis::ComputeBeta::RegionInstanceGroupManagersRecreateRequest::Representation command.request_object = region_instance_group_managers_recreate_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -21514,11 +21514,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def resize_region_instance_group_manager(project, region, instance_group_manager, size, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/resize', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/resize', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? @@ -21568,11 +21568,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_region_instance_group_manager_auto_healing_policies(project, region, instance_group_manager, region_instance_group_managers_set_auto_healing_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setAutoHealingPolicies', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setAutoHealingPolicies', options) command.request_representation = Google::Apis::ComputeBeta::RegionInstanceGroupManagersSetAutoHealingRequest::Representation command.request_object = region_instance_group_managers_set_auto_healing_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -21623,11 +21623,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_region_instance_group_manager_instance_template(project, region, instance_group_manager, region_instance_group_managers_set_template_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate', options) command.request_representation = Google::Apis::ComputeBeta::RegionInstanceGroupManagersSetTemplateRequest::Representation command.request_object = region_instance_group_managers_set_template_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -21678,11 +21678,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_region_instance_group_manager_target_pools(project, region, instance_group_manager, region_instance_group_managers_set_target_pools_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setTargetPools', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setTargetPools', options) command.request_representation = Google::Apis::ComputeBeta::RegionInstanceGroupManagersSetTargetPoolsRequest::Representation command.request_object = region_instance_group_managers_set_target_pools_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -21721,11 +21721,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_region_instance_group_manager_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroupManagers/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::TestPermissionsResponse command.params['project'] = project unless project.nil? @@ -21778,11 +21778,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def update_region_instance_group_manager(project, region, instance_group_manager, instance_group_manager_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:put, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}', options) + command = make_simple_command(:put, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}', options) command.request_representation = Google::Apis::ComputeBeta::InstanceGroupManager::Representation command.request_object = instance_group_manager_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -21834,11 +21834,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def update_region_instance_group_manager_per_instance_configs(project, region, instance_group_manager, region_instance_group_manager_update_instance_config_req_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/updatePerInstanceConfigs', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/updatePerInstanceConfigs', options) command.request_representation = Google::Apis::ComputeBeta::RegionInstanceGroupManagerUpdateInstanceConfigReq::Representation command.request_object = region_instance_group_manager_update_instance_config_req_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -21876,11 +21876,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_region_instance_group(project, region, instance_group, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/instanceGroups/{instanceGroup}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/instanceGroups/{instanceGroup}', options) command.response_representation = Google::Apis::ComputeBeta::InstanceGroup::Representation command.response_class = Google::Apis::ComputeBeta::InstanceGroup command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['instanceGroup'] = instance_group unless instance_group.nil? @@ -21948,11 +21948,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_region_instance_groups(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/instanceGroups', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/instanceGroups', options) command.response_representation = Google::Apis::ComputeBeta::RegionInstanceGroupList::Representation command.response_class = Google::Apis::ComputeBeta::RegionInstanceGroupList command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['filter'] = filter unless filter.nil? @@ -22027,11 +22027,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_region_instance_group_instances(project, region, instance_group, region_instance_groups_list_instances_request_object = nil, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/instanceGroups/{instanceGroup}/listInstances', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroups/{instanceGroup}/listInstances', options) command.request_representation = Google::Apis::ComputeBeta::RegionInstanceGroupsListInstancesRequest::Representation command.request_object = region_instance_groups_list_instances_request_object command.response_representation = Google::Apis::ComputeBeta::RegionInstanceGroupsListInstances::Representation command.response_class = Google::Apis::ComputeBeta::RegionInstanceGroupsListInstances command.params['project'] = project unless project.nil? @@ -22084,11 +22084,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_region_instance_group_named_ports(project, region, instance_group, region_instance_groups_set_named_ports_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/instanceGroups/{instanceGroup}/setNamedPorts', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroups/{instanceGroup}/setNamedPorts', options) command.request_representation = Google::Apis::ComputeBeta::RegionInstanceGroupsSetNamedPortsRequest::Representation command.request_object = region_instance_groups_set_named_ports_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -22127,11 +22127,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_region_instance_group_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/instanceGroups/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroups/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::TestPermissionsResponse command.params['project'] = project unless project.nil? @@ -22179,11 +22179,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_region_notification_endpoint(project, region, notification_endpoint, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/regions/{region}/notificationEndpoints/{notificationEndpoint}', options) + command = make_simple_command(:delete, 'projects/{project}/regions/{region}/notificationEndpoints/{notificationEndpoint}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['notificationEndpoint'] = notification_endpoint unless notification_endpoint.nil? @@ -22219,11 +22219,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_region_notification_endpoint(project, region, notification_endpoint, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/notificationEndpoints/{notificationEndpoint}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/notificationEndpoints/{notificationEndpoint}', options) command.response_representation = Google::Apis::ComputeBeta::NotificationEndpoint::Representation command.response_class = Google::Apis::ComputeBeta::NotificationEndpoint command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['notificationEndpoint'] = notification_endpoint unless notification_endpoint.nil? @@ -22269,11 +22269,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_region_notification_endpoint(project, region, notification_endpoint_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/notificationEndpoints', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/notificationEndpoints', options) command.request_representation = Google::Apis::ComputeBeta::NotificationEndpoint::Representation command.request_object = notification_endpoint_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -22342,11 +22342,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_region_notification_endpoints(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/notificationEndpoints', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/notificationEndpoints', options) command.response_representation = Google::Apis::ComputeBeta::NotificationEndpointList::Representation command.response_class = Google::Apis::ComputeBeta::NotificationEndpointList command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['filter'] = filter unless filter.nil? @@ -22384,11 +22384,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_region_operation(project, region, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/regions/{region}/operations/{operation}', options) + command = make_simple_command(:delete, 'projects/{project}/regions/{region}/operations/{operation}', options) command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['operation'] = operation unless operation.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -22421,11 +22421,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_region_operation(project, region, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/operations/{operation}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/operations/{operation}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['operation'] = operation unless operation.nil? @@ -22492,11 +22492,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_region_operations(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/operations', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/operations', options) command.response_representation = Google::Apis::ComputeBeta::OperationList::Representation command.response_class = Google::Apis::ComputeBeta::OperationList command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['filter'] = filter unless filter.nil? @@ -22544,11 +22544,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def wait_region_operation(project, region, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/operations/{operation}/wait', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/operations/{operation}/wait', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['operation'] = operation unless operation.nil? @@ -22594,11 +22594,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_region_ssl_certificate(project, region, ssl_certificate, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/regions/{region}/sslCertificates/{sslCertificate}', options) + command = make_simple_command(:delete, 'projects/{project}/regions/{region}/sslCertificates/{sslCertificate}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['sslCertificate'] = ssl_certificate unless ssl_certificate.nil? @@ -22635,11 +22635,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_region_ssl_certificate(project, region, ssl_certificate, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/sslCertificates/{sslCertificate}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/sslCertificates/{sslCertificate}', options) command.response_representation = Google::Apis::ComputeBeta::SslCertificate::Representation command.response_class = Google::Apis::ComputeBeta::SslCertificate command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['sslCertificate'] = ssl_certificate unless ssl_certificate.nil? @@ -22685,11 +22685,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_region_ssl_certificate(project, region, ssl_certificate_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/sslCertificates', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/sslCertificates', options) command.request_representation = Google::Apis::ComputeBeta::SslCertificate::Representation command.request_object = ssl_certificate_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -22759,11 +22759,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_region_ssl_certificates(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/sslCertificates', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/sslCertificates', options) command.response_representation = Google::Apis::ComputeBeta::SslCertificateList::Representation command.response_class = Google::Apis::ComputeBeta::SslCertificateList command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['filter'] = filter unless filter.nil? @@ -22812,11 +22812,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_region_target_http_proxy(project, region, target_http_proxy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/regions/{region}/targetHttpProxies/{targetHttpProxy}', options) + command = make_simple_command(:delete, 'projects/{project}/regions/{region}/targetHttpProxies/{targetHttpProxy}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['targetHttpProxy'] = target_http_proxy unless target_http_proxy.nil? @@ -22853,11 +22853,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_region_target_http_proxy(project, region, target_http_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/targetHttpProxies/{targetHttpProxy}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/targetHttpProxies/{targetHttpProxy}', options) command.response_representation = Google::Apis::ComputeBeta::TargetHttpProxy::Representation command.response_class = Google::Apis::ComputeBeta::TargetHttpProxy command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['targetHttpProxy'] = target_http_proxy unless target_http_proxy.nil? @@ -22903,11 +22903,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_region_target_http_proxy(project, region, target_http_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/targetHttpProxies', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetHttpProxies', options) command.request_representation = Google::Apis::ComputeBeta::TargetHttpProxy::Representation command.request_object = target_http_proxy_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -22977,11 +22977,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_region_target_http_proxies(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/targetHttpProxies', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/targetHttpProxies', options) command.response_representation = Google::Apis::ComputeBeta::TargetHttpProxyList::Representation command.response_class = Google::Apis::ComputeBeta::TargetHttpProxyList command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['filter'] = filter unless filter.nil? @@ -23031,11 +23031,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_region_target_http_proxy_url_map(project, region, target_http_proxy, url_map_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/targetHttpProxies/{targetHttpProxy}/setUrlMap', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetHttpProxies/{targetHttpProxy}/setUrlMap', options) command.request_representation = Google::Apis::ComputeBeta::UrlMapReference::Representation command.request_object = url_map_reference_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -23084,11 +23084,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_region_target_https_proxy(project, region, target_https_proxy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}', options) + command = make_simple_command(:delete, 'projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['targetHttpsProxy'] = target_https_proxy unless target_https_proxy.nil? @@ -23125,11 +23125,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_region_target_https_proxy(project, region, target_https_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}', options) command.response_representation = Google::Apis::ComputeBeta::TargetHttpsProxy::Representation command.response_class = Google::Apis::ComputeBeta::TargetHttpsProxy command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['targetHttpsProxy'] = target_https_proxy unless target_https_proxy.nil? @@ -23175,11 +23175,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_region_target_https_proxy(project, region, target_https_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/targetHttpsProxies', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetHttpsProxies', options) command.request_representation = Google::Apis::ComputeBeta::TargetHttpsProxy::Representation command.request_object = target_https_proxy_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -23249,11 +23249,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_region_target_https_proxies(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/targetHttpsProxies', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/targetHttpsProxies', options) command.response_representation = Google::Apis::ComputeBeta::TargetHttpsProxyList::Representation command.response_class = Google::Apis::ComputeBeta::TargetHttpsProxyList command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['filter'] = filter unless filter.nil? @@ -23303,11 +23303,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_region_target_https_proxy_ssl_certificates(project, region, target_https_proxy, region_target_https_proxies_set_ssl_certificates_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}/setSslCertificates', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}/setSslCertificates', options) command.request_representation = Google::Apis::ComputeBeta::RegionTargetHttpsProxiesSetSslCertificatesRequest::Representation command.request_object = region_target_https_proxies_set_ssl_certificates_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -23357,11 +23357,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_region_target_https_proxy_url_map(project, region, target_https_proxy, url_map_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}/setUrlMap', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}/setUrlMap', options) command.request_representation = Google::Apis::ComputeBeta::UrlMapReference::Representation command.request_object = url_map_reference_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -23401,11 +23401,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_region_url_map(project, region, url_map, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/regions/{region}/urlMaps/{urlMap}', options) + command = make_simple_command(:delete, 'projects/{project}/regions/{region}/urlMaps/{urlMap}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['urlMap'] = url_map unless url_map.nil? @@ -23442,11 +23442,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_region_url_map(project, region, url_map, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/urlMaps/{urlMap}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/urlMaps/{urlMap}', options) command.response_representation = Google::Apis::ComputeBeta::UrlMap::Representation command.response_class = Google::Apis::ComputeBeta::UrlMap command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['urlMap'] = url_map unless url_map.nil? @@ -23483,11 +23483,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_region_url_map(project, region, url_map_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/urlMaps', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/urlMaps', options) command.request_representation = Google::Apis::ComputeBeta::UrlMap::Representation command.request_object = url_map_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -23528,11 +23528,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def invalidate_region_url_map_cache(project, region, url_map, cache_invalidation_rule_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/urlMaps/{urlMap}/invalidateCache', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/urlMaps/{urlMap}/invalidateCache', options) command.request_representation = Google::Apis::ComputeBeta::CacheInvalidationRule::Representation command.request_object = cache_invalidation_rule_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -23603,11 +23603,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_region_url_maps(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/urlMaps', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/urlMaps', options) command.response_representation = Google::Apis::ComputeBeta::UrlMapList::Representation command.response_class = Google::Apis::ComputeBeta::UrlMapList command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['filter'] = filter unless filter.nil? @@ -23650,11 +23650,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_region_url_map(project, region, url_map, url_map_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/regions/{region}/urlMaps/{urlMap}', options) + command = make_simple_command(:patch, 'projects/{project}/regions/{region}/urlMaps/{urlMap}', options) command.request_representation = Google::Apis::ComputeBeta::UrlMap::Representation command.request_object = url_map_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -23695,11 +23695,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def update_region_url_map(project, region, url_map, url_map_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:put, '{project}/regions/{region}/urlMaps/{urlMap}', options) + command = make_simple_command(:put, 'projects/{project}/regions/{region}/urlMaps/{urlMap}', options) command.request_representation = Google::Apis::ComputeBeta::UrlMap::Representation command.request_object = url_map_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -23739,11 +23739,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def validate_region_url_map(project, region, url_map, region_url_maps_validate_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/urlMaps/{urlMap}/validate', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/urlMaps/{urlMap}/validate', options) command.request_representation = Google::Apis::ComputeBeta::RegionUrlMapsValidateRequest::Representation command.request_object = region_url_maps_validate_request_object command.response_representation = Google::Apis::ComputeBeta::ValidateUrlMapsResponse::Representation command.response_class = Google::Apis::ComputeBeta::ValidateUrlMapsResponse command.params['project'] = project unless project.nil? @@ -23779,11 +23779,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_region(project, region, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}', options) command.response_representation = Google::Apis::ComputeBeta::Region::Representation command.response_class = Google::Apis::ComputeBeta::Region command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['fields'] = fields unless fields.nil? @@ -23847,11 +23847,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_regions(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions', options) + command = make_simple_command(:get, 'projects/{project}/regions', options) command.response_representation = Google::Apis::ComputeBeta::RegionList::Representation command.response_class = Google::Apis::ComputeBeta::RegionList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? @@ -23925,11 +23925,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def aggregated_reservation_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/reservations', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/reservations', options) command.response_representation = Google::Apis::ComputeBeta::ReservationAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::ReservationAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? @@ -23978,11 +23978,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_reservation(project, zone, reservation, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/zones/{zone}/reservations/{reservation}', options) + command = make_simple_command(:delete, 'projects/{project}/zones/{zone}/reservations/{reservation}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['reservation'] = reservation unless reservation.nil? @@ -24018,11 +24018,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_reservation(project, zone, reservation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/reservations/{reservation}', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/reservations/{reservation}', options) command.response_representation = Google::Apis::ComputeBeta::Reservation::Representation command.response_class = Google::Apis::ComputeBeta::Reservation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['reservation'] = reservation unless reservation.nil? @@ -24060,11 +24060,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_reservation_iam_policy(project, zone, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/reservations/{resource}/getIamPolicy', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/reservations/{resource}/getIamPolicy', options) command.response_representation = Google::Apis::ComputeBeta::Policy::Representation command.response_class = Google::Apis::ComputeBeta::Policy command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['resource'] = resource unless resource.nil? @@ -24111,11 +24111,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_reservation(project, zone, reservation_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/reservations', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/reservations', options) command.request_representation = Google::Apis::ComputeBeta::Reservation::Representation command.request_object = reservation_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -24185,11 +24185,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_reservations(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/reservations', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/reservations', options) command.response_representation = Google::Apis::ComputeBeta::ReservationList::Representation command.response_class = Google::Apis::ComputeBeta::ReservationList command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.query['filter'] = filter unless filter.nil? @@ -24240,11 +24240,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def resize_reservation(project, zone, reservation, reservations_resize_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/reservations/{reservation}/resize', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/reservations/{reservation}/resize', options) command.request_representation = Google::Apis::ComputeBeta::ReservationsResizeRequest::Representation command.request_object = reservations_resize_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -24284,11 +24284,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_reservation_iam_policy(project, zone, resource, zone_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/reservations/{resource}/setIamPolicy', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/reservations/{resource}/setIamPolicy', options) command.request_representation = Google::Apis::ComputeBeta::ZoneSetPolicyRequest::Representation command.request_object = zone_set_policy_request_object command.response_representation = Google::Apis::ComputeBeta::Policy::Representation command.response_class = Google::Apis::ComputeBeta::Policy command.params['project'] = project unless project.nil? @@ -24326,11 +24326,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_reservation_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/reservations/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/reservations/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::TestPermissionsResponse command.params['project'] = project unless project.nil? @@ -24404,11 +24404,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def aggregated_resource_policy_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/resourcePolicies', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/resourcePolicies', options) command.response_representation = Google::Apis::ComputeBeta::ResourcePolicyAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::ResourcePolicyAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? @@ -24457,11 +24457,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_resource_policy(project, region, resource_policy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/regions/{region}/resourcePolicies/{resourcePolicy}', options) + command = make_simple_command(:delete, 'projects/{project}/regions/{region}/resourcePolicies/{resourcePolicy}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resourcePolicy'] = resource_policy unless resource_policy.nil? @@ -24497,11 +24497,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_resource_policy(project, region, resource_policy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/resourcePolicies/{resourcePolicy}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/resourcePolicies/{resourcePolicy}', options) command.response_representation = Google::Apis::ComputeBeta::ResourcePolicy::Representation command.response_class = Google::Apis::ComputeBeta::ResourcePolicy command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resourcePolicy'] = resource_policy unless resource_policy.nil? @@ -24539,11 +24539,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_resource_policy_iam_policy(project, region, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/resourcePolicies/{resource}/getIamPolicy', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/resourcePolicies/{resource}/getIamPolicy', options) command.response_representation = Google::Apis::ComputeBeta::Policy::Representation command.response_class = Google::Apis::ComputeBeta::Policy command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? @@ -24589,11 +24589,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_resource_policy(project, region, resource_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/resourcePolicies', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/resourcePolicies', options) command.request_representation = Google::Apis::ComputeBeta::ResourcePolicy::Representation command.request_object = resource_policy_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -24663,11 +24663,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_resource_policies(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/resourcePolicies', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/resourcePolicies', options) command.response_representation = Google::Apis::ComputeBeta::ResourcePolicyList::Representation command.response_class = Google::Apis::ComputeBeta::ResourcePolicyList command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['filter'] = filter unless filter.nil? @@ -24707,11 +24707,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_resource_policy_iam_policy(project, region, resource, region_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/resourcePolicies/{resource}/setIamPolicy', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/resourcePolicies/{resource}/setIamPolicy', options) command.request_representation = Google::Apis::ComputeBeta::RegionSetPolicyRequest::Representation command.request_object = region_set_policy_request_object command.response_representation = Google::Apis::ComputeBeta::Policy::Representation command.response_class = Google::Apis::ComputeBeta::Policy command.params['project'] = project unless project.nil? @@ -24749,11 +24749,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_resource_policy_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/resourcePolicies/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/resourcePolicies/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::TestPermissionsResponse command.params['project'] = project unless project.nil? @@ -24827,11 +24827,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_aggregated_routers(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/routers', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/routers', options) command.response_representation = Google::Apis::ComputeBeta::RouterAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::RouterAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? @@ -24880,11 +24880,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_router(project, region, router, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/regions/{region}/routers/{router}', options) + command = make_simple_command(:delete, 'projects/{project}/regions/{region}/routers/{router}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['router'] = router unless router.nil? @@ -24921,11 +24921,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_router(project, region, router, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/routers/{router}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/routers/{router}', options) command.response_representation = Google::Apis::ComputeBeta::Router::Representation command.response_class = Google::Apis::ComputeBeta::Router command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['router'] = router unless router.nil? @@ -24999,11 +24999,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_router_nat_mapping_info(project, region, router, filter: nil, max_results: nil, nat_name: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/routers/{router}/getNatMappingInfo', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/routers/{router}/getNatMappingInfo', options) command.response_representation = Google::Apis::ComputeBeta::VmEndpointNatMappingsList::Representation command.response_class = Google::Apis::ComputeBeta::VmEndpointNatMappingsList command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['router'] = router unless router.nil? @@ -25043,11 +25043,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_router_status(project, region, router, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/routers/{router}/getRouterStatus', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/routers/{router}/getRouterStatus', options) command.response_representation = Google::Apis::ComputeBeta::RouterStatusResponse::Representation command.response_class = Google::Apis::ComputeBeta::RouterStatusResponse command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['router'] = router unless router.nil? @@ -25093,11 +25093,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_router(project, region, router_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/routers', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/routers', options) command.request_representation = Google::Apis::ComputeBeta::Router::Representation command.request_object = router_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -25166,11 +25166,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_routers(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/routers', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/routers', options) command.response_representation = Google::Apis::ComputeBeta::RouterList::Representation command.response_class = Google::Apis::ComputeBeta::RouterList command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['filter'] = filter unless filter.nil? @@ -25222,11 +25222,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_router(project, region, router, router_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/regions/{region}/routers/{router}', options) + command = make_simple_command(:patch, 'projects/{project}/regions/{region}/routers/{router}', options) command.request_representation = Google::Apis::ComputeBeta::Router::Representation command.request_object = router_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -25266,11 +25266,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def preview_router(project, region, router, router_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/routers/{router}/preview', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/routers/{router}/preview', options) command.request_representation = Google::Apis::ComputeBeta::Router::Representation command.request_object = router_object command.response_representation = Google::Apis::ComputeBeta::RoutersPreviewResponse::Representation command.response_class = Google::Apis::ComputeBeta::RoutersPreviewResponse command.params['project'] = project unless project.nil? @@ -25308,11 +25308,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_router_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/routers/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/routers/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::TestPermissionsResponse command.params['project'] = project unless project.nil? @@ -25364,11 +25364,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def update_router(project, region, router, router_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:put, '{project}/regions/{region}/routers/{router}', options) + command = make_simple_command(:put, 'projects/{project}/regions/{region}/routers/{router}', options) command.request_representation = Google::Apis::ComputeBeta::Router::Representation command.request_object = router_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -25415,11 +25415,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_route(project, route, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/routes/{route}', options) + command = make_simple_command(:delete, 'projects/{project}/global/routes/{route}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['route'] = route unless route.nil? command.query['requestId'] = request_id unless request_id.nil? @@ -25453,11 +25453,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_route(project, route, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/routes/{route}', options) + command = make_simple_command(:get, 'projects/{project}/global/routes/{route}', options) command.response_representation = Google::Apis::ComputeBeta::Route::Representation command.response_class = Google::Apis::ComputeBeta::Route command.params['project'] = project unless project.nil? command.params['route'] = route unless route.nil? command.query['fields'] = fields unless fields.nil? @@ -25500,11 +25500,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_route(project, route_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/routes', options) + command = make_simple_command(:post, 'projects/{project}/global/routes', options) command.request_representation = Google::Apis::ComputeBeta::Route::Representation command.request_object = route_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -25570,11 +25570,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_routes(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/routes', options) + command = make_simple_command(:get, 'projects/{project}/global/routes', options) command.response_representation = Google::Apis::ComputeBeta::RouteList::Representation command.response_class = Google::Apis::ComputeBeta::RouteList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? @@ -25610,11 +25610,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_route_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/routes/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/global/routes/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::TestPermissionsResponse command.params['project'] = project unless project.nil? @@ -25651,11 +25651,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def add_security_policy_rule(project, security_policy, security_policy_rule_object = nil, validate_only: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/securityPolicies/{securityPolicy}/addRule', options) + command = make_simple_command(:post, 'projects/{project}/global/securityPolicies/{securityPolicy}/addRule', options) command.request_representation = Google::Apis::ComputeBeta::SecurityPolicyRule::Representation command.request_object = security_policy_rule_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -25701,11 +25701,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_security_policy(project, security_policy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/securityPolicies/{securityPolicy}', options) + command = make_simple_command(:delete, 'projects/{project}/global/securityPolicies/{securityPolicy}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['securityPolicy'] = security_policy unless security_policy.nil? command.query['requestId'] = request_id unless request_id.nil? @@ -25738,11 +25738,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_security_policy(project, security_policy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/securityPolicies/{securityPolicy}', options) + command = make_simple_command(:get, 'projects/{project}/global/securityPolicies/{securityPolicy}', options) command.response_representation = Google::Apis::ComputeBeta::SecurityPolicy::Representation command.response_class = Google::Apis::ComputeBeta::SecurityPolicy command.params['project'] = project unless project.nil? command.params['securityPolicy'] = security_policy unless security_policy.nil? command.query['fields'] = fields unless fields.nil? @@ -25776,11 +25776,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_security_policy_rule(project, security_policy, priority: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/securityPolicies/{securityPolicy}/getRule', options) + command = make_simple_command(:get, 'projects/{project}/global/securityPolicies/{securityPolicy}/getRule', options) command.response_representation = Google::Apis::ComputeBeta::SecurityPolicyRule::Representation command.response_class = Google::Apis::ComputeBeta::SecurityPolicyRule command.params['project'] = project unless project.nil? command.params['securityPolicy'] = security_policy unless security_policy.nil? command.query['priority'] = priority unless priority.nil? @@ -25826,11 +25826,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_security_policy(project, security_policy_object = nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/securityPolicies', options) + command = make_simple_command(:post, 'projects/{project}/global/securityPolicies', options) command.request_representation = Google::Apis::ComputeBeta::SecurityPolicy::Representation command.request_object = security_policy_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -25897,11 +25897,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_security_policies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/securityPolicies', options) + command = make_simple_command(:get, 'projects/{project}/global/securityPolicies', options) command.response_representation = Google::Apis::ComputeBeta::SecurityPolicyList::Representation command.response_class = Google::Apis::ComputeBeta::SecurityPolicyList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? @@ -25969,11 +25969,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_security_policy_preconfigured_expression_sets(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/securityPolicies/listPreconfiguredExpressionSets', options) + command = make_simple_command(:get, 'projects/{project}/global/securityPolicies/listPreconfiguredExpressionSets', options) command.response_representation = Google::Apis::ComputeBeta::SecurityPoliciesListPreconfiguredExpressionSetsResponse::Representation command.response_class = Google::Apis::ComputeBeta::SecurityPoliciesListPreconfiguredExpressionSetsResponse command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? @@ -26020,11 +26020,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_security_policy(project, security_policy, security_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/global/securityPolicies/{securityPolicy}', options) + command = make_simple_command(:patch, 'projects/{project}/global/securityPolicies/{securityPolicy}', options) command.request_representation = Google::Apis::ComputeBeta::SecurityPolicy::Representation command.request_object = security_policy_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -26064,11 +26064,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_security_policy_rule(project, security_policy, security_policy_rule_object = nil, priority: nil, validate_only: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/securityPolicies/{securityPolicy}/patchRule', options) + command = make_simple_command(:post, 'projects/{project}/global/securityPolicies/{securityPolicy}/patchRule', options) command.request_representation = Google::Apis::ComputeBeta::SecurityPolicyRule::Representation command.request_object = security_policy_rule_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -26106,11 +26106,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def remove_security_policy_rule(project, security_policy, priority: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/securityPolicies/{securityPolicy}/removeRule', options) + command = make_simple_command(:post, 'projects/{project}/global/securityPolicies/{securityPolicy}/removeRule', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['securityPolicy'] = security_policy unless security_policy.nil? command.query['priority'] = priority unless priority.nil? @@ -26145,11 +26145,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_security_policy_labels(project, resource, global_set_labels_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/securityPolicies/{resource}/setLabels', options) + command = make_simple_command(:post, 'projects/{project}/global/securityPolicies/{resource}/setLabels', options) command.request_representation = Google::Apis::ComputeBeta::GlobalSetLabelsRequest::Representation command.request_object = global_set_labels_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -26184,11 +26184,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_security_policy_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/securityPolicies/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/global/securityPolicies/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::TestPermissionsResponse command.params['project'] = project unless project.nil? @@ -26237,11 +26237,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_snapshot(project, snapshot, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/snapshots/{snapshot}', options) + command = make_simple_command(:delete, 'projects/{project}/global/snapshots/{snapshot}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['snapshot'] = snapshot unless snapshot.nil? command.query['requestId'] = request_id unless request_id.nil? @@ -26275,11 +26275,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_snapshot(project, snapshot, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/snapshots/{snapshot}', options) + command = make_simple_command(:get, 'projects/{project}/global/snapshots/{snapshot}', options) command.response_representation = Google::Apis::ComputeBeta::Snapshot::Representation command.response_class = Google::Apis::ComputeBeta::Snapshot command.params['project'] = project unless project.nil? command.params['snapshot'] = snapshot unless snapshot.nil? command.query['fields'] = fields unless fields.nil? @@ -26314,11 +26314,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_snapshot_iam_policy(project, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/snapshots/{resource}/getIamPolicy', options) + command = make_simple_command(:get, 'projects/{project}/global/snapshots/{resource}/getIamPolicy', options) command.response_representation = Google::Apis::ComputeBeta::Policy::Representation command.response_class = Google::Apis::ComputeBeta::Policy command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['optionsRequestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil? @@ -26384,11 +26384,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_snapshots(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/snapshots', options) + command = make_simple_command(:get, 'projects/{project}/global/snapshots', options) command.response_representation = Google::Apis::ComputeBeta::SnapshotList::Representation command.response_class = Google::Apis::ComputeBeta::SnapshotList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? @@ -26425,11 +26425,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_snapshot_iam_policy(project, resource, global_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/snapshots/{resource}/setIamPolicy', options) + command = make_simple_command(:post, 'projects/{project}/global/snapshots/{resource}/setIamPolicy', options) command.request_representation = Google::Apis::ComputeBeta::GlobalSetPolicyRequest::Representation command.request_object = global_set_policy_request_object command.response_representation = Google::Apis::ComputeBeta::Policy::Representation command.response_class = Google::Apis::ComputeBeta::Policy command.params['project'] = project unless project.nil? @@ -26465,11 +26465,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_snapshot_labels(project, resource, global_set_labels_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/snapshots/{resource}/setLabels', options) + command = make_simple_command(:post, 'projects/{project}/global/snapshots/{resource}/setLabels', options) command.request_representation = Google::Apis::ComputeBeta::GlobalSetLabelsRequest::Representation command.request_object = global_set_labels_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -26504,11 +26504,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_snapshot_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/snapshots/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/global/snapshots/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::TestPermissionsResponse command.params['project'] = project unless project.nil? @@ -26582,11 +26582,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def aggregated_ssl_certificate_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/sslCertificates', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/sslCertificates', options) command.response_representation = Google::Apis::ComputeBeta::SslCertificateAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::SslCertificateAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? @@ -26633,11 +26633,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_ssl_certificate(project, ssl_certificate, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/sslCertificates/{sslCertificate}', options) + command = make_simple_command(:delete, 'projects/{project}/global/sslCertificates/{sslCertificate}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['sslCertificate'] = ssl_certificate unless ssl_certificate.nil? command.query['requestId'] = request_id unless request_id.nil? @@ -26671,11 +26671,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_ssl_certificate(project, ssl_certificate, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/sslCertificates/{sslCertificate}', options) + command = make_simple_command(:get, 'projects/{project}/global/sslCertificates/{sslCertificate}', options) command.response_representation = Google::Apis::ComputeBeta::SslCertificate::Representation command.response_class = Google::Apis::ComputeBeta::SslCertificate command.params['project'] = project unless project.nil? command.params['sslCertificate'] = ssl_certificate unless ssl_certificate.nil? command.query['fields'] = fields unless fields.nil? @@ -26718,11 +26718,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_ssl_certificate(project, ssl_certificate_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/sslCertificates', options) + command = make_simple_command(:post, 'projects/{project}/global/sslCertificates', options) command.request_representation = Google::Apis::ComputeBeta::SslCertificate::Representation command.request_object = ssl_certificate_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -26789,11 +26789,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_ssl_certificates(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/sslCertificates', options) + command = make_simple_command(:get, 'projects/{project}/global/sslCertificates', options) command.response_representation = Google::Apis::ComputeBeta::SslCertificateList::Representation command.response_class = Google::Apis::ComputeBeta::SslCertificateList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? @@ -26829,11 +26829,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_ssl_certificate_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/sslCertificates/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/global/sslCertificates/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::TestPermissionsResponse command.params['project'] = project unless project.nil? @@ -26880,11 +26880,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_ssl_policy(project, ssl_policy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/sslPolicies/{sslPolicy}', options) + command = make_simple_command(:delete, 'projects/{project}/global/sslPolicies/{sslPolicy}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['sslPolicy'] = ssl_policy unless ssl_policy.nil? command.query['requestId'] = request_id unless request_id.nil? @@ -26918,11 +26918,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_ssl_policy(project, ssl_policy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/sslPolicies/{sslPolicy}', options) + command = make_simple_command(:get, 'projects/{project}/global/sslPolicies/{sslPolicy}', options) command.response_representation = Google::Apis::ComputeBeta::SslPolicy::Representation command.response_class = Google::Apis::ComputeBeta::SslPolicy command.params['project'] = project unless project.nil? command.params['sslPolicy'] = ssl_policy unless ssl_policy.nil? command.query['fields'] = fields unless fields.nil? @@ -26965,11 +26965,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_ssl_policy(project, ssl_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/sslPolicies', options) + command = make_simple_command(:post, 'projects/{project}/global/sslPolicies', options) command.request_representation = Google::Apis::ComputeBeta::SslPolicy::Representation command.request_object = ssl_policy_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -27035,11 +27035,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_ssl_policies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/sslPolicies', options) + command = make_simple_command(:get, 'projects/{project}/global/sslPolicies', options) command.response_representation = Google::Apis::ComputeBeta::SslPoliciesList::Representation command.response_class = Google::Apis::ComputeBeta::SslPoliciesList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? @@ -27107,11 +27107,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_ssl_policy_available_features(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/sslPolicies/listAvailableFeatures', options) + command = make_simple_command(:get, 'projects/{project}/global/sslPolicies/listAvailableFeatures', options) command.response_representation = Google::Apis::ComputeBeta::SslPoliciesListAvailableFeaturesResponse::Representation command.response_class = Google::Apis::ComputeBeta::SslPoliciesListAvailableFeaturesResponse command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? @@ -27159,11 +27159,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_ssl_policy(project, ssl_policy, ssl_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/global/sslPolicies/{sslPolicy}', options) + command = make_simple_command(:patch, 'projects/{project}/global/sslPolicies/{sslPolicy}', options) command.request_representation = Google::Apis::ComputeBeta::SslPolicy::Representation command.request_object = ssl_policy_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -27199,11 +27199,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_ssl_policy_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/sslPolicies/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/global/sslPolicies/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::TestPermissionsResponse command.params['project'] = project unless project.nil? @@ -27276,11 +27276,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_aggregated_subnetworks(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/subnetworks', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/subnetworks', options) command.response_representation = Google::Apis::ComputeBeta::SubnetworkAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::SubnetworkAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? @@ -27329,11 +27329,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_subnetwork(project, region, subnetwork, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/regions/{region}/subnetworks/{subnetwork}', options) + command = make_simple_command(:delete, 'projects/{project}/regions/{region}/subnetworks/{subnetwork}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['subnetwork'] = subnetwork unless subnetwork.nil? @@ -27381,11 +27381,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def expand_subnetwork_ip_cidr_range(project, region, subnetwork, subnetworks_expand_ip_cidr_range_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/subnetworks/{subnetwork}/expandIpCidrRange', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/subnetworks/{subnetwork}/expandIpCidrRange', options) command.request_representation = Google::Apis::ComputeBeta::SubnetworksExpandIpCidrRangeRequest::Representation command.request_object = subnetworks_expand_ip_cidr_range_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -27424,11 +27424,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_subnetwork(project, region, subnetwork, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/subnetworks/{subnetwork}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/subnetworks/{subnetwork}', options) command.response_representation = Google::Apis::ComputeBeta::Subnetwork::Representation command.response_class = Google::Apis::ComputeBeta::Subnetwork command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['subnetwork'] = subnetwork unless subnetwork.nil? @@ -27466,11 +27466,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_subnetwork_iam_policy(project, region, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/subnetworks/{resource}/getIamPolicy', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/subnetworks/{resource}/getIamPolicy', options) command.response_representation = Google::Apis::ComputeBeta::Policy::Representation command.response_class = Google::Apis::ComputeBeta::Policy command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['resource'] = resource unless resource.nil? @@ -27517,11 +27517,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_subnetwork(project, region, subnetwork_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/subnetworks', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/subnetworks', options) command.request_representation = Google::Apis::ComputeBeta::Subnetwork::Representation command.request_object = subnetwork_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -27590,11 +27590,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_subnetworks(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/subnetworks', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/subnetworks', options) command.response_representation = Google::Apis::ComputeBeta::SubnetworkList::Representation command.response_class = Google::Apis::ComputeBeta::SubnetworkList command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['filter'] = filter unless filter.nil? @@ -27664,11 +27664,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_subnetwork_usable(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/subnetworks/listUsable', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/subnetworks/listUsable', options) command.response_representation = Google::Apis::ComputeBeta::UsableSubnetworksAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::UsableSubnetworksAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? @@ -27728,11 +27728,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_subnetwork(project, region, subnetwork, subnetwork_object = nil, drain_timeout_seconds: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/regions/{region}/subnetworks/{subnetwork}', options) + command = make_simple_command(:patch, 'projects/{project}/regions/{region}/subnetworks/{subnetwork}', options) command.request_representation = Google::Apis::ComputeBeta::Subnetwork::Representation command.request_object = subnetwork_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -27773,11 +27773,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_subnetwork_iam_policy(project, region, resource, region_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/subnetworks/{resource}/setIamPolicy', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/subnetworks/{resource}/setIamPolicy', options) command.request_representation = Google::Apis::ComputeBeta::RegionSetPolicyRequest::Representation command.request_object = region_set_policy_request_object command.response_representation = Google::Apis::ComputeBeta::Policy::Representation command.response_class = Google::Apis::ComputeBeta::Policy command.params['project'] = project unless project.nil? @@ -27827,11 +27827,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_subnetwork_private_ip_google_access(project, region, subnetwork, subnetworks_set_private_ip_google_access_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/subnetworks/{subnetwork}/setPrivateIpGoogleAccess', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/subnetworks/{subnetwork}/setPrivateIpGoogleAccess', options) command.request_representation = Google::Apis::ComputeBeta::SubnetworksSetPrivateIpGoogleAccessRequest::Representation command.request_object = subnetworks_set_private_ip_google_access_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -27870,11 +27870,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_subnetwork_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/subnetworks/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/subnetworks/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::TestPermissionsResponse command.params['project'] = project unless project.nil? @@ -27949,11 +27949,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def aggregated_target_http_proxy_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/targetHttpProxies', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/targetHttpProxies', options) command.response_representation = Google::Apis::ComputeBeta::TargetHttpProxyAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::TargetHttpProxyAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? @@ -28000,11 +28000,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_target_http_proxy(project, target_http_proxy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/targetHttpProxies/{targetHttpProxy}', options) + command = make_simple_command(:delete, 'projects/{project}/global/targetHttpProxies/{targetHttpProxy}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['targetHttpProxy'] = target_http_proxy unless target_http_proxy.nil? command.query['requestId'] = request_id unless request_id.nil? @@ -28038,11 +28038,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_target_http_proxy(project, target_http_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/targetHttpProxies/{targetHttpProxy}', options) + command = make_simple_command(:get, 'projects/{project}/global/targetHttpProxies/{targetHttpProxy}', options) command.response_representation = Google::Apis::ComputeBeta::TargetHttpProxy::Representation command.response_class = Google::Apis::ComputeBeta::TargetHttpProxy command.params['project'] = project unless project.nil? command.params['targetHttpProxy'] = target_http_proxy unless target_http_proxy.nil? command.query['fields'] = fields unless fields.nil? @@ -28085,11 +28085,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_target_http_proxy(project, target_http_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/targetHttpProxies', options) + command = make_simple_command(:post, 'projects/{project}/global/targetHttpProxies', options) command.request_representation = Google::Apis::ComputeBeta::TargetHttpProxy::Representation command.request_object = target_http_proxy_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -28156,11 +28156,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_target_http_proxies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/targetHttpProxies', options) + command = make_simple_command(:get, 'projects/{project}/global/targetHttpProxies', options) command.response_representation = Google::Apis::ComputeBeta::TargetHttpProxyList::Representation command.response_class = Google::Apis::ComputeBeta::TargetHttpProxyList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? @@ -28207,11 +28207,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_target_http_proxy_url_map(project, target_http_proxy, url_map_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/targetHttpProxies/{targetHttpProxy}/setUrlMap', options) + command = make_simple_command(:post, 'projects/{project}/targetHttpProxies/{targetHttpProxy}/setUrlMap', options) command.request_representation = Google::Apis::ComputeBeta::UrlMapReference::Representation command.request_object = url_map_reference_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -28247,11 +28247,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_target_http_proxy_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/targetHttpProxies/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/global/targetHttpProxies/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::TestPermissionsResponse command.params['project'] = project unless project.nil? @@ -28325,11 +28325,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def aggregated_target_https_proxy_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/targetHttpsProxies', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/targetHttpsProxies', options) command.response_representation = Google::Apis::ComputeBeta::TargetHttpsProxyAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::TargetHttpsProxyAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? @@ -28376,11 +28376,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_target_https_proxy(project, target_https_proxy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/targetHttpsProxies/{targetHttpsProxy}', options) + command = make_simple_command(:delete, 'projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['targetHttpsProxy'] = target_https_proxy unless target_https_proxy.nil? command.query['requestId'] = request_id unless request_id.nil? @@ -28414,11 +28414,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_target_https_proxy(project, target_https_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/targetHttpsProxies/{targetHttpsProxy}', options) + command = make_simple_command(:get, 'projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}', options) command.response_representation = Google::Apis::ComputeBeta::TargetHttpsProxy::Representation command.response_class = Google::Apis::ComputeBeta::TargetHttpsProxy command.params['project'] = project unless project.nil? command.params['targetHttpsProxy'] = target_https_proxy unless target_https_proxy.nil? command.query['fields'] = fields unless fields.nil? @@ -28461,11 +28461,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_target_https_proxy(project, target_https_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/targetHttpsProxies', options) + command = make_simple_command(:post, 'projects/{project}/global/targetHttpsProxies', options) command.request_representation = Google::Apis::ComputeBeta::TargetHttpsProxy::Representation command.request_object = target_https_proxy_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -28532,11 +28532,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_target_https_proxies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/targetHttpsProxies', options) + command = make_simple_command(:get, 'projects/{project}/global/targetHttpsProxies', options) command.response_representation = Google::Apis::ComputeBeta::TargetHttpsProxyList::Representation command.response_class = Google::Apis::ComputeBeta::TargetHttpsProxyList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? @@ -28584,11 +28584,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_target_https_proxy_quic_override(project, target_https_proxy, target_https_proxies_set_quic_override_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/targetHttpsProxies/{targetHttpsProxy}/setQuicOverride', options) + command = make_simple_command(:post, 'projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}/setQuicOverride', options) command.request_representation = Google::Apis::ComputeBeta::TargetHttpsProxiesSetQuicOverrideRequest::Representation command.request_object = target_https_proxies_set_quic_override_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -28635,11 +28635,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_target_https_proxy_ssl_certificates(project, target_https_proxy, target_https_proxies_set_ssl_certificates_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/targetHttpsProxies/{targetHttpsProxy}/setSslCertificates', options) + command = make_simple_command(:post, 'projects/{project}/targetHttpsProxies/{targetHttpsProxy}/setSslCertificates', options) command.request_representation = Google::Apis::ComputeBeta::TargetHttpsProxiesSetSslCertificatesRequest::Representation command.request_object = target_https_proxies_set_ssl_certificates_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -28690,11 +28690,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_target_https_proxy_ssl_policy(project, target_https_proxy, ssl_policy_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/targetHttpsProxies/{targetHttpsProxy}/setSslPolicy', options) + command = make_simple_command(:post, 'projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}/setSslPolicy', options) command.request_representation = Google::Apis::ComputeBeta::SslPolicyReference::Representation command.request_object = ssl_policy_reference_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -28741,11 +28741,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_target_https_proxy_url_map(project, target_https_proxy, url_map_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/targetHttpsProxies/{targetHttpsProxy}/setUrlMap', options) + command = make_simple_command(:post, 'projects/{project}/targetHttpsProxies/{targetHttpsProxy}/setUrlMap', options) command.request_representation = Google::Apis::ComputeBeta::UrlMapReference::Representation command.request_object = url_map_reference_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -28781,11 +28781,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_target_https_proxy_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/targetHttpsProxies/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/global/targetHttpsProxies/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::TestPermissionsResponse command.params['project'] = project unless project.nil? @@ -28858,11 +28858,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_aggregated_target_instance(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/targetInstances', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/targetInstances', options) command.response_representation = Google::Apis::ComputeBeta::TargetInstanceAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::TargetInstanceAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? @@ -28911,11 +28911,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_target_instance(project, zone, target_instance, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/zones/{zone}/targetInstances/{targetInstance}', options) + command = make_simple_command(:delete, 'projects/{project}/zones/{zone}/targetInstances/{targetInstance}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['targetInstance'] = target_instance unless target_instance.nil? @@ -28952,11 +28952,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_target_instance(project, zone, target_instance, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/targetInstances/{targetInstance}', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/targetInstances/{targetInstance}', options) command.response_representation = Google::Apis::ComputeBeta::TargetInstance::Representation command.response_class = Google::Apis::ComputeBeta::TargetInstance command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['targetInstance'] = target_instance unless target_instance.nil? @@ -29002,11 +29002,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_target_instance(project, zone, target_instance_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/targetInstances', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/targetInstances', options) command.request_representation = Google::Apis::ComputeBeta::TargetInstance::Representation command.request_object = target_instance_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -29076,11 +29076,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_target_instances(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/targetInstances', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/targetInstances', options) command.response_representation = Google::Apis::ComputeBeta::TargetInstanceList::Representation command.response_class = Google::Apis::ComputeBeta::TargetInstanceList command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.query['filter'] = filter unless filter.nil? @@ -29119,11 +29119,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_target_instance_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/targetInstances/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/targetInstances/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::TestPermissionsResponse command.params['project'] = project unless project.nil? @@ -29172,11 +29172,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def add_target_pool_health_check(project, region, target_pool, add_target_pools_health_check_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/targetPools/{targetPool}/addHealthCheck', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetPools/{targetPool}/addHealthCheck', options) command.request_representation = Google::Apis::ComputeBeta::AddTargetPoolsHealthCheckRequest::Representation command.request_object = add_target_pools_health_check_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -29226,11 +29226,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def add_target_pool_instance(project, region, target_pool, add_target_pools_instance_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/targetPools/{targetPool}/addInstance', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetPools/{targetPool}/addInstance', options) command.request_representation = Google::Apis::ComputeBeta::AddTargetPoolsInstanceRequest::Representation command.request_object = add_target_pools_instance_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -29305,11 +29305,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_aggregated_target_pools(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/targetPools', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/targetPools', options) command.response_representation = Google::Apis::ComputeBeta::TargetPoolAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::TargetPoolAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? @@ -29358,11 +29358,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_target_pool(project, region, target_pool, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/regions/{region}/targetPools/{targetPool}', options) + command = make_simple_command(:delete, 'projects/{project}/regions/{region}/targetPools/{targetPool}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['targetPool'] = target_pool unless target_pool.nil? @@ -29399,11 +29399,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_target_pool(project, region, target_pool, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/targetPools/{targetPool}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/targetPools/{targetPool}', options) command.response_representation = Google::Apis::ComputeBeta::TargetPool::Representation command.response_class = Google::Apis::ComputeBeta::TargetPool command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['targetPool'] = target_pool unless target_pool.nil? @@ -29440,11 +29440,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_target_pool_health(project, region, target_pool, instance_reference_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/targetPools/{targetPool}/getHealth', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetPools/{targetPool}/getHealth', options) command.request_representation = Google::Apis::ComputeBeta::InstanceReference::Representation command.request_object = instance_reference_object command.response_representation = Google::Apis::ComputeBeta::TargetPoolInstanceHealth::Representation command.response_class = Google::Apis::ComputeBeta::TargetPoolInstanceHealth command.params['project'] = project unless project.nil? @@ -29492,11 +29492,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_target_pool(project, region, target_pool_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/targetPools', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetPools', options) command.request_representation = Google::Apis::ComputeBeta::TargetPool::Representation command.request_object = target_pool_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -29565,11 +29565,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_target_pools(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/targetPools', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/targetPools', options) command.response_representation = Google::Apis::ComputeBeta::TargetPoolList::Representation command.response_class = Google::Apis::ComputeBeta::TargetPoolList command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['filter'] = filter unless filter.nil? @@ -29619,11 +29619,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def remove_target_pool_health_check(project, region, target_pool, remove_target_pools_health_check_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/targetPools/{targetPool}/removeHealthCheck', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetPools/{targetPool}/removeHealthCheck', options) command.request_representation = Google::Apis::ComputeBeta::RemoveTargetPoolsHealthCheckRequest::Representation command.request_object = remove_target_pools_health_check_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -29673,11 +29673,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def remove_target_pool_instance(project, region, target_pool, remove_target_pools_instance_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/targetPools/{targetPool}/removeInstance', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetPools/{targetPool}/removeInstance', options) command.request_representation = Google::Apis::ComputeBeta::RemoveTargetPoolsInstanceRequest::Representation command.request_object = remove_target_pools_instance_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -29729,11 +29729,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_target_pool_backup(project, region, target_pool, target_reference_object = nil, failover_ratio: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/targetPools/{targetPool}/setBackup', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetPools/{targetPool}/setBackup', options) command.request_representation = Google::Apis::ComputeBeta::TargetReference::Representation command.request_object = target_reference_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -29773,11 +29773,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_target_pool_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/targetPools/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetPools/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::TestPermissionsResponse command.params['project'] = project unless project.nil? @@ -29823,11 +29823,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_target_ssl_proxy(project, target_ssl_proxy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/targetSslProxies/{targetSslProxy}', options) + command = make_simple_command(:delete, 'projects/{project}/global/targetSslProxies/{targetSslProxy}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['targetSslProxy'] = target_ssl_proxy unless target_ssl_proxy.nil? command.query['requestId'] = request_id unless request_id.nil? @@ -29861,11 +29861,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_target_ssl_proxy(project, target_ssl_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/targetSslProxies/{targetSslProxy}', options) + command = make_simple_command(:get, 'projects/{project}/global/targetSslProxies/{targetSslProxy}', options) command.response_representation = Google::Apis::ComputeBeta::TargetSslProxy::Representation command.response_class = Google::Apis::ComputeBeta::TargetSslProxy command.params['project'] = project unless project.nil? command.params['targetSslProxy'] = target_ssl_proxy unless target_ssl_proxy.nil? command.query['fields'] = fields unless fields.nil? @@ -29908,11 +29908,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_target_ssl_proxy(project, target_ssl_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/targetSslProxies', options) + command = make_simple_command(:post, 'projects/{project}/global/targetSslProxies', options) command.request_representation = Google::Apis::ComputeBeta::TargetSslProxy::Representation command.request_object = target_ssl_proxy_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -29979,11 +29979,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_target_ssl_proxies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/targetSslProxies', options) + command = make_simple_command(:get, 'projects/{project}/global/targetSslProxies', options) command.response_representation = Google::Apis::ComputeBeta::TargetSslProxyList::Representation command.response_class = Google::Apis::ComputeBeta::TargetSslProxyList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? @@ -30030,11 +30030,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_target_ssl_proxy_backend_service(project, target_ssl_proxy, target_ssl_proxies_set_backend_service_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/targetSslProxies/{targetSslProxy}/setBackendService', options) + command = make_simple_command(:post, 'projects/{project}/global/targetSslProxies/{targetSslProxy}/setBackendService', options) command.request_representation = Google::Apis::ComputeBeta::TargetSslProxiesSetBackendServiceRequest::Representation command.request_object = target_ssl_proxies_set_backend_service_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -30081,11 +30081,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_target_ssl_proxy_proxy_header(project, target_ssl_proxy, target_ssl_proxies_set_proxy_header_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/targetSslProxies/{targetSslProxy}/setProxyHeader', options) + command = make_simple_command(:post, 'projects/{project}/global/targetSslProxies/{targetSslProxy}/setProxyHeader', options) command.request_representation = Google::Apis::ComputeBeta::TargetSslProxiesSetProxyHeaderRequest::Representation command.request_object = target_ssl_proxies_set_proxy_header_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -30132,11 +30132,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_target_ssl_proxy_ssl_certificates(project, target_ssl_proxy, target_ssl_proxies_set_ssl_certificates_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/targetSslProxies/{targetSslProxy}/setSslCertificates', options) + command = make_simple_command(:post, 'projects/{project}/global/targetSslProxies/{targetSslProxy}/setSslCertificates', options) command.request_representation = Google::Apis::ComputeBeta::TargetSslProxiesSetSslCertificatesRequest::Representation command.request_object = target_ssl_proxies_set_ssl_certificates_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -30187,11 +30187,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_target_ssl_proxy_ssl_policy(project, target_ssl_proxy, ssl_policy_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/targetSslProxies/{targetSslProxy}/setSslPolicy', options) + command = make_simple_command(:post, 'projects/{project}/global/targetSslProxies/{targetSslProxy}/setSslPolicy', options) command.request_representation = Google::Apis::ComputeBeta::SslPolicyReference::Representation command.request_object = ssl_policy_reference_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -30227,11 +30227,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_target_ssl_proxy_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/targetSslProxies/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/global/targetSslProxies/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::TestPermissionsResponse command.params['project'] = project unless project.nil? @@ -30276,11 +30276,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_target_tcp_proxy(project, target_tcp_proxy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/targetTcpProxies/{targetTcpProxy}', options) + command = make_simple_command(:delete, 'projects/{project}/global/targetTcpProxies/{targetTcpProxy}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['targetTcpProxy'] = target_tcp_proxy unless target_tcp_proxy.nil? command.query['requestId'] = request_id unless request_id.nil? @@ -30314,11 +30314,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_target_tcp_proxy(project, target_tcp_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/targetTcpProxies/{targetTcpProxy}', options) + command = make_simple_command(:get, 'projects/{project}/global/targetTcpProxies/{targetTcpProxy}', options) command.response_representation = Google::Apis::ComputeBeta::TargetTcpProxy::Representation command.response_class = Google::Apis::ComputeBeta::TargetTcpProxy command.params['project'] = project unless project.nil? command.params['targetTcpProxy'] = target_tcp_proxy unless target_tcp_proxy.nil? command.query['fields'] = fields unless fields.nil? @@ -30361,11 +30361,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_target_tcp_proxy(project, target_tcp_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/targetTcpProxies', options) + command = make_simple_command(:post, 'projects/{project}/global/targetTcpProxies', options) command.request_representation = Google::Apis::ComputeBeta::TargetTcpProxy::Representation command.request_object = target_tcp_proxy_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -30432,11 +30432,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_target_tcp_proxies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/targetTcpProxies', options) + command = make_simple_command(:get, 'projects/{project}/global/targetTcpProxies', options) command.response_representation = Google::Apis::ComputeBeta::TargetTcpProxyList::Representation command.response_class = Google::Apis::ComputeBeta::TargetTcpProxyList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? @@ -30483,11 +30483,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_target_tcp_proxy_backend_service(project, target_tcp_proxy, target_tcp_proxies_set_backend_service_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/targetTcpProxies/{targetTcpProxy}/setBackendService', options) + command = make_simple_command(:post, 'projects/{project}/global/targetTcpProxies/{targetTcpProxy}/setBackendService', options) command.request_representation = Google::Apis::ComputeBeta::TargetTcpProxiesSetBackendServiceRequest::Representation command.request_object = target_tcp_proxies_set_backend_service_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -30534,11 +30534,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_target_tcp_proxy_proxy_header(project, target_tcp_proxy, target_tcp_proxies_set_proxy_header_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/targetTcpProxies/{targetTcpProxy}/setProxyHeader', options) + command = make_simple_command(:post, 'projects/{project}/global/targetTcpProxies/{targetTcpProxy}/setProxyHeader', options) command.request_representation = Google::Apis::ComputeBeta::TargetTcpProxiesSetProxyHeaderRequest::Representation command.request_object = target_tcp_proxies_set_proxy_header_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -30612,11 +30612,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_aggregated_target_vpn_gateways(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/targetVpnGateways', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/targetVpnGateways', options) command.response_representation = Google::Apis::ComputeBeta::TargetVpnGatewayAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::TargetVpnGatewayAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? @@ -30665,11 +30665,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_target_vpn_gateway(project, region, target_vpn_gateway, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/regions/{region}/targetVpnGateways/{targetVpnGateway}', options) + command = make_simple_command(:delete, 'projects/{project}/regions/{region}/targetVpnGateways/{targetVpnGateway}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['targetVpnGateway'] = target_vpn_gateway unless target_vpn_gateway.nil? @@ -30706,11 +30706,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_target_vpn_gateway(project, region, target_vpn_gateway, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/targetVpnGateways/{targetVpnGateway}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/targetVpnGateways/{targetVpnGateway}', options) command.response_representation = Google::Apis::ComputeBeta::TargetVpnGateway::Representation command.response_class = Google::Apis::ComputeBeta::TargetVpnGateway command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['targetVpnGateway'] = target_vpn_gateway unless target_vpn_gateway.nil? @@ -30756,11 +30756,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_target_vpn_gateway(project, region, target_vpn_gateway_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/targetVpnGateways', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetVpnGateways', options) command.request_representation = Google::Apis::ComputeBeta::TargetVpnGateway::Representation command.request_object = target_vpn_gateway_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -30830,11 +30830,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_target_vpn_gateways(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/targetVpnGateways', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/targetVpnGateways', options) command.response_representation = Google::Apis::ComputeBeta::TargetVpnGatewayList::Representation command.response_class = Google::Apis::ComputeBeta::TargetVpnGatewayList command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['filter'] = filter unless filter.nil? @@ -30885,11 +30885,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_target_vpn_gateway_labels(project, region, resource, region_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/targetVpnGateways/{resource}/setLabels', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetVpnGateways/{resource}/setLabels', options) command.request_representation = Google::Apis::ComputeBeta::RegionSetLabelsRequest::Representation command.request_object = region_set_labels_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -30928,11 +30928,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_target_vpn_gateway_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/targetVpnGateways/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetVpnGateways/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::TestPermissionsResponse command.params['project'] = project unless project.nil? @@ -31007,11 +31007,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def aggregated_url_map_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/urlMaps', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/urlMaps', options) command.response_representation = Google::Apis::ComputeBeta::UrlMapsAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::UrlMapsAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? @@ -31058,11 +31058,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_url_map(project, url_map, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/urlMaps/{urlMap}', options) + command = make_simple_command(:delete, 'projects/{project}/global/urlMaps/{urlMap}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['urlMap'] = url_map unless url_map.nil? command.query['requestId'] = request_id unless request_id.nil? @@ -31096,11 +31096,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_url_map(project, url_map, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/urlMaps/{urlMap}', options) + command = make_simple_command(:get, 'projects/{project}/global/urlMaps/{urlMap}', options) command.response_representation = Google::Apis::ComputeBeta::UrlMap::Representation command.response_class = Google::Apis::ComputeBeta::UrlMap command.params['project'] = project unless project.nil? command.params['urlMap'] = url_map unless url_map.nil? command.query['fields'] = fields unless fields.nil? @@ -31143,11 +31143,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_url_map(project, url_map_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/urlMaps', options) + command = make_simple_command(:post, 'projects/{project}/global/urlMaps', options) command.request_representation = Google::Apis::ComputeBeta::UrlMap::Representation command.request_object = url_map_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -31194,11 +31194,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def invalidate_url_map_cache(project, url_map, cache_invalidation_rule_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/urlMaps/{urlMap}/invalidateCache', options) + command = make_simple_command(:post, 'projects/{project}/global/urlMaps/{urlMap}/invalidateCache', options) command.request_representation = Google::Apis::ComputeBeta::CacheInvalidationRule::Representation command.request_object = cache_invalidation_rule_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -31265,11 +31265,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_url_maps(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/urlMaps', options) + command = make_simple_command(:get, 'projects/{project}/global/urlMaps', options) command.response_representation = Google::Apis::ComputeBeta::UrlMapList::Representation command.response_class = Google::Apis::ComputeBeta::UrlMapList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? @@ -31318,11 +31318,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_url_map(project, url_map, url_map_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/global/urlMaps/{urlMap}', options) + command = make_simple_command(:patch, 'projects/{project}/global/urlMaps/{urlMap}', options) command.request_representation = Google::Apis::ComputeBeta::UrlMap::Representation command.request_object = url_map_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -31358,11 +31358,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_url_map_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/urlMaps/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/global/urlMaps/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::TestPermissionsResponse command.params['project'] = project unless project.nil? @@ -31408,11 +31408,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def update_url_map(project, url_map, url_map_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:put, '{project}/global/urlMaps/{urlMap}', options) + command = make_simple_command(:put, 'projects/{project}/global/urlMaps/{urlMap}', options) command.request_representation = Google::Apis::ComputeBeta::UrlMap::Representation command.request_object = url_map_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -31449,11 +31449,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def validate_url_map(project, url_map, validate_url_maps_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/urlMaps/{urlMap}/validate', options) + command = make_simple_command(:post, 'projects/{project}/global/urlMaps/{urlMap}/validate', options) command.request_representation = Google::Apis::ComputeBeta::ValidateUrlMapsRequest::Representation command.request_object = validate_url_maps_request_object command.response_representation = Google::Apis::ComputeBeta::ValidateUrlMapsResponse::Representation command.response_class = Google::Apis::ComputeBeta::ValidateUrlMapsResponse command.params['project'] = project unless project.nil? @@ -31526,11 +31526,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def aggregated_vpn_gateway_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/vpnGateways', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/vpnGateways', options) command.response_representation = Google::Apis::ComputeBeta::VpnGatewayAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::VpnGatewayAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? @@ -31579,11 +31579,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_vpn_gateway(project, region, vpn_gateway, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/regions/{region}/vpnGateways/{vpnGateway}', options) + command = make_simple_command(:delete, 'projects/{project}/regions/{region}/vpnGateways/{vpnGateway}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['vpnGateway'] = vpn_gateway unless vpn_gateway.nil? @@ -31620,11 +31620,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_vpn_gateway(project, region, vpn_gateway, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/vpnGateways/{vpnGateway}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/vpnGateways/{vpnGateway}', options) command.response_representation = Google::Apis::ComputeBeta::VpnGateway::Representation command.response_class = Google::Apis::ComputeBeta::VpnGateway command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['vpnGateway'] = vpn_gateway unless vpn_gateway.nil? @@ -31659,11 +31659,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_vpn_gateway_status(project, region, vpn_gateway, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/vpnGateways/{vpnGateway}/getStatus', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/vpnGateways/{vpnGateway}/getStatus', options) command.response_representation = Google::Apis::ComputeBeta::VpnGatewaysGetStatusResponse::Representation command.response_class = Google::Apis::ComputeBeta::VpnGatewaysGetStatusResponse command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['vpnGateway'] = vpn_gateway unless vpn_gateway.nil? @@ -31709,11 +31709,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_vpn_gateway(project, region, vpn_gateway_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/vpnGateways', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/vpnGateways', options) command.request_representation = Google::Apis::ComputeBeta::VpnGateway::Representation command.request_object = vpn_gateway_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -31782,11 +31782,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_vpn_gateways(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/vpnGateways', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/vpnGateways', options) command.response_representation = Google::Apis::ComputeBeta::VpnGatewayList::Representation command.response_class = Google::Apis::ComputeBeta::VpnGatewayList command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['filter'] = filter unless filter.nil? @@ -31837,11 +31837,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_vpn_gateway_labels(project, region, resource, region_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/vpnGateways/{resource}/setLabels', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/vpnGateways/{resource}/setLabels', options) command.request_representation = Google::Apis::ComputeBeta::RegionSetLabelsRequest::Representation command.request_object = region_set_labels_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -31916,11 +31916,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_aggregated_vpn_tunnel(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/vpnTunnels', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/vpnTunnels', options) command.response_representation = Google::Apis::ComputeBeta::VpnTunnelAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::VpnTunnelAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? @@ -31969,11 +31969,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_vpn_tunnel(project, region, vpn_tunnel, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/regions/{region}/vpnTunnels/{vpnTunnel}', options) + command = make_simple_command(:delete, 'projects/{project}/regions/{region}/vpnTunnels/{vpnTunnel}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['vpnTunnel'] = vpn_tunnel unless vpn_tunnel.nil? @@ -32010,11 +32010,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_vpn_tunnel(project, region, vpn_tunnel, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/vpnTunnels/{vpnTunnel}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/vpnTunnels/{vpnTunnel}', options) command.response_representation = Google::Apis::ComputeBeta::VpnTunnel::Representation command.response_class = Google::Apis::ComputeBeta::VpnTunnel command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['vpnTunnel'] = vpn_tunnel unless vpn_tunnel.nil? @@ -32060,11 +32060,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_vpn_tunnel(project, region, vpn_tunnel_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/vpnTunnels', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/vpnTunnels', options) command.request_representation = Google::Apis::ComputeBeta::VpnTunnel::Representation command.request_object = vpn_tunnel_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -32134,11 +32134,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_vpn_tunnels(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/vpnTunnels', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/vpnTunnels', options) command.response_representation = Google::Apis::ComputeBeta::VpnTunnelList::Representation command.response_class = Google::Apis::ComputeBeta::VpnTunnelList command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['filter'] = filter unless filter.nil? @@ -32189,11 +32189,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_vpn_tunnel_labels(project, region, resource, region_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/vpnTunnels/{resource}/setLabels', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/vpnTunnels/{resource}/setLabels', options) command.request_representation = Google::Apis::ComputeBeta::RegionSetLabelsRequest::Representation command.request_object = region_set_labels_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -32232,11 +32232,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_vpn_tunnel_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/vpnTunnels/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/vpnTunnels/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation command.response_class = Google::Apis::ComputeBeta::TestPermissionsResponse command.params['project'] = project unless project.nil? @@ -32273,11 +32273,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_zone_operation(project, zone, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/zones/{zone}/operations/{operation}', options) + command = make_simple_command(:delete, 'projects/{project}/zones/{zone}/operations/{operation}', options) command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['operation'] = operation unless operation.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -32310,11 +32310,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_zone_operation(project, zone, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/operations/{operation}', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/operations/{operation}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['operation'] = operation unless operation.nil? @@ -32381,11 +32381,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_zone_operations(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/operations', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/operations', options) command.response_representation = Google::Apis::ComputeBeta::OperationList::Representation command.response_class = Google::Apis::ComputeBeta::OperationList command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.query['filter'] = filter unless filter.nil? @@ -32433,11 +32433,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def wait_zone_operation(project, zone, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/operations/{operation}/wait', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/operations/{operation}/wait', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['operation'] = operation unless operation.nil? @@ -32471,11 +32471,11 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_zone(project, zone, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}', options) command.response_representation = Google::Apis::ComputeBeta::Zone::Representation command.response_class = Google::Apis::ComputeBeta::Zone command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.query['fields'] = fields unless fields.nil? @@ -32539,10 +32539,10 @@ # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_zones(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones', options) + command = make_simple_command(:get, 'projects/{project}/zones', options) command.response_representation = Google::Apis::ComputeBeta::ZoneList::Representation command.response_class = Google::Apis::ComputeBeta::ZoneList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil?