oci 2.3.9 → 2.4.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6c9be357d44ca3ff14bd2742a4f59de3b977101084785a19a0d689332dc82376
4
- data.tar.gz: 04b5b5d5a6bd3d9143f9273b4b52cf946c8df386362e2f4e317007c5e5049968
3
+ metadata.gz: a6404f7c7a6a457a557341b7d6d43a73383b0d0a66b1be11e1362152cb2a8726
4
+ data.tar.gz: e8b451bdc8b5bb774e5545ea8f8aa084d1c2035f651a5407b0a6748bf0a221eb
5
5
  SHA512:
6
- metadata.gz: 4d4110027809db3042539fe72f4e5a538d70450f2f7bc20150e8f8e42d1b5175da96b30dd2954c04172f2cf4dd7a3424cf1baaa8af749c658e4b94aee480a924
7
- data.tar.gz: fead555be5912a1c9256145645cb517d9798993dca57cabb862d3848f79250969aaf5bb6571b2afc5cb6ec304fd78d59ae1626fb2a3bc0c1854aa721d30cba84
6
+ metadata.gz: 1cf2ade24b060a6ef3c4e117e3a5a857e817d18b939270630a3dc09fef8c649f70b22aa1b4045126059e06fb585fd655ed4dc4b26d938c1ebd6564eb7fda4106
7
+ data.tar.gz: 4efca99533b277181bf6eee42fde010f81eed92b05cfad664386e4354413d9b3a78b6f53b14a6d778fa56392876a30cf9021c0594982a35c516899357bf1a942
data/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  # Oracle Cloud Infrastructure Ruby SDK
2
- **Version 2.3.9**
2
+ **Version 2.4.0**
3
3
 
4
4
  This topic describes how to install, configure, and use the Oracle Cloud Infrastructure Ruby SDK.
5
5
 
@@ -14,6 +14,11 @@ module OCI
14
14
  # @return [Hash<String, Hash<String, Object>>]
15
15
  attr_accessor :defined_tags
16
16
 
17
+ # The OCID of the set of DHCP options the subnet will use.
18
+ #
19
+ # @return [String]
20
+ attr_accessor :dhcp_options_id
21
+
17
22
  # A user-friendly name. Does not have to be unique, and it's changeable.
18
23
  # Avoid entering confidential information.
19
24
  #
@@ -29,13 +34,29 @@ module OCI
29
34
  # @return [Hash<String, String>]
30
35
  attr_accessor :freeform_tags
31
36
 
37
+ # The OCID of the route table the subnet will use.
38
+ #
39
+ # @return [String]
40
+ attr_accessor :route_table_id
41
+
42
+ # The OCIDs of the security list or lists the subnet will use. This
43
+ # replaces the entire current set of security lists. Remember that
44
+ # security lists are associated *with the subnet*, but the rules are
45
+ # applied to the individual VNICs in the subnet.
46
+ #
47
+ # @return [Array<String>]
48
+ attr_accessor :security_list_ids
49
+
32
50
  # Attribute mapping from ruby-style variable name to JSON key.
33
51
  def self.attribute_map
34
52
  {
35
53
  # rubocop:disable Style/SymbolLiteral
36
54
  'defined_tags': :'definedTags',
55
+ 'dhcp_options_id': :'dhcpOptionsId',
37
56
  'display_name': :'displayName',
38
- 'freeform_tags': :'freeformTags'
57
+ 'freeform_tags': :'freeformTags',
58
+ 'route_table_id': :'routeTableId',
59
+ 'security_list_ids': :'securityListIds'
39
60
  # rubocop:enable Style/SymbolLiteral
40
61
  }
41
62
  end
@@ -45,8 +66,11 @@ module OCI
45
66
  {
46
67
  # rubocop:disable Style/SymbolLiteral
47
68
  'defined_tags': :'Hash<String, Hash<String, Object>>',
69
+ 'dhcp_options_id': :'String',
48
70
  'display_name': :'String',
49
- 'freeform_tags': :'Hash<String, String>'
71
+ 'freeform_tags': :'Hash<String, String>',
72
+ 'route_table_id': :'String',
73
+ 'security_list_ids': :'Array<String>'
50
74
  # rubocop:enable Style/SymbolLiteral
51
75
  }
52
76
  end
@@ -58,8 +82,11 @@ module OCI
58
82
  # Initializes the object
59
83
  # @param [Hash] attributes Model attributes in the form of hash
