generated/google/apis/servicenetworking_v1/service.rb in google-api-client-0.29.1 vs generated/google/apis/servicenetworking_v1/service.rb in google-api-client-0.29.2
- old
+ new
@@ -77,11 +77,11 @@
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
- command = make_simple_command(:post, 'v1/{+name}:cancel', options)
+ command = make_simple_command(:post, 'v1/{+name}:cancel', options)
command.request_representation = Google::Apis::ServicenetworkingV1::CancelOperationRequest::Representation
command.request_object = cancel_operation_request_object
command.response_representation = Google::Apis::ServicenetworkingV1::Empty::Representation
command.response_class = Google::Apis::ServicenetworkingV1::Empty
command.params['name'] = name unless name.nil?
@@ -112,11 +112,11 @@
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be 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_operation(name, fields: nil, quota_user: nil, options: nil, &block)
- command = make_simple_command(:delete, 'v1/{+name}', options)
+ command = make_simple_command(:delete, 'v1/{+name}', options)
command.response_representation = Google::Apis::ServicenetworkingV1::Empty::Representation
command.response_class = Google::Apis::ServicenetworkingV1::Empty
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -144,11 +144,11 @@
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be 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_operation(name, fields: nil, quota_user: nil, options: nil, &block)
- command = make_simple_command(:get, 'v1/{+name}', options)
+ command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::ServicenetworkingV1::Operation::Representation
command.response_class = Google::Apis::ServicenetworkingV1::Operation
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -188,11 +188,11 @@
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be 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_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
- command = make_simple_command(:get, 'v1/{+name}', options)
+ command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::ServicenetworkingV1::ListOperationsResponse::Representation
command.response_class = Google::Apis::ServicenetworkingV1::ListOperationsResponse
command.params['name'] = name unless name.nil?
command.query['filter'] = filter unless filter.nil?
command.query['pageSize'] = page_size unless page_size.nil?
@@ -237,11 +237,11 @@
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be 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_service_subnetwork(parent, add_subnetwork_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
- command = make_simple_command(:post, 'v1/{+parent}:addSubnetwork', options)
+ command = make_simple_command(:post, 'v1/{+parent}:addSubnetwork', options)
command.request_representation = Google::Apis::ServicenetworkingV1::AddSubnetworkRequest::Representation
command.request_object = add_subnetwork_request_object
command.response_representation = Google::Apis::ServicenetworkingV1::Operation::Representation
command.response_class = Google::Apis::ServicenetworkingV1::Operation
command.params['parent'] = parent unless parent.nil?
@@ -279,11 +279,11 @@
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def search_service_range(parent, search_range_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
- command = make_simple_command(:post, 'v1/{+parent}:searchRange', options)
+ command = make_simple_command(:post, 'v1/{+parent}:searchRange', options)
command.request_representation = Google::Apis::ServicenetworkingV1::SearchRangeRequest::Representation
command.request_object = search_range_request_object
command.response_representation = Google::Apis::ServicenetworkingV1::Operation::Representation
command.response_class = Google::Apis::ServicenetworkingV1::Operation
command.params['parent'] = parent unless parent.nil?
@@ -322,11 +322,11 @@
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be 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_service_connection(parent, connection_object = nil, fields: nil, quota_user: nil, options: nil, &block)
- command = make_simple_command(:post, 'v1/{+parent}/connections', options)
+ command = make_simple_command(:post, 'v1/{+parent}/connections', options)
command.request_representation = Google::Apis::ServicenetworkingV1::Connection::Representation
command.request_object = connection_object
command.response_representation = Google::Apis::ServicenetworkingV1::Operation::Representation
command.response_class = Google::Apis::ServicenetworkingV1::Operation
command.params['parent'] = parent unless parent.nil?
@@ -367,11 +367,11 @@
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be 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_service_connections(parent, network: nil, fields: nil, quota_user: nil, options: nil, &block)
- command = make_simple_command(:get, 'v1/{+parent}/connections', options)
+ command = make_simple_command(:get, 'v1/{+parent}/connections', options)
command.response_representation = Google::Apis::ServicenetworkingV1::ListConnectionsResponse::Representation
command.response_class = Google::Apis::ServicenetworkingV1::ListConnectionsResponse
command.params['parent'] = parent unless parent.nil?
command.query['network'] = network unless network.nil?
command.query['fields'] = fields unless fields.nil?
@@ -413,10 +413,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 patch_service_connection(name, connection_object = nil, force: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
- command = make_simple_command(:patch, 'v1/{+name}', options)
+ command = make_simple_command(:patch, 'v1/{+name}', options)
command.request_representation = Google::Apis::ServicenetworkingV1::Connection::Representation
command.request_object = connection_object
command.response_representation = Google::Apis::ServicenetworkingV1::Operation::Representation
command.response_class = Google::Apis::ServicenetworkingV1::Operation
command.params['name'] = name unless name.nil?