From e8633852c25211513e7611aa5351e55d2dc41d70 Mon Sep 17 00:00:00 2001 From: Google APIs Date: Tue, 30 Jul 2019 00:37:38 +0000 Subject: [PATCH] Autogenerated update (2019-07-30) Update: - docs_v1 - securitycenter_v1 --- generated/google/apis/docs_v1.rb | 2 +- generated/google/apis/drive_v2/service.rb | 12 ++++----- generated/google/apis/drive_v3/service.rb | 12 ++++----- generated/google/apis/securitycenter_v1.rb | 2 +- .../google/apis/securitycenter_v1/classes.rb | 18 ++++++++++--- .../google/apis/securitycenter_v1/service.rb | 25 ++++++++++++++----- 6 files changed, 48 insertions(+), 23 deletions(-) diff --git a/generated/google/apis/docs_v1.rb b/generated/google/apis/docs_v1.rb index fc7759c74..01bf590b3 100644 --- a/generated/google/apis/docs_v1.rb +++ b/generated/google/apis/docs_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/docs/ module DocsV1 VERSION = 'V1' - REVISION = '20190718' + REVISION = '20190724' # View and manage your Google Docs documents AUTH_DOCUMENTS = 'https://www.googleapis.com/auth/documents' diff --git a/generated/google/apis/drive_v2/service.rb b/generated/google/apis/drive_v2/service.rb index 0366541b4..9d2391ae0 100644 --- a/generated/google/apis/drive_v2/service.rb +++ b/generated/google/apis/drive_v2/service.rb @@ -896,7 +896,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be 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_drife(drive_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def delete_drive(drive_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, 'drives/{driveId}', options) command.params['driveId'] = drive_id unless drive_id.nil? command.query['fields'] = fields unless fields.nil? @@ -931,7 +931,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be 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_drife(drive_id, use_domain_admin_access: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def get_drive(drive_id, use_domain_admin_access: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'drives/{driveId}', options) command.response_representation = Google::Apis::DriveV2::Drive::Representation command.response_class = Google::Apis::DriveV2::Drive @@ -965,7 +965,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def hide_drife(drive_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def hide_drive(drive_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'drives/{driveId}/hide', options) command.response_representation = Google::Apis::DriveV2::Drive::Representation command.response_class = Google::Apis::DriveV2::Drive @@ -1003,7 +1003,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be 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_drife(request_id, drive_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def insert_drive(request_id, drive_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'drives', options) command.request_representation = Google::Apis::DriveV2::Drive::Representation command.request_object = drive_object @@ -1081,7 +1081,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def unhide_drife(drive_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def unhide_drive(drive_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'drives/{driveId}/unhide', options) command.response_representation = Google::Apis::DriveV2::Drive::Representation command.response_class = Google::Apis::DriveV2::Drive @@ -1119,7 +1119,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be 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_drife(drive_id, drive_object = nil, use_domain_admin_access: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def update_drive(drive_id, drive_object = nil, use_domain_admin_access: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:put, 'drives/{driveId}', options) command.request_representation = Google::Apis::DriveV2::Drive::Representation command.request_object = drive_object diff --git a/generated/google/apis/drive_v3/service.rb b/generated/google/apis/drive_v3/service.rb index 89d676215..d673d99c7 100644 --- a/generated/google/apis/drive_v3/service.rb +++ b/generated/google/apis/drive_v3/service.rb @@ -547,7 +547,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be 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_drife(request_id, drive_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def create_drive(request_id, drive_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'drives', options) command.request_representation = Google::Apis::DriveV3::Drive::Representation command.request_object = drive_object @@ -583,7 +583,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be 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_drife(drive_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def delete_drive(drive_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, 'drives/{driveId}', options) command.params['driveId'] = drive_id unless drive_id.nil? command.query['fields'] = fields unless fields.nil? @@ -618,7 +618,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be 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_drife(drive_id, use_domain_admin_access: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def get_drive(drive_id, use_domain_admin_access: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'drives/{driveId}', options) command.response_representation = Google::Apis::DriveV3::Drive::Representation command.response_class = Google::Apis::DriveV3::Drive @@ -652,7 +652,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def hide_drife(drive_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def hide_drive(drive_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'drives/{driveId}/hide', options) command.response_representation = Google::Apis::DriveV3::Drive::Representation command.response_class = Google::Apis::DriveV3::Drive @@ -728,7 +728,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def unhide_drife(drive_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def unhide_drive(drive_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'drives/{driveId}/unhide', options) command.response_representation = Google::Apis::DriveV3::Drive::Representation command.response_class = Google::Apis::DriveV3::Drive @@ -766,7 +766,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be 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_drife(drive_id, drive_object = nil, use_domain_admin_access: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def update_drive(drive_id, drive_object = nil, use_domain_admin_access: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, 'drives/{driveId}', options) command.request_representation = Google::Apis::DriveV3::Drive::Representation command.request_object = drive_object diff --git a/generated/google/apis/securitycenter_v1.rb b/generated/google/apis/securitycenter_v1.rb index 2c3e73514..0e3f60f50 100644 --- a/generated/google/apis/securitycenter_v1.rb +++ b/generated/google/apis/securitycenter_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview module SecuritycenterV1 VERSION = 'V1' - REVISION = '20190704' + REVISION = '20190726' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/securitycenter_v1/classes.rb b/generated/google/apis/securitycenter_v1/classes.rb index 8000de940..ce3d1350e 100644 --- a/generated/google/apis/securitycenter_v1/classes.rb +++ b/generated/google/apis/securitycenter_v1/classes.rb @@ -597,8 +597,16 @@ module Google # * boolean literals `true` and `false` without quotes. # The following field and operator combinations are supported: # * name: `=` - # * update_time: `>`, `<`, `>=`, `<=`, `=` - # * create_time: `>`, `<`, `>=`, `<=`, `=` + # * update_time: `=`, `>`, `<`, `>=`, `<=` + # Usage: This should be milliseconds since epoch or an RFC3339 string. + # Examples: + # "update_time = \"2019-06-10T16:07:18-07:00\"" + # "update_time = 1560208038000" + # * create_time: `=`, `>`, `<`, `>=`, `<=` + # Usage: This should be milliseconds since epoch or an RFC3339 string. + # Examples: + # "create_time = \"2019-06-10T16:07:18-07:00\"" + # "create_time = 1560208038000" # * iam_policy.policy_blob: `=`, `:` # * resource_properties: `=`, `:`, `>`, `<`, `>=`, `<=` # * security_marks: `=`, `:` @@ -756,7 +764,11 @@ module Google # * state: `=`, `:` # * category: `=`, `:` # * external_uri: `=`, `:` - # * event_time: `>`, `<`, `>=`, `<=` + # * event_time: `=`, `>`, `<`, `>=`, `<=` + # Usage: This should be milliseconds since epoch or an RFC3339 string. + # Examples: + # "event_time = \"2019-06-10T16:07:18-07:00\"" + # "event_time = 1560208038000" # * security_marks: `=`, `:` # * source_properties: `=`, `:`, `>`, `<`, `>=`, `<=` # For example, `source_properties.size = 100` is a valid filter string. diff --git a/generated/google/apis/securitycenter_v1/service.rb b/generated/google/apis/securitycenter_v1/service.rb index 9c2376d5c..01ac7089c 100644 --- a/generated/google/apis/securitycenter_v1/service.rb +++ b/generated/google/apis/securitycenter_v1/service.rb @@ -206,10 +206,19 @@ module Google # * boolean literals `true` and `false` without quotes. # The following are the allowed field and operator combinations: # * name: `=` - # * update_time: `>`, `<`, `>=`, `<=` + # * update_time: `=`, `>`, `<`, `>=`, `<=` + # Usage: This should be milliseconds since epoch or an RFC3339 string. + # Examples: + # "update_time = \"2019-06-10T16:07:18-07:00\"" + # "update_time = 1560208038000" + # * create_time: `=`, `>`, `<`, `>=`, `<=` + # Usage: This should be milliseconds since epoch or an RFC3339 string. + # Examples: + # "create_time = \"2019-06-10T16:07:18-07:00\"" + # "create_time = 1560208038000" # * iam_policy.policy_blob: `=`, `:` # * resource_properties: `=`, `:`, `>`, `<`, `>=`, `<=` - # * security_marks: `=`, `:` + # * security_marks.marks: `=`, `:` # * security_center_properties.resource_name: `=`, `:` # * security_center_properties.resource_type: `=`, `:` # * security_center_properties.resource_parent: `=`, `:` @@ -229,7 +238,7 @@ module Google # name # update_time # resource_properties - # security_marks + # security_marks.marks # security_center_properties.resource_name # security_center_properties.resource_parent # security_center_properties.resource_project @@ -901,8 +910,12 @@ module Google # state: `=`, `:` # category: `=`, `:` # external_uri: `=`, `:` - # event_time: `>`, `<`, `>=`, `<=` - # security_marks: `=`, `:` + # event_time: `=`, `>`, `<`, `>=`, `<=` + # Usage: This should be milliseconds since epoch or an RFC3339 string. + # Examples: + # "event_time = \"2019-06-10T16:07:18-07:00\"" + # "event_time = 1560208038000" + # security_marks.marks: `=`, `:` # source_properties: `=`, `:`, `>`, `<`, `>=`, `<=` # For example, `source_properties.size = 100` is a valid filter string. # @param [String] order_by @@ -922,7 +935,7 @@ module Google # resource_name # event_time # source_properties - # security_marks + # security_marks.marks # @param [Fixnum] page_size # The maximum number of results to return in a single response. Default is # 10, minimum is 1, maximum is 1000.