60
84
  # @option attributes [Hash<String, Hash<String, Object>>] :defined_tags The value to assign to the {#defined_tags} property
85
+ # @option attributes [String] :dhcp_options_id The value to assign to the {#dhcp_options_id} property
61
86
  # @option attributes [String] :display_name The value to assign to the {#display_name} property
62
87
  # @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {#freeform_tags} property
88
+ # @option attributes [String] :route_table_id The value to assign to the {#route_table_id} property
89
+ # @option attributes [Array<String>] :security_list_ids The value to assign to the {#security_list_ids} property
63
90
  def initialize(attributes = {})
64
91
  return unless attributes.is_a?(Hash)
65
92
 
@@ -72,6 +99,12 @@ module OCI
72
99
 
73
100
  self.defined_tags = attributes[:'defined_tags'] if attributes[:'defined_tags']
74
101
 
102
+ self.dhcp_options_id = attributes[:'dhcpOptionsId'] if attributes[:'dhcpOptionsId']
103
+
104
+ raise 'You cannot provide both :dhcpOptionsId and :dhcp_options_id' if attributes.key?(:'dhcpOptionsId') && attributes.key?(:'dhcp_options_id')
105
+
106
+ self.dhcp_options_id = attributes[:'dhcp_options_id'] if attributes[:'dhcp_options_id']
107
+
75
108
  self.display_name = attributes[:'displayName'] if attributes[:'displayName']
76
109
 
77
110
  raise 'You cannot provide both :displayName and :display_name' if attributes.key?(:'displayName') && attributes.key?(:'display_name')
@@ -83,6 +116,18 @@ module OCI
83
116
  raise 'You cannot provide both :freeformTags and :freeform_tags' if attributes.key?(:'freeformTags') && attributes.key?(:'freeform_tags')
84
117
 
85
118
  self.freeform_tags = attributes[:'freeform_tags'] if attributes[:'freeform_tags']
119
+
120
+ self.route_table_id = attributes[:'routeTableId'] if attributes[:'routeTableId']
121
+
122
+ raise 'You cannot provide both :routeTableId and :route_table_id' if attributes.key?(:'routeTableId') && attributes.key?(:'route_table_id')
123
+
124
+ self.route_table_id = attributes[:'route_table_id'] if attributes[:'route_table_id']
125
+
126
+ self.security_list_ids = attributes[:'securityListIds'] if attributes[:'securityListIds']
127
+
128
+ raise 'You cannot provide both :securityListIds and :security_list_ids' if attributes.key?(:'securityListIds') && attributes.key?(:'security_list_ids')
129
+
130
+ self.security_list_ids = attributes[:'security_list_ids'] if attributes[:'security_list_ids']
86
131
  end
87
132
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
88
133
  # rubocop:enable Metrics/LineLength, Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
@@ -97,8 +142,11 @@ module OCI
97
142
 
98
143
  self.class == other.class &&
99
144
  defined_tags == other.defined_tags &&
145
+ dhcp_options_id == other.dhcp_options_id &&
100
146
  display_name == other.display_name &&
101
- freeform_tags == other.freeform_tags
147
+ freeform_tags == other.freeform_tags &&
148
+ route_table_id == other.route_table_id &&
149
+ security_list_ids == other.security_list_ids
102
150
  end
103
151
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Metrics/LineLength, Layout/EmptyLines
104
152
 
@@ -114,7 +162,7 @@ module OCI
114
162
  # Calculates hash code according to all attributes.
115
163
  # @return [Fixnum] Hash code
116
164
  def hash
117
- [defined_tags, display_name, freeform_tags].hash
165
+ [defined_tags, dhcp_options_id, display_name, freeform_tags, route_table_id, security_list_ids].hash
118
166
  end
119
167
  # rubocop:enable Metrics/AbcSize, Metrics/LineLength, Layout/EmptyLines
120
168
 
@@ -55,7 +55,7 @@ module OCI
55
55
  # The size of the database in gigabytes at the time the backup was taken.
56
56
  #
57
57
  # @return [Float]
58
- attr_accessor :database_size_in_g_bs
58
+ attr_accessor :database_size_in_gbs
59
59
 
60
60
  # The user-friendly name for the backup. The name does not have to be unique.
61
61
  # @return [String]
@@ -93,7 +93,7 @@ module OCI
93
93
  'compartment_id': :'compartmentId',
94
94
  'database_edition': :'databaseEdition',
95
95
  'database_id': :'databaseId',
