google-cloud-app_hub-v1 1.7.2 → 1.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f633c90bdbfd065e443302d625dd2e89c4a44b87d314203577b1292332cd0dcb
4
- data.tar.gz: 3df89f93bfc3fc479266b4d8669e8c390341b1d656b6cd362f749af06a95e0d4
3
+ metadata.gz: 6320e007fc55c4a3c5b1fe6acc3d0bd0c5d660bf3fb219f52ced937a52788fd5
4
+ data.tar.gz: d0ec0ad6a1f905599d19e920e881b0ab30633c0c06e777a915862599f7693c9f
5
5
  SHA512:
6
- metadata.gz: 03cd3e97ad13ca5c9ae2e3bedb4a04c01928bb9d52e88eb8b04e25c0fad32482eb78ec00a0188faba6e26ccd292b39125baf284c91b916689f4a9f471071efac
7
- data.tar.gz: 74bba7a9e77664744d22f0aa5c9a8286b8ac60f9873b692430de1c6e79a4af72857c97d7a449139cc47e7385ff099a7c85a5ebc895bef22fcd35cf8e2e975269
6
+ metadata.gz: fe9e0f1d044275a4bc17eeb6f38927d146a8c68cbacef6be491e9d5841c39669b5728364444790381012b2a4b772367b6ad28214d427793afa700b775c304fc0
7
+ data.tar.gz: 6ccd9a3f2230e2d5a324b274f9618e7639467a06aa318aa56f13d987fcae47d52cdb697abdb3d1212e68c8694e0f04faf9bdadf0f23b214b35d6e75f3fe5f43e
@@ -1525,7 +1525,7 @@ module Google
1525
1525
  # the default parameter values, pass an empty Hash as a request object (see above).
1526
1526
  #
1527
1527
  # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
1528
- # Required. Field mask is used to specify the fields to be overwritten in the
1528
+ # Optional. Field mask is used to specify the fields to be overwritten in the
1529
1529
  # Service resource by the update.
1530
1530
  # The fields specified in the update_mask are relative to the resource, not
1531
1531
  # the full request.
@@ -2339,7 +2339,7 @@ module Google
2339
2339
  # the default parameter values, pass an empty Hash as a request object (see above).
2340
2340
  #
2341
2341
  # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
2342
- # Required. Field mask is used to specify the fields to be overwritten in the
2342
+ # Optional. Field mask is used to specify the fields to be overwritten in the
2343
2343
  # Workload resource by the update.
2344
2344
  # The fields specified in the update_mask are relative to the resource, not
2345
2345
  # the full request.
@@ -2871,7 +2871,7 @@ module Google
2871
2871
  # the default parameter values, pass an empty Hash as a request object (see above).
2872
2872
  #
2873
2873
  # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
2874
- # Required. Field mask is used to specify the fields to be overwritten in the
2874
+ # Optional. Field mask is used to specify the fields to be overwritten in the
2875
2875
  # Application resource by the update.
2876
2876
  # The fields specified in the update_mask are relative to the resource, not
2877
2877
  # the full request.
@@ -3080,6 +3080,393 @@ module Google
3080
3080
  raise ::Google::Cloud::Error.from_error(e)
3081
3081
  end
3082
3082
 
