google-cloud-storage-control-v2 1.3.0 → 1.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 +4 -4
- data/lib/google/cloud/storage/control/v2/storage_control/client.rb +612 -0
- data/lib/google/cloud/storage/control/v2/storage_control/paths.rb +52 -0
- data/lib/google/cloud/storage/control/v2/version.rb +1 -1
- data/lib/google/storage/control/v2/storage_control_pb.rb +16 -1
- data/lib/google/storage/control/v2/storage_control_services_pb.rb +12 -0
- data/proto_docs/google/storage/control/v2/storage_control.rb +287 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a57dbc31adc6449013c639b01a4bcf27afd7c9ad11ec9ae64088f4020d1191df
|
4
|
+
data.tar.gz: a0109698238b9897639cecd53a0dfc98e9c939b1a913a7b55d8dfed81036bef0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7b454da9fdfbfb0b2aa792766e8130c211db5b33a6a5d90cd2811190151e01bbf9690d63d0f790ac5ec8bf0a4a313d9c91b51c8e9e62dda006445b1d3be0a61e
|
7
|
+
data.tar.gz: 1df24e003e54c593a76e7efd8cc5d50d0cfa49e4f838005b205031ab15a2255d4c1c6464a6827962ac9e5d61d5275c179a27540e798ed54bad467097beb62098
|
@@ -143,6 +143,36 @@ module Google
|
|
143
143
|
initial_delay: 1.0, max_delay: 60.0, multiplier: 2, retry_codes: [8, 14, 4, 13, 2]
|
144
144
|
}
|
145
145
|
|
146
|
+
default_config.rpcs.get_project_intelligence_config.timeout = 60.0
|
147
|
+
default_config.rpcs.get_project_intelligence_config.retry_policy = {
|
148
|
+
initial_delay: 1.0, max_delay: 60.0, multiplier: 2, retry_codes: [8, 14, 4, 13, 2]
|
149
|
+
}
|
150
|
+
|
151
|
+
default_config.rpcs.update_project_intelligence_config.timeout = 60.0
|
152
|
+
default_config.rpcs.update_project_intelligence_config.retry_policy = {
|
153
|
+
initial_delay: 1.0, max_delay: 60.0, multiplier: 2, retry_codes: [8, 14, 4, 13, 2]
|
154
|
+
}
|
155
|
+
|
156
|
+
default_config.rpcs.get_folder_intelligence_config.timeout = 60.0
|
157
|
+
default_config.rpcs.get_folder_intelligence_config.retry_policy = {
|
158
|
+
initial_delay: 1.0, max_delay: 60.0, multiplier: 2, retry_codes: [8, 14, 4, 13, 2]
|
159
|
+
}
|
160
|
+
|
161
|
+
default_config.rpcs.update_folder_intelligence_config.timeout = 60.0
|
162
|
+
default_config.rpcs.update_folder_intelligence_config.retry_policy = {
|
163
|
+
initial_delay: 1.0, max_delay: 60.0, multiplier: 2, retry_codes: [8, 14, 4, 13, 2]
|
164
|
+
}
|
165
|
+
|
166
|
+
default_config.rpcs.get_organization_intelligence_config.timeout = 60.0
|
167
|
+
default_config.rpcs.get_organization_intelligence_config.retry_policy = {
|
168
|
+
initial_delay: 1.0, max_delay: 60.0, multiplier: 2, retry_codes: [8, 14, 4, 13, 2]
|
169
|
+
}
|
170
|
+
|
171
|
+
default_config.rpcs.update_organization_intelligence_config.timeout = 60.0
|
172
|
+
default_config.rpcs.update_organization_intelligence_config.retry_policy = {
|
173
|
+
initial_delay: 1.0, max_delay: 60.0, multiplier: 2, retry_codes: [8, 14, 4, 13, 2]
|
174
|
+
}
|
175
|
+
|
146
176
|
default_config
|
147
177
|
end
|
148
178
|
yield @configure if block_given?
|
@@ -1991,6 +2021,546 @@ module Google
|
|
1991
2021
|
raise ::Google::Cloud::Error.from_error(e)
|
1992
2022
|
end
|
1993
2023
|
|
2024
|
+
##
|
2025
|
+
# Returns the Project scoped singleton IntelligenceConfig resource.
|
2026
|
+
#
|
2027
|
+
# @overload get_project_intelligence_config(request, options = nil)
|
2028
|
+
# Pass arguments to `get_project_intelligence_config` via a request object, either of type
|
2029
|
+
# {::Google::Cloud::Storage::Control::V2::GetProjectIntelligenceConfigRequest} or an equivalent Hash.
|
2030
|
+
#
|
2031
|
+
# @param request [::Google::Cloud::Storage::Control::V2::GetProjectIntelligenceConfigRequest, ::Hash]
|
2032
|
+
# A request object representing the call parameters. Required. To specify no
|
2033
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
2034
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
2035
|
+
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
2036
|
+
#
|
2037
|
+
# @overload get_project_intelligence_config(name: nil)
|
2038
|
+
# Pass arguments to `get_project_intelligence_config` via keyword arguments. Note that at
|
2039
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
2040
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
2041
|
+
#
|
2042
|
+
# @param name [::String]
|
2043
|
+
# Required. The name of the `IntelligenceConfig` resource associated with
|
2044
|
+
# your project.
|
2045
|
+
#
|
2046
|
+
# Format: `projects/{id}/locations/global/intelligenceConfig`
|
2047
|
+
#
|
2048
|
+
# @yield [response, operation] Access the result along with the RPC operation
|
2049
|
+
# @yieldparam response [::Google::Cloud::Storage::Control::V2::IntelligenceConfig]
|
2050
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
2051
|
+
#
|
2052
|
+
# @return [::Google::Cloud::Storage::Control::V2::IntelligenceConfig]
|
2053
|
+
#
|
2054
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
2055
|
+
#
|
2056
|
+
# @example Basic example
|
2057
|
+
# require "google/cloud/storage/control/v2"
|
2058
|
+
#
|
2059
|
+
# # Create a client object. The client can be reused for multiple calls.
|
2060
|
+
# client = Google::Cloud::Storage::Control::V2::StorageControl::Client.new
|
2061
|
+
#
|
2062
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
2063
|
+
# request = Google::Cloud::Storage::Control::V2::GetProjectIntelligenceConfigRequest.new
|
2064
|
+
#
|
2065
|
+
# # Call the get_project_intelligence_config method.
|
2066
|
+
# result = client.get_project_intelligence_config request
|
2067
|
+
#
|
2068
|
+
# # The returned object is of type Google::Cloud::Storage::Control::V2::IntelligenceConfig.
|
2069
|
+
# p result
|
2070
|
+
#
|
2071
|
+
def get_project_intelligence_config request, options = nil
|
2072
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
2073
|
+
|
2074
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Storage::Control::V2::GetProjectIntelligenceConfigRequest
|
2075
|
+
|
2076
|
+
# Converts hash and nil to an options object
|
2077
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
2078
|
+
|
2079
|
+
# Customize the options with defaults
|
2080
|
+
metadata = @config.rpcs.get_project_intelligence_config.metadata.to_h
|
2081
|
+
|
2082
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2083
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2084
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2085
|
+
gapic_version: ::Google::Cloud::Storage::Control::V2::VERSION
|
2086
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2087
|
+
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2088
|
+
|
2089
|
+
header_params = {}
|
2090
|
+
if request.name
|
2091
|
+
header_params["name"] = request.name
|
2092
|
+
end
|
2093
|
+
|
2094
|
+
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
2095
|
+
metadata[:"x-goog-request-params"] ||= request_params_header
|
2096
|
+
|
2097
|
+
options.apply_defaults timeout: @config.rpcs.get_project_intelligence_config.timeout,
|
2098
|
+
metadata: metadata,
|
2099
|
+
retry_policy: @config.rpcs.get_project_intelligence_config.retry_policy
|
2100
|
+
|
2101
|
+
options.apply_defaults timeout: @config.timeout,
|
2102
|
+
metadata: @config.metadata,
|
2103
|
+
retry_policy: @config.retry_policy
|
2104
|
+
|
2105
|
+
@storage_control_stub.call_rpc :get_project_intelligence_config, request, options: options do |response, operation|
|
2106
|
+
yield response, operation if block_given?
|
2107
|
+
end
|
2108
|
+
rescue ::GRPC::BadStatus => e
|
2109
|
+
raise ::Google::Cloud::Error.from_error(e)
|
2110
|
+
end
|
2111
|
+
|
2112
|
+
##
|
2113
|
+
# Updates the Project scoped singleton IntelligenceConfig resource.
|
2114
|
+
#
|
2115
|
+
# @overload update_project_intelligence_config(request, options = nil)
|
2116
|
+
# Pass arguments to `update_project_intelligence_config` via a request object, either of type
|
2117
|
+
# {::Google::Cloud::Storage::Control::V2::UpdateProjectIntelligenceConfigRequest} or an equivalent Hash.
|
2118
|
+
#
|
2119
|
+
# @param request [::Google::Cloud::Storage::Control::V2::UpdateProjectIntelligenceConfigRequest, ::Hash]
|
2120
|
+
# A request object representing the call parameters. Required. To specify no
|
2121
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
2122
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
2123
|
+
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
2124
|
+
#
|
2125
|
+
# @overload update_project_intelligence_config(intelligence_config: nil, update_mask: nil, request_id: nil)
|
2126
|
+
# Pass arguments to `update_project_intelligence_config` via keyword arguments. Note that at
|
2127
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
2128
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
2129
|
+
#
|
2130
|
+
# @param intelligence_config [::Google::Cloud::Storage::Control::V2::IntelligenceConfig, ::Hash]
|
2131
|
+
# Required. The `IntelligenceConfig` resource to be updated.
|
2132
|
+
# @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
|
2133
|
+
# Required. The `update_mask` that specifies the fields within the
|
2134
|
+
# `IntelligenceConfig` resource that should be modified by this update. Only
|
2135
|
+
# the listed fields are updated.
|
2136
|
+
# @param request_id [::String]
|
2137
|
+
# Optional. The ID that uniquely identifies the request, preventing duplicate
|
2138
|
+
# processing.
|
2139
|
+
#
|
2140
|
+
# @yield [response, operation] Access the result along with the RPC operation
|
2141
|
+
# @yieldparam response [::Google::Cloud::Storage::Control::V2::IntelligenceConfig]
|
2142
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
2143
|
+
#
|
2144
|
+
# @return [::Google::Cloud::Storage::Control::V2::IntelligenceConfig]
|
2145
|
+
#
|
2146
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
2147
|
+
#
|
2148
|
+
# @example Basic example
|
2149
|
+
# require "google/cloud/storage/control/v2"
|
2150
|
+
#
|
2151
|
+
# # Create a client object. The client can be reused for multiple calls.
|
2152
|
+
# client = Google::Cloud::Storage::Control::V2::StorageControl::Client.new
|
2153
|
+
#
|
2154
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
2155
|
+
# request = Google::Cloud::Storage::Control::V2::UpdateProjectIntelligenceConfigRequest.new
|
2156
|
+
#
|
2157
|
+
# # Call the update_project_intelligence_config method.
|
2158
|
+
# result = client.update_project_intelligence_config request
|
2159
|
+
#
|
2160
|
+
# # The returned object is of type Google::Cloud::Storage::Control::V2::IntelligenceConfig.
|
2161
|
+
# p result
|
2162
|
+
#
|
2163
|
+
def update_project_intelligence_config request, options = nil
|
2164
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
2165
|
+
|
2166
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Storage::Control::V2::UpdateProjectIntelligenceConfigRequest
|
2167
|
+
|
2168
|
+
# Converts hash and nil to an options object
|
2169
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
2170
|
+
|
2171
|
+
# Customize the options with defaults
|
2172
|
+
metadata = @config.rpcs.update_project_intelligence_config.metadata.to_h
|
2173
|
+
|
2174
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2175
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2176
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2177
|
+
gapic_version: ::Google::Cloud::Storage::Control::V2::VERSION
|
2178
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2179
|
+
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2180
|
+
|
2181
|
+
header_params = {}
|
2182
|
+
if request.intelligence_config&.name
|
2183
|
+
header_params["intelligence_config.name"] = request.intelligence_config.name
|
2184
|
+
end
|
2185
|
+
|
2186
|
+
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
2187
|
+
metadata[:"x-goog-request-params"] ||= request_params_header
|
2188
|
+
|
2189
|
+
options.apply_defaults timeout: @config.rpcs.update_project_intelligence_config.timeout,
|
2190
|
+
metadata: metadata,
|
2191
|
+
retry_policy: @config.rpcs.update_project_intelligence_config.retry_policy
|
2192
|
+
|
2193
|
+
options.apply_defaults timeout: @config.timeout,
|
2194
|
+
metadata: @config.metadata,
|
2195
|
+
retry_policy: @config.retry_policy
|
2196
|
+
|
2197
|
+
@storage_control_stub.call_rpc :update_project_intelligence_config, request, options: options do |response, operation|
|
2198
|
+
yield response, operation if block_given?
|
2199
|
+
end
|
2200
|
+
rescue ::GRPC::BadStatus => e
|
2201
|
+
raise ::Google::Cloud::Error.from_error(e)
|
2202
|
+
end
|
2203
|
+
|
2204
|
+
##
|
2205
|
+
# Returns the Folder scoped singleton IntelligenceConfig resource.
|
2206
|
+
#
|
2207
|
+
# @overload get_folder_intelligence_config(request, options = nil)
|
2208
|
+
# Pass arguments to `get_folder_intelligence_config` via a request object, either of type
|
2209
|
+
# {::Google::Cloud::Storage::Control::V2::GetFolderIntelligenceConfigRequest} or an equivalent Hash.
|
2210
|
+
#
|
2211
|
+
# @param request [::Google::Cloud::Storage::Control::V2::GetFolderIntelligenceConfigRequest, ::Hash]
|
2212
|
+
# A request object representing the call parameters. Required. To specify no
|
2213
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
2214
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
2215
|
+
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
2216
|
+
#
|
2217
|
+
# @overload get_folder_intelligence_config(name: nil)
|
2218
|
+
# Pass arguments to `get_folder_intelligence_config` via keyword arguments. Note that at
|
2219
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
2220
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
2221
|
+
#
|
2222
|
+
# @param name [::String]
|
2223
|
+
# Required. The name of the `IntelligenceConfig` resource associated with
|
2224
|
+
# your folder.
|
2225
|
+
#
|
2226
|
+
# Format: `folders/{id}/locations/global/intelligenceConfig`
|
2227
|
+
#
|
2228
|
+
# @yield [response, operation] Access the result along with the RPC operation
|
2229
|
+
# @yieldparam response [::Google::Cloud::Storage::Control::V2::IntelligenceConfig]
|
2230
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
2231
|
+
#
|
2232
|
+
# @return [::Google::Cloud::Storage::Control::V2::IntelligenceConfig]
|
2233
|
+
#
|
2234
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
2235
|
+
#
|
2236
|
+
# @example Basic example
|
2237
|
+
# require "google/cloud/storage/control/v2"
|
2238
|
+
#
|
2239
|
+
# # Create a client object. The client can be reused for multiple calls.
|
2240
|
+
# client = Google::Cloud::Storage::Control::V2::StorageControl::Client.new
|
2241
|
+
#
|
2242
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
2243
|
+
# request = Google::Cloud::Storage::Control::V2::GetFolderIntelligenceConfigRequest.new
|
2244
|
+
#
|
2245
|
+
# # Call the get_folder_intelligence_config method.
|
2246
|
+
# result = client.get_folder_intelligence_config request
|
2247
|
+
#
|
2248
|
+
# # The returned object is of type Google::Cloud::Storage::Control::V2::IntelligenceConfig.
|
2249
|
+
# p result
|
2250
|
+
#
|
2251
|
+
def get_folder_intelligence_config request, options = nil
|
2252
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
2253
|
+
|
2254
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Storage::Control::V2::GetFolderIntelligenceConfigRequest
|
2255
|
+
|
2256
|
+
# Converts hash and nil to an options object
|
2257
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
2258
|
+
|
2259
|
+
# Customize the options with defaults
|
2260
|
+
metadata = @config.rpcs.get_folder_intelligence_config.metadata.to_h
|
2261
|
+
|
2262
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2263
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2264
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2265
|
+
gapic_version: ::Google::Cloud::Storage::Control::V2::VERSION
|
2266
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2267
|
+
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2268
|
+
|
2269
|
+
header_params = {}
|
2270
|
+
if request.name
|
2271
|
+
header_params["name"] = request.name
|
2272
|
+
end
|
2273
|
+
|
2274
|
+
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
2275
|
+
metadata[:"x-goog-request-params"] ||= request_params_header
|
2276
|
+
|
2277
|
+
options.apply_defaults timeout: @config.rpcs.get_folder_intelligence_config.timeout,
|
2278
|
+
metadata: metadata,
|
2279
|
+
retry_policy: @config.rpcs.get_folder_intelligence_config.retry_policy
|
2280
|
+
|
2281
|
+
options.apply_defaults timeout: @config.timeout,
|
2282
|
+
metadata: @config.metadata,
|
2283
|
+
retry_policy: @config.retry_policy
|
2284
|
+
|
2285
|
+
@storage_control_stub.call_rpc :get_folder_intelligence_config, request, options: options do |response, operation|
|
2286
|
+
yield response, operation if block_given?
|
2287
|
+
end
|
2288
|
+
rescue ::GRPC::BadStatus => e
|
2289
|
+
raise ::Google::Cloud::Error.from_error(e)
|
2290
|
+
end
|
2291
|
+
|
2292
|
+
##
|
2293
|
+
# Updates the Folder scoped singleton IntelligenceConfig resource.
|
2294
|
+
#
|
2295
|
+
# @overload update_folder_intelligence_config(request, options = nil)
|
2296
|
+
# Pass arguments to `update_folder_intelligence_config` via a request object, either of type
|
2297
|
+
# {::Google::Cloud::Storage::Control::V2::UpdateFolderIntelligenceConfigRequest} or an equivalent Hash.
|
2298
|
+
#
|
2299
|
+
# @param request [::Google::Cloud::Storage::Control::V2::UpdateFolderIntelligenceConfigRequest, ::Hash]
|
2300
|
+
# A request object representing the call parameters. Required. To specify no
|
2301
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
2302
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
2303
|
+
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
2304
|
+
#
|
2305
|
+
# @overload update_folder_intelligence_config(intelligence_config: nil, update_mask: nil, request_id: nil)
|
2306
|
+
# Pass arguments to `update_folder_intelligence_config` via keyword arguments. Note that at
|
2307
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
2308
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
2309
|
+
#
|
2310
|
+
# @param intelligence_config [::Google::Cloud::Storage::Control::V2::IntelligenceConfig, ::Hash]
|
2311
|
+
# Required. The `IntelligenceConfig` resource to be updated.
|
2312
|
+
# @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
|
2313
|
+
# Required. The `update_mask` that specifies the fields within the
|
2314
|
+
# `IntelligenceConfig` resource that should be modified by this update. Only
|
2315
|
+
# the listed fields are updated.
|
2316
|
+
# @param request_id [::String]
|
2317
|
+
# Optional. The ID that uniquely identifies the request, preventing duplicate
|
2318
|
+
# processing.
|
2319
|
+
#
|
2320
|
+
# @yield [response, operation] Access the result along with the RPC operation
|
2321
|
+
# @yieldparam response [::Google::Cloud::Storage::Control::V2::IntelligenceConfig]
|
2322
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
2323
|
+
#
|
2324
|
+
# @return [::Google::Cloud::Storage::Control::V2::IntelligenceConfig]
|
2325
|
+
#
|
2326
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
2327
|
+
#
|
2328
|
+
# @example Basic example
|
2329
|
+
# require "google/cloud/storage/control/v2"
|
2330
|
+
#
|
2331
|
+
# # Create a client object. The client can be reused for multiple calls.
|
2332
|
+
# client = Google::Cloud::Storage::Control::V2::StorageControl::Client.new
|
2333
|
+
#
|
2334
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
2335
|
+
# request = Google::Cloud::Storage::Control::V2::UpdateFolderIntelligenceConfigRequest.new
|
2336
|
+
#
|
2337
|
+
# # Call the update_folder_intelligence_config method.
|
2338
|
+
# result = client.update_folder_intelligence_config request
|
2339
|
+
#
|
2340
|
+
# # The returned object is of type Google::Cloud::Storage::Control::V2::IntelligenceConfig.
|
2341
|
+
# p result
|
2342
|
+
#
|
2343
|
+
def update_folder_intelligence_config request, options = nil
|
2344
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
2345
|
+
|
2346
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Storage::Control::V2::UpdateFolderIntelligenceConfigRequest
|
2347
|
+
|
2348
|
+
# Converts hash and nil to an options object
|
2349
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
2350
|
+
|
2351
|
+
# Customize the options with defaults
|
2352
|
+
metadata = @config.rpcs.update_folder_intelligence_config.metadata.to_h
|
2353
|
+
|
2354
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2355
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2356
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2357
|
+
gapic_version: ::Google::Cloud::Storage::Control::V2::VERSION
|
2358
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2359
|
+
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2360
|
+
|
2361
|
+
header_params = {}
|
2362
|
+
if request.intelligence_config&.name
|
2363
|
+
header_params["intelligence_config.name"] = request.intelligence_config.name
|
2364
|
+
end
|
2365
|
+
|
2366
|
+
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
2367
|
+
metadata[:"x-goog-request-params"] ||= request_params_header
|
2368
|
+
|
2369
|
+
options.apply_defaults timeout: @config.rpcs.update_folder_intelligence_config.timeout,
|
2370
|
+
metadata: metadata,
|
2371
|
+
retry_policy: @config.rpcs.update_folder_intelligence_config.retry_policy
|
2372
|
+
|
2373
|
+
options.apply_defaults timeout: @config.timeout,
|
2374
|
+
metadata: @config.metadata,
|
2375
|
+
retry_policy: @config.retry_policy
|
2376
|
+
|
2377
|
+
@storage_control_stub.call_rpc :update_folder_intelligence_config, request, options: options do |response, operation|
|
2378
|
+
yield response, operation if block_given?
|
2379
|
+
end
|
2380
|
+
rescue ::GRPC::BadStatus => e
|
2381
|
+
raise ::Google::Cloud::Error.from_error(e)
|
2382
|
+
end
|
2383
|
+
|
2384
|
+
##
|
2385
|
+
# Returns the Organization scoped singleton IntelligenceConfig resource.
|
2386
|
+
#
|
2387
|
+
# @overload get_organization_intelligence_config(request, options = nil)
|
2388
|
+
# Pass arguments to `get_organization_intelligence_config` via a request object, either of type
|
2389
|
+
# {::Google::Cloud::Storage::Control::V2::GetOrganizationIntelligenceConfigRequest} or an equivalent Hash.
|
2390
|
+
#
|
2391
|
+
# @param request [::Google::Cloud::Storage::Control::V2::GetOrganizationIntelligenceConfigRequest, ::Hash]
|
2392
|
+
# A request object representing the call parameters. Required. To specify no
|
2393
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
2394
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
2395
|
+
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
2396
|
+
#
|
2397
|
+
# @overload get_organization_intelligence_config(name: nil)
|
2398
|
+
# Pass arguments to `get_organization_intelligence_config` via keyword arguments. Note that at
|
2399
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
2400
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
2401
|
+
#
|
2402
|
+
# @param name [::String]
|
2403
|
+
# Required. The name of the `IntelligenceConfig` resource associated with
|
2404
|
+
# your organization.
|
2405
|
+
#
|
2406
|
+
# Format: `organizations/{org_id}/locations/global/intelligenceConfig`
|
2407
|
+
#
|
2408
|
+
# @yield [response, operation] Access the result along with the RPC operation
|
2409
|
+
# @yieldparam response [::Google::Cloud::Storage::Control::V2::IntelligenceConfig]
|
2410
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
2411
|
+
#
|
2412
|
+
# @return [::Google::Cloud::Storage::Control::V2::IntelligenceConfig]
|
2413
|
+
#
|
2414
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
2415
|
+
#
|
2416
|
+
# @example Basic example
|
2417
|
+
# require "google/cloud/storage/control/v2"
|
2418
|
+
#
|
2419
|
+
# # Create a client object. The client can be reused for multiple calls.
|
2420
|
+
# client = Google::Cloud::Storage::Control::V2::StorageControl::Client.new
|
2421
|
+
#
|
2422
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
2423
|
+
# request = Google::Cloud::Storage::Control::V2::GetOrganizationIntelligenceConfigRequest.new
|
2424
|
+
#
|
2425
|
+
# # Call the get_organization_intelligence_config method.
|
2426
|
+
# result = client.get_organization_intelligence_config request
|
2427
|
+
#
|
2428
|
+
# # The returned object is of type Google::Cloud::Storage::Control::V2::IntelligenceConfig.
|
2429
|
+
# p result
|
2430
|
+
#
|
2431
|
+
def get_organization_intelligence_config request, options = nil
|
2432
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
2433
|
+
|
2434
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Storage::Control::V2::GetOrganizationIntelligenceConfigRequest
|
2435
|
+
|
2436
|
+
# Converts hash and nil to an options object
|
2437
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
2438
|
+
|
2439
|
+
# Customize the options with defaults
|
2440
|
+
metadata = @config.rpcs.get_organization_intelligence_config.metadata.to_h
|
2441
|
+
|
2442
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2443
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2444
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2445
|
+
gapic_version: ::Google::Cloud::Storage::Control::V2::VERSION
|
2446
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2447
|
+
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2448
|
+
|
2449
|
+
header_params = {}
|
2450
|
+
if request.name
|
2451
|
+
header_params["name"] = request.name
|
2452
|
+
end
|
2453
|
+
|
2454
|
+
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
2455
|
+
metadata[:"x-goog-request-params"] ||= request_params_header
|
2456
|
+
|
2457
|
+
options.apply_defaults timeout: @config.rpcs.get_organization_intelligence_config.timeout,
|
2458
|
+
metadata: metadata,
|
2459
|
+
retry_policy: @config.rpcs.get_organization_intelligence_config.retry_policy
|
2460
|
+
|
2461
|
+
options.apply_defaults timeout: @config.timeout,
|
2462
|
+
metadata: @config.metadata,
|
2463
|
+
retry_policy: @config.retry_policy
|
2464
|
+
|
2465
|
+
@storage_control_stub.call_rpc :get_organization_intelligence_config, request, options: options do |response, operation|
|
2466
|
+
yield response, operation if block_given?
|
2467
|
+
end
|
2468
|
+
rescue ::GRPC::BadStatus => e
|
2469
|
+
raise ::Google::Cloud::Error.from_error(e)
|
2470
|
+
end
|
2471
|
+
|
2472
|
+
##
|
2473
|
+
# Updates the Organization scoped singleton IntelligenceConfig resource.
|
2474
|
+
#
|
2475
|
+
# @overload update_organization_intelligence_config(request, options = nil)
|
2476
|
+
# Pass arguments to `update_organization_intelligence_config` via a request object, either of type
|
2477
|
+
# {::Google::Cloud::Storage::Control::V2::UpdateOrganizationIntelligenceConfigRequest} or an equivalent Hash.
|
2478
|
+
#
|
2479
|
+
# @param request [::Google::Cloud::Storage::Control::V2::UpdateOrganizationIntelligenceConfigRequest, ::Hash]
|
2480
|
+
# A request object representing the call parameters. Required. To specify no
|
2481
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
2482
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
2483
|
+
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
2484
|
+
#
|
2485
|
+
# @overload update_organization_intelligence_config(intelligence_config: nil, update_mask: nil, request_id: nil)
|
2486
|
+
# Pass arguments to `update_organization_intelligence_config` via keyword arguments. Note that at
|
2487
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
2488
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
2489
|
+
#
|
2490
|
+
# @param intelligence_config [::Google::Cloud::Storage::Control::V2::IntelligenceConfig, ::Hash]
|
2491
|
+
# Required. The `IntelligenceConfig` resource to be updated.
|
2492
|
+
# @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
|
2493
|
+
# Required. The `update_mask` that specifies the fields within the
|
2494
|
+
# `IntelligenceConfig` resource that should be modified by this update. Only
|
2495
|
+
# the listed fields are updated.
|
2496
|
+
# @param request_id [::String]
|
2497
|
+
# Optional. The ID that uniquely identifies the request, preventing duplicate
|
2498
|
+
# processing.
|
2499
|
+
#
|
2500
|
+
# @yield [response, operation] Access the result along with the RPC operation
|
2501
|
+
# @yieldparam response [::Google::Cloud::Storage::Control::V2::IntelligenceConfig]
|
2502
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
2503
|
+
#
|
2504
|
+
# @return [::Google::Cloud::Storage::Control::V2::IntelligenceConfig]
|
2505
|
+
#
|
2506
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
2507
|
+
#
|
2508
|
+
# @example Basic example
|
2509
|
+
# require "google/cloud/storage/control/v2"
|
2510
|
+
#
|
2511
|
+
# # Create a client object. The client can be reused for multiple calls.
|
2512
|
+
# client = Google::Cloud::Storage::Control::V2::StorageControl::Client.new
|
2513
|
+
#
|
2514
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
2515
|
+
# request = Google::Cloud::Storage::Control::V2::UpdateOrganizationIntelligenceConfigRequest.new
|
2516
|
+
#
|
2517
|
+
# # Call the update_organization_intelligence_config method.
|
2518
|
+
# result = client.update_organization_intelligence_config request
|
2519
|
+
#
|
2520
|
+
# # The returned object is of type Google::Cloud::Storage::Control::V2::IntelligenceConfig.
|
2521
|
+
# p result
|
2522
|
+
#
|
2523
|
+
def update_organization_intelligence_config request, options = nil
|
2524
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
2525
|
+
|
2526
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Storage::Control::V2::UpdateOrganizationIntelligenceConfigRequest
|
2527
|
+
|
2528
|
+
# Converts hash and nil to an options object
|
2529
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
2530
|
+
|
2531
|
+
# Customize the options with defaults
|
2532
|
+
metadata = @config.rpcs.update_organization_intelligence_config.metadata.to_h
|
2533
|
+
|
2534
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2535
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2536
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2537
|
+
gapic_version: ::Google::Cloud::Storage::Control::V2::VERSION
|
2538
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2539
|
+
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2540
|
+
|
2541
|
+
header_params = {}
|
2542
|
+
if request.intelligence_config&.name
|
2543
|
+
header_params["intelligence_config.name"] = request.intelligence_config.name
|
2544
|
+
end
|
2545
|
+
|
2546
|
+
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
2547
|
+
metadata[:"x-goog-request-params"] ||= request_params_header
|
2548
|
+
|
2549
|
+
options.apply_defaults timeout: @config.rpcs.update_organization_intelligence_config.timeout,
|
2550
|
+
metadata: metadata,
|
2551
|
+
retry_policy: @config.rpcs.update_organization_intelligence_config.retry_policy
|
2552
|
+
|
2553
|
+
options.apply_defaults timeout: @config.timeout,
|
2554
|
+
metadata: @config.metadata,
|
2555
|
+
retry_policy: @config.retry_policy
|
2556
|
+
|
2557
|
+
@storage_control_stub.call_rpc :update_organization_intelligence_config, request, options: options do |response, operation|
|
2558
|
+
yield response, operation if block_given?
|
2559
|
+
end
|
2560
|
+
rescue ::GRPC::BadStatus => e
|
2561
|
+
raise ::Google::Cloud::Error.from_error(e)
|
2562
|
+
end
|
2563
|
+
|
1994
2564
|
##
|
1995
2565
|
# Configuration class for the StorageControl API.
|
1996
2566
|
#
|
@@ -2242,6 +2812,36 @@ module Google
|
|
2242
2812
|
# @return [::Gapic::Config::Method]
|
2243
2813
|
#
|
2244
2814
|
attr_reader :list_anywhere_caches
|
2815
|
+
##
|
2816
|
+
# RPC-specific configuration for `get_project_intelligence_config`
|
2817
|
+
# @return [::Gapic::Config::Method]
|
2818
|
+
#
|
2819
|
+
attr_reader :get_project_intelligence_config
|
2820
|
+
##
|
2821
|
+
# RPC-specific configuration for `update_project_intelligence_config`
|
2822
|
+
# @return [::Gapic::Config::Method]
|
2823
|
+
#
|
2824
|
+
attr_reader :update_project_intelligence_config
|
2825
|
+
##
|
2826
|
+
# RPC-specific configuration for `get_folder_intelligence_config`
|
2827
|
+
# @return [::Gapic::Config::Method]
|
2828
|
+
#
|
2829
|
+
attr_reader :get_folder_intelligence_config
|
2830
|
+
##
|
2831
|
+
# RPC-specific configuration for `update_folder_intelligence_config`
|
2832
|
+
# @return [::Gapic::Config::Method]
|
2833
|
+
#
|
2834
|
+
attr_reader :update_folder_intelligence_config
|
2835
|
+
##
|
2836
|
+
# RPC-specific configuration for `get_organization_intelligence_config`
|
2837
|
+
# @return [::Gapic::Config::Method]
|
2838
|
+
#
|
2839
|
+
attr_reader :get_organization_intelligence_config
|
2840
|
+
##
|
2841
|
+
# RPC-specific configuration for `update_organization_intelligence_config`
|
2842
|
+
# @return [::Gapic::Config::Method]
|
2843
|
+
#
|
2844
|
+
attr_reader :update_organization_intelligence_config
|
2245
2845
|
|
2246
2846
|
# @private
|
2247
2847
|
def initialize parent_rpcs = nil
|
@@ -2279,6 +2879,18 @@ module Google
|
|
2279
2879
|
@get_anywhere_cache = ::Gapic::Config::Method.new get_anywhere_cache_config
|
2280
2880
|
list_anywhere_caches_config = parent_rpcs.list_anywhere_caches if parent_rpcs.respond_to? :list_anywhere_caches
|
2281
2881
|
@list_anywhere_caches = ::Gapic::Config::Method.new list_anywhere_caches_config
|
2882
|
+
get_project_intelligence_config_config = parent_rpcs.get_project_intelligence_config if parent_rpcs.respond_to? :get_project_intelligence_config
|
2883
|
+
@get_project_intelligence_config = ::Gapic::Config::Method.new get_project_intelligence_config_config
|
2884
|
+
update_project_intelligence_config_config = parent_rpcs.update_project_intelligence_config if parent_rpcs.respond_to? :update_project_intelligence_config
|
2885
|
+
@update_project_intelligence_config = ::Gapic::Config::Method.new update_project_intelligence_config_config
|
2886
|
+
get_folder_intelligence_config_config = parent_rpcs.get_folder_intelligence_config if parent_rpcs.respond_to? :get_folder_intelligence_config
|
2887
|
+
@get_folder_intelligence_config = ::Gapic::Config::Method.new get_folder_intelligence_config_config
|
2888
|
+
update_folder_intelligence_config_config = parent_rpcs.update_folder_intelligence_config if parent_rpcs.respond_to? :update_folder_intelligence_config
|
2889
|
+
@update_folder_intelligence_config = ::Gapic::Config::Method.new update_folder_intelligence_config_config
|
2890
|
+
get_organization_intelligence_config_config = parent_rpcs.get_organization_intelligence_config if parent_rpcs.respond_to? :get_organization_intelligence_config
|
2891
|
+
@get_organization_intelligence_config = ::Gapic::Config::Method.new get_organization_intelligence_config_config
|
2892
|
+
update_organization_intelligence_config_config = parent_rpcs.update_organization_intelligence_config if parent_rpcs.respond_to? :update_organization_intelligence_config
|
2893
|
+
@update_organization_intelligence_config = ::Gapic::Config::Method.new update_organization_intelligence_config_config
|
2282
2894
|
|
2283
2895
|
yield self if block_given?
|
2284
2896
|
end
|
@@ -80,6 +80,58 @@ module Google
|
|
80
80
|
"projects/#{project}/buckets/#{bucket}/folders/#{folder}"
|
81
81
|
end
|
82
82
|
|
83
|
+
##
|
84
|
+
# Create a fully-qualified IntelligenceConfig resource string.
|
85
|
+
#
|
86
|
+
# @overload intelligence_config_path(folder:, location:)
|
87
|
+
# The resource will be in the following format:
|
88
|
+
#
|
89
|
+
# `folders/{folder}/locations/{location}/intelligenceConfig`
|
90
|
+
#
|
91
|
+
# @param folder [String]
|
92
|
+
# @param location [String]
|
93
|
+
#
|
94
|
+
# @overload intelligence_config_path(org:, location:)
|
95
|
+
# The resource will be in the following format:
|
96
|
+
#
|
97
|
+
# `organizations/{org}/locations/{location}/intelligenceConfig`
|
98
|
+
#
|
99
|
+
# @param org [String]
|
100
|
+
# @param location [String]
|
101
|
+
#
|
102
|
+
# @overload intelligence_config_path(project:, location:)
|
103
|
+
# The resource will be in the following format:
|
104
|
+
#
|
105
|
+
# `projects/{project}/locations/{location}/intelligenceConfig`
|
106
|
+
#
|
107
|
+
# @param project [String]
|
108
|
+
# @param location [String]
|
109
|
+
#
|
110
|
+
# @return [::String]
|
111
|
+
def intelligence_config_path **args
|
112
|
+
resources = {
|
113
|
+
"folder:location" => (proc do |folder:, location:|
|
114
|
+
raise ::ArgumentError, "folder cannot contain /" if folder.to_s.include? "/"
|
115
|
+
|
116
|
+
"folders/#{folder}/locations/#{location}/intelligenceConfig"
|
117
|
+
end),
|
118
|
+
"location:org" => (proc do |org:, location:|
|
119
|
+
raise ::ArgumentError, "org cannot contain /" if org.to_s.include? "/"
|
120
|
+
|
121
|
+
"organizations/#{org}/locations/#{location}/intelligenceConfig"
|
122
|
+
end),
|
123
|
+
"location:project" => (proc do |project:, location:|
|
124
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
125
|
+
|
126
|
+
"projects/#{project}/locations/#{location}/intelligenceConfig"
|
127
|
+
end)
|
128
|
+
}
|
129
|
+
|
130
|
+
resource = resources[args.keys.sort.join(":")]
|
131
|
+
raise ::ArgumentError, "no resource found for values #{args.keys}" if resource.nil?
|
132
|
+
resource.call(**args)
|
133
|
+
end
|
134
|
+
|
83
135
|
##
|
84
136
|
# Create a fully-qualified ManagedFolder resource string.
|
85
137
|
#
|
@@ -4,6 +4,7 @@
|
|
4
4
|
|
5
5
|
require 'google/protobuf'
|
6
6
|
|
7
|
+
require 'google/api/annotations_pb'
|
7
8
|
require 'google/api/client_pb'
|
8
9
|
require 'google/api/field_behavior_pb'
|
9
10
|
require 'google/api/field_info_pb'
|
@@ -16,7 +17,7 @@ require 'google/protobuf/field_mask_pb'
|
|
16
17
|
require 'google/protobuf/timestamp_pb'
|
17
18
|
|
18
19
|
|
19
|
-
descriptor_data = "\n/google/storage/control/v2/storage_control.proto\x12\x19google.storage.control.v2\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a\x18google/api/routing.proto\x1a#google/longrunning/operations.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"+\n\x11PendingRenameInfo\x12\x16\n\toperation\x18\x01 \x01(\tB\x03\xe0\x41\x03\"\xe2\x02\n\x06\x46older\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x1b\n\x0emetageneration\x18\x03 \x01(\x03\x42\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12N\n\x13pending_rename_info\x18\x07 \x01(\x0b\x32,.google.storage.control.v2.PendingRenameInfoB\x03\xe0\x41\x03:l\xea\x41i\n\x1dstorage.googleapis.com/Folder\x12\x37projects/{project}/buckets/{bucket}/folders/{folder=**}*\x07\x66olders2\x06\x66older\"\xf4\x01\n\x10GetFolderRequest\x12\x33\n\x04name\x18\x06 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\n\x1dstorage.googleapis.com/Folder\x12$\n\x17if_metageneration_match\x18\x03 \x01(\x03H\x00\x88\x01\x01\x12(\n\x1bif_metageneration_not_match\x18\x04 \x01(\x03H\x01\x88\x01\x01\x12\x1f\n\nrequest_id\x18\x05 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x42\x1a\n\x18_if_metageneration_matchB\x1e\n\x1c_if_metageneration_not_match\"\xd5\x01\n\x13\x43reateFolderRequest\x12\x35\n\x06parent\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\x12\x1dstorage.googleapis.com/Folder\x12\x36\n\x06\x66older\x18\x02 \x01(\x0b\x32!.google.storage.control.v2.FolderB\x03\xe0\x41\x02\x12\x16\n\tfolder_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x16\n\trecursive\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x12\x1f\n\nrequest_id\x18\x05 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\xf7\x01\n\x13\x44\x65leteFolderRequest\x12\x33\n\x04name\x18\x06 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\n\x1dstorage.googleapis.com/Folder\x12$\n\x17if_metageneration_match\x18\x03 \x01(\x03H\x00\x88\x01\x01\x12(\n\x1bif_metageneration_not_match\x18\x04 \x01(\x03H\x01\x88\x01\x01\x12\x1f\n\nrequest_id\x18\x05 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x42\x1a\n\x18_if_metageneration_matchB\x1e\n\x1c_if_metageneration_not_match\"\x8c\x02\n\x12ListFoldersRequest\x12\x35\n\x06parent\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\x12\x1dstorage.googleapis.com/Folder\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06prefix\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tdelimiter\x18\x08 \x01(\tB\x03\xe0\x41\x01\x12 \n\x13lexicographic_start\x18\x06 \x01(\tB\x03\xe0\x41\x01\x12\x1e\n\x11lexicographic_end\x18\x07 \x01(\tB\x03\xe0\x41\x01\x12\x1f\n\nrequest_id\x18\t \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"b\n\x13ListFoldersResponse\x12\x32\n\x07\x66olders\x18\x01 \x03(\x0b\x32!.google.storage.control.v2.Folder\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x9b\x02\n\x13RenameFolderRequest\x12\x33\n\x04name\x18\x07 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\n\x1dstorage.googleapis.com/Folder\x12\"\n\x15\x64\x65stination_folder_id\x18\x08 \x01(\tB\x03\xe0\x41\x02\x12$\n\x17if_metageneration_match\x18\x04 \x01(\x03H\x00\x88\x01\x01\x12(\n\x1bif_metageneration_not_match\x18\x05 \x01(\x03H\x01\x88\x01\x01\x12\x1f\n\nrequest_id\x18\x06 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x42\x1a\n\x18_if_metageneration_matchB\x1e\n\x1c_if_metageneration_not_match\"\x9a\x02\n\"CommonLongRunningOperationMetadata\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x11\n\x04type\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x05 \x01(\x08\x42\x03\xe0\x41\x03\x12\x1d\n\x10progress_percent\x18\x06 \x01(\x05\x42\x03\xe0\x41\x03\"\xa7\x01\n\x14RenameFolderMetadata\x12V\n\x0f\x63ommon_metadata\x18\x01 \x01(\x0b\x32=.google.storage.control.v2.CommonLongRunningOperationMetadata\x12\x18\n\x10source_folder_id\x18\x02 \x01(\t\x12\x1d\n\x15\x64\x65stination_folder_id\x18\x03 \x01(\t\"\xf8\x03\n\rStorageLayout\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x15\n\x08location\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x1a\n\rlocation_type\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x64\n\x17\x63ustom_placement_config\x18\x04 \x01(\x0b\x32>.google.storage.control.v2.StorageLayout.CustomPlacementConfigB\x03\xe0\x41\x03\x12\x63\n\x16hierarchical_namespace\x18\x05 \x01(\x0b\x32>.google.storage.control.v2.StorageLayout.HierarchicalNamespaceB\x03\xe0\x41\x03\x1a/\n\x15\x43ustomPlacementConfig\x12\x16\n\x0e\x64\x61ta_locations\x18\x01 \x03(\t\x1a(\n\x15HierarchicalNamespace\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08:{\xea\x41x\n$storage.googleapis.com/StorageLayout\x12\x31projects/{project}/buckets/{bucket}/storageLayout*\x0estorageLayouts2\rstorageLayout\"\x86\x01\n\x17GetStorageLayoutRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$storage.googleapis.com/StorageLayout\x12\x0e\n\x06prefix\x18\x02 \x01(\t\x12\x1f\n\nrequest_id\x18\x03 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\xbf\x02\n\rManagedFolder\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x1b\n\x0emetageneration\x18\x03 \x01(\x03\x42\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03:\x91\x01\xea\x41\x8d\x01\n$storage.googleapis.com/ManagedFolder\x12\x46projects/{project}/buckets/{bucket}/managedFolders/{managed_folder=**}*\x0emanagedFolders2\rmanagedFolder\"\x82\x02\n\x17GetManagedFolderRequest\x12:\n\x04name\x18\x06 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$storage.googleapis.com/ManagedFolder\x12$\n\x17if_metageneration_match\x18\x03 \x01(\x03H\x00\x88\x01\x01\x12(\n\x1bif_metageneration_not_match\x18\x04 \x01(\x03H\x01\x88\x01\x01\x12\x1f\n\nrequest_id\x18\x05 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x42\x1a\n\x18_if_metageneration_matchB\x1e\n\x1c_if_metageneration_not_match\"\xe2\x01\n\x1a\x43reateManagedFolderRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\x12$storage.googleapis.com/ManagedFolder\x12\x45\n\x0emanaged_folder\x18\x02 \x01(\x0b\x32(.google.storage.control.v2.ManagedFolderB\x03\xe0\x41\x02\x12\x1e\n\x11managed_folder_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x04 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\x9e\x02\n\x1a\x44\x65leteManagedFolderRequest\x12:\n\x04name\x18\x07 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$storage.googleapis.com/ManagedFolder\x12$\n\x17if_metageneration_match\x18\x03 \x01(\x03H\x00\x88\x01\x01\x12(\n\x1bif_metageneration_not_match\x18\x04 \x01(\x03H\x01\x88\x01\x01\x12\x17\n\x0f\x61llow_non_empty\x18\x05 \x01(\x08\x12\x1f\n\nrequest_id\x18\x06 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x42\x1a\n\x18_if_metageneration_matchB\x1e\n\x1c_if_metageneration_not_match\"\xc0\x01\n\x19ListManagedFoldersRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\x12$storage.googleapis.com/ManagedFolder\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06prefix\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x1f\n\nrequest_id\x18\x05 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"x\n\x1aListManagedFoldersResponse\x12\x41\n\x0fmanaged_folders\x18\x01 \x03(\x0b\x32(.google.storage.control.v2.ManagedFolder\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xb0\x02\n\x1b\x43reateAnywhereCacheMetadata\x12V\n\x0f\x63ommon_metadata\x18\x01 \x01(\x0b\x32=.google.storage.control.v2.CommonLongRunningOperationMetadata\x12\x1e\n\x11\x61nywhere_cache_id\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x11\n\x04zone\x18\x06 \x01(\tH\x01\x88\x01\x01\x12+\n\x03ttl\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationH\x02\x88\x01\x01\x12\x1d\n\x10\x61\x64mission_policy\x18\x05 \x01(\tH\x03\x88\x01\x01\x42\x14\n\x12_anywhere_cache_idB\x07\n\x05_zoneB\x06\n\x04_ttlB\x13\n\x11_admission_policy\"\xb0\x02\n\x1bUpdateAnywhereCacheMetadata\x12V\n\x0f\x63ommon_metadata\x18\x01 \x01(\x0b\x32=.google.storage.control.v2.CommonLongRunningOperationMetadata\x12\x1e\n\x11\x61nywhere_cache_id\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x11\n\x04zone\x18\x05 \x01(\tH\x01\x88\x01\x01\x12+\n\x03ttl\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationH\x02\x88\x01\x01\x12\x1d\n\x10\x61\x64mission_policy\x18\x04 \x01(\tH\x03\x88\x01\x01\x42\x14\n\x12_anywhere_cache_idB\x07\n\x05_zoneB\x06\n\x04_ttlB\x13\n\x11_admission_policy\"\xa5\x03\n\rAnywhereCache\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12\x11\n\x04zone\x18\n \x01(\tB\x03\xe0\x41\x05\x12&\n\x03ttl\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x18\n\x10\x61\x64mission_policy\x18\t \x01(\t\x12\x12\n\x05state\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x1b\n\x0epending_update\x18\x08 \x01(\x08\x42\x03\xe0\x41\x03:\x8e\x01\xea\x41\x8a\x01\n$storage.googleapis.com/AnywhereCache\x12\x43projects/{project}/buckets/{bucket}/anywhereCaches/{anywhere_cache}*\x0e\x61nywhereCaches2\ranywhereCache\"\xc2\x01\n\x1a\x43reateAnywhereCacheRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\x12$storage.googleapis.com/AnywhereCache\x12\x45\n\x0e\x61nywhere_cache\x18\x03 \x01(\x0b\x32(.google.storage.control.v2.AnywhereCacheB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x04 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\xba\x01\n\x1aUpdateAnywhereCacheRequest\x12\x45\n\x0e\x61nywhere_cache\x18\x01 \x01(\x0b\x32(.google.storage.control.v2.AnywhereCacheB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x03 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"z\n\x1b\x44isableAnywhereCacheRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$storage.googleapis.com/AnywhereCache\x12\x1f\n\nrequest_id\x18\x02 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"x\n\x19PauseAnywhereCacheRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$storage.googleapis.com/AnywhereCache\x12\x1f\n\nrequest_id\x18\x02 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"y\n\x1aResumeAnywhereCacheRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$storage.googleapis.com/AnywhereCache\x12\x1f\n\nrequest_id\x18\x02 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"v\n\x17GetAnywhereCacheRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$storage.googleapis.com/AnywhereCache\x12\x1f\n\nrequest_id\x18\x02 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\xa1\x01\n\x19ListAnywhereCachesRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\x12$storage.googleapis.com/AnywhereCache\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x1f\n\nrequest_id\x18\x04 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"x\n\x1aListAnywhereCachesResponse\x12\x41\n\x0f\x61nywhere_caches\x18\x01 \x03(\x0b\x32(.google.storage.control.v2.AnywhereCache\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\x8b\x1a\n\x0eStorageControl\x12\x9a\x01\n\x0c\x43reateFolder\x12..google.storage.control.v2.CreateFolderRequest\x1a!.google.storage.control.v2.Folder\"7\xda\x41\x17parent,folder,folder_id\x8a\xd3\xe4\x93\x02\x17\x12\x15\n\x06parent\x12\x0b{bucket=**}\x12\x8f\x01\n\x0c\x44\x65leteFolder\x12..google.storage.control.v2.DeleteFolderRequest\x1a\x16.google.protobuf.Empty\"7\xda\x41\x04name\x8a\xd3\xe4\x93\x02*\x12(\n\x04name\x12 {bucket=projects/*/buckets/*}/**\x12\x94\x01\n\tGetFolder\x12+.google.storage.control.v2.GetFolderRequest\x1a!.google.storage.control.v2.Folder\"7\xda\x41\x04name\x8a\xd3\xe4\x93\x02*\x12(\n\x04name\x12 {bucket=projects/*/buckets/*}/**\x12\x94\x01\n\x0bListFolders\x12-.google.storage.control.v2.ListFoldersRequest\x1a..google.storage.control.v2.ListFoldersResponse\"&\xda\x41\x06parent\x8a\xd3\xe4\x93\x02\x17\x12\x15\n\x06parent\x12\x0b{bucket=**}\x12\xcd\x01\n\x0cRenameFolder\x12..google.storage.control.v2.RenameFolderRequest\x1a\x1d.google.longrunning.Operation\"n\xca\x41\x1e\n\x06\x46older\x12\x14RenameFolderMetadata\xda\x41\x1aname,destination_folder_id\x8a\xd3\xe4\x93\x02*\x12(\n\x04name\x12 {bucket=projects/*/buckets/*}/**\x12\xa9\x01\n\x10GetStorageLayout\x12\x32.google.storage.control.v2.GetStorageLayoutRequest\x1a(.google.storage.control.v2.StorageLayout\"7\xda\x41\x04name\x8a\xd3\xe4\x93\x02*\x12(\n\x04name\x12 {bucket=projects/*/buckets/*}/**\x12\xbf\x01\n\x13\x43reateManagedFolder\x12\x35.google.storage.control.v2.CreateManagedFolderRequest\x1a(.google.storage.control.v2.ManagedFolder\"G\xda\x41\'parent,managed_folder,managed_folder_id\x8a\xd3\xe4\x93\x02\x17\x12\x15\n\x06parent\x12\x0b{bucket=**}\x12\x9d\x01\n\x13\x44\x65leteManagedFolder\x12\x35.google.storage.control.v2.DeleteManagedFolderRequest\x1a\x16.google.protobuf.Empty\"7\xda\x41\x04name\x8a\xd3\xe4\x93\x02*\x12(\n\x04name\x12 {bucket=projects/*/buckets/*}/**\x12\xa9\x01\n\x10GetManagedFolder\x12\x32.google.storage.control.v2.GetManagedFolderRequest\x1a(.google.storage.control.v2.ManagedFolder\"7\xda\x41\x04name\x8a\xd3\xe4\x93\x02*\x12(\n\x04name\x12 {bucket=projects/*/buckets/*}/**\x12\xa9\x01\n\x12ListManagedFolders\x12\x34.google.storage.control.v2.ListManagedFoldersRequest\x1a\x35.google.storage.control.v2.ListManagedFoldersResponse\"&\xda\x41\x06parent\x8a\xd3\xe4\x93\x02\x17\x12\x15\n\x06parent\x12\x0b{bucket=**}\x12\xd1\x01\n\x13\x43reateAnywhereCache\x12\x35.google.storage.control.v2.CreateAnywhereCacheRequest\x1a\x1d.google.longrunning.Operation\"d\xca\x41,\n\rAnywhereCache\x12\x1b\x43reateAnywhereCacheMetadata\xda\x41\x15parent,anywhere_cache\x8a\xd3\xe4\x93\x02\x17\x12\x15\n\x06parent\x12\x0b{bucket=**}\x12\xf9\x01\n\x13UpdateAnywhereCache\x12\x35.google.storage.control.v2.UpdateAnywhereCacheRequest\x1a\x1d.google.longrunning.Operation\"\x8b\x01\xca\x41,\n\rAnywhereCache\x12\x1bUpdateAnywhereCacheMetadata\xda\x41\x1a\x61nywhere_cache,update_mask\x8a\xd3\xe4\x93\x02\x39\x12\x37\n\x13\x61nywhere_cache.name\x12 {bucket=projects/*/buckets/*}/**\x12\xb1\x01\n\x14\x44isableAnywhereCache\x12\x36.google.storage.control.v2.DisableAnywhereCacheRequest\x1a(.google.storage.control.v2.AnywhereCache\"7\xda\x41\x04name\x8a\xd3\xe4\x93\x02*\x12(\n\x04name\x12 {bucket=projects/*/buckets/*}/**\x12\xad\x01\n\x12PauseAnywhereCache\x12\x34.google.storage.control.v2.PauseAnywhereCacheRequest\x1a(.google.storage.control.v2.AnywhereCache\"7\xda\x41\x04name\x8a\xd3\xe4\x93\x02*\x12(\n\x04name\x12 {bucket=projects/*/buckets/*}/**\x12\xaf\x01\n\x13ResumeAnywhereCache\x12\x35.google.storage.control.v2.ResumeAnywhereCacheRequest\x1a(.google.storage.control.v2.AnywhereCache\"7\xda\x41\x04name\x8a\xd3\xe4\x93\x02*\x12(\n\x04name\x12 {bucket=projects/*/buckets/*}/**\x12\xa9\x01\n\x10GetAnywhereCache\x12\x32.google.storage.control.v2.GetAnywhereCacheRequest\x1a(.google.storage.control.v2.AnywhereCache\"7\xda\x41\x04name\x8a\xd3\xe4\x93\x02*\x12(\n\x04name\x12 {bucket=projects/*/buckets/*}/**\x12\xa9\x01\n\x12ListAnywhereCaches\x12\x34.google.storage.control.v2.ListAnywhereCachesRequest\x1a\x35.google.storage.control.v2.ListAnywhereCachesResponse\"&\xda\x41\x06parent\x8a\xd3\xe4\x93\x02\x17\x12\x15\n\x06parent\x12\x0b{bucket=**}\x1a\xa7\x02\xca\x41\x16storage.googleapis.com\xd2\x41\x8a\x02https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/cloud-platform.read-only,https://www.googleapis.com/auth/devstorage.full_control,https://www.googleapis.com/auth/devstorage.read_only,https://www.googleapis.com/auth/devstorage.read_writeB\xa6\x02\n\x1d\x63om.google.storage.control.v2B\x13StorageControlProtoP\x01Z=cloud.google.com/go/storage/control/apiv2/controlpb;controlpb\xaa\x02\x1fGoogle.Cloud.Storage.Control.V2\xca\x02\x1fGoogle\\Cloud\\Storage\\Control\\V2\xea\x02#Google::Cloud::Storage::Control::V2\xea\x41\x44\n\x1dstorage.googleapis.com/Bucket\x12#projects/{project}/buckets/{bucket}b\x06proto3"
|
20
|
+
descriptor_data = "\n/google/storage/control/v2/storage_control.proto\x12\x19google.storage.control.v2\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a\x18google/api/routing.proto\x1a#google/longrunning/operations.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"+\n\x11PendingRenameInfo\x12\x16\n\toperation\x18\x01 \x01(\tB\x03\xe0\x41\x03\"\xe2\x02\n\x06\x46older\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x1b\n\x0emetageneration\x18\x03 \x01(\x03\x42\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12N\n\x13pending_rename_info\x18\x07 \x01(\x0b\x32,.google.storage.control.v2.PendingRenameInfoB\x03\xe0\x41\x03:l\xea\x41i\n\x1dstorage.googleapis.com/Folder\x12\x37projects/{project}/buckets/{bucket}/folders/{folder=**}*\x07\x66olders2\x06\x66older\"\xf4\x01\n\x10GetFolderRequest\x12\x33\n\x04name\x18\x06 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\n\x1dstorage.googleapis.com/Folder\x12$\n\x17if_metageneration_match\x18\x03 \x01(\x03H\x00\x88\x01\x01\x12(\n\x1bif_metageneration_not_match\x18\x04 \x01(\x03H\x01\x88\x01\x01\x12\x1f\n\nrequest_id\x18\x05 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x42\x1a\n\x18_if_metageneration_matchB\x1e\n\x1c_if_metageneration_not_match\"\xd5\x01\n\x13\x43reateFolderRequest\x12\x35\n\x06parent\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\x12\x1dstorage.googleapis.com/Folder\x12\x36\n\x06\x66older\x18\x02 \x01(\x0b\x32!.google.storage.control.v2.FolderB\x03\xe0\x41\x02\x12\x16\n\tfolder_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x16\n\trecursive\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x12\x1f\n\nrequest_id\x18\x05 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\xf7\x01\n\x13\x44\x65leteFolderRequest\x12\x33\n\x04name\x18\x06 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\n\x1dstorage.googleapis.com/Folder\x12$\n\x17if_metageneration_match\x18\x03 \x01(\x03H\x00\x88\x01\x01\x12(\n\x1bif_metageneration_not_match\x18\x04 \x01(\x03H\x01\x88\x01\x01\x12\x1f\n\nrequest_id\x18\x05 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x42\x1a\n\x18_if_metageneration_matchB\x1e\n\x1c_if_metageneration_not_match\"\x8c\x02\n\x12ListFoldersRequest\x12\x35\n\x06parent\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\x12\x1dstorage.googleapis.com/Folder\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06prefix\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tdelimiter\x18\x08 \x01(\tB\x03\xe0\x41\x01\x12 \n\x13lexicographic_start\x18\x06 \x01(\tB\x03\xe0\x41\x01\x12\x1e\n\x11lexicographic_end\x18\x07 \x01(\tB\x03\xe0\x41\x01\x12\x1f\n\nrequest_id\x18\t \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"b\n\x13ListFoldersResponse\x12\x32\n\x07\x66olders\x18\x01 \x03(\x0b\x32!.google.storage.control.v2.Folder\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x9b\x02\n\x13RenameFolderRequest\x12\x33\n\x04name\x18\x07 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\n\x1dstorage.googleapis.com/Folder\x12\"\n\x15\x64\x65stination_folder_id\x18\x08 \x01(\tB\x03\xe0\x41\x02\x12$\n\x17if_metageneration_match\x18\x04 \x01(\x03H\x00\x88\x01\x01\x12(\n\x1bif_metageneration_not_match\x18\x05 \x01(\x03H\x01\x88\x01\x01\x12\x1f\n\nrequest_id\x18\x06 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x42\x1a\n\x18_if_metageneration_matchB\x1e\n\x1c_if_metageneration_not_match\"\x9a\x02\n\"CommonLongRunningOperationMetadata\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x11\n\x04type\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x05 \x01(\x08\x42\x03\xe0\x41\x03\x12\x1d\n\x10progress_percent\x18\x06 \x01(\x05\x42\x03\xe0\x41\x03\"\xa7\x01\n\x14RenameFolderMetadata\x12V\n\x0f\x63ommon_metadata\x18\x01 \x01(\x0b\x32=.google.storage.control.v2.CommonLongRunningOperationMetadata\x12\x18\n\x10source_folder_id\x18\x02 \x01(\t\x12\x1d\n\x15\x64\x65stination_folder_id\x18\x03 \x01(\t\"\xf8\x03\n\rStorageLayout\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x15\n\x08location\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x1a\n\rlocation_type\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x64\n\x17\x63ustom_placement_config\x18\x04 \x01(\x0b\x32>.google.storage.control.v2.StorageLayout.CustomPlacementConfigB\x03\xe0\x41\x03\x12\x63\n\x16hierarchical_namespace\x18\x05 \x01(\x0b\x32>.google.storage.control.v2.StorageLayout.HierarchicalNamespaceB\x03\xe0\x41\x03\x1a/\n\x15\x43ustomPlacementConfig\x12\x16\n\x0e\x64\x61ta_locations\x18\x01 \x03(\t\x1a(\n\x15HierarchicalNamespace\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08:{\xea\x41x\n$storage.googleapis.com/StorageLayout\x12\x31projects/{project}/buckets/{bucket}/storageLayout*\x0estorageLayouts2\rstorageLayout\"\x86\x01\n\x17GetStorageLayoutRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$storage.googleapis.com/StorageLayout\x12\x0e\n\x06prefix\x18\x02 \x01(\t\x12\x1f\n\nrequest_id\x18\x03 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\xbf\x02\n\rManagedFolder\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x1b\n\x0emetageneration\x18\x03 \x01(\x03\x42\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03:\x91\x01\xea\x41\x8d\x01\n$storage.googleapis.com/ManagedFolder\x12\x46projects/{project}/buckets/{bucket}/managedFolders/{managed_folder=**}*\x0emanagedFolders2\rmanagedFolder\"\x82\x02\n\x17GetManagedFolderRequest\x12:\n\x04name\x18\x06 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$storage.googleapis.com/ManagedFolder\x12$\n\x17if_metageneration_match\x18\x03 \x01(\x03H\x00\x88\x01\x01\x12(\n\x1bif_metageneration_not_match\x18\x04 \x01(\x03H\x01\x88\x01\x01\x12\x1f\n\nrequest_id\x18\x05 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x42\x1a\n\x18_if_metageneration_matchB\x1e\n\x1c_if_metageneration_not_match\"\xe2\x01\n\x1a\x43reateManagedFolderRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\x12$storage.googleapis.com/ManagedFolder\x12\x45\n\x0emanaged_folder\x18\x02 \x01(\x0b\x32(.google.storage.control.v2.ManagedFolderB\x03\xe0\x41\x02\x12\x1e\n\x11managed_folder_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x04 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\x9e\x02\n\x1a\x44\x65leteManagedFolderRequest\x12:\n\x04name\x18\x07 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$storage.googleapis.com/ManagedFolder\x12$\n\x17if_metageneration_match\x18\x03 \x01(\x03H\x00\x88\x01\x01\x12(\n\x1bif_metageneration_not_match\x18\x04 \x01(\x03H\x01\x88\x01\x01\x12\x17\n\x0f\x61llow_non_empty\x18\x05 \x01(\x08\x12\x1f\n\nrequest_id\x18\x06 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x42\x1a\n\x18_if_metageneration_matchB\x1e\n\x1c_if_metageneration_not_match\"\xc0\x01\n\x19ListManagedFoldersRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\x12$storage.googleapis.com/ManagedFolder\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06prefix\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x1f\n\nrequest_id\x18\x05 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"x\n\x1aListManagedFoldersResponse\x12\x41\n\x0fmanaged_folders\x18\x01 \x03(\x0b\x32(.google.storage.control.v2.ManagedFolder\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xb0\x02\n\x1b\x43reateAnywhereCacheMetadata\x12V\n\x0f\x63ommon_metadata\x18\x01 \x01(\x0b\x32=.google.storage.control.v2.CommonLongRunningOperationMetadata\x12\x1e\n\x11\x61nywhere_cache_id\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x11\n\x04zone\x18\x06 \x01(\tH\x01\x88\x01\x01\x12+\n\x03ttl\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationH\x02\x88\x01\x01\x12\x1d\n\x10\x61\x64mission_policy\x18\x05 \x01(\tH\x03\x88\x01\x01\x42\x14\n\x12_anywhere_cache_idB\x07\n\x05_zoneB\x06\n\x04_ttlB\x13\n\x11_admission_policy\"\xb0\x02\n\x1bUpdateAnywhereCacheMetadata\x12V\n\x0f\x63ommon_metadata\x18\x01 \x01(\x0b\x32=.google.storage.control.v2.CommonLongRunningOperationMetadata\x12\x1e\n\x11\x61nywhere_cache_id\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x11\n\x04zone\x18\x05 \x01(\tH\x01\x88\x01\x01\x12+\n\x03ttl\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationH\x02\x88\x01\x01\x12\x1d\n\x10\x61\x64mission_policy\x18\x04 \x01(\tH\x03\x88\x01\x01\x42\x14\n\x12_anywhere_cache_idB\x07\n\x05_zoneB\x06\n\x04_ttlB\x13\n\x11_admission_policy\"\xa5\x03\n\rAnywhereCache\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12\x11\n\x04zone\x18\n \x01(\tB\x03\xe0\x41\x05\x12&\n\x03ttl\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x18\n\x10\x61\x64mission_policy\x18\t \x01(\t\x12\x12\n\x05state\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x1b\n\x0epending_update\x18\x08 \x01(\x08\x42\x03\xe0\x41\x03:\x8e\x01\xea\x41\x8a\x01\n$storage.googleapis.com/AnywhereCache\x12\x43projects/{project}/buckets/{bucket}/anywhereCaches/{anywhere_cache}*\x0e\x61nywhereCaches2\ranywhereCache\"\xc2\x01\n\x1a\x43reateAnywhereCacheRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\x12$storage.googleapis.com/AnywhereCache\x12\x45\n\x0e\x61nywhere_cache\x18\x03 \x01(\x0b\x32(.google.storage.control.v2.AnywhereCacheB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x04 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\xba\x01\n\x1aUpdateAnywhereCacheRequest\x12\x45\n\x0e\x61nywhere_cache\x18\x01 \x01(\x0b\x32(.google.storage.control.v2.AnywhereCacheB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x03 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"z\n\x1b\x44isableAnywhereCacheRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$storage.googleapis.com/AnywhereCache\x12\x1f\n\nrequest_id\x18\x02 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"x\n\x19PauseAnywhereCacheRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$storage.googleapis.com/AnywhereCache\x12\x1f\n\nrequest_id\x18\x02 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"y\n\x1aResumeAnywhereCacheRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$storage.googleapis.com/AnywhereCache\x12\x1f\n\nrequest_id\x18\x02 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"v\n\x17GetAnywhereCacheRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$storage.googleapis.com/AnywhereCache\x12\x1f\n\nrequest_id\x18\x02 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\xa1\x01\n\x19ListAnywhereCachesRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\x12$storage.googleapis.com/AnywhereCache\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x1f\n\nrequest_id\x18\x04 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"x\n\x1aListAnywhereCachesResponse\x12\x41\n\x0f\x61nywhere_caches\x18\x01 \x03(\x0b\x32(.google.storage.control.v2.AnywhereCache\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x8e\x0e\n\x12IntelligenceConfig\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12X\n\x0e\x65\x64ition_config\x18\x02 \x01(\x0e\x32;.google.storage.control.v2.IntelligenceConfig.EditionConfigB\x03\xe0\x41\x01\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12I\n\x06\x66ilter\x18\x04 \x01(\x0b\x32\x34.google.storage.control.v2.IntelligenceConfig.FilterB\x03\xe0\x41\x01\x12u\n\x1d\x65\x66\x66\x65\x63tive_intelligence_config\x18\x05 \x01(\x0b\x32I.google.storage.control.v2.IntelligenceConfig.EffectiveIntelligenceConfigB\x03\xe0\x41\x03\x12O\n\x0ctrial_config\x18\x07 \x01(\x0b\x32\x39.google.storage.control.v2.IntelligenceConfig.TrialConfig\x1a\xfc\x04\n\x06\x46ilter\x12v\n included_cloud_storage_locations\x18\x01 \x01(\x0b\x32J.google.storage.control.v2.IntelligenceConfig.Filter.CloudStorageLocationsH\x00\x12v\n excluded_cloud_storage_locations\x18\x02 \x01(\x0b\x32J.google.storage.control.v2.IntelligenceConfig.Filter.CloudStorageLocationsH\x00\x12r\n\x1eincluded_cloud_storage_buckets\x18\x03 \x01(\x0b\x32H.google.storage.control.v2.IntelligenceConfig.Filter.CloudStorageBucketsH\x01\x12r\n\x1e\x65xcluded_cloud_storage_buckets\x18\x04 \x01(\x0b\x32H.google.storage.control.v2.IntelligenceConfig.Filter.CloudStorageBucketsH\x01\x1a/\n\x15\x43loudStorageLocations\x12\x16\n\tlocations\x18\x01 \x03(\tB\x03\xe0\x41\x01\x1a\x35\n\x13\x43loudStorageBuckets\x12\x1e\n\x11\x62ucket_id_regexes\x18\x01 \x03(\tB\x03\xe0\x41\x01\x42\x19\n\x17\x63loud_storage_locationsB\x17\n\x15\x63loud_storage_buckets\x1a\x8a\x02\n\x1b\x45\x66\x66\x65\x63tiveIntelligenceConfig\x12z\n\x11\x65\x66\x66\x65\x63tive_edition\x18\x01 \x01(\x0e\x32Z.google.storage.control.v2.IntelligenceConfig.EffectiveIntelligenceConfig.EffectiveEditionB\x03\xe0\x41\x03\x12 \n\x13intelligence_config\x18\x02 \x01(\tB\x03\xe0\x41\x03\"M\n\x10\x45\x66\x66\x65\x63tiveEdition\x12!\n\x1d\x45\x46\x46\x45\x43TIVE_EDITION_UNSPECIFIED\x10\x00\x12\x08\n\x04NONE\x10\x01\x12\x0c\n\x08STANDARD\x10\x02\x1a\x43\n\x0bTrialConfig\x12\x34\n\x0b\x65xpire_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\"c\n\rEditionConfig\x12\x1e\n\x1a\x45\x44ITION_CONFIG_UNSPECIFIED\x10\x00\x12\x0b\n\x07INHERIT\x10\x01\x12\x0c\n\x08\x44ISABLED\x10\x02\x12\x0c\n\x08STANDARD\x10\x03\x12\t\n\x05TRIAL\x10\x05:\x8b\x02\xea\x41\x87\x02\n)storage.googleapis.com/IntelligenceConfig\x12\x38\x66olders/{folder}/locations/{location}/intelligenceConfig\x12;organizations/{org}/locations/{location}/intelligenceConfig\x12:projects/{project}/locations/{location}/intelligenceConfig*\x13intelligenceConfigs2\x12intelligenceConfig\"\xd5\x01\n+UpdateOrganizationIntelligenceConfigRequest\x12O\n\x13intelligence_config\x18\x01 \x01(\x0b\x32-.google.storage.control.v2.IntelligenceConfigB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x03 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\xcf\x01\n%UpdateFolderIntelligenceConfigRequest\x12O\n\x13intelligence_config\x18\x01 \x01(\x0b\x32-.google.storage.control.v2.IntelligenceConfigB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x03 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\xd0\x01\n&UpdateProjectIntelligenceConfigRequest\x12O\n\x13intelligence_config\x18\x01 \x01(\x0b\x32-.google.storage.control.v2.IntelligenceConfigB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x03 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"k\n(GetOrganizationIntelligenceConfigRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)storage.googleapis.com/IntelligenceConfig\"e\n\"GetFolderIntelligenceConfigRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)storage.googleapis.com/IntelligenceConfig\"f\n#GetProjectIntelligenceConfigRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)storage.googleapis.com/IntelligenceConfig2\x82&\n\x0eStorageControl\x12\x9a\x01\n\x0c\x43reateFolder\x12..google.storage.control.v2.CreateFolderRequest\x1a!.google.storage.control.v2.Folder\"7\xda\x41\x17parent,folder,folder_id\x8a\xd3\xe4\x93\x02\x17\x12\x15\n\x06parent\x12\x0b{bucket=**}\x12\x8f\x01\n\x0c\x44\x65leteFolder\x12..google.storage.control.v2.DeleteFolderRequest\x1a\x16.google.protobuf.Empty\"7\xda\x41\x04name\x8a\xd3\xe4\x93\x02*\x12(\n\x04name\x12 {bucket=projects/*/buckets/*}/**\x12\x94\x01\n\tGetFolder\x12+.google.storage.control.v2.GetFolderRequest\x1a!.google.storage.control.v2.Folder\"7\xda\x41\x04name\x8a\xd3\xe4\x93\x02*\x12(\n\x04name\x12 {bucket=projects/*/buckets/*}/**\x12\x94\x01\n\x0bListFolders\x12-.google.storage.control.v2.ListFoldersRequest\x1a..google.storage.control.v2.ListFoldersResponse\"&\xda\x41\x06parent\x8a\xd3\xe4\x93\x02\x17\x12\x15\n\x06parent\x12\x0b{bucket=**}\x12\xcd\x01\n\x0cRenameFolder\x12..google.storage.control.v2.RenameFolderRequest\x1a\x1d.google.longrunning.Operation\"n\xca\x41\x1e\n\x06\x46older\x12\x14RenameFolderMetadata\xda\x41\x1aname,destination_folder_id\x8a\xd3\xe4\x93\x02*\x12(\n\x04name\x12 {bucket=projects/*/buckets/*}/**\x12\xa9\x01\n\x10GetStorageLayout\x12\x32.google.storage.control.v2.GetStorageLayoutRequest\x1a(.google.storage.control.v2.StorageLayout\"7\xda\x41\x04name\x8a\xd3\xe4\x93\x02*\x12(\n\x04name\x12 {bucket=projects/*/buckets/*}/**\x12\xbf\x01\n\x13\x43reateManagedFolder\x12\x35.google.storage.control.v2.CreateManagedFolderRequest\x1a(.google.storage.control.v2.ManagedFolder\"G\xda\x41\'parent,managed_folder,managed_folder_id\x8a\xd3\xe4\x93\x02\x17\x12\x15\n\x06parent\x12\x0b{bucket=**}\x12\x9d\x01\n\x13\x44\x65leteManagedFolder\x12\x35.google.storage.control.v2.DeleteManagedFolderRequest\x1a\x16.google.protobuf.Empty\"7\xda\x41\x04name\x8a\xd3\xe4\x93\x02*\x12(\n\x04name\x12 {bucket=projects/*/buckets/*}/**\x12\xa9\x01\n\x10GetManagedFolder\x12\x32.google.storage.control.v2.GetManagedFolderRequest\x1a(.google.storage.control.v2.ManagedFolder\"7\xda\x41\x04name\x8a\xd3\xe4\x93\x02*\x12(\n\x04name\x12 {bucket=projects/*/buckets/*}/**\x12\xa9\x01\n\x12ListManagedFolders\x12\x34.google.storage.control.v2.ListManagedFoldersRequest\x1a\x35.google.storage.control.v2.ListManagedFoldersResponse\"&\xda\x41\x06parent\x8a\xd3\xe4\x93\x02\x17\x12\x15\n\x06parent\x12\x0b{bucket=**}\x12\xd1\x01\n\x13\x43reateAnywhereCache\x12\x35.google.storage.control.v2.CreateAnywhereCacheRequest\x1a\x1d.google.longrunning.Operation\"d\xca\x41,\n\rAnywhereCache\x12\x1b\x43reateAnywhereCacheMetadata\xda\x41\x15parent,anywhere_cache\x8a\xd3\xe4\x93\x02\x17\x12\x15\n\x06parent\x12\x0b{bucket=**}\x12\xf9\x01\n\x13UpdateAnywhereCache\x12\x35.google.storage.control.v2.UpdateAnywhereCacheRequest\x1a\x1d.google.longrunning.Operation\"\x8b\x01\xca\x41,\n\rAnywhereCache\x12\x1bUpdateAnywhereCacheMetadata\xda\x41\x1a\x61nywhere_cache,update_mask\x8a\xd3\xe4\x93\x02\x39\x12\x37\n\x13\x61nywhere_cache.name\x12 {bucket=projects/*/buckets/*}/**\x12\xb1\x01\n\x14\x44isableAnywhereCache\x12\x36.google.storage.control.v2.DisableAnywhereCacheRequest\x1a(.google.storage.control.v2.AnywhereCache\"7\xda\x41\x04name\x8a\xd3\xe4\x93\x02*\x12(\n\x04name\x12 {bucket=projects/*/buckets/*}/**\x12\xad\x01\n\x12PauseAnywhereCache\x12\x34.google.storage.control.v2.PauseAnywhereCacheRequest\x1a(.google.storage.control.v2.AnywhereCache\"7\xda\x41\x04name\x8a\xd3\xe4\x93\x02*\x12(\n\x04name\x12 {bucket=projects/*/buckets/*}/**\x12\xaf\x01\n\x13ResumeAnywhereCache\x12\x35.google.storage.control.v2.ResumeAnywhereCacheRequest\x1a(.google.storage.control.v2.AnywhereCache\"7\xda\x41\x04name\x8a\xd3\xe4\x93\x02*\x12(\n\x04name\x12 {bucket=projects/*/buckets/*}/**\x12\xa9\x01\n\x10GetAnywhereCache\x12\x32.google.storage.control.v2.GetAnywhereCacheRequest\x1a(.google.storage.control.v2.AnywhereCache\"7\xda\x41\x04name\x8a\xd3\xe4\x93\x02*\x12(\n\x04name\x12 {bucket=projects/*/buckets/*}/**\x12\xa9\x01\n\x12ListAnywhereCaches\x12\x34.google.storage.control.v2.ListAnywhereCachesRequest\x1a\x35.google.storage.control.v2.ListAnywhereCachesResponse\"&\xda\x41\x06parent\x8a\xd3\xe4\x93\x02\x17\x12\x15\n\x06parent\x12\x0b{bucket=**}\x12\xd2\x01\n\x1cGetProjectIntelligenceConfig\x12>.google.storage.control.v2.GetProjectIntelligenceConfigRequest\x1a-.google.storage.control.v2.IntelligenceConfig\"C\xda\x41\x04name\x82\xd3\xe4\x93\x02\x36\x12\x34/v2/{name=projects/*/locations/*/intelligenceConfig}\x12\x9d\x02\n\x1fUpdateProjectIntelligenceConfig\x12\x41.google.storage.control.v2.UpdateProjectIntelligenceConfigRequest\x1a-.google.storage.control.v2.IntelligenceConfig\"\x87\x01\xda\x41\x1fintelligence_config,update_mask\x82\xd3\xe4\x93\x02_2H/v2/{intelligence_config.name=projects/*/locations/*/intelligenceConfig}:\x13intelligence_config\x12\xcf\x01\n\x1bGetFolderIntelligenceConfig\x12=.google.storage.control.v2.GetFolderIntelligenceConfigRequest\x1a-.google.storage.control.v2.IntelligenceConfig\"B\xda\x41\x04name\x82\xd3\xe4\x93\x02\x35\x12\x33/v2/{name=folders/*/locations/*/intelligenceConfig}\x12\x9a\x02\n\x1eUpdateFolderIntelligenceConfig\x12@.google.storage.control.v2.UpdateFolderIntelligenceConfigRequest\x1a-.google.storage.control.v2.IntelligenceConfig\"\x86\x01\xda\x41\x1fintelligence_config,update_mask\x82\xd3\xe4\x93\x02^2G/v2/{intelligence_config.name=folders/*/locations/*/intelligenceConfig}:\x13intelligence_config\x12\xe1\x01\n!GetOrganizationIntelligenceConfig\x12\x43.google.storage.control.v2.GetOrganizationIntelligenceConfigRequest\x1a-.google.storage.control.v2.IntelligenceConfig\"H\xda\x41\x04name\x82\xd3\xe4\x93\x02;\x12\x39/v2/{name=organizations/*/locations/*/intelligenceConfig}\x12\xac\x02\n$UpdateOrganizationIntelligenceConfig\x12\x46.google.storage.control.v2.UpdateOrganizationIntelligenceConfigRequest\x1a-.google.storage.control.v2.IntelligenceConfig\"\x8c\x01\xda\x41\x1fintelligence_config,update_mask\x82\xd3\xe4\x93\x02\x64\x32M/v2/{intelligence_config.name=organizations/*/locations/*/intelligenceConfig}:\x13intelligence_config\x1a\xa7\x02\xca\x41\x16storage.googleapis.com\xd2\x41\x8a\x02https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/cloud-platform.read-only,https://www.googleapis.com/auth/devstorage.full_control,https://www.googleapis.com/auth/devstorage.read_only,https://www.googleapis.com/auth/devstorage.read_writeB\xa6\x02\n\x1d\x63om.google.storage.control.v2B\x13StorageControlProtoP\x01Z=cloud.google.com/go/storage/control/apiv2/controlpb;controlpb\xaa\x02\x1fGoogle.Cloud.Storage.Control.V2\xca\x02\x1fGoogle\\Cloud\\Storage\\Control\\V2\xea\x02#Google::Cloud::Storage::Control::V2\xea\x41\x44\n\x1dstorage.googleapis.com/Bucket\x12#projects/{project}/buckets/{bucket}b\x06proto3"
|
20
21
|
|
21
22
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
22
23
|
|
@@ -81,6 +82,20 @@ module Google
|
|
81
82
|
GetAnywhereCacheRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.storage.control.v2.GetAnywhereCacheRequest").msgclass
|
82
83
|
ListAnywhereCachesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.storage.control.v2.ListAnywhereCachesRequest").msgclass
|
83
84
|
ListAnywhereCachesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.storage.control.v2.ListAnywhereCachesResponse").msgclass
|
85
|
+
IntelligenceConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.storage.control.v2.IntelligenceConfig").msgclass
|
86
|
+
IntelligenceConfig::Filter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.storage.control.v2.IntelligenceConfig.Filter").msgclass
|
87
|
+
IntelligenceConfig::Filter::CloudStorageLocations = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.storage.control.v2.IntelligenceConfig.Filter.CloudStorageLocations").msgclass
|
88
|
+
IntelligenceConfig::Filter::CloudStorageBuckets = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.storage.control.v2.IntelligenceConfig.Filter.CloudStorageBuckets").msgclass
|
89
|
+
IntelligenceConfig::EffectiveIntelligenceConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.storage.control.v2.IntelligenceConfig.EffectiveIntelligenceConfig").msgclass
|
90
|
+
IntelligenceConfig::EffectiveIntelligenceConfig::EffectiveEdition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.storage.control.v2.IntelligenceConfig.EffectiveIntelligenceConfig.EffectiveEdition").enummodule
|
91
|
+
IntelligenceConfig::TrialConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.storage.control.v2.IntelligenceConfig.TrialConfig").msgclass
|
92
|
+
IntelligenceConfig::EditionConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.storage.control.v2.IntelligenceConfig.EditionConfig").enummodule
|
93
|
+
UpdateOrganizationIntelligenceConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.storage.control.v2.UpdateOrganizationIntelligenceConfigRequest").msgclass
|
94
|
+
UpdateFolderIntelligenceConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.storage.control.v2.UpdateFolderIntelligenceConfigRequest").msgclass
|
95
|
+
UpdateProjectIntelligenceConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.storage.control.v2.UpdateProjectIntelligenceConfigRequest").msgclass
|
96
|
+
GetOrganizationIntelligenceConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.storage.control.v2.GetOrganizationIntelligenceConfigRequest").msgclass
|
97
|
+
GetFolderIntelligenceConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.storage.control.v2.GetFolderIntelligenceConfigRequest").msgclass
|
98
|
+
GetProjectIntelligenceConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.storage.control.v2.GetProjectIntelligenceConfigRequest").msgclass
|
84
99
|
end
|
85
100
|
end
|
86
101
|
end
|
@@ -79,6 +79,18 @@ module Google
|
|
79
79
|
rpc :GetAnywhereCache, ::Google::Cloud::Storage::Control::V2::GetAnywhereCacheRequest, ::Google::Cloud::Storage::Control::V2::AnywhereCache
|
80
80
|
# Lists Anywhere Cache instances for a given bucket.
|
81
81
|
rpc :ListAnywhereCaches, ::Google::Cloud::Storage::Control::V2::ListAnywhereCachesRequest, ::Google::Cloud::Storage::Control::V2::ListAnywhereCachesResponse
|
82
|
+
# Returns the Project scoped singleton IntelligenceConfig resource.
|
83
|
+
rpc :GetProjectIntelligenceConfig, ::Google::Cloud::Storage::Control::V2::GetProjectIntelligenceConfigRequest, ::Google::Cloud::Storage::Control::V2::IntelligenceConfig
|
84
|
+
# Updates the Project scoped singleton IntelligenceConfig resource.
|
85
|
+
rpc :UpdateProjectIntelligenceConfig, ::Google::Cloud::Storage::Control::V2::UpdateProjectIntelligenceConfigRequest, ::Google::Cloud::Storage::Control::V2::IntelligenceConfig
|
86
|
+
# Returns the Folder scoped singleton IntelligenceConfig resource.
|
87
|
+
rpc :GetFolderIntelligenceConfig, ::Google::Cloud::Storage::Control::V2::GetFolderIntelligenceConfigRequest, ::Google::Cloud::Storage::Control::V2::IntelligenceConfig
|
88
|
+
# Updates the Folder scoped singleton IntelligenceConfig resource.
|
89
|
+
rpc :UpdateFolderIntelligenceConfig, ::Google::Cloud::Storage::Control::V2::UpdateFolderIntelligenceConfigRequest, ::Google::Cloud::Storage::Control::V2::IntelligenceConfig
|
90
|
+
# Returns the Organization scoped singleton IntelligenceConfig resource.
|
91
|
+
rpc :GetOrganizationIntelligenceConfig, ::Google::Cloud::Storage::Control::V2::GetOrganizationIntelligenceConfigRequest, ::Google::Cloud::Storage::Control::V2::IntelligenceConfig
|
92
|
+
# Updates the Organization scoped singleton IntelligenceConfig resource.
|
93
|
+
rpc :UpdateOrganizationIntelligenceConfig, ::Google::Cloud::Storage::Control::V2::UpdateOrganizationIntelligenceConfigRequest, ::Google::Cloud::Storage::Control::V2::IntelligenceConfig
|
82
94
|
end
|
83
95
|
|
84
96
|
Stub = Service.rpc_stub_class
|
@@ -696,6 +696,293 @@ module Google
|
|
696
696
|
include ::Google::Protobuf::MessageExts
|
697
697
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
698
698
|
end
|
699
|
+
|
700
|
+
# The `IntelligenceConfig` resource associated with your organization, folder,
|
701
|
+
# or project.
|
702
|
+
# @!attribute [rw] name
|
703
|
+
# @return [::String]
|
704
|
+
# Identifier. The name of the `IntelligenceConfig` resource associated with
|
705
|
+
# your organization, folder, or project.
|
706
|
+
#
|
707
|
+
# The name format varies based on the GCP resource hierarchy as follows:
|
708
|
+
#
|
709
|
+
# * For project:
|
710
|
+
# `projects/{project_number}/locations/global/intelligenceConfig`
|
711
|
+
# * For organization:
|
712
|
+
# `organizations/{org_id}/locations/global/intelligenceConfig`
|
713
|
+
# * For folder: `folders/{folder_id}/locations/global/intelligenceConfig`
|
714
|
+
# @!attribute [rw] edition_config
|
715
|
+
# @return [::Google::Cloud::Storage::Control::V2::IntelligenceConfig::EditionConfig]
|
716
|
+
# Optional. The edition configuration of the `IntelligenceConfig` resource.
|
717
|
+
# @!attribute [r] update_time
|
718
|
+
# @return [::Google::Protobuf::Timestamp]
|
719
|
+
# Output only. The time at which the `IntelligenceConfig` resource is last
|
720
|
+
# updated.
|
721
|
+
# @!attribute [rw] filter
|
722
|
+
# @return [::Google::Cloud::Storage::Control::V2::IntelligenceConfig::Filter]
|
723
|
+
# Optional. Filter over location and bucket.
|
724
|
+
# @!attribute [r] effective_intelligence_config
|
725
|
+
# @return [::Google::Cloud::Storage::Control::V2::IntelligenceConfig::EffectiveIntelligenceConfig]
|
726
|
+
# Output only. The `IntelligenceConfig` resource that is applicable for the
|
727
|
+
# resource.
|
728
|
+
# @!attribute [rw] trial_config
|
729
|
+
# @return [::Google::Cloud::Storage::Control::V2::IntelligenceConfig::TrialConfig]
|
730
|
+
# The trial configuration of the `IntelligenceConfig` resource.
|
731
|
+
class IntelligenceConfig
|
732
|
+
include ::Google::Protobuf::MessageExts
|
733
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
734
|
+
|
735
|
+
# Filter over location and bucket using include or exclude semantics.
|
736
|
+
# Resources that match the include or exclude filter are exclusively included
|
737
|
+
# or excluded from the Storage Intelligence plan.
|
738
|
+
# @!attribute [rw] included_cloud_storage_locations
|
739
|
+
# @return [::Google::Cloud::Storage::Control::V2::IntelligenceConfig::Filter::CloudStorageLocations]
|
740
|
+
# Bucket locations to include.
|
741
|
+
#
|
742
|
+
# Note: The following fields are mutually exclusive: `included_cloud_storage_locations`, `excluded_cloud_storage_locations`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
743
|
+
# @!attribute [rw] excluded_cloud_storage_locations
|
744
|
+
# @return [::Google::Cloud::Storage::Control::V2::IntelligenceConfig::Filter::CloudStorageLocations]
|
745
|
+
# Bucket locations to exclude.
|
746
|
+
#
|
747
|
+
# Note: The following fields are mutually exclusive: `excluded_cloud_storage_locations`, `included_cloud_storage_locations`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
748
|
+
# @!attribute [rw] included_cloud_storage_buckets
|
749
|
+
# @return [::Google::Cloud::Storage::Control::V2::IntelligenceConfig::Filter::CloudStorageBuckets]
|
750
|
+
# Buckets to include.
|
751
|
+
#
|
752
|
+
# Note: The following fields are mutually exclusive: `included_cloud_storage_buckets`, `excluded_cloud_storage_buckets`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
753
|
+
# @!attribute [rw] excluded_cloud_storage_buckets
|
754
|
+
# @return [::Google::Cloud::Storage::Control::V2::IntelligenceConfig::Filter::CloudStorageBuckets]
|
755
|
+
# Buckets to exclude.
|
756
|
+
#
|
757
|
+
# Note: The following fields are mutually exclusive: `excluded_cloud_storage_buckets`, `included_cloud_storage_buckets`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
758
|
+
class Filter
|
759
|
+
include ::Google::Protobuf::MessageExts
|
760
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
761
|
+
|
762
|
+
# Collection of bucket locations.
|
763
|
+
# @!attribute [rw] locations
|
764
|
+
# @return [::Array<::String>]
|
765
|
+
# Optional. Bucket locations. Location can be any of the Cloud Storage
|
766
|
+
# regions specified in lower case format. For example, `us-east1`,
|
767
|
+
# `us-west1`.
|
768
|
+
class CloudStorageLocations
|
769
|
+
include ::Google::Protobuf::MessageExts
|
770
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
771
|
+
end
|
772
|
+
|
773
|
+
# Collection of buckets.
|
774
|
+
# @!attribute [rw] bucket_id_regexes
|
775
|
+
# @return [::Array<::String>]
|
776
|
+
# Optional. A regex pattern for matching bucket names. Regex should
|
777
|
+
# follow the syntax specified in
|
778
|
+
# [google/re2](https://github.com/google/re2). For example,
|
779
|
+
# `^sample_.*` matches all buckets of the form
|
780
|
+
# `gs://sample_bucket-1`, `gs://sample_bucket-2`,
|
781
|
+
# `gs://sample_bucket-n` but not `gs://test_sample_bucket`.
|
782
|
+
# If you want to match a single bucket, say `gs://sample_bucket`,
|
783
|
+
# use `sample_bucket`.
|
784
|
+
class CloudStorageBuckets
|
785
|
+
include ::Google::Protobuf::MessageExts
|
786
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
787
|
+
end
|
788
|
+
end
|
789
|
+
|
790
|
+
# The effective `IntelligenceConfig` for the resource.
|
791
|
+
# @!attribute [r] effective_edition
|
792
|
+
# @return [::Google::Cloud::Storage::Control::V2::IntelligenceConfig::EffectiveIntelligenceConfig::EffectiveEdition]
|
793
|
+
# Output only. The `IntelligenceConfig` edition that is applicable for the
|
794
|
+
# resource.
|
795
|
+
# @!attribute [r] intelligence_config
|
796
|
+
# @return [::String]
|
797
|
+
# Output only. The `IntelligenceConfig` resource that is applied for the
|
798
|
+
# target resource. Format:
|
799
|
+
# `{organizations|folders|projects}/{id}/locations/{location}/intelligenceConfig`
|
800
|
+
class EffectiveIntelligenceConfig
|
801
|
+
include ::Google::Protobuf::MessageExts
|
802
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
803
|
+
|
804
|
+
# The effective edition of the `IntelligenceConfig` resource.
|
805
|
+
module EffectiveEdition
|
806
|
+
# This is an unknown edition of the resource.
|
807
|
+
EFFECTIVE_EDITION_UNSPECIFIED = 0
|
808
|
+
|
809
|
+
# No edition.
|
810
|
+
NONE = 1
|
811
|
+
|
812
|
+
# The `IntelligenceConfig` resource is of STANDARD edition.
|
813
|
+
STANDARD = 2
|
814
|
+
end
|
815
|
+
end
|
816
|
+
|
817
|
+
# The trial configuration of the `IntelligenceConfig` resource.
|
818
|
+
# @!attribute [r] expire_time
|
819
|
+
# @return [::Google::Protobuf::Timestamp]
|
820
|
+
# Output only. The time at which the trial expires.
|
821
|
+
class TrialConfig
|
822
|
+
include ::Google::Protobuf::MessageExts
|
823
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
824
|
+
end
|
825
|
+
|
826
|
+
# The edition configuration of the `IntelligenceConfig` resource. This
|
827
|
+
# signifies the edition used for configuring the `IntelligenceConfig`
|
828
|
+
# resource and can only take the following values:
|
829
|
+
# `EDITION_CONFIG_UNSPECIFIED`, `INHERIT`, `DISABLED`, `STANDARD` and
|
830
|
+
# `TRIAL`.
|
831
|
+
module EditionConfig
|
832
|
+
# This is an unknown edition of the resource.
|
833
|
+
EDITION_CONFIG_UNSPECIFIED = 0
|
834
|
+
|
835
|
+
# The inherited edition from the parent and filters. This is the default
|
836
|
+
# edition when there is no `IntelligenceConfig` setup for a GCP resource.
|
837
|
+
INHERIT = 1
|
838
|
+
|
839
|
+
# The edition configuration is disabled for the `IntelligenceConfig`
|
840
|
+
# resource and its children. Filters are not applicable.
|
841
|
+
DISABLED = 2
|
842
|
+
|
843
|
+
# The `IntelligenceConfig` resource is of STANDARD edition.
|
844
|
+
STANDARD = 3
|
845
|
+
|
846
|
+
# The `IntelligenceConfig` resource is available in `TRIAL` edition. During
|
847
|
+
# the trial period, Cloud Storage does not charge for Storage Intelligence
|
848
|
+
# usage. You can specify the buckets to include in the trial period by
|
849
|
+
# using filters. At the end of the trial period, the `IntelligenceConfig`
|
850
|
+
# resource is upgraded to `STANDARD` edition.
|
851
|
+
TRIAL = 5
|
852
|
+
end
|
853
|
+
end
|
854
|
+
|
855
|
+
# Request message to update the `IntelligenceConfig` resource associated with
|
856
|
+
# your organization.
|
857
|
+
#
|
858
|
+
# **IAM Permissions**:
|
859
|
+
#
|
860
|
+
# Requires `storage.intelligenceConfigs.update`
|
861
|
+
# [IAM](https://cloud.google.com/iam/docs/overview#permissions) permission on
|
862
|
+
# the organization.
|
863
|
+
# @!attribute [rw] intelligence_config
|
864
|
+
# @return [::Google::Cloud::Storage::Control::V2::IntelligenceConfig]
|
865
|
+
# Required. The `IntelligenceConfig` resource to be updated.
|
866
|
+
# @!attribute [rw] update_mask
|
867
|
+
# @return [::Google::Protobuf::FieldMask]
|
868
|
+
# Required. The `update_mask` that specifies the fields within the
|
869
|
+
# `IntelligenceConfig` resource that should be modified by this update. Only
|
870
|
+
# the listed fields are updated.
|
871
|
+
# @!attribute [rw] request_id
|
872
|
+
# @return [::String]
|
873
|
+
# Optional. The ID that uniquely identifies the request, preventing duplicate
|
874
|
+
# processing.
|
875
|
+
class UpdateOrganizationIntelligenceConfigRequest
|
876
|
+
include ::Google::Protobuf::MessageExts
|
877
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
878
|
+
end
|
879
|
+
|
880
|
+
# Request message to update the `IntelligenceConfig` resource associated with
|
881
|
+
# your folder.
|
882
|
+
#
|
883
|
+
# **IAM Permissions**:
|
884
|
+
#
|
885
|
+
# Requires `storage.intelligenceConfigs.update`
|
886
|
+
# [IAM](https://cloud.google.com/iam/docs/overview#permissions) permission on
|
887
|
+
# the folder.
|
888
|
+
# @!attribute [rw] intelligence_config
|
889
|
+
# @return [::Google::Cloud::Storage::Control::V2::IntelligenceConfig]
|
890
|
+
# Required. The `IntelligenceConfig` resource to be updated.
|
891
|
+
# @!attribute [rw] update_mask
|
892
|
+
# @return [::Google::Protobuf::FieldMask]
|
893
|
+
# Required. The `update_mask` that specifies the fields within the
|
894
|
+
# `IntelligenceConfig` resource that should be modified by this update. Only
|
895
|
+
# the listed fields are updated.
|
896
|
+
# @!attribute [rw] request_id
|
897
|
+
# @return [::String]
|
898
|
+
# Optional. The ID that uniquely identifies the request, preventing duplicate
|
899
|
+
# processing.
|
900
|
+
class UpdateFolderIntelligenceConfigRequest
|
901
|
+
include ::Google::Protobuf::MessageExts
|
902
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
903
|
+
end
|
904
|
+
|
905
|
+
# Request message to update the `IntelligenceConfig` resource associated with
|
906
|
+
# your project.
|
907
|
+
#
|
908
|
+
# **IAM Permissions**:
|
909
|
+
#
|
910
|
+
# Requires `storage.intelligenceConfigs.update`
|
911
|
+
# [IAM](https://cloud.google.com/iam/docs/overview#permissions) permission on
|
912
|
+
# the folder.
|
913
|
+
# @!attribute [rw] intelligence_config
|
914
|
+
# @return [::Google::Cloud::Storage::Control::V2::IntelligenceConfig]
|
915
|
+
# Required. The `IntelligenceConfig` resource to be updated.
|
916
|
+
# @!attribute [rw] update_mask
|
917
|
+
# @return [::Google::Protobuf::FieldMask]
|
918
|
+
# Required. The `update_mask` that specifies the fields within the
|
919
|
+
# `IntelligenceConfig` resource that should be modified by this update. Only
|
920
|
+
# the listed fields are updated.
|
921
|
+
# @!attribute [rw] request_id
|
922
|
+
# @return [::String]
|
923
|
+
# Optional. The ID that uniquely identifies the request, preventing duplicate
|
924
|
+
# processing.
|
925
|
+
class UpdateProjectIntelligenceConfigRequest
|
926
|
+
include ::Google::Protobuf::MessageExts
|
927
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
928
|
+
end
|
929
|
+
|
930
|
+
# Request message to get the `IntelligenceConfig` resource associated with your
|
931
|
+
# organization.
|
932
|
+
#
|
933
|
+
# **IAM Permissions**
|
934
|
+
#
|
935
|
+
# Requires `storage.intelligenceConfigs.get`
|
936
|
+
# [IAM](https://cloud.google.com/iam/docs/overview#permissions) permission on
|
937
|
+
# the organization.
|
938
|
+
# @!attribute [rw] name
|
939
|
+
# @return [::String]
|
940
|
+
# Required. The name of the `IntelligenceConfig` resource associated with
|
941
|
+
# your organization.
|
942
|
+
#
|
943
|
+
# Format: `organizations/{org_id}/locations/global/intelligenceConfig`
|
944
|
+
class GetOrganizationIntelligenceConfigRequest
|
945
|
+
include ::Google::Protobuf::MessageExts
|
946
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
947
|
+
end
|
948
|
+
|
949
|
+
# Request message to get the `IntelligenceConfig` resource associated with your
|
950
|
+
# folder.
|
951
|
+
#
|
952
|
+
# **IAM Permissions**
|
953
|
+
#
|
954
|
+
# Requires `storage.intelligenceConfigs.get`
|
955
|
+
# [IAM](https://cloud.google.com/iam/docs/overview#permissions) permission on
|
956
|
+
# the folder.
|
957
|
+
# @!attribute [rw] name
|
958
|
+
# @return [::String]
|
959
|
+
# Required. The name of the `IntelligenceConfig` resource associated with
|
960
|
+
# your folder.
|
961
|
+
#
|
962
|
+
# Format: `folders/{id}/locations/global/intelligenceConfig`
|
963
|
+
class GetFolderIntelligenceConfigRequest
|
964
|
+
include ::Google::Protobuf::MessageExts
|
965
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
966
|
+
end
|
967
|
+
|
968
|
+
# Request message to get the `IntelligenceConfig` resource associated with your
|
969
|
+
# project.
|
970
|
+
#
|
971
|
+
# **IAM Permissions**:
|
972
|
+
#
|
973
|
+
# Requires `storage.intelligenceConfigs.get`
|
974
|
+
# [IAM](https://cloud.google.com/iam/docs/overview#permissions) permission
|
975
|
+
# on the project.
|
976
|
+
# @!attribute [rw] name
|
977
|
+
# @return [::String]
|
978
|
+
# Required. The name of the `IntelligenceConfig` resource associated with
|
979
|
+
# your project.
|
980
|
+
#
|
981
|
+
# Format: `projects/{id}/locations/global/intelligenceConfig`
|
982
|
+
class GetProjectIntelligenceConfigRequest
|
983
|
+
include ::Google::Protobuf::MessageExts
|
984
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
985
|
+
end
|
699
986
|
end
|
700
987
|
end
|
701
988
|
end
|