96
- 'database_size_in_g_bs': :'databaseSizeInGBs',
96
+ 'database_size_in_gbs': :'databaseSizeInGBs',
97
97
  'display_name': :'displayName',
98
98
  'id': :'id',
99
99
  'lifecycle_details': :'lifecycleDetails',
@@ -113,7 +113,7 @@ module OCI
113
113
  'compartment_id': :'String',
114
114
  'database_edition': :'String',
115
115
  'database_id': :'String',
116
- 'database_size_in_g_bs': :'Float',
116
+ 'database_size_in_gbs': :'Float',
117
117
  'display_name': :'String',
118
118
  'id': :'String',
119
119
  'lifecycle_details': :'String',
@@ -135,7 +135,7 @@ module OCI
135
135
  # @option attributes [String] :compartment_id The value to assign to the {#compartment_id} property
136
136
  # @option attributes [String] :database_edition The value to assign to the {#database_edition} property
137
137
  # @option attributes [String] :database_id The value to assign to the {#database_id} property
138
- # @option attributes [Float] :database_size_in_g_bs The value to assign to the {#database_size_in_g_bs} property
138
+ # @option attributes [Float] :database_size_in_gbs The value to assign to the {#database_size_in_gbs} property
139
139
  # @option attributes [String] :display_name The value to assign to the {#display_name} property
140
140
  # @option attributes [String] :id The value to assign to the {#id} property
141
141
  # @option attributes [String] :lifecycle_details The value to assign to the {#lifecycle_details} property
@@ -173,11 +173,11 @@ module OCI
173
173
 
174
174
  self.database_id = attributes[:'database_id'] if attributes[:'database_id']
175
175
 
176
- self.database_size_in_g_bs = attributes[:'databaseSizeInGBs'] if attributes[:'databaseSizeInGBs']
176
+ self.database_size_in_gbs = attributes[:'databaseSizeInGBs'] if attributes[:'databaseSizeInGBs']
177
177
 
178
- raise 'You cannot provide both :databaseSizeInGBs and :database_size_in_g_bs' if attributes.key?(:'databaseSizeInGBs') && attributes.key?(:'database_size_in_g_bs')
178
+ raise 'You cannot provide both :databaseSizeInGBs and :database_size_in_gbs' if attributes.key?(:'databaseSizeInGBs') && attributes.key?(:'database_size_in_gbs')
179
179
 
180
- self.database_size_in_g_bs = attributes[:'database_size_in_g_bs'] if attributes[:'database_size_in_g_bs']
180
+ self.database_size_in_gbs = attributes[:'database_size_in_gbs'] if attributes[:'database_size_in_gbs']
181
181
 
182
182
  self.display_name = attributes[:'displayName'] if attributes[:'displayName']
183
183
 
@@ -274,7 +274,7 @@ module OCI
274
274
  compartment_id == other.compartment_id &&
275
275
  database_edition == other.database_edition &&
276
276
  database_id == other.database_id &&
277
- database_size_in_g_bs == other.database_size_in_g_bs &&
277
+ database_size_in_gbs == other.database_size_in_gbs &&
278
278
  display_name == other.display_name &&
279
279
  id == other.id &&
280
280
  lifecycle_details == other.lifecycle_details &&
@@ -297,7 +297,7 @@ module OCI
297
297
  # Calculates hash code according to all attributes.
298
298
  # @return [Fixnum] Hash code
299
299
  def hash
300
- [availability_domain, compartment_id, database_edition, database_id, database_size_in_g_bs, display_name, id, lifecycle_details, lifecycle_state, time_ended, time_started, type].hash
300
+ [availability_domain, compartment_id, database_edition, database_id, database_size_in_gbs, display_name, id, lifecycle_details, lifecycle_state, time_ended, time_started, type].hash
301
301
  end
302
302
  # rubocop:enable Metrics/AbcSize, Metrics/LineLength, Layout/EmptyLines
303
303
 
@@ -55,7 +55,7 @@ module OCI
55
55
  # The size of the database in gigabytes at the time the backup was taken.
56
56
  #
57
57
  # @return [Float]
58
- attr_accessor :database_size_in_g_bs
58
+ attr_accessor :database_size_in_gbs
59
59
 
60
60
  # The user-friendly name for the backup. The name does not have to be unique.
61
61
  # @return [String]
@@ -93,7 +93,7 @@ module OCI
93
93
  'compartment_id': :'compartmentId',
94
94
  'database_edition': :'databaseEdition',
