@@ -105,22 +105,19 @@ the lower bound. Each bucket represents a constant relative uncertainty on a spe
105
105
Elem : & schema.Resource {
106
106
Schema : map [string ]* schema.Schema {
107
107
"growth_factor" : {
108
- Type : schema .TypeFloat ,
109
- Optional : true ,
110
- Description : `Must be greater than 1.` ,
111
- AtLeastOneOf : []string {"bucket_options.0.exponential_buckets.0.num_finite_buckets" , "bucket_options.0.exponential_buckets.0.growth_factor" , "bucket_options.0.exponential_buckets.0.scale" },
108
+ Type : schema .TypeFloat ,
109
+ Required : true ,
110
+ Description : `Must be greater than 1.` ,
112
111
},
113
112
"num_finite_buckets" : {
114
- Type : schema .TypeInt ,
115
- Optional : true ,
116
- Description : `Must be greater than 0.` ,
117
- AtLeastOneOf : []string {"bucket_options.0.exponential_buckets.0.num_finite_buckets" , "bucket_options.0.exponential_buckets.0.growth_factor" , "bucket_options.0.exponential_buckets.0.scale" },
113
+ Type : schema .TypeInt ,
114
+ Required : true ,
115
+ Description : `Must be greater than 0.` ,
118
116
},
119
117
"scale" : {
120
- Type : schema .TypeFloat ,
121
- Optional : true ,
122
- Description : `Must be greater than 0.` ,
123
- AtLeastOneOf : []string {"bucket_options.0.exponential_buckets.0.num_finite_buckets" , "bucket_options.0.exponential_buckets.0.growth_factor" , "bucket_options.0.exponential_buckets.0.scale" },
118
+ Type : schema .TypeFloat ,
119
+ Required : true ,
120
+ Description : `Must be greater than 0.` ,
124
121
},
125
122
},
126
123
},
@@ -135,22 +132,19 @@ Each bucket represents a constant absolute uncertainty on the specific value in
135
132
Elem : & schema.Resource {
136
133
Schema : map [string ]* schema.Schema {
137
134
"num_finite_buckets" : {
138
- Type : schema .TypeInt ,
139
- Optional : true ,
140
- Description : `Must be greater than 0.` ,
141
- AtLeastOneOf : []string {"bucket_options.0.linear_buckets.0.num_finite_buckets" , "bucket_options.0.linear_buckets.0.width" , "bucket_options.0.linear_buckets.0.offset" },
135
+ Type : schema .TypeInt ,
136
+ Required : true ,
137
+ Description : `Must be greater than 0.` ,
142
138
},
143
139
"offset" : {
144
- Type : schema .TypeFloat ,
145
- Optional : true ,
146
- Description : `Lower bound of the first bucket.` ,
147
- AtLeastOneOf : []string {"bucket_options.0.linear_buckets.0.num_finite_buckets" , "bucket_options.0.linear_buckets.0.width" , "bucket_options.0.linear_buckets.0.offset" },
140
+ Type : schema .TypeFloat ,
141
+ Required : true ,
142
+ Description : `Lower bound of the first bucket.` ,
148
143
},
149
144
"width" : {
150
- Type : schema .TypeFloat ,
151
- Optional : true ,
152
- Description : `Must be greater than 0.` ,
153
- AtLeastOneOf : []string {"bucket_options.0.linear_buckets.0.num_finite_buckets" , "bucket_options.0.linear_buckets.0.width" , "bucket_options.0.linear_buckets.0.offset" },
145
+ Type : schema .TypeFloat ,
146
+ Required : true ,
147
+ Description : `Must be greater than 0.` ,
154
148
},
155
149
},
156
150
},
0 commit comments