generated/google/apis/logging_v2/service.rb in google-api-client-0.13.5 vs generated/google/apis/logging_v2/service.rb in google-api-client-0.13.6

- old
+ new

@@ -332,14 +332,13 @@ command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Creates a sink that exports specified log entries to a destination. The export - # of newly-ingested log entries begins immediately, unless the current time is - # outside the sink's start and end times or the sink's writer_identity is not - # permitted to write to the destination. A sink can export log entries only from - # the resource owning the sink. + # of newly-ingested log entries begins immediately, unless the sink's + # writer_identity is not permitted to write to the destination. A sink can + # export log entries only from the resource owning the sink. # @param [String] parent # Required. The resource in which to create the sink: # "projects/[PROJECT_ID]" # "organizations/[ORGANIZATION_ID]" # "billingAccounts/[BILLING_ACCOUNT_ID]" @@ -502,13 +501,12 @@ command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Updates a sink. This method replaces the following fields in the existing sink - # with values from the new sink: destination, filter, output_version_format, - # start_time, and end_time. The updated sink might also have a new - # writer_identity; see the unique_writer_identity field. + # with values from the new sink: destination, and filter. The updated sink might + # also have a new writer_identity; see the unique_writer_identity field. # @param [String] sink_name # Required. The full resource name of the sink to update, including the parent # resource and the sink identifier: # "projects/[PROJECT_ID]/sinks/[SINK_ID]" # "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" @@ -524,10 +522,19 @@ # there is no change to the sink's writer_identity. # If the old value is false and the new value is true, then writer_identity is # changed to a unique service account. # It is an error if the old value is true and the new value is set to false or # defaulted to false. + # @param [String] update_mask + # Optional. Field mask that specifies the fields in sink that need an update. A + # sink field will be overwritten if, and only if, it is in the update mask. name + # and output only fields cannot be updated.An empty updateMask is temporarily + # treated as using the following mask for backwards compatibility purposes: + # destination,filter,includeChildren At some point in the future, behavior will + # be removed and specifying an empty updateMask will be an error.For a detailed + # FieldMask definition, see https://developers.google.com/protocol-buffers/docs/ + # reference/google.protobuf#fieldmaskExample: updateMask=filter. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. @@ -541,27 +548,27 @@ # @return [Google::Apis::LoggingV2::LogSink] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be 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_billing_account_sink(sink_name, log_sink_object = nil, unique_writer_identity: nil, fields: nil, quota_user: nil, options: nil, &block) + def patch_billing_account_sink(sink_name, log_sink_object = nil, unique_writer_identity: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v2/{+sinkName}', options) command.request_representation = Google::Apis::LoggingV2::LogSink::Representation command.request_object = log_sink_object command.response_representation = Google::Apis::LoggingV2::LogSink::Representation command.response_class = Google::Apis::LoggingV2::LogSink command.params['sinkName'] = sink_name unless sink_name.nil? command.query['uniqueWriterIdentity'] = unique_writer_identity unless unique_writer_identity.nil? + command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Updates a sink. This method replaces the following fields in the existing sink - # with values from the new sink: destination, filter, output_version_format, - # start_time, and end_time. The updated sink might also have a new - # writer_identity; see the unique_writer_identity field. + # with values from the new sink: destination, and filter. The updated sink might + # also have a new writer_identity; see the unique_writer_identity field. # @param [String] sink_name # Required. The full resource name of the sink to update, including the parent # resource and the sink identifier: # "projects/[PROJECT_ID]/sinks/[SINK_ID]" # "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" @@ -577,10 +584,19 @@ # there is no change to the sink's writer_identity. # If the old value is false and the new value is true, then writer_identity is # changed to a unique service account. # It is an error if the old value is true and the new value is set to false or # defaulted to false. + # @param [String] update_mask + # Optional. Field mask that specifies the fields in sink that need an update. A + # sink field will be overwritten if, and only if, it is in the update mask. name + # and output only fields cannot be updated.An empty updateMask is temporarily + # treated as using the following mask for backwards compatibility purposes: + # destination,filter,includeChildren At some point in the future, behavior will + # be removed and specifying an empty updateMask will be an error.For a detailed + # FieldMask definition, see https://developers.google.com/protocol-buffers/docs/ + # reference/google.protobuf#fieldmaskExample: updateMask=filter. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. @@ -594,18 +610,19 @@ # @return [Google::Apis::LoggingV2::LogSink] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be 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_billing_account_sink(sink_name, log_sink_object = nil, unique_writer_identity: nil, fields: nil, quota_user: nil, options: nil, &block) + def update_billing_account_sink(sink_name, log_sink_object = nil, unique_writer_identity: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:put, 'v2/{+sinkName}', options) command.request_representation = Google::Apis::LoggingV2::LogSink::Representation command.request_object = log_sink_object command.response_representation = Google::Apis::LoggingV2::LogSink::Representation command.response_class = Google::Apis::LoggingV2::LogSink command.params['sinkName'] = sink_name unless sink_name.nil? command.query['uniqueWriterIdentity'] = unique_writer_identity unless unique_writer_identity.nil? + command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end @@ -958,14 +975,13 @@ command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Creates a sink that exports specified log entries to a destination. The export - # of newly-ingested log entries begins immediately, unless the current time is - # outside the sink's start and end times or the sink's writer_identity is not - # permitted to write to the destination. A sink can export log entries only from - # the resource owning the sink. + # of newly-ingested log entries begins immediately, unless the sink's + # writer_identity is not permitted to write to the destination. A sink can + # export log entries only from the resource owning the sink. # @param [String] parent # Required. The resource in which to create the sink: # "projects/[PROJECT_ID]" # "organizations/[ORGANIZATION_ID]" # "billingAccounts/[BILLING_ACCOUNT_ID]" @@ -1128,13 +1144,12 @@ command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Updates a sink. This method replaces the following fields in the existing sink - # with values from the new sink: destination, filter, output_version_format, - # start_time, and end_time. The updated sink might also have a new - # writer_identity; see the unique_writer_identity field. + # with values from the new sink: destination, and filter. The updated sink might + # also have a new writer_identity; see the unique_writer_identity field. # @param [String] sink_name # Required. The full resource name of the sink to update, including the parent # resource and the sink identifier: # "projects/[PROJECT_ID]/sinks/[SINK_ID]" # "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" @@ -1150,10 +1165,19 @@ # there is no change to the sink's writer_identity. # If the old value is false and the new value is true, then writer_identity is # changed to a unique service account. # It is an error if the old value is true and the new value is set to false or # defaulted to false. + # @param [String] update_mask + # Optional. Field mask that specifies the fields in sink that need an update. A + # sink field will be overwritten if, and only if, it is in the update mask. name + # and output only fields cannot be updated.An empty updateMask is temporarily + # treated as using the following mask for backwards compatibility purposes: + # destination,filter,includeChildren At some point in the future, behavior will + # be removed and specifying an empty updateMask will be an error.For a detailed + # FieldMask definition, see https://developers.google.com/protocol-buffers/docs/ + # reference/google.protobuf#fieldmaskExample: updateMask=filter. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. @@ -1167,27 +1191,27 @@ # @return [Google::Apis::LoggingV2::LogSink] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be 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_folder_sink(sink_name, log_sink_object = nil, unique_writer_identity: nil, fields: nil, quota_user: nil, options: nil, &block) + def patch_folder_sink(sink_name, log_sink_object = nil, unique_writer_identity: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v2/{+sinkName}', options) command.request_representation = Google::Apis::LoggingV2::LogSink::Representation command.request_object = log_sink_object command.response_representation = Google::Apis::LoggingV2::LogSink::Representation command.response_class = Google::Apis::LoggingV2::LogSink command.params['sinkName'] = sink_name unless sink_name.nil? command.query['uniqueWriterIdentity'] = unique_writer_identity unless unique_writer_identity.nil? + command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Updates a sink. This method replaces the following fields in the existing sink - # with values from the new sink: destination, filter, output_version_format, - # start_time, and end_time. The updated sink might also have a new - # writer_identity; see the unique_writer_identity field. + # with values from the new sink: destination, and filter. The updated sink might + # also have a new writer_identity; see the unique_writer_identity field. # @param [String] sink_name # Required. The full resource name of the sink to update, including the parent # resource and the sink identifier: # "projects/[PROJECT_ID]/sinks/[SINK_ID]" # "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" @@ -1203,10 +1227,19 @@ # there is no change to the sink's writer_identity. # If the old value is false and the new value is true, then writer_identity is # changed to a unique service account. # It is an error if the old value is true and the new value is set to false or # defaulted to false. + # @param [String] update_mask + # Optional. Field mask that specifies the fields in sink that need an update. A + # sink field will be overwritten if, and only if, it is in the update mask. name + # and output only fields cannot be updated.An empty updateMask is temporarily + # treated as using the following mask for backwards compatibility purposes: + # destination,filter,includeChildren At some point in the future, behavior will + # be removed and specifying an empty updateMask will be an error.For a detailed + # FieldMask definition, see https://developers.google.com/protocol-buffers/docs/ + # reference/google.protobuf#fieldmaskExample: updateMask=filter. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. @@ -1220,18 +1253,19 @@ # @return [Google::Apis::LoggingV2::LogSink] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be 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_folder_sink(sink_name, log_sink_object = nil, unique_writer_identity: nil, fields: nil, quota_user: nil, options: nil, &block) + def update_folder_sink(sink_name, log_sink_object = nil, unique_writer_identity: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:put, 'v2/{+sinkName}', options) command.request_representation = Google::Apis::LoggingV2::LogSink::Representation command.request_object = log_sink_object command.response_representation = Google::Apis::LoggingV2::LogSink::Representation command.response_class = Google::Apis::LoggingV2::LogSink command.params['sinkName'] = sink_name unless sink_name.nil? command.query['uniqueWriterIdentity'] = unique_writer_identity unless unique_writer_identity.nil? + command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end @@ -1558,14 +1592,13 @@ command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Creates a sink that exports specified log entries to a destination. The export - # of newly-ingested log entries begins immediately, unless the current time is - # outside the sink's start and end times or the sink's writer_identity is not - # permitted to write to the destination. A sink can export log entries only from - # the resource owning the sink. + # of newly-ingested log entries begins immediately, unless the sink's + # writer_identity is not permitted to write to the destination. A sink can + # export log entries only from the resource owning the sink. # @param [String] parent # Required. The resource in which to create the sink: # "projects/[PROJECT_ID]" # "organizations/[ORGANIZATION_ID]" # "billingAccounts/[BILLING_ACCOUNT_ID]" @@ -1728,13 +1761,12 @@ command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Updates a sink. This method replaces the following fields in the existing sink - # with values from the new sink: destination, filter, output_version_format, - # start_time, and end_time. The updated sink might also have a new - # writer_identity; see the unique_writer_identity field. + # with values from the new sink: destination, and filter. The updated sink might + # also have a new writer_identity; see the unique_writer_identity field. # @param [String] sink_name # Required. The full resource name of the sink to update, including the parent # resource and the sink identifier: # "projects/[PROJECT_ID]/sinks/[SINK_ID]" # "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" @@ -1750,10 +1782,19 @@ # there is no change to the sink's writer_identity. # If the old value is false and the new value is true, then writer_identity is # changed to a unique service account. # It is an error if the old value is true and the new value is set to false or # defaulted to false. + # @param [String] update_mask + # Optional. Field mask that specifies the fields in sink that need an update. A + # sink field will be overwritten if, and only if, it is in the update mask. name + # and output only fields cannot be updated.An empty updateMask is temporarily + # treated as using the following mask for backwards compatibility purposes: + # destination,filter,includeChildren At some point in the future, behavior will + # be removed and specifying an empty updateMask will be an error.For a detailed + # FieldMask definition, see https://developers.google.com/protocol-buffers/docs/ + # reference/google.protobuf#fieldmaskExample: updateMask=filter. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. @@ -1767,27 +1808,27 @@ # @return [Google::Apis::LoggingV2::LogSink] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be 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_organization_sink(sink_name, log_sink_object = nil, unique_writer_identity: nil, fields: nil, quota_user: nil, options: nil, &block) + def patch_organization_sink(sink_name, log_sink_object = nil, unique_writer_identity: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v2/{+sinkName}', options) command.request_representation = Google::Apis::LoggingV2::LogSink::Representation command.request_object = log_sink_object command.response_representation = Google::Apis::LoggingV2::LogSink::Representation command.response_class = Google::Apis::LoggingV2::LogSink command.params['sinkName'] = sink_name unless sink_name.nil? command.query['uniqueWriterIdentity'] = unique_writer_identity unless unique_writer_identity.nil? + command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Updates a sink. This method replaces the following fields in the existing sink - # with values from the new sink: destination, filter, output_version_format, - # start_time, and end_time. The updated sink might also have a new - # writer_identity; see the unique_writer_identity field. + # with values from the new sink: destination, and filter. The updated sink might + # also have a new writer_identity; see the unique_writer_identity field. # @param [String] sink_name # Required. The full resource name of the sink to update, including the parent # resource and the sink identifier: # "projects/[PROJECT_ID]/sinks/[SINK_ID]" # "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" @@ -1803,10 +1844,19 @@ # there is no change to the sink's writer_identity. # If the old value is false and the new value is true, then writer_identity is # changed to a unique service account. # It is an error if the old value is true and the new value is set to false or # defaulted to false. + # @param [String] update_mask + # Optional. Field mask that specifies the fields in sink that need an update. A + # sink field will be overwritten if, and only if, it is in the update mask. name + # and output only fields cannot be updated.An empty updateMask is temporarily + # treated as using the following mask for backwards compatibility purposes: + # destination,filter,includeChildren At some point in the future, behavior will + # be removed and specifying an empty updateMask will be an error.For a detailed + # FieldMask definition, see https://developers.google.com/protocol-buffers/docs/ + # reference/google.protobuf#fieldmaskExample: updateMask=filter. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. @@ -1820,18 +1870,19 @@ # @return [Google::Apis::LoggingV2::LogSink] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be 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_organization_sink(sink_name, log_sink_object = nil, unique_writer_identity: nil, fields: nil, quota_user: nil, options: nil, &block) + def update_organization_sink(sink_name, log_sink_object = nil, unique_writer_identity: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:put, 'v2/{+sinkName}', options) command.request_representation = Google::Apis::LoggingV2::LogSink::Representation command.request_object = log_sink_object command.response_representation = Google::Apis::LoggingV2::LogSink::Representation command.response_class = Google::Apis::LoggingV2::LogSink command.params['sinkName'] = sink_name unless sink_name.nil? command.query['uniqueWriterIdentity'] = unique_writer_identity unless unique_writer_identity.nil? + command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end @@ -2296,14 +2347,13 @@ command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Creates a sink that exports specified log entries to a destination. The export - # of newly-ingested log entries begins immediately, unless the current time is - # outside the sink's start and end times or the sink's writer_identity is not - # permitted to write to the destination. A sink can export log entries only from - # the resource owning the sink. + # of newly-ingested log entries begins immediately, unless the sink's + # writer_identity is not permitted to write to the destination. A sink can + # export log entries only from the resource owning the sink. # @param [String] parent # Required. The resource in which to create the sink: # "projects/[PROJECT_ID]" # "organizations/[ORGANIZATION_ID]" # "billingAccounts/[BILLING_ACCOUNT_ID]" @@ -2466,13 +2516,12 @@ command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Updates a sink. This method replaces the following fields in the existing sink - # with values from the new sink: destination, filter, output_version_format, - # start_time, and end_time. The updated sink might also have a new - # writer_identity; see the unique_writer_identity field. + # with values from the new sink: destination, and filter. The updated sink might + # also have a new writer_identity; see the unique_writer_identity field. # @param [String] sink_name # Required. The full resource name of the sink to update, including the parent # resource and the sink identifier: # "projects/[PROJECT_ID]/sinks/[SINK_ID]" # "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" @@ -2488,10 +2537,19 @@ # there is no change to the sink's writer_identity. # If the old value is false and the new value is true, then writer_identity is # changed to a unique service account. # It is an error if the old value is true and the new value is set to false or # defaulted to false. + # @param [String] update_mask + # Optional. Field mask that specifies the fields in sink that need an update. A + # sink field will be overwritten if, and only if, it is in the update mask. name + # and output only fields cannot be updated.An empty updateMask is temporarily + # treated as using the following mask for backwards compatibility purposes: + # destination,filter,includeChildren At some point in the future, behavior will + # be removed and specifying an empty updateMask will be an error.For a detailed + # FieldMask definition, see https://developers.google.com/protocol-buffers/docs/ + # reference/google.protobuf#fieldmaskExample: updateMask=filter. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. @@ -2505,27 +2563,27 @@ # @return [Google::Apis::LoggingV2::LogSink] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be 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_project_sink(sink_name, log_sink_object = nil, unique_writer_identity: nil, fields: nil, quota_user: nil, options: nil, &block) + def patch_project_sink(sink_name, log_sink_object = nil, unique_writer_identity: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v2/{+sinkName}', options) command.request_representation = Google::Apis::LoggingV2::LogSink::Representation command.request_object = log_sink_object command.response_representation = Google::Apis::LoggingV2::LogSink::Representation command.response_class = Google::Apis::LoggingV2::LogSink command.params['sinkName'] = sink_name unless sink_name.nil? command.query['uniqueWriterIdentity'] = unique_writer_identity unless unique_writer_identity.nil? + command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Updates a sink. This method replaces the following fields in the existing sink - # with values from the new sink: destination, filter, output_version_format, - # start_time, and end_time. The updated sink might also have a new - # writer_identity; see the unique_writer_identity field. + # with values from the new sink: destination, and filter. The updated sink might + # also have a new writer_identity; see the unique_writer_identity field. # @param [String] sink_name # Required. The full resource name of the sink to update, including the parent # resource and the sink identifier: # "projects/[PROJECT_ID]/sinks/[SINK_ID]" # "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" @@ -2541,10 +2599,19 @@ # there is no change to the sink's writer_identity. # If the old value is false and the new value is true, then writer_identity is # changed to a unique service account. # It is an error if the old value is true and the new value is set to false or # defaulted to false. + # @param [String] update_mask + # Optional. Field mask that specifies the fields in sink that need an update. A + # sink field will be overwritten if, and only if, it is in the update mask. name + # and output only fields cannot be updated.An empty updateMask is temporarily + # treated as using the following mask for backwards compatibility purposes: + # destination,filter,includeChildren At some point in the future, behavior will + # be removed and specifying an empty updateMask will be an error.For a detailed + # FieldMask definition, see https://developers.google.com/protocol-buffers/docs/ + # reference/google.protobuf#fieldmaskExample: updateMask=filter. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. @@ -2558,17 +2625,18 @@ # @return [Google::Apis::LoggingV2::LogSink] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be 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_project_sink(sink_name, log_sink_object = nil, unique_writer_identity: nil, fields: nil, quota_user: nil, options: nil, &block) + def update_project_sink(sink_name, log_sink_object = nil, unique_writer_identity: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:put, 'v2/{+sinkName}', options) command.request_representation = Google::Apis::LoggingV2::LogSink::Representation command.request_object = log_sink_object command.response_representation = Google::Apis::LoggingV2::LogSink::Representation command.response_class = Google::Apis::LoggingV2::LogSink command.params['sinkName'] = sink_name unless sink_name.nil? command.query['uniqueWriterIdentity'] = unique_writer_identity unless unique_writer_identity.nil? + command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end