95
95
  'database_id': :'databaseId',
96
- 'database_size_in_g_bs': :'databaseSizeInGBs',
96
+ 'database_size_in_gbs': :'databaseSizeInGBs',
97
97
  'display_name': :'displayName',
98
98
  'id': :'id',
99
99
  'lifecycle_details': :'lifecycleDetails',
@@ -113,7 +113,7 @@ module OCI
113
113
  'compartment_id': :'String',
114
114
  'database_edition': :'String',
115
115
  'database_id': :'String',
116
- 'database_size_in_g_bs': :'Float',
116
+ 'database_size_in_gbs': :'Float',
117
117
  'display_name': :'String',
118
118
  'id': :'String',
119
119
  'lifecycle_details': :'String',
@@ -135,7 +135,7 @@ module OCI
135
135
  # @option attributes [String] :compartment_id The value to assign to the {#compartment_id} property
136
136
  # @option attributes [String] :database_edition The value to assign to the {#database_edition} property
137
137
  # @option attributes [String] :database_id The value to assign to the {#database_id} property
138
- # @option attributes [Float] :database_size_in_g_bs The value to assign to the {#database_size_in_g_bs} property
138
+ # @option attributes [Float] :database_size_in_gbs The value to assign to the {#database_size_in_gbs} property
139
139
  # @option attributes [String] :display_name The value to assign to the {#display_name} property
140
140
  # @option attributes [String] :id The value to assign to the {#id} property
141
141
  # @option attributes [String] :lifecycle_details The value to assign to the {#lifecycle_details} property
@@ -173,11 +173,11 @@ module OCI
173
173
 
174
174
  self.database_id = attributes[:'database_id'] if attributes[:'database_id']
175
175
 
176
- self.database_size_in_g_bs = attributes[:'databaseSizeInGBs'] if attributes[:'databaseSizeInGBs']
176
+ self.database_size_in_gbs = attributes[:'databaseSizeInGBs'] if attributes[:'databaseSizeInGBs']
177
177
 
178
- raise 'You cannot provide both :databaseSizeInGBs and :database_size_in_g_bs' if attributes.key?(:'databaseSizeInGBs') && attributes.key?(:'database_size_in_g_bs')
178
+ raise 'You cannot provide both :databaseSizeInGBs and :database_size_in_gbs' if attributes.key?(:'databaseSizeInGBs') && attributes.key?(:'database_size_in_gbs')
179
179
 
180
- self.database_size_in_g_bs = attributes[:'database_size_in_g_bs'] if attributes[:'database_size_in_g_bs']
180
+ self.database_size_in_gbs = attributes[:'database_size_in_gbs'] if attributes[:'database_size_in_gbs']
181
181
 
182
182
  self.display_name = attributes[:'displayName'] if attributes[:'displayName']
183
183
 
@@ -274,7 +274,7 @@ module OCI
274
274
  compartment_id == other.compartment_id &&
275
275
  database_edition == other.database_edition &&
276
276
  database_id == other.database_id &&
277
- database_size_in_g_bs == other.database_size_in_g_bs &&
277
+ database_size_in_gbs == other.database_size_in_gbs &&
278
278
  display_name == other.display_name &&
279
279
  id == other.id &&
280
280
  lifecycle_details == other.lifecycle_details &&
@@ -297,7 +297,7 @@ module OCI
297
297
  # Calculates hash code according to all attributes.
298
298
  # @return [Fixnum] Hash code
299
299
  def hash
300
- [availability_domain, compartment_id, database_edition, database_id, database_size_in_g_bs, display_name, id, lifecycle_details, lifecycle_state, time_ended, time_started, type].hash
300
+ [availability_domain, compartment_id, database_edition, database_id, database_size_in_gbs, display_name, id, lifecycle_details, lifecycle_state, time_ended, time_started, type].hash
301
301
  end
302
302
  # rubocop:enable Metrics/AbcSize, Metrics/LineLength, Layout/EmptyLines
303
303
 
@@ -29,6 +29,7 @@ require 'oci/file_storage/models/update_export_details'
29
29
  require 'oci/file_storage/models/update_export_set_details'
30
30
  require 'oci/file_storage/models/update_file_system_details'
31
31
  require 'oci/file_storage/models/update_mount_target_details'
32
+ require 'oci/file_storage/models/update_snapshot_details'
32
33
 
33
34
  # Require generated clients
34
35
  require 'oci/file_storage/file_storage_client'
