files.com 1.1.769 → 1.1.771
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/_VERSION +1 -1
- data/docs/remote_server.md +8 -0
- data/lib/files.com/models/action_log.rb +5 -0
- data/lib/files.com/models/action_notification_export.rb +10 -0
- data/lib/files.com/models/action_notification_export_result.rb +5 -0
- data/lib/files.com/models/ai_assistant_personality.rb +24 -0
- data/lib/files.com/models/ai_task.rb +29 -0
- data/lib/files.com/models/api_key.rb +37 -0
- data/lib/files.com/models/api_request_log.rb +5 -0
- data/lib/files.com/models/app.rb +5 -0
- data/lib/files.com/models/as2_incoming_message.rb +5 -0
- data/lib/files.com/models/as2_outgoing_message.rb +5 -0
- data/lib/files.com/models/as2_partner.rb +24 -0
- data/lib/files.com/models/as2_station.rb +24 -0
- data/lib/files.com/models/automation.rb +38 -0
- data/lib/files.com/models/automation_log.rb +5 -0
- data/lib/files.com/models/automation_run.rb +25 -0
- data/lib/files.com/models/bandwidth_snapshot.rb +5 -0
- data/lib/files.com/models/behavior.rb +34 -0
- data/lib/files.com/models/bundle.rb +29 -0
- data/lib/files.com/models/bundle_action.rb +5 -0
- data/lib/files.com/models/bundle_download.rb +5 -0
- data/lib/files.com/models/bundle_notification.rb +24 -0
- data/lib/files.com/models/bundle_recipient.rb +10 -0
- data/lib/files.com/models/bundle_registration.rb +5 -0
- data/lib/files.com/models/chat_session.rb +10 -0
- data/lib/files.com/models/child_site_management_policy.rb +24 -0
- data/lib/files.com/models/clickwrap.rb +24 -0
- data/lib/files.com/models/custom_domain.rb +29 -0
- data/lib/files.com/models/desktop_configuration_profile.rb +24 -0
- data/lib/files.com/models/dns_record.rb +5 -0
- data/lib/files.com/models/email_incoming_message.rb +5 -0
- data/lib/files.com/models/email_log.rb +5 -0
- data/lib/files.com/models/event_channel.rb +24 -0
- data/lib/files.com/models/event_delivery_attempt.rb +10 -0
- data/lib/files.com/models/event_record.rb +10 -0
- data/lib/files.com/models/event_subscription.rb +24 -0
- data/lib/files.com/models/event_target.rb +24 -0
- data/lib/files.com/models/exavault_api_request_log.rb +5 -0
- data/lib/files.com/models/expectation.rb +29 -0
- data/lib/files.com/models/expectation_evaluation.rb +10 -0
- data/lib/files.com/models/expectation_incident.rb +25 -0
- data/lib/files.com/models/external_event.rb +15 -0
- data/lib/files.com/models/file.rb +70 -0
- data/lib/files.com/models/file_comment.rb +19 -0
- data/lib/files.com/models/file_comment_reaction.rb +9 -0
- data/lib/files.com/models/file_migration.rb +5 -0
- data/lib/files.com/models/file_migration_log.rb +5 -0
- data/lib/files.com/models/folder.rb +10 -0
- data/lib/files.com/models/form_field_set.rb +24 -0
- data/lib/files.com/models/ftp_action_log.rb +5 -0
- data/lib/files.com/models/gpg_key.rb +24 -0
- data/lib/files.com/models/group.rb +24 -0
- data/lib/files.com/models/group_user.rb +20 -0
- data/lib/files.com/models/history.rb +25 -0
- data/lib/files.com/models/history_export.rb +10 -0
- data/lib/files.com/models/history_export_result.rb +5 -0
- data/lib/files.com/models/holiday_calendar.rb +24 -0
- data/lib/files.com/models/holiday_region.rb +5 -0
- data/lib/files.com/models/inbound_s3_log.rb +5 -0
- data/lib/files.com/models/inbox_recipient.rb +10 -0
- data/lib/files.com/models/inbox_registration.rb +5 -0
- data/lib/files.com/models/inbox_upload.rb +5 -0
- data/lib/files.com/models/integration_centric_profile.rb +24 -0
- data/lib/files.com/models/invoice.rb +10 -0
- data/lib/files.com/models/ip_address.rb +20 -0
- data/lib/files.com/models/key_lifecycle_rule.rb +24 -0
- data/lib/files.com/models/lock.rb +15 -0
- data/lib/files.com/models/metadata_category.rb +29 -0
- data/lib/files.com/models/notification.rb +24 -0
- data/lib/files.com/models/outbound_connection_log.rb +5 -0
- data/lib/files.com/models/partner.rb +24 -0
- data/lib/files.com/models/partner_channel.rb +24 -0
- data/lib/files.com/models/partner_channel_template.rb +24 -0
- data/lib/files.com/models/partner_site.rb +4 -0
- data/lib/files.com/models/partner_site_request.rb +29 -0
- data/lib/files.com/models/payment.rb +10 -0
- data/lib/files.com/models/pending_work_event.rb +10 -0
- data/lib/files.com/models/permission.rb +14 -0
- data/lib/files.com/models/public_hosting_request_log.rb +5 -0
- data/lib/files.com/models/public_key.rb +24 -0
- data/lib/files.com/models/remote_bandwidth_snapshot.rb +5 -0
- data/lib/files.com/models/remote_mount_backend.rb +29 -0
- data/lib/files.com/models/remote_server.rb +54 -0
- data/lib/files.com/models/remote_server_credential.rb +24 -0
- data/lib/files.com/models/request.rb +19 -0
- data/lib/files.com/models/restore.rb +10 -0
- data/lib/files.com/models/schedule.rb +24 -0
- data/lib/files.com/models/scheduled_export.rb +24 -0
- data/lib/files.com/models/scim_log.rb +10 -0
- data/lib/files.com/models/secret.rb +24 -0
- data/lib/files.com/models/session.rb +9 -0
- data/lib/files.com/models/settings_change.rb +5 -0
- data/lib/files.com/models/sftp_action_log.rb +5 -0
- data/lib/files.com/models/sftp_host_key.rb +24 -0
- data/lib/files.com/models/share_group.rb +24 -0
- data/lib/files.com/models/siem_http_destination.rb +29 -0
- data/lib/files.com/models/siem_http_destination_event.rb +10 -0
- data/lib/files.com/models/site.rb +13 -0
- data/lib/files.com/models/site_subdomain_redirect.rb +14 -0
- data/lib/files.com/models/snapshot.rb +29 -0
- data/lib/files.com/models/sso_event.rb +10 -0
- data/lib/files.com/models/sso_strategy.rb +15 -0
- data/lib/files.com/models/style.rb +14 -0
- data/lib/files.com/models/sync.rb +34 -0
- data/lib/files.com/models/sync_log.rb +5 -0
- data/lib/files.com/models/sync_run.rb +10 -0
- data/lib/files.com/models/usage_daily_snapshot.rb +5 -0
- data/lib/files.com/models/usage_snapshot.rb +5 -0
- data/lib/files.com/models/user.rb +40 -0
- data/lib/files.com/models/user_additional_email_recipient.rb +24 -0
- data/lib/files.com/models/user_cipher_use.rb +5 -0
- data/lib/files.com/models/user_lifecycle_rule.rb +24 -0
- data/lib/files.com/models/user_request.rb +19 -0
- data/lib/files.com/models/user_security_event.rb +10 -0
- data/lib/files.com/models/user_sftp_client_use.rb +5 -0
- data/lib/files.com/models/web_dav_action_log.rb +5 -0
- data/lib/files.com/models/webhook_test.rb +5 -0
- data/lib/files.com/models/workspace.rb +24 -0
- data/lib/files.com/version.rb +1 -1
- metadata +2 -2
|
@@ -103,6 +103,11 @@ module Files
|
|
|
103
103
|
# user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
|
104
104
|
# cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
|
105
105
|
# per_page - int64 - Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
|
|
106
|
+
#
|
|
107
|
+
# params:: Hash of API operation parameter values.
|
|
108
|
+
# options:: Hash of optional request configuration passed to Files::Api.send_request.
|
|
109
|
+
#
|
|
110
|
+
# Returns a Files::List of Files::ShareGroup objects.
|
|
106
111
|
def self.list(params = {}, options = {})
|
|
107
112
|
raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params[:user_id] and !params[:user_id].is_a?(Integer)
|
|
108
113
|
raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
|
|
@@ -119,6 +124,11 @@ module Files
|
|
|
119
124
|
|
|
120
125
|
# Parameters:
|
|
121
126
|
# id (required) - int64 - Share Group ID.
|
|
127
|
+
#
|
|
128
|
+
# params:: Hash of API operation parameter values.
|
|
129
|
+
# options:: Hash of optional request configuration passed to Files::Api.send_request.
|
|
130
|
+
#
|
|
131
|
+
# Returns a Files::ShareGroup.
|
|
122
132
|
def self.find(id, params = {}, options = {})
|
|
123
133
|
params ||= {}
|
|
124
134
|
params[:id] = id
|
|
@@ -138,6 +148,11 @@ module Files
|
|
|
138
148
|
# notes - string - Additional notes of the share group
|
|
139
149
|
# name (required) - string - Name of the share group
|
|
140
150
|
# members (required) - array(object) - A list of share group members.
|
|
151
|
+
#
|
|
152
|
+
# params:: Hash of API operation parameter values.
|
|
153
|
+
# options:: Hash of optional request configuration passed to Files::Api.send_request.
|
|
154
|
+
#
|
|
155
|
+
# Returns a Files::ShareGroup.
|
|
141
156
|
def self.create(params = {}, options = {})
|
|
142
157
|
raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params[:user_id] and !params[:user_id].is_a?(Integer)
|
|
143
158
|
raise InvalidParameterError.new("Bad parameter: notes must be an String") if params[:notes] and !params[:notes].is_a?(String)
|
|
@@ -154,6 +169,11 @@ module Files
|
|
|
154
169
|
# notes - string - Additional notes of the share group
|
|
155
170
|
# name - string - Name of the share group
|
|
156
171
|
# members - array(object) - A list of share group members.
|
|
172
|
+
#
|
|
173
|
+
# params:: Hash of API operation parameter values.
|
|
174
|
+
# options:: Hash of optional request configuration passed to Files::Api.send_request.
|
|
175
|
+
#
|
|
176
|
+
# Returns a Files::ShareGroup.
|
|
157
177
|
def self.update(id, params = {}, options = {})
|
|
158
178
|
params ||= {}
|
|
159
179
|
params[:id] = id
|
|
@@ -167,6 +187,10 @@ module Files
|
|
|
167
187
|
ShareGroup.new(response.data, options)
|
|
168
188
|
end
|
|
169
189
|
|
|
190
|
+
# params:: Hash of API operation parameter values.
|
|
191
|
+
# options:: Hash of optional request configuration passed to Files::Api.send_request.
|
|
192
|
+
#
|
|
193
|
+
# Returns nil.
|
|
170
194
|
def self.delete(id, params = {}, options = {})
|
|
171
195
|
params ||= {}
|
|
172
196
|
params[:id] = id
|
|
@@ -661,6 +661,11 @@ module Files
|
|
|
661
661
|
# Parameters:
|
|
662
662
|
# cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
|
663
663
|
# per_page - int64 - Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
|
|
664
|
+
#
|
|
665
|
+
# params:: Hash of API operation parameter values.
|
|
666
|
+
# options:: Hash of optional request configuration passed to Files::Api.send_request.
|
|
667
|
+
#
|
|
668
|
+
# Returns a Files::List of Files::SiemHttpDestination objects.
|
|
664
669
|
def self.list(params = {}, options = {})
|
|
665
670
|
raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
|
|
666
671
|
raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
|
|
@@ -676,6 +681,11 @@ module Files
|
|
|
676
681
|
|
|
677
682
|
# Parameters:
|
|
678
683
|
# id (required) - int64 - Siem Http Destination ID.
|
|
684
|
+
#
|
|
685
|
+
# params:: Hash of API operation parameter values.
|
|
686
|
+
# options:: Hash of optional request configuration passed to Files::Api.send_request.
|
|
687
|
+
#
|
|
688
|
+
# Returns a Files::SiemHttpDestination.
|
|
679
689
|
def self.find(id, params = {}, options = {})
|
|
680
690
|
params ||= {}
|
|
681
691
|
params[:id] = id
|
|
@@ -724,6 +734,11 @@ module Files
|
|
|
724
734
|
# settings_change_send_enabled - boolean - Whether or not sending is enabled for settings_change logs.
|
|
725
735
|
# destination_type (required) - string - Destination Type
|
|
726
736
|
# destination_url - string - Destination Url
|
|
737
|
+
#
|
|
738
|
+
# params:: Hash of API operation parameter values.
|
|
739
|
+
# options:: Hash of optional request configuration passed to Files::Api.send_request.
|
|
740
|
+
#
|
|
741
|
+
# Returns a Files::SiemHttpDestination.
|
|
727
742
|
def self.create(params = {}, options = {})
|
|
728
743
|
raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
|
|
729
744
|
raise InvalidParameterError.new("Bad parameter: additional_headers must be an Hash") if params[:additional_headers] and !params[:additional_headers].is_a?(Hash)
|
|
@@ -786,6 +801,11 @@ module Files
|
|
|
786
801
|
# email_send_enabled - boolean - Whether or not sending is enabled for email logs.
|
|
787
802
|
# exavault_api_request_send_enabled - boolean - Whether or not sending is enabled for exavault_api_request logs.
|
|
788
803
|
# settings_change_send_enabled - boolean - Whether or not sending is enabled for settings_change logs.
|
|
804
|
+
#
|
|
805
|
+
# params:: Hash of API operation parameter values.
|
|
806
|
+
# options:: Hash of optional request configuration passed to Files::Api.send_request.
|
|
807
|
+
#
|
|
808
|
+
# Returns nil.
|
|
789
809
|
def self.send_test_entry(params = {}, options = {})
|
|
790
810
|
raise InvalidParameterError.new("Bad parameter: siem_http_destination_id must be an Integer") if params[:siem_http_destination_id] and !params[:siem_http_destination_id].is_a?(Integer)
|
|
791
811
|
raise InvalidParameterError.new("Bad parameter: destination_type must be an String") if params[:destination_type] and !params[:destination_type].is_a?(String)
|
|
@@ -847,6 +867,11 @@ module Files
|
|
|
847
867
|
# settings_change_send_enabled - boolean - Whether or not sending is enabled for settings_change logs.
|
|
848
868
|
# destination_type - string - Destination Type
|
|
849
869
|
# destination_url - string - Destination Url
|
|
870
|
+
#
|
|
871
|
+
# params:: Hash of API operation parameter values.
|
|
872
|
+
# options:: Hash of optional request configuration passed to Files::Api.send_request.
|
|
873
|
+
#
|
|
874
|
+
# Returns a Files::SiemHttpDestination.
|
|
850
875
|
def self.update(id, params = {}, options = {})
|
|
851
876
|
params ||= {}
|
|
852
877
|
params[:id] = id
|
|
@@ -877,6 +902,10 @@ module Files
|
|
|
877
902
|
SiemHttpDestination.new(response.data, options)
|
|
878
903
|
end
|
|
879
904
|
|
|
905
|
+
# params:: Hash of API operation parameter values.
|
|
906
|
+
# options:: Hash of optional request configuration passed to Files::Api.send_request.
|
|
907
|
+
#
|
|
908
|
+
# Returns nil.
|
|
880
909
|
def self.delete(id, params = {}, options = {})
|
|
881
910
|
params ||= {}
|
|
882
911
|
params[:id] = id
|
|
@@ -58,6 +58,11 @@ module Files
|
|
|
58
58
|
# filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
|
|
59
59
|
# filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
|
|
60
60
|
# filter_lteq - object - If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
|
|
61
|
+
#
|
|
62
|
+
# params:: Hash of API operation parameter values.
|
|
63
|
+
# options:: Hash of optional request configuration passed to Files::Api.send_request.
|
|
64
|
+
#
|
|
65
|
+
# Returns a Files::List of Files::SiemHttpDestinationEvent objects.
|
|
61
66
|
def self.list(params = {}, options = {})
|
|
62
67
|
raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
|
|
63
68
|
raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
|
|
@@ -79,6 +84,11 @@ module Files
|
|
|
79
84
|
|
|
80
85
|
# Parameters:
|
|
81
86
|
# id (required) - int64 - Siem Http Destination Event ID.
|
|
87
|
+
#
|
|
88
|
+
# params:: Hash of API operation parameter values.
|
|
89
|
+
# options:: Hash of optional request configuration passed to Files::Api.send_request.
|
|
90
|
+
#
|
|
91
|
+
# Returns a Files::SiemHttpDestinationEvent.
|
|
82
92
|
def self.find(id, params = {}, options = {})
|
|
83
93
|
params ||= {}
|
|
84
94
|
params[:id] = id
|
|
@@ -1009,11 +1009,19 @@ module Files
|
|
|
1009
1009
|
@attributes[:windows_mode_ftp]
|
|
1010
1010
|
end
|
|
1011
1011
|
|
|
1012
|
+
# params:: Hash of API operation parameter values.
|
|
1013
|
+
# options:: Hash of optional request configuration passed to Files::Api.send_request.
|
|
1014
|
+
#
|
|
1015
|
+
# Returns a Files::Site.
|
|
1012
1016
|
def self.get(params = {}, options = {})
|
|
1013
1017
|
response, options = Api.send_request("/site", :get, params, options) { |reply| reply.require_object("Site") }
|
|
1014
1018
|
Site.new(response.data, options)
|
|
1015
1019
|
end
|
|
1016
1020
|
|
|
1021
|
+
# params:: Hash of API operation parameter values.
|
|
1022
|
+
# options:: Hash of optional request configuration passed to Files::Api.send_request.
|
|
1023
|
+
#
|
|
1024
|
+
# Returns a Files::UsageSnapshot.
|
|
1017
1025
|
def self.get_usage(params = {}, options = {})
|
|
1018
1026
|
response, options = Api.send_request("/site/usage", :get, params, options) { |reply| reply.require_object("UsageSnapshot") }
|
|
1019
1027
|
UsageSnapshot.new(response.data, options)
|
|
@@ -1213,6 +1221,11 @@ module Files
|
|
|
1213
1221
|
# ldap_password_change_confirmation - string - Confirm new LDAP password.
|
|
1214
1222
|
# redirect_old_subdomain - boolean - If true, and if changing the site subdomain, then create a redirect from the previous Files.com subdomain to the new Files.com subdomain.
|
|
1215
1223
|
# smtp_password - string - Password for SMTP server.
|
|
1224
|
+
#
|
|
1225
|
+
# params:: Hash of API operation parameter values.
|
|
1226
|
+
# options:: Hash of optional request configuration passed to Files::Api.send_request.
|
|
1227
|
+
#
|
|
1228
|
+
# Returns a Files::Site.
|
|
1216
1229
|
def self.update(params = {}, options = {})
|
|
1217
1230
|
raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
|
|
1218
1231
|
raise InvalidParameterError.new("Bad parameter: subdomain must be an String") if params[:subdomain] and !params[:subdomain].is_a?(String)
|
|
@@ -48,6 +48,11 @@ module Files
|
|
|
48
48
|
# cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
|
49
49
|
# per_page - int64 - Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
|
|
50
50
|
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `id`.
|
|
51
|
+
#
|
|
52
|
+
# params:: Hash of API operation parameter values.
|
|
53
|
+
# options:: Hash of optional request configuration passed to Files::Api.send_request.
|
|
54
|
+
#
|
|
55
|
+
# Returns a Files::List of Files::SiteSubdomainRedirect objects.
|
|
51
56
|
def self.list(params = {}, options = {})
|
|
52
57
|
raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
|
|
53
58
|
raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
|
|
@@ -64,6 +69,11 @@ module Files
|
|
|
64
69
|
|
|
65
70
|
# Parameters:
|
|
66
71
|
# id (required) - int64 - Site Subdomain Redirect ID.
|
|
72
|
+
#
|
|
73
|
+
# params:: Hash of API operation parameter values.
|
|
74
|
+
# options:: Hash of optional request configuration passed to Files::Api.send_request.
|
|
75
|
+
#
|
|
76
|
+
# Returns a Files::SiteSubdomainRedirect.
|
|
67
77
|
def self.find(id, params = {}, options = {})
|
|
68
78
|
params ||= {}
|
|
69
79
|
params[:id] = id
|
|
@@ -78,6 +88,10 @@ module Files
|
|
|
78
88
|
find(id, params, options)
|
|
79
89
|
end
|
|
80
90
|
|
|
91
|
+
# params:: Hash of API operation parameter values.
|
|
92
|
+
# options:: Hash of optional request configuration passed to Files::Api.send_request.
|
|
93
|
+
#
|
|
94
|
+
# Returns nil.
|
|
81
95
|
def self.delete(id, params = {}, options = {})
|
|
82
96
|
params ||= {}
|
|
83
97
|
params[:id] = id
|
|
@@ -140,6 +140,11 @@ module Files
|
|
|
140
140
|
# Parameters:
|
|
141
141
|
# cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
|
142
142
|
# per_page - int64 - Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
|
|
143
|
+
#
|
|
144
|
+
# params:: Hash of API operation parameter values.
|
|
145
|
+
# options:: Hash of optional request configuration passed to Files::Api.send_request.
|
|
146
|
+
#
|
|
147
|
+
# Returns a Files::List of Files::Snapshot objects.
|
|
143
148
|
def self.list(params = {}, options = {})
|
|
144
149
|
raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
|
|
145
150
|
raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
|
|
@@ -155,6 +160,11 @@ module Files
|
|
|
155
160
|
|
|
156
161
|
# Parameters:
|
|
157
162
|
# id (required) - int64 - Snapshot ID.
|
|
163
|
+
#
|
|
164
|
+
# params:: Hash of API operation parameter values.
|
|
165
|
+
# options:: Hash of optional request configuration passed to Files::Api.send_request.
|
|
166
|
+
#
|
|
167
|
+
# Returns a Files::Snapshot.
|
|
158
168
|
def self.find(id, params = {}, options = {})
|
|
159
169
|
params ||= {}
|
|
160
170
|
params[:id] = id
|
|
@@ -174,6 +184,11 @@ module Files
|
|
|
174
184
|
# name - string - A name for the snapshot.
|
|
175
185
|
# paths - array(string) - An array of paths to add to the snapshot.
|
|
176
186
|
# workspace_id - int64 - Workspace ID. `0` means the default workspace.
|
|
187
|
+
#
|
|
188
|
+
# params:: Hash of API operation parameter values.
|
|
189
|
+
# options:: Hash of optional request configuration passed to Files::Api.send_request.
|
|
190
|
+
#
|
|
191
|
+
# Returns a Files::Snapshot.
|
|
177
192
|
def self.create(params = {}, options = {})
|
|
178
193
|
raise InvalidParameterError.new("Bad parameter: expires_at must be an String") if params[:expires_at] and !params[:expires_at].is_a?(String)
|
|
179
194
|
raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
|
|
@@ -185,6 +200,11 @@ module Files
|
|
|
185
200
|
end
|
|
186
201
|
|
|
187
202
|
# Finalize Snapshot
|
|
203
|
+
#
|
|
204
|
+
# params:: Hash of API operation parameter values.
|
|
205
|
+
# options:: Hash of optional request configuration passed to Files::Api.send_request.
|
|
206
|
+
#
|
|
207
|
+
# Returns nil.
|
|
188
208
|
def self.finalize(id, params = {}, options = {})
|
|
189
209
|
params ||= {}
|
|
190
210
|
params[:id] = id
|
|
@@ -199,6 +219,11 @@ module Files
|
|
|
199
219
|
# expires_at - string - When the snapshot expires.
|
|
200
220
|
# name - string - A name for the snapshot.
|
|
201
221
|
# paths - array(string) - An array of paths to add to the snapshot.
|
|
222
|
+
#
|
|
223
|
+
# params:: Hash of API operation parameter values.
|
|
224
|
+
# options:: Hash of optional request configuration passed to Files::Api.send_request.
|
|
225
|
+
#
|
|
226
|
+
# Returns a Files::Snapshot.
|
|
202
227
|
def self.update(id, params = {}, options = {})
|
|
203
228
|
params ||= {}
|
|
204
229
|
params[:id] = id
|
|
@@ -212,6 +237,10 @@ module Files
|
|
|
212
237
|
Snapshot.new(response.data, options)
|
|
213
238
|
end
|
|
214
239
|
|
|
240
|
+
# params:: Hash of API operation parameter values.
|
|
241
|
+
# options:: Hash of optional request configuration passed to Files::Api.send_request.
|
|
242
|
+
#
|
|
243
|
+
# Returns nil.
|
|
215
244
|
def self.delete(id, params = {}, options = {})
|
|
216
245
|
params ||= {}
|
|
217
246
|
params[:id] = id
|
|
@@ -89,6 +89,11 @@ module Files
|
|
|
89
89
|
# filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `idp_uid`, `ip`, `provider` or `username`.
|
|
90
90
|
# filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
|
|
91
91
|
# filter_lteq - object - If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
|
|
92
|
+
#
|
|
93
|
+
# params:: Hash of API operation parameter values.
|
|
94
|
+
# options:: Hash of optional request configuration passed to Files::Api.send_request.
|
|
95
|
+
#
|
|
96
|
+
# Returns a Files::List of Files::SsoEvent objects.
|
|
92
97
|
def self.list(params = {}, options = {})
|
|
93
98
|
raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
|
|
94
99
|
raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
|
|
@@ -111,6 +116,11 @@ module Files
|
|
|
111
116
|
|
|
112
117
|
# Parameters:
|
|
113
118
|
# id (required) - int64 - Sso Event ID.
|
|
119
|
+
#
|
|
120
|
+
# params:: Hash of API operation parameter values.
|
|
121
|
+
# options:: Hash of optional request configuration passed to Files::Api.send_request.
|
|
122
|
+
#
|
|
123
|
+
# Returns a Files::SsoEvent.
|
|
114
124
|
def self.find(id, params = {}, options = {})
|
|
115
125
|
params ||= {}
|
|
116
126
|
params[:id] = id
|
|
@@ -289,6 +289,11 @@ module Files
|
|
|
289
289
|
# cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
|
290
290
|
# per_page - int64 - Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
|
|
291
291
|
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are .
|
|
292
|
+
#
|
|
293
|
+
# params:: Hash of API operation parameter values.
|
|
294
|
+
# options:: Hash of optional request configuration passed to Files::Api.send_request.
|
|
295
|
+
#
|
|
296
|
+
# Returns a Files::List of Files::SsoStrategy objects.
|
|
292
297
|
def self.list(params = {}, options = {})
|
|
293
298
|
raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
|
|
294
299
|
raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
|
|
@@ -305,6 +310,11 @@ module Files
|
|
|
305
310
|
|
|
306
311
|
# Parameters:
|
|
307
312
|
# id (required) - int64 - Sso Strategy ID.
|
|
313
|
+
#
|
|
314
|
+
# params:: Hash of API operation parameter values.
|
|
315
|
+
# options:: Hash of optional request configuration passed to Files::Api.send_request.
|
|
316
|
+
#
|
|
317
|
+
# Returns a Files::SsoStrategy.
|
|
308
318
|
def self.find(id, params = {}, options = {})
|
|
309
319
|
params ||= {}
|
|
310
320
|
params[:id] = id
|
|
@@ -320,6 +330,11 @@ module Files
|
|
|
320
330
|
end
|
|
321
331
|
|
|
322
332
|
# Synchronize provisioning data with the SSO remote server
|
|
333
|
+
#
|
|
334
|
+
# params:: Hash of API operation parameter values.
|
|
335
|
+
# options:: Hash of optional request configuration passed to Files::Api.send_request.
|
|
336
|
+
#
|
|
337
|
+
# Returns nil.
|
|
323
338
|
def self.sync(id, params = {}, options = {})
|
|
324
339
|
params ||= {}
|
|
325
340
|
params[:id] = id
|
|
@@ -101,6 +101,11 @@ module Files
|
|
|
101
101
|
|
|
102
102
|
# Parameters:
|
|
103
103
|
# path (required) - string - Style path.
|
|
104
|
+
#
|
|
105
|
+
# params:: Hash of API operation parameter values.
|
|
106
|
+
# options:: Hash of optional request configuration passed to Files::Api.send_request.
|
|
107
|
+
#
|
|
108
|
+
# Returns a Files::Style.
|
|
104
109
|
def self.find(path, params = {}, options = {})
|
|
105
110
|
params ||= {}
|
|
106
111
|
params[:path] = path
|
|
@@ -118,6 +123,11 @@ module Files
|
|
|
118
123
|
# Parameters:
|
|
119
124
|
# file - file - Logo for custom branding. Required when creating a new style.
|
|
120
125
|
# logo_click_href - string - URL to open when a public visitor clicks the logo.
|
|
126
|
+
#
|
|
127
|
+
# params:: Hash of API operation parameter values.
|
|
128
|
+
# options:: Hash of optional request configuration passed to Files::Api.send_request.
|
|
129
|
+
#
|
|
130
|
+
# Returns a Files::Style.
|
|
121
131
|
def self.update(path, params = {}, options = {})
|
|
122
132
|
params ||= {}
|
|
123
133
|
params[:path] = path
|
|
@@ -129,6 +139,10 @@ module Files
|
|
|
129
139
|
Style.new(response.data, options)
|
|
130
140
|
end
|
|
131
141
|
|
|
142
|
+
# params:: Hash of API operation parameter values.
|
|
143
|
+
# options:: Hash of optional request configuration passed to Files::Api.send_request.
|
|
144
|
+
#
|
|
145
|
+
# Returns nil.
|
|
132
146
|
def self.delete(path, params = {}, options = {})
|
|
133
147
|
params ||= {}
|
|
134
148
|
params[:path] = path
|
|
@@ -406,6 +406,11 @@ module Files
|
|
|
406
406
|
# per_page - int64 - Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
|
|
407
407
|
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `site_id`, `workspace_id` or `name`.
|
|
408
408
|
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `workspace_id`, `disabled`, `src_remote_server_id` or `dest_remote_server_id`. Valid field combinations are `[ workspace_id, disabled ]`, `[ workspace_id, src_remote_server_id ]`, `[ workspace_id, dest_remote_server_id ]`, `[ disabled, src_remote_server_id ]`, `[ disabled, dest_remote_server_id ]`, `[ workspace_id, disabled, src_remote_server_id ]` or `[ workspace_id, disabled, dest_remote_server_id ]`.
|
|
409
|
+
#
|
|
410
|
+
# params:: Hash of API operation parameter values.
|
|
411
|
+
# options:: Hash of optional request configuration passed to Files::Api.send_request.
|
|
412
|
+
#
|
|
413
|
+
# Returns a Files::List of Files::Sync objects.
|
|
409
414
|
def self.list(params = {}, options = {})
|
|
410
415
|
raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
|
|
411
416
|
raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
|
|
@@ -423,6 +428,11 @@ module Files
|
|
|
423
428
|
|
|
424
429
|
# Parameters:
|
|
425
430
|
# id (required) - int64 - Sync ID.
|
|
431
|
+
#
|
|
432
|
+
# params:: Hash of API operation parameter values.
|
|
433
|
+
# options:: Hash of optional request configuration passed to Files::Api.send_request.
|
|
434
|
+
#
|
|
435
|
+
# Returns a Files::Sync.
|
|
426
436
|
def self.find(id, params = {}, options = {})
|
|
427
437
|
params ||= {}
|
|
428
438
|
params[:id] = id
|
|
@@ -462,6 +472,11 @@ module Files
|
|
|
462
472
|
# trigger_file - string - Some MFT services request an empty file (known as a trigger file) to signal the sync is complete and they can begin further processing. If trigger_file is set, a zero-byte file will be sent at the end of the sync.
|
|
463
473
|
# always_write_trigger_file - boolean - If true, the trigger file will be sent at the end of a successful sync even when no files were transferred.
|
|
464
474
|
# workspace_id - int64 - Workspace ID this sync belongs to
|
|
475
|
+
#
|
|
476
|
+
# params:: Hash of API operation parameter values.
|
|
477
|
+
# options:: Hash of optional request configuration passed to Files::Api.send_request.
|
|
478
|
+
#
|
|
479
|
+
# Returns a Files::Sync.
|
|
465
480
|
def self.create(params = {}, options = {})
|
|
466
481
|
raise InvalidParameterError.new("Bad parameter: description must be an String") if params[:description] and !params[:description].is_a?(String)
|
|
467
482
|
raise InvalidParameterError.new("Bad parameter: dest_path must be an String") if params[:dest_path] and !params[:dest_path].is_a?(String)
|
|
@@ -489,6 +504,11 @@ module Files
|
|
|
489
504
|
end
|
|
490
505
|
|
|
491
506
|
# Dry Run Sync
|
|
507
|
+
#
|
|
508
|
+
# params:: Hash of API operation parameter values.
|
|
509
|
+
# options:: Hash of optional request configuration passed to Files::Api.send_request.
|
|
510
|
+
#
|
|
511
|
+
# Returns nil.
|
|
492
512
|
def self.dry_run(id, params = {}, options = {})
|
|
493
513
|
params ||= {}
|
|
494
514
|
params[:id] = id
|
|
@@ -500,6 +520,11 @@ module Files
|
|
|
500
520
|
end
|
|
501
521
|
|
|
502
522
|
# Manually Run Sync
|
|
523
|
+
#
|
|
524
|
+
# params:: Hash of API operation parameter values.
|
|
525
|
+
# options:: Hash of optional request configuration passed to Files::Api.send_request.
|
|
526
|
+
#
|
|
527
|
+
# Returns nil.
|
|
503
528
|
def self.manual_run(id, params = {}, options = {})
|
|
504
529
|
params ||= {}
|
|
505
530
|
params[:id] = id
|
|
@@ -534,6 +559,11 @@ module Files
|
|
|
534
559
|
# trigger - string - Trigger type: daily, custom_schedule, or manual
|
|
535
560
|
# trigger_file - string - Some MFT services request an empty file (known as a trigger file) to signal the sync is complete and they can begin further processing. If trigger_file is set, a zero-byte file will be sent at the end of the sync.
|
|
536
561
|
# always_write_trigger_file - boolean - If true, the trigger file will be sent at the end of a successful sync even when no files were transferred.
|
|
562
|
+
#
|
|
563
|
+
# params:: Hash of API operation parameter values.
|
|
564
|
+
# options:: Hash of optional request configuration passed to Files::Api.send_request.
|
|
565
|
+
#
|
|
566
|
+
# Returns a Files::Sync.
|
|
537
567
|
def self.update(id, params = {}, options = {})
|
|
538
568
|
params ||= {}
|
|
539
569
|
params[:id] = id
|
|
@@ -563,6 +593,10 @@ module Files
|
|
|
563
593
|
Sync.new(response.data, options)
|
|
564
594
|
end
|
|
565
595
|
|
|
596
|
+
# params:: Hash of API operation parameter values.
|
|
597
|
+
# options:: Hash of optional request configuration passed to Files::Api.send_request.
|
|
598
|
+
#
|
|
599
|
+
# Returns nil.
|
|
566
600
|
def self.delete(id, params = {}, options = {})
|
|
567
601
|
params ||= {}
|
|
568
602
|
params[:id] = id
|
|
@@ -77,6 +77,11 @@ module Files
|
|
|
77
77
|
# filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`. Valid field combinations are `[ external_event_id ]`, `[ operation ]`, `[ status ]`, `[ sync_id ]`, `[ created_at ]`, `[ sync_run_id ]`, `[ external_event_id, operation ]`, `[ external_event_id, status ]`, `[ external_event_id, sync_id ]`, `[ external_event_id, created_at ]`, `[ external_event_id, sync_run_id ]`, `[ operation, status ]`, `[ operation, sync_id ]`, `[ operation, created_at ]`, `[ operation, sync_run_id ]`, `[ status, sync_id ]`, `[ status, created_at ]`, `[ status, sync_run_id ]`, `[ sync_id, created_at ]`, `[ sync_id, sync_run_id ]`, `[ created_at, sync_run_id ]`, `[ external_event_id, operation, status ]`, `[ external_event_id, operation, sync_id ]`, `[ external_event_id, operation, created_at ]`, `[ external_event_id, operation, sync_run_id ]`, `[ external_event_id, status, sync_id ]`, `[ external_event_id, status, created_at ]`, `[ external_event_id, status, sync_run_id ]`, `[ external_event_id, sync_id, created_at ]`, `[ external_event_id, sync_id, sync_run_id ]`, `[ external_event_id, created_at, sync_run_id ]`, `[ operation, status, sync_id ]`, `[ operation, status, created_at ]`, `[ operation, status, sync_run_id ]`, `[ operation, sync_id, created_at ]`, `[ operation, sync_id, sync_run_id ]`, `[ operation, created_at, sync_run_id ]`, `[ status, sync_id, created_at ]`, `[ status, sync_id, sync_run_id ]`, `[ status, created_at, sync_run_id ]`, `[ sync_id, created_at, sync_run_id ]`, `[ external_event_id, operation, status, sync_id ]`, `[ external_event_id, operation, status, created_at ]`, `[ external_event_id, operation, status, sync_run_id ]`, `[ external_event_id, operation, sync_id, created_at ]`, `[ external_event_id, operation, sync_id, sync_run_id ]`, `[ external_event_id, operation, created_at, sync_run_id ]`, `[ external_event_id, status, sync_id, created_at ]`, `[ external_event_id, status, sync_id, sync_run_id ]`, `[ external_event_id, status, created_at, sync_run_id ]`, `[ external_event_id, sync_id, created_at, sync_run_id ]`, `[ operation, status, sync_id, created_at ]`, `[ operation, status, sync_id, sync_run_id ]`, `[ operation, status, created_at, sync_run_id ]`, `[ operation, sync_id, created_at, sync_run_id ]`, `[ status, sync_id, created_at, sync_run_id ]`, `[ external_event_id, operation, status, sync_id, created_at ]`, `[ external_event_id, operation, status, sync_id, sync_run_id ]`, `[ external_event_id, operation, status, created_at, sync_run_id ]`, `[ external_event_id, operation, sync_id, created_at, sync_run_id ]`, `[ external_event_id, status, sync_id, created_at, sync_run_id ]`, `[ operation, status, sync_id, created_at, sync_run_id ]` or `[ external_event_id, operation, status, sync_id, created_at, sync_run_id ]`.
|
|
78
78
|
# filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`. Valid field combinations are `[ external_event_id ]`, `[ operation ]`, `[ status ]`, `[ sync_id ]`, `[ created_at ]`, `[ sync_run_id ]`, `[ external_event_id, operation ]`, `[ external_event_id, status ]`, `[ external_event_id, sync_id ]`, `[ external_event_id, created_at ]`, `[ external_event_id, sync_run_id ]`, `[ operation, status ]`, `[ operation, sync_id ]`, `[ operation, created_at ]`, `[ operation, sync_run_id ]`, `[ status, sync_id ]`, `[ status, created_at ]`, `[ status, sync_run_id ]`, `[ sync_id, created_at ]`, `[ sync_id, sync_run_id ]`, `[ created_at, sync_run_id ]`, `[ external_event_id, operation, status ]`, `[ external_event_id, operation, sync_id ]`, `[ external_event_id, operation, created_at ]`, `[ external_event_id, operation, sync_run_id ]`, `[ external_event_id, status, sync_id ]`, `[ external_event_id, status, created_at ]`, `[ external_event_id, status, sync_run_id ]`, `[ external_event_id, sync_id, created_at ]`, `[ external_event_id, sync_id, sync_run_id ]`, `[ external_event_id, created_at, sync_run_id ]`, `[ operation, status, sync_id ]`, `[ operation, status, created_at ]`, `[ operation, status, sync_run_id ]`, `[ operation, sync_id, created_at ]`, `[ operation, sync_id, sync_run_id ]`, `[ operation, created_at, sync_run_id ]`, `[ status, sync_id, created_at ]`, `[ status, sync_id, sync_run_id ]`, `[ status, created_at, sync_run_id ]`, `[ sync_id, created_at, sync_run_id ]`, `[ external_event_id, operation, status, sync_id ]`, `[ external_event_id, operation, status, created_at ]`, `[ external_event_id, operation, status, sync_run_id ]`, `[ external_event_id, operation, sync_id, created_at ]`, `[ external_event_id, operation, sync_id, sync_run_id ]`, `[ external_event_id, operation, created_at, sync_run_id ]`, `[ external_event_id, status, sync_id, created_at ]`, `[ external_event_id, status, sync_id, sync_run_id ]`, `[ external_event_id, status, created_at, sync_run_id ]`, `[ external_event_id, sync_id, created_at, sync_run_id ]`, `[ operation, status, sync_id, created_at ]`, `[ operation, status, sync_id, sync_run_id ]`, `[ operation, status, created_at, sync_run_id ]`, `[ operation, sync_id, created_at, sync_run_id ]`, `[ status, sync_id, created_at, sync_run_id ]`, `[ external_event_id, operation, status, sync_id, created_at ]`, `[ external_event_id, operation, status, sync_id, sync_run_id ]`, `[ external_event_id, operation, status, created_at, sync_run_id ]`, `[ external_event_id, operation, sync_id, created_at, sync_run_id ]`, `[ external_event_id, status, sync_id, created_at, sync_run_id ]`, `[ operation, status, sync_id, created_at, sync_run_id ]` or `[ external_event_id, operation, status, sync_id, created_at, sync_run_id ]`.
|
|
79
79
|
# filter_lteq - object - If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`. Valid field combinations are `[ external_event_id ]`, `[ operation ]`, `[ status ]`, `[ sync_id ]`, `[ created_at ]`, `[ sync_run_id ]`, `[ external_event_id, operation ]`, `[ external_event_id, status ]`, `[ external_event_id, sync_id ]`, `[ external_event_id, created_at ]`, `[ external_event_id, sync_run_id ]`, `[ operation, status ]`, `[ operation, sync_id ]`, `[ operation, created_at ]`, `[ operation, sync_run_id ]`, `[ status, sync_id ]`, `[ status, created_at ]`, `[ status, sync_run_id ]`, `[ sync_id, created_at ]`, `[ sync_id, sync_run_id ]`, `[ created_at, sync_run_id ]`, `[ external_event_id, operation, status ]`, `[ external_event_id, operation, sync_id ]`, `[ external_event_id, operation, created_at ]`, `[ external_event_id, operation, sync_run_id ]`, `[ external_event_id, status, sync_id ]`, `[ external_event_id, status, created_at ]`, `[ external_event_id, status, sync_run_id ]`, `[ external_event_id, sync_id, created_at ]`, `[ external_event_id, sync_id, sync_run_id ]`, `[ external_event_id, created_at, sync_run_id ]`, `[ operation, status, sync_id ]`, `[ operation, status, created_at ]`, `[ operation, status, sync_run_id ]`, `[ operation, sync_id, created_at ]`, `[ operation, sync_id, sync_run_id ]`, `[ operation, created_at, sync_run_id ]`, `[ status, sync_id, created_at ]`, `[ status, sync_id, sync_run_id ]`, `[ status, created_at, sync_run_id ]`, `[ sync_id, created_at, sync_run_id ]`, `[ external_event_id, operation, status, sync_id ]`, `[ external_event_id, operation, status, created_at ]`, `[ external_event_id, operation, status, sync_run_id ]`, `[ external_event_id, operation, sync_id, created_at ]`, `[ external_event_id, operation, sync_id, sync_run_id ]`, `[ external_event_id, operation, created_at, sync_run_id ]`, `[ external_event_id, status, sync_id, created_at ]`, `[ external_event_id, status, sync_id, sync_run_id ]`, `[ external_event_id, status, created_at, sync_run_id ]`, `[ external_event_id, sync_id, created_at, sync_run_id ]`, `[ operation, status, sync_id, created_at ]`, `[ operation, status, sync_id, sync_run_id ]`, `[ operation, status, created_at, sync_run_id ]`, `[ operation, sync_id, created_at, sync_run_id ]`, `[ status, sync_id, created_at, sync_run_id ]`, `[ external_event_id, operation, status, sync_id, created_at ]`, `[ external_event_id, operation, status, sync_id, sync_run_id ]`, `[ external_event_id, operation, status, created_at, sync_run_id ]`, `[ external_event_id, operation, sync_id, created_at, sync_run_id ]`, `[ external_event_id, status, sync_id, created_at, sync_run_id ]`, `[ operation, status, sync_id, created_at, sync_run_id ]` or `[ external_event_id, operation, status, sync_id, created_at, sync_run_id ]`.
|
|
80
|
+
#
|
|
81
|
+
# params:: Hash of API operation parameter values.
|
|
82
|
+
# options:: Hash of optional request configuration passed to Files::Api.send_request.
|
|
83
|
+
#
|
|
84
|
+
# Returns a Files::List of Files::SyncLog objects.
|
|
80
85
|
def self.list(params = {}, options = {})
|
|
81
86
|
raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
|
|
82
87
|
raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
|
|
@@ -134,6 +134,11 @@ module Files
|
|
|
134
134
|
# filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
|
|
135
135
|
# filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
|
|
136
136
|
# filter_lteq - object - If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
|
|
137
|
+
#
|
|
138
|
+
# params:: Hash of API operation parameter values.
|
|
139
|
+
# options:: Hash of optional request configuration passed to Files::Api.send_request.
|
|
140
|
+
#
|
|
141
|
+
# Returns a Files::List of Files::SyncRun objects.
|
|
137
142
|
def self.list(params = {}, options = {})
|
|
138
143
|
raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params[:user_id] and !params[:user_id].is_a?(Integer)
|
|
139
144
|
raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
|
|
@@ -156,6 +161,11 @@ module Files
|
|
|
156
161
|
|
|
157
162
|
# Parameters:
|
|
158
163
|
# id (required) - int64 - Sync Run ID.
|
|
164
|
+
#
|
|
165
|
+
# params:: Hash of API operation parameter values.
|
|
166
|
+
# options:: Hash of optional request configuration passed to Files::Api.send_request.
|
|
167
|
+
#
|
|
168
|
+
# Returns a Files::SyncRun.
|
|
159
169
|
def self.find(id, params = {}, options = {})
|
|
160
170
|
params ||= {}
|
|
161
171
|
params[:id] = id
|
|
@@ -78,6 +78,11 @@ module Files
|
|
|
78
78
|
# filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `date`.
|
|
79
79
|
# filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `date`.
|
|
80
80
|
# filter_lteq - object - If set, return records where the specified field is less than or equal the supplied value. Valid fields are `date`.
|
|
81
|
+
#
|
|
82
|
+
# params:: Hash of API operation parameter values.
|
|
83
|
+
# options:: Hash of optional request configuration passed to Files::Api.send_request.
|
|
84
|
+
#
|
|
85
|
+
# Returns a Files::List of Files::UsageDailySnapshot objects.
|
|
81
86
|
def self.list(params = {}, options = {})
|
|
82
87
|
raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
|
|
83
88
|
raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
|
|
@@ -92,6 +92,11 @@ module Files
|
|
|
92
92
|
# Parameters:
|
|
93
93
|
# cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
|
94
94
|
# per_page - int64 - Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
|
|
95
|
+
#
|
|
96
|
+
# params:: Hash of API operation parameter values.
|
|
97
|
+
# options:: Hash of optional request configuration passed to Files::Api.send_request.
|
|
98
|
+
#
|
|
99
|
+
# Returns a Files::List of Files::UsageSnapshot objects.
|
|
95
100
|
def self.list(params = {}, options = {})
|
|
96
101
|
raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
|
|
97
102
|
raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
|
|
@@ -1111,6 +1111,11 @@ module Files
|
|
|
1111
1111
|
# ids - string - comma-separated list of User IDs
|
|
1112
1112
|
# include_parent_site_users - boolean - Include users from the parent site.
|
|
1113
1113
|
# search - string - Searches for partial matches of name, username, or email.
|
|
1114
|
+
#
|
|
1115
|
+
# params:: Hash of API operation parameter values.
|
|
1116
|
+
# options:: Hash of optional request configuration passed to Files::Api.send_request.
|
|
1117
|
+
#
|
|
1118
|
+
# Returns a Files::List of Files::User objects.
|
|
1114
1119
|
def self.list(params = {}, options = {})
|
|
1115
1120
|
raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
|
|
1116
1121
|
raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
|
|
@@ -1135,6 +1140,11 @@ module Files
|
|
|
1135
1140
|
|
|
1136
1141
|
# Parameters:
|
|
1137
1142
|
# id (required) - int64 - User ID.
|
|
1143
|
+
#
|
|
1144
|
+
# params:: Hash of API operation parameter values.
|
|
1145
|
+
# options:: Hash of optional request configuration passed to Files::Api.send_request.
|
|
1146
|
+
#
|
|
1147
|
+
# Returns a Files::User.
|
|
1138
1148
|
def self.find(id, params = {}, options = {})
|
|
1139
1149
|
params ||= {}
|
|
1140
1150
|
params[:id] = id
|
|
@@ -1219,6 +1229,11 @@ module Files
|
|
|
1219
1229
|
# workspace_admin - boolean - Whether the user is an administrator of their own Custom Workspace. Does not reflect administration granted through Permissions.
|
|
1220
1230
|
# username (required) - string - User's username
|
|
1221
1231
|
# workspace_id - int64 - ID of the Workspace the user belongs to. 0 is the Default Workspace.
|
|
1232
|
+
#
|
|
1233
|
+
# params:: Hash of API operation parameter values.
|
|
1234
|
+
# options:: Hash of optional request configuration passed to Files::Api.send_request.
|
|
1235
|
+
#
|
|
1236
|
+
# Returns a Files::User.
|
|
1222
1237
|
def self.create(params = {}, options = {})
|
|
1223
1238
|
raise InvalidParameterError.new("Bad parameter: change_password must be an String") if params[:change_password] and !params[:change_password].is_a?(String)
|
|
1224
1239
|
raise InvalidParameterError.new("Bad parameter: change_password_confirmation must be an String") if params[:change_password_confirmation] and !params[:change_password_confirmation].is_a?(String)
|
|
@@ -1265,6 +1280,11 @@ module Files
|
|
|
1265
1280
|
end
|
|
1266
1281
|
|
|
1267
1282
|
# Unlock user who has been locked out due to failed logins
|
|
1283
|
+
#
|
|
1284
|
+
# params:: Hash of API operation parameter values.
|
|
1285
|
+
# options:: Hash of optional request configuration passed to Files::Api.send_request.
|
|
1286
|
+
#
|
|
1287
|
+
# Returns nil.
|
|
1268
1288
|
def self.unlock(id, params = {}, options = {})
|
|
1269
1289
|
params ||= {}
|
|
1270
1290
|
params[:id] = id
|
|
@@ -1276,6 +1296,11 @@ module Files
|
|
|
1276
1296
|
end
|
|
1277
1297
|
|
|
1278
1298
|
# Resend user welcome email
|
|
1299
|
+
#
|
|
1300
|
+
# params:: Hash of API operation parameter values.
|
|
1301
|
+
# options:: Hash of optional request configuration passed to Files::Api.send_request.
|
|
1302
|
+
#
|
|
1303
|
+
# Returns nil.
|
|
1279
1304
|
def self.resend_welcome_email(id, params = {}, options = {})
|
|
1280
1305
|
params ||= {}
|
|
1281
1306
|
params[:id] = id
|
|
@@ -1287,6 +1312,11 @@ module Files
|
|
|
1287
1312
|
end
|
|
1288
1313
|
|
|
1289
1314
|
# Trigger 2FA Reset process for user who has lost access to their existing 2FA methods
|
|
1315
|
+
#
|
|
1316
|
+
# params:: Hash of API operation parameter values.
|
|
1317
|
+
# options:: Hash of optional request configuration passed to Files::Api.send_request.
|
|
1318
|
+
#
|
|
1319
|
+
# Returns nil.
|
|
1290
1320
|
def self.user_2fa_reset(id, params = {}, options = {})
|
|
1291
1321
|
params ||= {}
|
|
1292
1322
|
params[:id] = id
|
|
@@ -1369,6 +1399,11 @@ module Files
|
|
|
1369
1399
|
# workspace_id - int64 - Workspace ID. Only Site Administrators can change this field. Values supplied by Workspace Administrators, Group Administrators, or other non-Site Administrators using `/user` are ignored.
|
|
1370
1400
|
# clear_2fa - boolean - If true when changing authentication_method from `password` to `sso`, remove all two-factor methods. Ignored in all other cases.
|
|
1371
1401
|
# convert_to_partner_user - boolean - Required when assigning a Partner to an existing non-Partner user. If true, convert the user by assigning the partner_id provided.
|
|
1402
|
+
#
|
|
1403
|
+
# params:: Hash of API operation parameter values.
|
|
1404
|
+
# options:: Hash of optional request configuration passed to Files::Api.send_request.
|
|
1405
|
+
#
|
|
1406
|
+
# Returns a Files::User.
|
|
1372
1407
|
def self.update(id, params = {}, options = {})
|
|
1373
1408
|
params ||= {}
|
|
1374
1409
|
params[:id] = id
|
|
@@ -1419,6 +1454,11 @@ module Files
|
|
|
1419
1454
|
|
|
1420
1455
|
# Parameters:
|
|
1421
1456
|
# new_owner_id - int64 - Provide a User ID here to transfer ownership of certain resources such as Automations and Share Links (Bundles) to that new user.
|
|
1457
|
+
#
|
|
1458
|
+
# params:: Hash of API operation parameter values.
|
|
1459
|
+
# options:: Hash of optional request configuration passed to Files::Api.send_request.
|
|
1460
|
+
#
|
|
1461
|
+
# Returns nil.
|
|
1422
1462
|
def self.delete(id, params = {}, options = {})
|
|
1423
1463
|
params ||= {}
|
|
1424
1464
|
params[:id] = id
|