oci 2.5.3 → 2.5.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/oci/dns/dns_client.rb +21 -12
- data/lib/oci/dns/models/create_steering_policy_attachment_details.rb +4 -7
- data/lib/oci/dns/models/create_steering_policy_details.rb +63 -52
- data/lib/oci/dns/models/create_zone_details.rb +10 -5
- data/lib/oci/dns/models/record.rb +3 -1
- data/lib/oci/dns/models/record_operation.rb +4 -0
- data/lib/oci/dns/models/steering_policy.rb +64 -54
- data/lib/oci/dns/models/steering_policy_answer.rb +55 -8
- data/lib/oci/dns/models/steering_policy_attachment.rb +8 -7
- data/lib/oci/dns/models/steering_policy_attachment_summary.rb +2 -3
- data/lib/oci/dns/models/steering_policy_filter_answer_data.rb +3 -1
- data/lib/oci/dns/models/steering_policy_filter_rule.rb +12 -3
- data/lib/oci/dns/models/steering_policy_filter_rule_case.rb +8 -0
- data/lib/oci/dns/models/steering_policy_health_rule.rb +9 -0
- data/lib/oci/dns/models/steering_policy_health_rule_case.rb +7 -0
- data/lib/oci/dns/models/steering_policy_limit_rule.rb +11 -1
- data/lib/oci/dns/models/steering_policy_limit_rule_case.rb +12 -1
- data/lib/oci/dns/models/steering_policy_priority_answer_data.rb +6 -0
- data/lib/oci/dns/models/steering_policy_priority_rule.rb +11 -2
- data/lib/oci/dns/models/steering_policy_priority_rule_case.rb +8 -0
- data/lib/oci/dns/models/steering_policy_rule.rb +28 -24
- data/lib/oci/dns/models/steering_policy_summary.rb +62 -53
- data/lib/oci/dns/models/steering_policy_weighted_answer_data.rb +5 -0
- data/lib/oci/dns/models/steering_policy_weighted_rule.rb +11 -2
- data/lib/oci/dns/models/steering_policy_weighted_rule_case.rb +8 -0
- data/lib/oci/dns/models/update_steering_policy_attachment_details.rb +5 -1
- data/lib/oci/dns/models/update_steering_policy_details.rb +64 -52
- data/lib/oci/dns/models/update_zone_details.rb +10 -5
- data/lib/oci/dns/models/zone.rb +10 -5
- data/lib/oci/dns/models/zone_summary.rb +10 -5
- data/lib/oci/object_storage/models/bucket.rb +12 -11
- data/lib/oci/object_storage/models/bucket_summary.rb +4 -4
- data/lib/oci/object_storage/models/commit_multipart_upload_details.rb +3 -3
- data/lib/oci/object_storage/models/commit_multipart_upload_part_details.rb +3 -3
- data/lib/oci/object_storage/models/copy_object_details.rb +22 -13
- data/lib/oci/object_storage/models/create_bucket_details.rb +5 -5
- data/lib/oci/object_storage/models/create_multipart_upload_details.rb +2 -2
- data/lib/oci/object_storage/models/create_preauthenticated_request_details.rb +6 -3
- data/lib/oci/object_storage/models/list_objects.rb +2 -2
- data/lib/oci/object_storage/models/multipart_upload.rb +4 -4
- data/lib/oci/object_storage/models/multipart_upload_part_summary.rb +5 -4
- data/lib/oci/object_storage/models/namespace_metadata.rb +4 -4
- data/lib/oci/object_storage/models/object_lifecycle_rule.rb +3 -3
- data/lib/oci/object_storage/models/object_name_filter.rb +76 -6
- data/lib/oci/object_storage/models/object_summary.rb +2 -2
- data/lib/oci/object_storage/models/pattern_details.rb +208 -0
- data/lib/oci/object_storage/models/preauthenticated_request.rb +9 -7
- data/lib/oci/object_storage/models/preauthenticated_request_summary.rb +3 -1
- data/lib/oci/object_storage/models/rename_object_details.rb +5 -5
- data/lib/oci/object_storage/models/restore_objects_details.rb +2 -2
- data/lib/oci/object_storage/models/update_bucket_details.rb +5 -5
- data/lib/oci/object_storage/models/update_namespace_metadata_details.rb +4 -4
- data/lib/oci/object_storage/models/work_request.rb +11 -10
- data/lib/oci/object_storage/models/work_request_error.rb +4 -4
- data/lib/oci/object_storage/models/work_request_log_entry.rb +3 -1
- data/lib/oci/object_storage/models/work_request_resource.rb +4 -4
- data/lib/oci/object_storage/models/work_request_summary.rb +11 -10
- data/lib/oci/object_storage/object_storage.rb +1 -0
- data/lib/oci/object_storage/object_storage_client.rb +117 -93
- data/lib/oci/object_storage/object_storage_client_composite_operations.rb +2 -2
- data/lib/oci/version.rb +1 -1
- metadata +3 -2
@@ -6,9 +6,14 @@ require 'date'
|
|
6
6
|
module OCI
|
7
7
|
# SteeringPolicyWeightedAnswerData model.
|
8
8
|
class Dns::Models::SteeringPolicyWeightedAnswerData # rubocop:disable Metrics/LineLength
|
9
|
+
# An expression that is used to select a set of answers that match a condition. For example, answers with matching pool properties.
|
10
|
+
#
|
9
11
|
# @return [String]
|
10
12
|
attr_accessor :answer_condition
|
11
13
|
|
14
|
+
# **[Required]** The weight assigned to the set of selected answers. Answers with a higher weight will be served
|
15
|
+
# more frequently. Answers can be given a value between `0` and `255`.
|
16
|
+
#
|
12
17
|
# @return [Integer]
|
13
18
|
attr_accessor :value
|
14
19
|
|
@@ -7,13 +7,22 @@ require_relative 'steering_policy_rule'
|
|
7
7
|
module OCI
|
8
8
|
# SteeringPolicyWeightedRule model.
|
9
9
|
class Dns::Models::SteeringPolicyWeightedRule < Dns::Models::SteeringPolicyRule # rubocop:disable Metrics/LineLength
|
10
|
+
# An array of `caseConditions`. A rule may optionally include a sequence of cases defining alternate
|
11
|
+
# configurations for how it should behave during processing for any given DNS query. When a rule has
|
12
|
+
# no sequence of `cases`, it is always evaluated with the same configuration during processing. When
|
13
|
+
# a rule has an empty sequence of `cases`, it is always ignored during processing. When a rule has a
|
14
|
+
# non-empty sequence of `cases`, its behavior during processing is configured by the first matching
|
15
|
+
# `case` in the sequence. When a rule has no matching cases the rule is ignored. A rule case with no
|
16
|
+
# `caseCondition` always matches. A rule case with a `caseCondition` matches only when that expression
|
17
|
+
# evaluates to true for the given query.
|
18
|
+
#
|
10
19
|
# @return [Array<OCI::Dns::Models::SteeringPolicyWeightedRuleCase>]
|
11
20
|
attr_accessor :cases
|
12
21
|
|
13
22
|
# Defines a default set of answer conditions and values that are applied to an answer when
|
14
23
|
# `cases` is not defined for the rule or a matching case does not have any matching
|
15
|
-
# `answerCondition`s in its `answerData`. `defaultAnswerData` is
|
16
|
-
# defined and there are no matching cases.
|
24
|
+
# `answerCondition`s in its `answerData`. `defaultAnswerData` is not applied if `cases` is
|
25
|
+
# defined and there are no matching cases. In this scenario, the next rule will be processed.
|
17
26
|
#
|
18
27
|
# @return [Array<OCI::Dns::Models::SteeringPolicyWeightedAnswerData>]
|
19
28
|
attr_accessor :default_answer_data
|
@@ -6,9 +6,17 @@ require 'date'
|
|
6
6
|
module OCI
|
7
7
|
# SteeringPolicyWeightedRuleCase model.
|
8
8
|
class Dns::Models::SteeringPolicyWeightedRuleCase # rubocop:disable Metrics/LineLength
|
9
|
+
# An expression that uses conditions at the time of a DNS query to indicate
|
10
|
+
# whether a case matches. Conditions may include the geographical location, IP
|
11
|
+
# subnet, or ASN the DNS query originated. **Example:** If you have an
|
12
|
+
# office that uses the subnet `192.0.2.0/24` you could use a `caseCondition`
|
13
|
+
# expression `query.client.subnet in ('192.0.2.0/24')` to define a case that
|
14
|
+
# matches queries from that office.
|
15
|
+
#
|
9
16
|
# @return [String]
|
10
17
|
attr_accessor :case_condition
|
11
18
|
|
19
|
+
# An array of `SteeringPolicyWeightedAnswerData` objects.
|
12
20
|
# @return [Array<OCI::Dns::Models::SteeringPolicyWeightedAnswerData>]
|
13
21
|
attr_accessor :answer_data
|
14
22
|
|
@@ -5,9 +5,13 @@ require 'date'
|
|
5
5
|
# rubocop:disable Lint/UnneededCopDisableDirective
|
6
6
|
module OCI
|
7
7
|
# The body for updating a steering policy attachment.
|
8
|
+
#
|
9
|
+
#
|
10
|
+
# **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.
|
11
|
+
#
|
8
12
|
class Dns::Models::UpdateSteeringPolicyAttachmentDetails # rubocop:disable Metrics/LineLength
|
9
13
|
# A user-friendly name for the steering policy attachment.
|
10
|
-
# Does not have to be unique
|
14
|
+
# Does not have to be unique and can be changed.
|
11
15
|
# Avoid entering confidential information.
|
12
16
|
#
|
13
17
|
# @return [String]
|
@@ -7,7 +7,8 @@ module OCI
|
|
7
7
|
# The body for updating a steering policy. New rules and answers provided in the request will
|
8
8
|
# replace the existing rules and answers in the policy.
|
9
9
|
#
|
10
|
-
#
|
10
|
+
#
|
11
|
+
# **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.
|
11
12
|
#
|
12
13
|
class Dns::Models::UpdateSteeringPolicyDetails # rubocop:disable Metrics/LineLength
|
13
14
|
TEMPLATE_ENUM = [
|
@@ -19,80 +20,90 @@ module OCI
|
|
19
20
|
TEMPLATE_CUSTOM = 'CUSTOM'.freeze
|
20
21
|
].freeze
|
21
22
|
|
22
|
-
# A user-friendly name for the steering policy.
|
23
|
-
# Does not have to be unique, and it's changeable.
|
23
|
+
# A user-friendly name for the steering policy. Does not have to be unique and can be changed.
|
24
24
|
# Avoid entering confidential information.
|
25
25
|
#
|
26
26
|
# @return [String]
|
27
27
|
attr_accessor :display_name
|
28
28
|
|
29
|
-
# The Time To Live for responses from the steering policy, in seconds.
|
29
|
+
# The Time To Live (TTL) for responses from the steering policy, in seconds.
|
30
30
|
# If not specified during creation, a value of 30 seconds will be used.
|
31
31
|
#
|
32
32
|
# @return [Integer]
|
33
33
|
attr_accessor :ttl
|
34
34
|
|
35
35
|
# The OCID of the health check monitor providing health data about the answers of the
|
36
|
-
# steering policy.
|
37
|
-
# A steering policy answer with `rdata`
|
38
|
-
#
|
39
|
-
#
|
40
|
-
#
|
36
|
+
# steering policy. A steering policy answer with `rdata` matching a monitored endpoint
|
37
|
+
# will use the health data of that endpoint. A steering policy answer with `rdata` not
|
38
|
+
# matching any monitored endpoint will be assumed healthy.
|
39
|
+
#
|
40
|
+
#
|
41
|
+
# **Note:** To use the Health Check monitoring feature in a steering policy, a monitor
|
42
|
+
# must be created using the Health Checks service first. For more information on how to
|
43
|
+
# create a monitor, please see [Managing Health Checks](https://docs.cloud.oracle.com/iaas/Content/HealthChecks/Tasks/managinghealthchecks.htm).
|
41
44
|
#
|
42
45
|
# @return [String]
|
43
46
|
attr_accessor :health_check_monitor_id
|
44
47
|
|
45
|
-
#
|
46
|
-
#
|
47
|
-
#
|
48
|
-
#
|
49
|
-
#
|
50
|
-
#
|
51
|
-
#
|
52
|
-
#
|
53
|
-
#
|
54
|
-
#
|
55
|
-
#
|
56
|
-
#
|
57
|
-
#
|
58
|
-
#
|
59
|
-
#
|
60
|
-
#
|
61
|
-
#
|
62
|
-
#
|
63
|
-
#
|
64
|
-
#
|
65
|
-
#
|
66
|
-
#
|
67
|
-
#
|
68
|
-
#
|
69
|
-
#
|
70
|
-
#
|
71
|
-
#
|
72
|
-
#
|
73
|
-
#
|
74
|
-
#
|
75
|
-
#
|
76
|
-
#
|
77
|
-
#
|
78
|
-
#
|
79
|
-
#
|
80
|
-
#
|
81
|
-
#
|
82
|
-
#
|
48
|
+
# A set of predefined rules based on the desired purpose of the steering policy. Each
|
49
|
+
# template utilizes Traffic Management's rules in a different order to produce the desired
|
50
|
+
# results when answering DNS queries.
|
51
|
+
#
|
52
|
+
#
|
53
|
+
# **Example:** The `FAILOVER` template determines answers by filtering the policy's answers
|
54
|
+
# using the `FILTER` rule first, then the following rules in succession: `HEALTH`, `PRIORITY`,
|
55
|
+
# and `LIMIT`. This gives the domain dynamic failover capability.
|
56
|
+
#
|
57
|
+
#
|
58
|
+
# It is **strongly recommended** to use a template other than `CUSTOM` when creating
|
59
|
+
# a steering policy.
|
60
|
+
#
|
61
|
+
#
|
62
|
+
# All templates require the rule order to begin with an unconditional `FILTER` rule that keeps
|
63
|
+
# answers contingent upon `answer.isDisabled != true`, except for `CUSTOM`. A defined
|
64
|
+
# `HEALTH` rule must follow the `FILTER` rule if the policy references a `healthCheckMonitorId`.
|
65
|
+
# The last rule of a template must must be a `LIMIT` rule. For more information about templates
|
66
|
+
# and code examples, see [Traffic Management API Guide](https://docs.cloud.oracle.com/iaas/Content/TrafficManagement/Concepts/trafficmanagementapi.htm).
|
67
|
+
#
|
68
|
+
# **Template Types**
|
69
|
+
#
|
70
|
+
# * `FAILOVER` - Uses health check information on your endpoints to determine which DNS answers
|
71
|
+
# to serve. If an endpoint fails a health check, the answer for that endpoint will be removed
|
72
|
+
# from the list of available answers until the endpoint is detected as healthy.
|
73
|
+
#
|
74
|
+
#
|
75
|
+
# * `LOAD_BALANCE` - Distributes web traffic to specified endpoints based on defined weights.
|
76
|
+
#
|
77
|
+
#
|
78
|
+
# * `ROUTE_BY_GEO` - Answers DNS queries based on the query's geographic location. For a list of geographic
|
79
|
+
# locations to route by, see [Traffic Management Geographic Locations](https://docs.cloud.oracle.com/iaas/Content/TrafficManagement/Reference/trafficmanagementgeo.htm).
|
80
|
+
#
|
81
|
+
#
|
82
|
+
# * `ROUTE_BY_ASN` - Answers DNS queries based on the query's originating ASN.
|
83
|
+
#
|
84
|
+
#
|
85
|
+
# * `ROUTE_BY_IP` - Answers DNS queries based on the query's IP address.
|
86
|
+
#
|
87
|
+
#
|
88
|
+
# * `CUSTOM` - Allows a customized configuration of rules.
|
83
89
|
#
|
84
90
|
# @return [String]
|
85
91
|
attr_reader :template
|
86
92
|
|
87
|
-
#
|
93
|
+
# Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
|
88
94
|
# For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
89
|
-
#
|
95
|
+
#
|
96
|
+
#
|
97
|
+
# **Example:** `{\"Department\": \"Finance\"}`
|
90
98
|
#
|
91
99
|
# @return [Hash<String, String>]
|
92
100
|
attr_accessor :freeform_tags
|
93
101
|
|
94
|
-
#
|
95
|
-
#
|
102
|
+
# Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
103
|
+
# For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
104
|
+
#
|
105
|
+
#
|
106
|
+
# **Example:** `{\"Operations\": {\"CostCenter\": \"42\"}}`
|
96
107
|
#
|
97
108
|
# @return [Hash<String, Hash<String, Object>>]
|
98
109
|
attr_accessor :defined_tags
|
@@ -102,9 +113,10 @@ module OCI
|
|
102
113
|
# @return [Array<OCI::Dns::Models::SteeringPolicyAnswer>]
|
103
114
|
attr_accessor :answers
|
104
115
|
|
105
|
-
# The
|
116
|
+
# The series of rules that will be processed in sequence to reduce the pool of answers
|
106
117
|
# to a response for any given request.
|
107
118
|
#
|
119
|
+
#
|
108
120
|
# The first rule receives a shuffled list of all answers, and every other rule receives
|
109
121
|
# the list of answers emitted by the one preceding it. The last rule populates the
|
110
122
|
# response.
|
@@ -6,18 +6,23 @@ require 'date'
|
|
6
6
|
module OCI
|
7
7
|
# The body for updating a zone.
|
8
8
|
#
|
9
|
-
#
|
9
|
+
# **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.
|
10
10
|
#
|
11
11
|
class Dns::Models::UpdateZoneDetails # rubocop:disable Metrics/LineLength
|
12
|
-
#
|
12
|
+
# Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
|
13
13
|
# For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
14
|
-
#
|
14
|
+
#
|
15
|
+
#
|
16
|
+
# **Example:** `{\"Department\": \"Finance\"}`
|
15
17
|
#
|
16
18
|
# @return [Hash<String, String>]
|
17
19
|
attr_accessor :freeform_tags
|
18
20
|
|
19
|
-
#
|
20
|
-
#
|
21
|
+
# Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
22
|
+
# For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
23
|
+
#
|
24
|
+
#
|
25
|
+
# **Example:** `{\"Operations\": {\"CostCenter\": \"42\"}}`
|
21
26
|
#
|
22
27
|
# @return [Hash<String, Hash<String, Object>>]
|
23
28
|
attr_accessor :defined_tags
|
data/lib/oci/dns/models/zone.rb
CHANGED
@@ -7,7 +7,7 @@ require 'logger'
|
|
7
7
|
module OCI
|
8
8
|
# A DNS zone.
|
9
9
|
#
|
10
|
-
#
|
10
|
+
# **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.
|
11
11
|
#
|
12
12
|
class Dns::Models::Zone # rubocop:disable Metrics/LineLength
|
13
13
|
ZONE_TYPE_ENUM = [
|
@@ -38,15 +38,20 @@ module OCI
|
|
38
38
|
# @return [String]
|
39
39
|
attr_accessor :compartment_id
|
40
40
|
|
41
|
-
#
|
41
|
+
# Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
|
42
42
|
# For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
43
|
-
#
|
43
|
+
#
|
44
|
+
#
|
45
|
+
# **Example:** `{\"Department\": \"Finance\"}`
|
44
46
|
#
|
45
47
|
# @return [Hash<String, String>]
|
46
48
|
attr_accessor :freeform_tags
|
47
49
|
|
48
|
-
#
|
49
|
-
#
|
50
|
+
# Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
51
|
+
# For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
52
|
+
#
|
53
|
+
#
|
54
|
+
# **Example:** `{\"Operations\": {\"CostCenter\": \"42\"}}`
|
50
55
|
#
|
51
56
|
# @return [Hash<String, Hash<String, Object>>]
|
52
57
|
attr_accessor :defined_tags
|
@@ -7,7 +7,7 @@ require 'logger'
|
|
7
7
|
module OCI
|
8
8
|
# A DNS zone.
|
9
9
|
#
|
10
|
-
#
|
10
|
+
# **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.
|
11
11
|
#
|
12
12
|
class Dns::Models::ZoneSummary # rubocop:disable Metrics/LineLength
|
13
13
|
ZONE_TYPE_ENUM = [
|
@@ -38,15 +38,20 @@ module OCI
|
|
38
38
|
# @return [String]
|
39
39
|
attr_accessor :compartment_id
|
40
40
|
|
41
|
-
#
|
41
|
+
# Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
|
42
42
|
# For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
43
|
-
#
|
43
|
+
#
|
44
|
+
#
|
45
|
+
# **Example:** `{\"Department\": \"Finance\"}`
|
44
46
|
#
|
45
47
|
# @return [Hash<String, String>]
|
46
48
|
attr_accessor :freeform_tags
|
47
49
|
|
48
|
-
#
|
49
|
-
#
|
50
|
+
# Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
51
|
+
# For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
52
|
+
#
|
53
|
+
#
|
54
|
+
# **Example:** `{\"Operations\": {\"CostCenter\": \"42\"}}`
|
50
55
|
#
|
51
56
|
# @return [Hash<String, Hash<String, Object>>]
|
52
57
|
attr_accessor :defined_tags
|
@@ -9,8 +9,8 @@ module OCI
|
|
9
9
|
# The compartment has policies that indicate what actions a user can perform on a bucket and all the objects in the bucket. For more
|
10
10
|
# information, see [Managing Buckets](https://docs.cloud.oracle.com/Content/Object/Tasks/managingbuckets.htm).
|
11
11
|
#
|
12
|
-
# To use any of the API operations, you must be authorized in an IAM policy. If you
|
13
|
-
# talk to an administrator. If you
|
12
|
+
# To use any of the API operations, you must be authorized in an IAM policy. If you are not authorized,
|
13
|
+
# talk to an administrator. If you are an administrator who needs to write policies to give users access, see
|
14
14
|
# [Getting Started with Policies](https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm).
|
15
15
|
#
|
16
16
|
class ObjectStorage::Models::Bucket # rubocop:disable Metrics/LineLength
|
@@ -27,7 +27,7 @@ module OCI
|
|
27
27
|
STORAGE_TIER_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
|
28
28
|
].freeze
|
29
29
|
|
30
|
-
# **[Required]** The namespace in which the bucket lives.
|
30
|
+
# **[Required]** The Object Storage namespace in which the bucket lives.
|
31
31
|
# @return [String]
|
32
32
|
attr_accessor :namespace
|
33
33
|
|
@@ -53,7 +53,7 @@ module OCI
|
|
53
53
|
# @return [DateTime]
|
54
54
|
attr_accessor :time_created
|
55
55
|
|
56
|
-
# **[Required]** The entity tag for the bucket.
|
56
|
+
# **[Required]** The entity tag (ETag) for the bucket.
|
57
57
|
# @return [String]
|
58
58
|
attr_accessor :etag
|
59
59
|
|
@@ -66,10 +66,10 @@ module OCI
|
|
66
66
|
# @return [String]
|
67
67
|
attr_reader :public_access_type
|
68
68
|
|
69
|
-
# The type
|
70
|
-
#
|
71
|
-
#
|
72
|
-
# property is immutable after bucket is created.
|
69
|
+
# The storage tier type assigned to the bucket. A bucket is set to 'Standard' tier by default, which means
|
70
|
+
# objects uploaded or copied to the bucket will be in the standard storage tier. When the 'Archive' tier type
|
71
|
+
# is set explicitly for a bucket, objects uploaded or copied to the bucket will be stored in archive storage.
|
72
|
+
# The 'storageTier' property is immutable after bucket is created.
|
73
73
|
#
|
74
74
|
# @return [String]
|
75
75
|
attr_reader :storage_tier
|
@@ -88,11 +88,12 @@ module OCI
|
|
88
88
|
# @return [Hash<String, Hash<String, Object>>]
|
89
89
|
attr_accessor :defined_tags
|
90
90
|
|
91
|
-
# The OCID of a KMS key id used to call KMS to generate data key
|
91
|
+
# The OCID of a KMS key id used to call KMS to generate data key or decrypt the encrypted data key.
|
92
|
+
#
|
92
93
|
# @return [String]
|
93
94
|
attr_accessor :kms_key_id
|
94
95
|
|
95
|
-
# The entity tag for the live object lifecycle policy on the bucket.
|
96
|
+
# The entity tag (ETag) for the live object lifecycle policy on the bucket.
|
96
97
|
# @return [String]
|
97
98
|
attr_accessor :object_lifecycle_policy_etag
|
98
99
|
|
@@ -102,7 +103,7 @@ module OCI
|
|
102
103
|
# @return [Integer]
|
103
104
|
attr_accessor :approximate_count
|
104
105
|
|
105
|
-
# The approximate total size of all objects in the bucket. Size statistics are reported periodically. You will
|
106
|
+
# The approximate total size in bytes of all objects in the bucket. Size statistics are reported periodically. You will
|
106
107
|
# see a lag between what is displayed and the actual size of the bucket.
|
107
108
|
#
|
108
109
|
# @return [Integer]
|
@@ -4,12 +4,12 @@ require 'date'
|
|
4
4
|
|
5
5
|
# rubocop:disable Lint/UnneededCopDisableDirective
|
6
6
|
module OCI
|
7
|
-
# To use any of the API operations, you must be authorized in an IAM policy. If you
|
8
|
-
# talk to an administrator. If you
|
7
|
+
# To use any of the API operations, you must be authorized in an IAM policy. If you are not authorized,
|
8
|
+
# talk to an administrator. If you are an administrator who needs to write policies to give users access, see
|
9
9
|
# [Getting Started with Policies](https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm).
|
10
10
|
#
|
11
11
|
class ObjectStorage::Models::BucketSummary # rubocop:disable Metrics/LineLength
|
12
|
-
# **[Required]** The namespace in which the bucket lives.
|
12
|
+
# **[Required]** The Object Storage namespace in which the bucket lives.
|
13
13
|
# @return [String]
|
14
14
|
attr_accessor :namespace
|
15
15
|
|
@@ -31,7 +31,7 @@ module OCI
|
|
31
31
|
# @return [DateTime]
|
32
32
|
attr_accessor :time_created
|
33
33
|
|
34
|
-
# **[Required]** The entity tag for the bucket.
|
34
|
+
# **[Required]** The entity tag (ETag) for the bucket.
|
35
35
|
# @return [String]
|
36
36
|
attr_accessor :etag
|
37
37
|
|
@@ -4,12 +4,12 @@ require 'date'
|
|
4
4
|
|
5
5
|
# rubocop:disable Lint/UnneededCopDisableDirective
|
6
6
|
module OCI
|
7
|
-
# To use any of the API operations, you must be authorized in an IAM policy. If you
|
8
|
-
# talk to an administrator. If you
|
7
|
+
# To use any of the API operations, you must be authorized in an IAM policy. If you are not authorized,
|
8
|
+
# talk to an administrator. If you are an administrator who needs to write policies to give users access, see
|
9
9
|
# [Getting Started with Policies](https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm).
|
10
10
|
#
|
11
11
|
class ObjectStorage::Models::CommitMultipartUploadDetails # rubocop:disable Metrics/LineLength
|
12
|
-
# **[Required]** The part numbers and ETags for the parts to be committed.
|
12
|
+
# **[Required]** The part numbers and entity tags (ETags) for the parts to be committed.
|
13
13
|
# @return [Array<OCI::ObjectStorage::Models::CommitMultipartUploadPartDetails>]
|
14
14
|
attr_accessor :parts_to_commit
|
15
15
|
|
@@ -4,8 +4,8 @@ require 'date'
|
|
4
4
|
|
5
5
|
# rubocop:disable Lint/UnneededCopDisableDirective
|
6
6
|
module OCI
|
7
|
-
# To use any of the API operations, you must be authorized in an IAM policy. If you
|
8
|
-
# talk to an administrator. If you
|
7
|
+
# To use any of the API operations, you must be authorized in an IAM policy. If you are not authorized,
|
8
|
+
# talk to an administrator. If you are an administrator who needs to write policies to give users access, see
|
9
9
|
# [Getting Started with Policies](https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm).
|
10
10
|
#
|
11
11
|
class ObjectStorage::Models::CommitMultipartUploadPartDetails # rubocop:disable Metrics/LineLength
|
@@ -13,7 +13,7 @@ module OCI
|
|
13
13
|
# @return [Integer]
|
14
14
|
attr_accessor :part_num
|
15
15
|
|
16
|
-
# **[Required]** The ETag returned when this part was uploaded.
|
16
|
+
# **[Required]** The entity tag (ETag) returned when this part was uploaded.
|
17
17
|
# @return [String]
|
18
18
|
attr_accessor :etag
|
19
19
|
|