@@ -905,11 +905,20 @@ module OCI
905
905
  # @param [Hash] opts the optional parameters
906
906
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
907
907
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
908
- # @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
908
+ # @option opts [Integer] :limit For list pagination. The maximum number of results per page,
909
+ # or items to return in a paginated \"List\" call.
910
+ # 1 is the minimum, 1000 is the maximum.
911
+ #
912
+ # For important details about how pagination works,
913
+ # see [List Pagination](https://docs.us-phoenix-1.oraclecloud.com/iaas/Content/API/Concepts/usingapi.htm#nine).
909
914
  #
910
915
  # Example: `500`
911
916
  #
912
- # @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
917
+ # @option opts [String] :page For list pagination. The value of the `opc-next-page` response
918
+ # header from the previous \"List\" call.
919
+ #
920
+ # For important details about how pagination works,
921
+ # see [List Pagination](https://docs.us-phoenix-1.oraclecloud.com/iaas/Content/API/Concepts/usingapi.htm#nine).
913
922
  #
914
923
  # @option opts [String] :display_name A user-friendly name. It does not have to be unique, and it is changeable.
915
924
  #
@@ -1007,11 +1016,20 @@ module OCI
1007
1016
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1008
1017
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1009
1018
  # @option opts [String] :compartment_id The OCID of the compartment.
1010
- # @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
1019
+ # @option opts [Integer] :limit For list pagination. The maximum number of results per page,
1020
+ # or items to return in a paginated \"List\" call.
1021
+ # 1 is the minimum, 1000 is the maximum.
1022
+ #
1023
+ # For important details about how pagination works,
1024
+ # see [List Pagination](https://docs.us-phoenix-1.oraclecloud.com/iaas/Content/API/Concepts/usingapi.htm#nine).
1011
1025
  #
1012
1026
  # Example: `500`
1013
1027
  #
1014
- # @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
1028
+ # @option opts [String] :page For list pagination. The value of the `opc-next-page` response
1029
+ # header from the previous \"List\" call.
1030
+ #
1031
+ # For important details about how pagination works,
1032
+ # see [List Pagination](https://docs.us-phoenix-1.oraclecloud.com/iaas/Content/API/Concepts/usingapi.htm#nine).
1015
1033
  #
1016
1034
  # @option opts [String] :export_set_id The OCID of the export set.
1017
1035
  # @option opts [String] :file_system_id The OCID of the file system.
@@ -1107,11 +1125,20 @@ module OCI
1107
1125
  # @param [Hash] opts the optional parameters
1108
1126
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1109
1127
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1110
- # @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
1128
+ # @option opts [Integer] :limit For list pagination. The maximum number of results per page,
1129
+ # or items to return in a paginated \"List\" call.
1130
+ # 1 is the minimum, 1000 is the maximum.
1131
+ #
1132
+ # For important details about how pagination works,
1133
+ # see [List Pagination](https://docs.us-phoenix-1.oraclecloud.com/iaas/Content/API/Concepts/usingapi.htm#nine).
1111
1134
  #
1112
1135
  # Example: `500`
1113
1136
  #
1114
- # @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
1137
+ # @option opts [String] :page For list pagination. The value of the `opc-next-page` response
1138
+ # header from the previous \"List\" call.
1139
+ #
1140
+ # For important details about how pagination works,
1141
+ # see [List Pagination](https://docs.us-phoenix-1.oraclecloud.com/iaas/Content/API/Concepts/usingapi.htm#nine).
1115
1142
  #
1116
1143
  # @option opts [String] :display_name A user-friendly name. It does not have to be unique, and it is changeable.
1117
1144
  #
@@ -1211,11 +1238,20 @@ module OCI
1211
1238
  # @param [Hash] opts the optional parameters
1212
1239
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1213
1240
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1214
- # @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
1241
+ # @option opts [Integer] :limit For list pagination. The maximum number of results per page,
1242
+ # or items to return in a paginated \"List\" call.
1243
+ # 1 is the minimum, 1000 is the maximum.
1244
+ #
1245
+ # For important details about how pagination works,
1246
+ # see [List Pagination](https://docs.us-phoenix-1.oraclecloud.com/iaas/Content/API/Concepts/usingapi.htm#nine).
1215
1247
  #
1216
1248
  # Example: `500`
1217
1249
  #