3083
+ ##
3084
+ # Gets a Boundary.
3085
+ #
3086
+ # @overload get_boundary(request, options = nil)
3087
+ # Pass arguments to `get_boundary` via a request object, either of type
3088
+ # {::Google::Cloud::AppHub::V1::GetBoundaryRequest} or an equivalent Hash.
3089
+ #
3090
+ # @param request [::Google::Cloud::AppHub::V1::GetBoundaryRequest, ::Hash]
3091
+ # A request object representing the call parameters. Required. To specify no
3092
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
3093
+ # @param options [::Gapic::CallOptions, ::Hash]
3094
+ # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
3095
+ #
3096
+ # @overload get_boundary(name: nil)
3097
+ # Pass arguments to `get_boundary` via keyword arguments. Note that at
3098
+ # least one keyword argument is required. To specify no parameters, or to keep all
3099
+ # the default parameter values, pass an empty Hash as a request object (see above).
3100
+ #
3101
+ # @param name [::String]
3102
+ # Required. The name of the boundary to retrieve.
3103
+ # Format: `projects/{project}/locations/{location}/boundary`.
3104
+ #
3105
+ # @yield [response, operation] Access the result along with the RPC operation
3106
+ # @yieldparam response [::Google::Cloud::AppHub::V1::Boundary]
3107
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
3108
+ #
3109
+ # @return [::Google::Cloud::AppHub::V1::Boundary]
3110
+ #
3111
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
3112
+ #
3113
+ # @example Basic example
3114
+ # require "google/cloud/app_hub/v1"
3115
+ #
3116
+ # # Create a client object. The client can be reused for multiple calls.
3117
+ # client = Google::Cloud::AppHub::V1::AppHub::Client.new
3118
+ #
3119
+ # # Create a request. To set request fields, pass in keyword arguments.
3120
+ # request = Google::Cloud::AppHub::V1::GetBoundaryRequest.new
3121
+ #
3122
+ # # Call the get_boundary method.
3123
+ # result = client.get_boundary request
3124
+ #
3125
+ # # The returned object is of type Google::Cloud::AppHub::V1::Boundary.
3126
+ # p result
3127
+ #
3128
+ def get_boundary request, options = nil
3129
+ raise ::ArgumentError, "request must be provided" if request.nil?
3130
+
3131
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::AppHub::V1::GetBoundaryRequest
3132
+
3133
+ # Converts hash and nil to an options object
3134
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
3135
+
3136
+ # Customize the options with defaults
3137
+ metadata = @config.rpcs.get_boundary.metadata.to_h
3138
+
3139
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3140
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3141
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
3142
+ gapic_version: ::Google::Cloud::AppHub::V1::VERSION
3143
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3144
+ metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3145
+
3146
+ header_params = {}
3147
+ if request.name
3148
+ header_params["name"] = request.name
3149
+ end
3150
+
3151
+ request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
3152
+ metadata[:"x-goog-request-params"] ||= request_params_header
3153
+
3154
+ options.apply_defaults timeout: @config.rpcs.get_boundary.timeout,
3155
+ metadata: metadata,
3156
+ retry_policy: @config.rpcs.get_boundary.retry_policy
3157
+
3158
+ options.apply_defaults timeout: @config.timeout,
3159
+ metadata: @config.metadata,
3160
+ retry_policy: @config.retry_policy
3161
+
3162
+ @app_hub_stub.call_rpc :get_boundary, request, options: options do |response, operation|
3163
+ yield response, operation if block_given?
3164
+ end
3165
+ rescue ::GRPC::BadStatus => e
3166
+ raise ::Google::Cloud::Error.from_error(e)
3167
+ end
3168
+
3169
+ ##
3170
+ # Updates a Boundary.
3171
+ #
3172
+ # @overload update_boundary(request, options = nil)
3173
+ # Pass arguments to `update_boundary` via a request object, either of type
3174
+ # {::Google::Cloud::AppHub::V1::UpdateBoundaryRequest} or an equivalent Hash.
3175
+ #
3176
+ # @param request [::Google::Cloud::AppHub::V1::UpdateBoundaryRequest, ::Hash]
3177
+ # A request object representing the call parameters. Required. To specify no
3178
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
3179
+ # @param options [::Gapic::CallOptions, ::Hash]
3180
+ # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
3181
+ #
3182
+ # @overload update_boundary(update_mask: nil, boundary: nil, request_id: nil)
3183
+ # Pass arguments to `update_boundary` via keyword arguments. Note that at
3184
+ # least one keyword argument is required. To specify no parameters, or to keep all
3185
+ # the default parameter values, pass an empty Hash as a request object (see above).
3186
+ #
3187
+ # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
3188
+ # Optional. Field mask is used to specify the fields to be overwritten in the
3189
+ # Boundary resource by the update.
3190
+ # The fields specified in the update_mask are relative to the resource, not
3191
+ # the full request. A field will be overwritten if it is in the mask. If the
3192
+ # user does not provide a mask then all fields will be overwritten.
3193
+ # @param boundary [::Google::Cloud::AppHub::V1::Boundary, ::Hash]
3194
+ # Required. The boundary to update.
3195
+ # @param request_id [::String]
3196
+ # Optional. An optional request ID to identify requests. Specify a unique
3197
+ # request ID so that if you must retry your request, the server will know to
3198
+ # ignore the request if it has already been completed. The server will
3199
+ # guarantee that for at least 60 minutes since the first request.
3200
+ #
3201
+ # For example, consider a situation where you make an initial request and the
3202
+ # request times out. If you make the request again with the same request
3203
+ # ID, the server can check if original operation with the same request ID
3204
+ # was received, and if so, will ignore the second request. This prevents
3205
+ # clients from accidentally creating duplicate commitments.
3206
+ #
3207
+ # The request ID must be a valid UUID with the exception that zero UUID is
3208
+ # not supported (00000000-0000-0000-0000-000000000000).
3209
+ #
3210
+ # @yield [response, operation] Access the result along with the RPC operation
3211
+ # @yieldparam response [::Gapic::Operation]
3212
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
3213
+ #
3214
+ # @return [::Gapic::Operation]
3215
+ #
3216
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
3217
+ #
3218
+ # @example Basic example
3219
+ # require "google/cloud/app_hub/v1"
3220
+ #
3221
+ # # Create a client object. The client can be reused for multiple calls.
3222
+ # client = Google::Cloud::AppHub::V1::AppHub::Client.new
3223
+ #
3224
+ # # Create a request. To set request fields, pass in keyword arguments.
3225
+ # request = Google::Cloud::AppHub::V1::UpdateBoundaryRequest.new
3226
+ #
3227
+ # # Call the update_boundary method.
3228
+ # result = client.update_boundary request
3229
+ #
3230
+ # # The returned object is of type Gapic::Operation. You can use it to
3231
+ # # check the status of an operation, cancel it, or wait for results.
3232
+ # # Here is how to wait for a response.
3233
+ # result.wait_until_done! timeout: 60
3234
+ # if result.response?
3235
+ # p result.response
3236
+ # else
3237
+ # puts "No response received."
3238
+ # end
3239
+ #
3240
+ def update_boundary request, options = nil
3241
+ raise ::ArgumentError, "request must be provided" if request.nil?
3242
+
3243
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::AppHub::V1::UpdateBoundaryRequest
3244
+
3245
+ # Converts hash and nil to an options object
3246
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
3247
+
3248
+ # Customize the options with defaults
3249
+ metadata = @config.rpcs.update_boundary.metadata.to_h
3250
+
3251
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3252
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3253
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
3254
+ gapic_version: ::Google::Cloud::AppHub::V1::VERSION
3255
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3256
+ metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3257
+
3258
+ header_params = {}
3259
+ if request.boundary&.name
3260
+ header_params["boundary.name"] = request.boundary.name
3261
+ end
3262
+
3263
+ request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
3264
+ metadata[:"x-goog-request-params"] ||= request_params_header
3265
+
3266
+ options.apply_defaults timeout: @config.rpcs.update_boundary.timeout,
3267
+ metadata: metadata,
3268
+ retry_policy: @config.rpcs.update_boundary.retry_policy
3269
+
3270
+ options.apply_defaults timeout: @config.timeout,
3271
+ metadata: @config.metadata,
3272
+ retry_policy: @config.retry_policy
3273
+
3274
+ @app_hub_stub.call_rpc :update_boundary, request, options: options do |response, operation|
3275
+ response = ::Gapic::Operation.new response, @operations_client, options: options
3276
+ yield response, operation if block_given?
3277
+ throw :response, response
3278
+ end
3279
+ rescue ::GRPC::BadStatus => e
3280
+ raise ::Google::Cloud::Error.from_error(e)
3281
+ end
3282
+
3283
+ ##
3284
+ # Gets an Extended Metadata Schema.
3285
+ #
3286
+ # @overload get_extended_metadata_schema(request, options = nil)
3287
+ # Pass arguments to `get_extended_metadata_schema` via a request object, either of type
3288
+ # {::Google::Cloud::AppHub::V1::GetExtendedMetadataSchemaRequest} or an equivalent Hash.
3289
+ #
3290
+ # @param request [::Google::Cloud::AppHub::V1::GetExtendedMetadataSchemaRequest, ::Hash]
3291
+ # A request object representing the call parameters. Required. To specify no
3292
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
3293
+ # @param options [::Gapic::CallOptions, ::Hash]
3294
+ # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
3295
+ #
3296
+ # @overload get_extended_metadata_schema(name: nil)
3297
+ # Pass arguments to `get_extended_metadata_schema` via keyword arguments. Note that at
3298
+ # least one keyword argument is required. To specify no parameters, or to keep all
3299
+ # the default parameter values, pass an empty Hash as a request object (see above).
3300
+ #
3301
+ # @param name [::String]
3302
+ # Required. Schema resource name.
3303
+ # Format:
3304
+ # `projects/{project}/locations/{location}/extendedMetadataSchemas/{extended_metadata_schema}`.
3305
+ #
3306
+ # `{extended_metadata_schema}` has the format
3307
+ # `"apphub.googleapis.com/{SchemaName}"`.
3308
+ #
3309
+ # @yield [response, operation] Access the result along with the RPC operation
3310
+ # @yieldparam response [::Google::Cloud::AppHub::V1::ExtendedMetadataSchema]
3311
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
3312
+ #
3313
+ # @return [::Google::Cloud::AppHub::V1::ExtendedMetadataSchema]
3314
+ #
3315
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
3316
+ #
3317
+ # @example Basic example
3318
+ # require "google/cloud/app_hub/v1"
3319
+ #
3320
+ # # Create a client object. The client can be reused for multiple calls.
3321
+ # client = Google::Cloud::AppHub::V1::AppHub::Client.new
3322
+ #
3323
+ # # Create a request. To set request fields, pass in keyword arguments.
3324
+ # request = Google::Cloud::AppHub::V1::GetExtendedMetadataSchemaRequest.new
3325
+ #
3326
+ # # Call the get_extended_metadata_schema method.
3327
+ # result = client.get_extended_metadata_schema request
3328
+ #
3329
+ # # The returned object is of type Google::Cloud::AppHub::V1::ExtendedMetadataSchema.
3330
+ # p result
3331
+ #
3332
+ def get_extended_metadata_schema request, options = nil
3333
+ raise ::ArgumentError, "request must be provided" if request.nil?
3334
+
3335
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::AppHub::V1::GetExtendedMetadataSchemaRequest
3336
+
3337
+ # Converts hash and nil to an options object
3338
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
3339
+
3340
+ # Customize the options with defaults
3341
+ metadata = @config.rpcs.get_extended_metadata_schema.metadata.to_h
3342
+
3343
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3344
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3345
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
3346
+ gapic_version: ::Google::Cloud::AppHub::V1::VERSION
3347
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3348
+ metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3349
+
3350
+ header_params = {}
3351
+ if request.name
3352
+ header_params["name"] = request.name
3353
+ end
3354
+
3355
+ request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
3356
+ metadata[:"x-goog-request-params"] ||= request_params_header
3357
+
3358
+ options.apply_defaults timeout: @config.rpcs.get_extended_metadata_schema.timeout,
3359
+ metadata: metadata,
3360
+ retry_policy: @config.rpcs.get_extended_metadata_schema.retry_policy
3361
+
3362
+ options.apply_defaults timeout: @config.timeout,
3363
+ metadata: @config.metadata,
3364
+ retry_policy: @config.retry_policy
3365
+
3366
+ @app_hub_stub.call_rpc :get_extended_metadata_schema, request, options: options do |response, operation|
3367
+ yield response, operation if block_given?
3368
+ end
3369
+ rescue ::GRPC::BadStatus => e
3370
+ raise ::Google::Cloud::Error.from_error(e)
3371
+ end
3372
+
3373
+ ##
3374
+ # Lists Extended Metadata Schemas available in a host project and location.
3375
+ #
3376
+ # @overload list_extended_metadata_schemas(request, options = nil)
3377
+ # Pass arguments to `list_extended_metadata_schemas` via a request object, either of type
3378
+ # {::Google::Cloud::AppHub::V1::ListExtendedMetadataSchemasRequest} or an equivalent Hash.
3379
+ #
3380
+ # @param request [::Google::Cloud::AppHub::V1::ListExtendedMetadataSchemasRequest, ::Hash]
3381
+ # A request object representing the call parameters. Required. To specify no
3382
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
3383
+ # @param options [::Gapic::CallOptions, ::Hash]
3384
+ # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
3385
+ #
3386
+ # @overload list_extended_metadata_schemas(parent: nil, page_size: nil, page_token: nil)
3387
+ # Pass arguments to `list_extended_metadata_schemas` via keyword arguments. Note that at
3388
+ # least one keyword argument is required. To specify no parameters, or to keep all
3389
+ # the default parameter values, pass an empty Hash as a request object (see above).
3390
+ #
3391
+ # @param parent [::String]
3392
+ # Required. Project and location to list Extended Metadata Schemas on.
3393
+ # Expected format: `projects/{project}/locations/{location}`.
3394
+ # @param page_size [::Integer]
3395
+ # Optional. Requested page size. Server may return fewer items than
3396
+ # requested. If unspecified, server will pick an appropriate default.
3397
+ # @param page_token [::String]
3398
+ # Optional. A token identifying a page of results the server should return.
3399
+ #
3400
+ # @yield [response, operation] Access the result along with the RPC operation
3401
+ # @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::AppHub::V1::ExtendedMetadataSchema>]
3402
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
3403
+ #
3404
+ # @return [::Gapic::PagedEnumerable<::Google::Cloud::AppHub::V1::ExtendedMetadataSchema>]
3405
+ #
3406
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
3407
+ #
3408
+ # @example Basic example
3409
+ # require "google/cloud/app_hub/v1"
3410
+ #
3411
+ # # Create a client object. The client can be reused for multiple calls.
3412
+ # client = Google::Cloud::AppHub::V1::AppHub::Client.new
3413
+ #
3414
+ # # Create a request. To set request fields, pass in keyword arguments.
3415
+ # request = Google::Cloud::AppHub::V1::ListExtendedMetadataSchemasRequest.new
3416
+ #
3417
+ # # Call the list_extended_metadata_schemas method.
3418
+ # result = client.list_extended_metadata_schemas request
3419
+ #
3420
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
3421
+ # # over elements, and API calls will be issued to fetch pages as needed.
3422
+ # result.each do |item|
3423
+ # # Each element is of type ::Google::Cloud::AppHub::V1::ExtendedMetadataSchema.
3424
+ # p item
3425
+ # end
3426
+ #
3427
+ def list_extended_metadata_schemas request, options = nil
3428
+ raise ::ArgumentError, "request must be provided" if request.nil?
3429
+
3430
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::AppHub::V1::ListExtendedMetadataSchemasRequest
3431
+
3432
+ # Converts hash and nil to an options object
3433
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
3434
+
3435
+ # Customize the options with defaults
3436
+ metadata = @config.rpcs.list_extended_metadata_schemas.metadata.to_h
3437
+
3438
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3439
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3440
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
3441
+ gapic_version: ::Google::Cloud::AppHub::V1::VERSION
3442
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3443
+ metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3444
+
3445
+ header_params = {}
3446
+ if request.parent
3447
+ header_params["parent"] = request.parent
3448
+ end
3449
+
3450
+ request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
3451
+ metadata[:"x-goog-request-params"] ||= request_params_header
3452
+
3453
+ options.apply_defaults timeout: @config.rpcs.list_extended_metadata_schemas.timeout,
3454
+ metadata: metadata,
3455
+ retry_policy: @config.rpcs.list_extended_metadata_schemas.retry_policy
3456
+
3457
+ options.apply_defaults timeout: @config.timeout,
3458
+ metadata: @config.metadata,
3459
+ retry_policy: @config.retry_policy
3460
+
3461
+ @app_hub_stub.call_rpc :list_extended_metadata_schemas, request, options: options do |response, operation|
3462
+ response = ::Gapic::PagedEnumerable.new @app_hub_stub, :list_extended_metadata_schemas, request, response, operation, options
3463
+ yield response, operation if block_given?
3464
+ throw :response, response
3465
+ end
3466
+ rescue ::GRPC::BadStatus => e
3467
+ raise ::Google::Cloud::Error.from_error(e)
3468
+ end
3469
+
3083
3470
  ##
