Autogenerated update (2019-07-30)
Update: - docs_v1 - securitycenter_v1
This commit is contained in:
parent
4e38887c1f
commit
e8633852c2
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/docs/
|
# @see https://developers.google.com/docs/
|
||||||
module DocsV1
|
module DocsV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20190718'
|
REVISION = '20190724'
|
||||||
|
|
||||||
# View and manage your Google Docs documents
|
# View and manage your Google Docs documents
|
||||||
AUTH_DOCUMENTS = 'https://www.googleapis.com/auth/documents'
|
AUTH_DOCUMENTS = 'https://www.googleapis.com/auth/documents'
|
||||||
|
|
|
@ -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::ServerError] An error occurred on the server and the request can be retried
|
||||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
# @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 = make_simple_command(:delete, 'drives/{driveId}', options)
|
||||||
command.params['driveId'] = drive_id unless drive_id.nil?
|
command.params['driveId'] = drive_id unless drive_id.nil?
|
||||||
command.query['fields'] = fields unless fields.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::ServerError] An error occurred on the server and the request can be retried
|
||||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
# @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 = make_simple_command(:get, 'drives/{driveId}', options)
|
||||||
command.response_representation = Google::Apis::DriveV2::Drive::Representation
|
command.response_representation = Google::Apis::DriveV2::Drive::Representation
|
||||||
command.response_class = Google::Apis::DriveV2::Drive
|
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::ServerError] An error occurred on the server and the request can be retried
|
||||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
# @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 = make_simple_command(:post, 'drives/{driveId}/hide', options)
|
||||||
command.response_representation = Google::Apis::DriveV2::Drive::Representation
|
command.response_representation = Google::Apis::DriveV2::Drive::Representation
|
||||||
command.response_class = Google::Apis::DriveV2::Drive
|
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::ServerError] An error occurred on the server and the request can be retried
|
||||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
# @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 = make_simple_command(:post, 'drives', options)
|
||||||
command.request_representation = Google::Apis::DriveV2::Drive::Representation
|
command.request_representation = Google::Apis::DriveV2::Drive::Representation
|
||||||
command.request_object = drive_object
|
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::ServerError] An error occurred on the server and the request can be retried
|
||||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
# @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 = make_simple_command(:post, 'drives/{driveId}/unhide', options)
|
||||||
command.response_representation = Google::Apis::DriveV2::Drive::Representation
|
command.response_representation = Google::Apis::DriveV2::Drive::Representation
|
||||||
command.response_class = Google::Apis::DriveV2::Drive
|
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::ServerError] An error occurred on the server and the request can be retried
|
||||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
# @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 = make_simple_command(:put, 'drives/{driveId}', options)
|
||||||
command.request_representation = Google::Apis::DriveV2::Drive::Representation
|
command.request_representation = Google::Apis::DriveV2::Drive::Representation
|
||||||
command.request_object = drive_object
|
command.request_object = drive_object
|
||||||
|
|
|
@ -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::ServerError] An error occurred on the server and the request can be retried
|
||||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
# @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 = make_simple_command(:post, 'drives', options)
|
||||||
command.request_representation = Google::Apis::DriveV3::Drive::Representation
|
command.request_representation = Google::Apis::DriveV3::Drive::Representation
|
||||||
command.request_object = drive_object
|
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::ServerError] An error occurred on the server and the request can be retried
|
||||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
# @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 = make_simple_command(:delete, 'drives/{driveId}', options)
|
||||||
command.params['driveId'] = drive_id unless drive_id.nil?
|
command.params['driveId'] = drive_id unless drive_id.nil?
|
||||||
command.query['fields'] = fields unless fields.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::ServerError] An error occurred on the server and the request can be retried
|
||||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
# @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 = make_simple_command(:get, 'drives/{driveId}', options)
|
||||||
command.response_representation = Google::Apis::DriveV3::Drive::Representation
|
command.response_representation = Google::Apis::DriveV3::Drive::Representation
|
||||||
command.response_class = Google::Apis::DriveV3::Drive
|
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::ServerError] An error occurred on the server and the request can be retried
|
||||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
# @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 = make_simple_command(:post, 'drives/{driveId}/hide', options)
|
||||||
command.response_representation = Google::Apis::DriveV3::Drive::Representation
|
command.response_representation = Google::Apis::DriveV3::Drive::Representation
|
||||||
command.response_class = Google::Apis::DriveV3::Drive
|
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::ServerError] An error occurred on the server and the request can be retried
|
||||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
# @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 = make_simple_command(:post, 'drives/{driveId}/unhide', options)
|
||||||
command.response_representation = Google::Apis::DriveV3::Drive::Representation
|
command.response_representation = Google::Apis::DriveV3::Drive::Representation
|
||||||
command.response_class = Google::Apis::DriveV3::Drive
|
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::ServerError] An error occurred on the server and the request can be retried
|
||||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
# @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 = make_simple_command(:patch, 'drives/{driveId}', options)
|
||||||
command.request_representation = Google::Apis::DriveV3::Drive::Representation
|
command.request_representation = Google::Apis::DriveV3::Drive::Representation
|
||||||
command.request_object = drive_object
|
command.request_object = drive_object
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview
|
# @see https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview
|
||||||
module SecuritycenterV1
|
module SecuritycenterV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20190704'
|
REVISION = '20190726'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -597,8 +597,16 @@ module Google
|
||||||
# * boolean literals `true` and `false` without quotes.
|
# * boolean literals `true` and `false` without quotes.
|
||||||
# The following field and operator combinations are supported:
|
# The following field and operator combinations are supported:
|
||||||
# * name: `=`
|
# * name: `=`
|
||||||
# * update_time: `>`, `<`, `>=`, `<=`, `=`
|
# * update_time: `=`, `>`, `<`, `>=`, `<=`
|
||||||
# * create_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: `=`, `:`
|
# * iam_policy.policy_blob: `=`, `:`
|
||||||
# * resource_properties: `=`, `:`, `>`, `<`, `>=`, `<=`
|
# * resource_properties: `=`, `:`, `>`, `<`, `>=`, `<=`
|
||||||
# * security_marks: `=`, `:`
|
# * security_marks: `=`, `:`
|
||||||
|
@ -756,7 +764,11 @@ module Google
|
||||||
# * state: `=`, `:`
|
# * state: `=`, `:`
|
||||||
# * category: `=`, `:`
|
# * category: `=`, `:`
|
||||||
# * external_uri: `=`, `:`
|
# * 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: `=`, `:`
|
# * security_marks: `=`, `:`
|
||||||
# * source_properties: `=`, `:`, `>`, `<`, `>=`, `<=`
|
# * source_properties: `=`, `:`, `>`, `<`, `>=`, `<=`
|
||||||
# For example, `source_properties.size = 100` is a valid filter string.
|
# For example, `source_properties.size = 100` is a valid filter string.
|
||||||
|
|
|
@ -206,10 +206,19 @@ module Google
|
||||||
# * boolean literals `true` and `false` without quotes.
|
# * boolean literals `true` and `false` without quotes.
|
||||||
# The following are the allowed field and operator combinations:
|
# The following are the allowed field and operator combinations:
|
||||||
# * name: `=`
|
# * 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: `=`, `:`
|
# * iam_policy.policy_blob: `=`, `:`
|
||||||
# * resource_properties: `=`, `:`, `>`, `<`, `>=`, `<=`
|
# * resource_properties: `=`, `:`, `>`, `<`, `>=`, `<=`
|
||||||
# * security_marks: `=`, `:`
|
# * security_marks.marks: `=`, `:`
|
||||||
# * security_center_properties.resource_name: `=`, `:`
|
# * security_center_properties.resource_name: `=`, `:`
|
||||||
# * security_center_properties.resource_type: `=`, `:`
|
# * security_center_properties.resource_type: `=`, `:`
|
||||||
# * security_center_properties.resource_parent: `=`, `:`
|
# * security_center_properties.resource_parent: `=`, `:`
|
||||||
|
@ -229,7 +238,7 @@ module Google
|
||||||
# name
|
# name
|
||||||
# update_time
|
# update_time
|
||||||
# resource_properties
|
# resource_properties
|
||||||
# security_marks
|
# security_marks.marks
|
||||||
# security_center_properties.resource_name
|
# security_center_properties.resource_name
|
||||||
# security_center_properties.resource_parent
|
# security_center_properties.resource_parent
|
||||||
# security_center_properties.resource_project
|
# security_center_properties.resource_project
|
||||||
|
@ -901,8 +910,12 @@ module Google
|
||||||
# state: `=`, `:`
|
# state: `=`, `:`
|
||||||
# category: `=`, `:`
|
# category: `=`, `:`
|
||||||
# external_uri: `=`, `:`
|
# external_uri: `=`, `:`
|
||||||
# event_time: `>`, `<`, `>=`, `<=`
|
# event_time: `=`, `>`, `<`, `>=`, `<=`
|
||||||
# security_marks: `=`, `:`
|
# 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: `=`, `:`, `>`, `<`, `>=`, `<=`
|
# source_properties: `=`, `:`, `>`, `<`, `>=`, `<=`
|
||||||
# For example, `source_properties.size = 100` is a valid filter string.
|
# For example, `source_properties.size = 100` is a valid filter string.
|
||||||
# @param [String] order_by
|
# @param [String] order_by
|
||||||
|
@ -922,7 +935,7 @@ module Google
|
||||||
# resource_name
|
# resource_name
|
||||||
# event_time
|
# event_time
|
||||||
# source_properties
|
# source_properties
|
||||||
# security_marks
|
# security_marks.marks
|
||||||
# @param [Fixnum] page_size
|
# @param [Fixnum] page_size
|
||||||
# The maximum number of results to return in a single response. Default is
|
# The maximum number of results to return in a single response. Default is
|
||||||
# 10, minimum is 1, maximum is 1000.
|
# 10, minimum is 1, maximum is 1000.
|
||||||
|
|
Loading…
Reference in New Issue