1218
- # @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
1250
+ # @option opts [String] :page For list pagination. The value of the `opc-next-page` response
1251
+ # header from the previous \"List\" call.
1252
+ #
1253
+ # For important details about how pagination works,
1254
+ # see [List Pagination](https://docs.us-phoenix-1.oraclecloud.com/iaas/Content/API/Concepts/usingapi.htm#nine).
1219
1255
  #
1220
1256
  # @option opts [String] :display_name A user-friendly name. It does not have to be unique, and it is changeable.
1221
1257
  #
@@ -1313,11 +1349,20 @@ module OCI
1313
1349
  # @param [Hash] opts the optional parameters
1314
1350
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1315
1351
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1316
- # @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
1352
+ # @option opts [Integer] :limit For list pagination. The maximum number of results per page,
1353
+ # or items to return in a paginated \"List\" call.
1354
+ # 1 is the minimum, 1000 is the maximum.
1355
+ #
1356
+ # For important details about how pagination works,
1357
+ # see [List Pagination](https://docs.us-phoenix-1.oraclecloud.com/iaas/Content/API/Concepts/usingapi.htm#nine).
1317
1358
  #
1318
1359
  # Example: `500`
1319
1360
  #
1320
- # @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
1361
+ # @option opts [String] :page For list pagination. The value of the `opc-next-page` response
1362
+ # header from the previous \"List\" call.
1363
+ #
1364
+ # For important details about how pagination works,
1365
+ # see [List Pagination](https://docs.us-phoenix-1.oraclecloud.com/iaas/Content/API/Concepts/usingapi.htm#nine).
1321
1366
  #
1322
1367
  # @option opts [String] :lifecycle_state Filter results by the specified lifecycle state. Must be a valid
1323
1368
  # state for the resource type.
@@ -1626,6 +1671,66 @@ module OCI
1626
1671
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1627
1672
  # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1628
1673
 
1674
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1675
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1676
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1677
+
1678
+
1679
+ # Updates the specified snapshot's information.
1680
+ # @param [String] snapshot_id The OCID of the snapshot.
1681
+ # @param [OCI::FileStorage::Models::UpdateSnapshotDetails] update_snapshot_details Details object for updating a snapshot.
1682
+ # @param [Hash] opts the optional parameters
1683
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1684
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1685
+ # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
1686
+ # for a resource, set the `if-match` parameter to the value of the
1687
+ # etag from a previous GET or POST response for that resource.
1688
+ # The resource will be updated or deleted only if the etag you
1689
+ # provide matches the resource's current etag value.
1690
+ #
1691
+ # @return [Response] A Response object with data of type {OCI::FileStorage::Models::Snapshot Snapshot}
1692
+ def update_snapshot(snapshot_id, update_snapshot_details, opts = {})
1693
+ logger.debug 'Calling operation FileStorageClient#update_snapshot.' if logger
1694
+
1695
+ raise "Missing the required parameter 'snapshot_id' when calling update_snapshot." if snapshot_id.nil?
1696
+ raise "Missing the required parameter 'update_snapshot_details' when calling update_snapshot." if update_snapshot_details.nil?
1697
+ raise "Parameter value for 'snapshot_id' must not be blank" if OCI::Internal::Util.blank_string?(snapshot_id)
1698
+
1699
+ path = '/snapshots/{snapshotId}'.sub('{snapshotId}', snapshot_id.to_s)
1700
+ operation_signing_strategy = :standard
1701
+
1702
+ # rubocop:disable Style/NegatedIf
1703
+ # Query Params
1704
+ query_params = {}
1705
+
1706
+ # Header Params
1707
+ header_params = {}
1708
+ header_params[:accept] = 'application/json'
1709
+ header_params[:'content-type'] = 'application/json'
1710
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
1711
+ # rubocop:enable Style/NegatedIf
1712
+
1713
+ post_body = @api_client.object_to_http_body(update_snapshot_details)
1714
+
1715
+ # rubocop:disable Metrics/BlockLength
1716
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'FileStorageClient#update_snapshot') do
1717
+ @api_client.call_api(
1718
+ :PUT,
1719
+ path,
1720
+ endpoint,
1721
+ header_params: header_params,
1722
+ query_params: query_params,
1723
+ operation_signing_strategy: operation_signing_strategy,
1724
+ body: post_body,
1725
+ return_type: 'OCI::FileStorage::Models::Snapshot'
1726
+ )
1727
+ end
1728
+ # rubocop:enable Metrics/BlockLength
1729
+ end
1730
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1731
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1732
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1733
+
1629
1734
  private
1630
1735
 
1631
1736
  def applicable_retry_config(opts = {})