3084
3471
  # Configuration class for the AppHub API.
3085
3472
  #
@@ -3400,6 +3787,26 @@ module Google
3400
3787
  # @return [::Gapic::Config::Method]
3401
3788
  #
3402
3789
  attr_reader :delete_application
3790
+ ##
3791
+ # RPC-specific configuration for `get_boundary`
3792
+ # @return [::Gapic::Config::Method]
3793
+ #
3794
+ attr_reader :get_boundary
3795
+ ##
3796
+ # RPC-specific configuration for `update_boundary`
3797
+ # @return [::Gapic::Config::Method]
3798
+ #
3799
+ attr_reader :update_boundary
3800
+ ##
3801
+ # RPC-specific configuration for `get_extended_metadata_schema`
3802
+ # @return [::Gapic::Config::Method]
3803
+ #
3804
+ attr_reader :get_extended_metadata_schema
3805
+ ##
3806
+ # RPC-specific configuration for `list_extended_metadata_schemas`
3807
+ # @return [::Gapic::Config::Method]
3808
+ #
3809
+ attr_reader :list_extended_metadata_schemas
3403
3810
 
3404
3811
  # @private
3405
3812
  def initialize parent_rpcs = nil
@@ -3457,6 +3864,14 @@ module Google
3457
3864
  @update_application = ::Gapic::Config::Method.new update_application_config
3458
3865
  delete_application_config = parent_rpcs.delete_application if parent_rpcs.respond_to? :delete_application
3459
3866
  @delete_application = ::Gapic::Config::Method.new delete_application_config
3867
+ get_boundary_config = parent_rpcs.get_boundary if parent_rpcs.respond_to? :get_boundary
3868
+ @get_boundary = ::Gapic::Config::Method.new get_boundary_config
3869
+ update_boundary_config = parent_rpcs.update_boundary if parent_rpcs.respond_to? :update_boundary
3870
+ @update_boundary = ::Gapic::Config::Method.new update_boundary_config
3871
+ get_extended_metadata_schema_config = parent_rpcs.get_extended_metadata_schema if parent_rpcs.respond_to? :get_extended_metadata_schema
3872
+ @get_extended_metadata_schema = ::Gapic::Config::Method.new get_extended_metadata_schema_config
3873
+ list_extended_metadata_schemas_config = parent_rpcs.list_extended_metadata_schemas if parent_rpcs.respond_to? :list_extended_metadata_schemas
3874
+ @list_extended_metadata_schemas = ::Gapic::Config::Method.new list_extended_metadata_schemas_config
3460
3875
 
3461
3876
  yield self if block_given?
3462
3877
  end
@@ -43,6 +43,23 @@ module Google
43
43
  "projects/#{project}/locations/#{location}/applications/#{application}"
44
44
  end
45
45
 
46
+ ##
47
+ # Create a fully-qualified Boundary resource string.
48
+ #
49
+ # The resource will be in the following format:
50
+ #
51
+ # `projects/{project}/locations/{location}/boundary`
52
+ #
53
+ # @param project [String]
54
+ # @param location [String]
55
+ #
56
+ # @return [::String]
57
+ def boundary_path project:, location:
58
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
59
+
60
+ "projects/#{project}/locations/#{location}/boundary"
61
+ end
62
+
46
63
  ##
47
64
  # Create a fully-qualified DiscoveredService resource string.
48
65
  #
@@ -81,6 +98,25 @@ module Google
81
98
  "projects/#{project}/locations/#{location}/discoveredWorkloads/#{discovered_workload}"
82
99
  end
83
100
 
101
+ ##
102
+ # Create a fully-qualified ExtendedMetadataSchema resource string.
103
+ #
104
+ # The resource will be in the following format:
105
+ #
106
+ # `projects/{project}/locations/{location}/extendedMetadataSchemas/{extended_metadata_schema}`
107
+ #
108
+ # @param project [String]
109
+ # @param location [String]
110
+ # @param extended_metadata_schema [String]
111
+ #
112
+ # @return [::String]
113
+ def extended_metadata_schema_path project:, location:, extended_metadata_schema:
114
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
115
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
116
+
117
+ "projects/#{project}/locations/#{location}/extendedMetadataSchemas/#{extended_metadata_schema}"
118
+ end
119
+
84
120
  ##
85
121
  # Create a fully-qualified Location resource string.
86
122
  #