google-apis-networkconnectivity_v1alpha1 0.26.0 → 0.28.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: cc20710595bcef40ac912a1bc4b5e48b0bdb43838e6251250df3095620660499
4
- data.tar.gz: e8f7ebecbd93f1330fcfe7a5f9f9b09a94fafa63d9649e70f28d54e1f61aba43
3
+ metadata.gz: 340a533ea880e7a250f9d7c7b710b49e08cb0b8a2b8c1e495458c1121572cb90
4
+ data.tar.gz: '0088f5e4bd22bc02899751d5daa195eb3545aaa790842f4c4b9726abc4e88466'
5
5
  SHA512:
6
- metadata.gz: 5e5305a03a563588958b4bb0b53e887eadad73a730492746e135956168bc8f41b4849439ea0305b74392c4da8683ad2db8ca17c4549765385584bf3b337427ce
7
- data.tar.gz: a2d00e9a747233e2a7a6090aec938e16ffa64fa3cf67a9bfe93b830121d722320d18876eca473dd1d7f0df623cf98feee56ba70942f23f7cd6b6d8f0cf46d409
6
+ metadata.gz: c7686ac8e9780d499a677d6508f4357be00e0185fcc648b7d780ba26b98ddbcec19beec5f2bbf40b0f53b97eaa9d24fe7061e829cf6f0b92c8696860e8bf8f44
7
+ data.tar.gz: dd4be31052130f42ae866c5fa916bc5da8aee0485fc1790ad122ca39a81b46cbfea605e25519492a1ec1242ca7aff442751533863d13443dfbc220757ac456b4
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-networkconnectivity_v1alpha1
2
2
 
3
+ ### v0.28.0 (2023-01-15)
4
+
5
+ * Regenerated from discovery document revision 20230105
6
+ * Regenerated using generator version 0.11.1
7
+
8
+ ### v0.27.0 (2022-11-08)
9
+
10
+ * Regenerated from discovery document revision 20221107
11
+
3
12
  ### v0.26.0 (2022-11-04)
4
13
 
5
14
  * Regenerated from discovery document revision 20221031
@@ -446,6 +446,118 @@ module Google
446
446
  end
447
447
  end
448
448
 
449
+ # The internal range resource for IPAM operations within a VPC network. Used to
450
+ # represent a private address range along with behavioral characterstics of that
451
+ # range (its usage and peering behavior). Networking resources can link to this
452
+ # range if they are created as belonging to it.
453
+ class InternalRange
454
+ include Google::Apis::Core::Hashable
455
+
456
+ # Time when the internal range was created.
457
+ # Corresponds to the JSON property `createTime`
458
+ # @return [String]
459
+ attr_accessor :create_time
460
+
461
+ # A description of this resource.
462
+ # Corresponds to the JSON property `description`
463
+ # @return [String]
464
+ attr_accessor :description
465
+
466
+ # IP range that this internal range defines.
467
+ # Corresponds to the JSON property `ipCidrRange`
468
+ # @return [String]
469
+ attr_accessor :ip_cidr_range
470
+
471
+ # User-defined labels.
472
+ # Corresponds to the JSON property `labels`
473
+ # @return [Hash<String,String>]
474
+ attr_accessor :labels
475
+
476
+ # Immutable. The name of an internal range. Format: projects/`project`/locations/
477
+ # `location`/internalRanges/`internal_range` See: https://google.aip.dev/122#
478
+ # fields-representing-resource-names
479
+ # Corresponds to the JSON property `name`
480
+ # @return [String]
481
+ attr_accessor :name
482
+
483
+ # The URL or resource ID of the network in which to reserve the internal range.
484
+ # The network cannot be deleted if there are any reserved internal ranges
485
+ # referring to it. Legacy networks are not supported. This can only be specified
486
+ # for a global internal address. Example: - URL: /compute/v1/projects/`project`/
487
+ # global/networks/`resourceId` - ID: network123
488
+ # Corresponds to the JSON property `network`
489
+ # @return [String]
490
+ attr_accessor :network
491
+
492
+ # Optional. Types of resources that are allowed to overlap with the current
493
+ # internal range.
494
+ # Corresponds to the JSON property `overlaps`
495
+ # @return [Array<String>]
496
+ attr_accessor :overlaps
497
+
498
+ # The type of peering set for this internal range.
499
+ # Corresponds to the JSON property `peering`
500
+ # @return [String]
501
+ attr_accessor :peering
502
+
503
+ # An alternative to ip_cidr_range. Can be set when trying to create a
504
+ # reservation that automatically finds a free range of the given size. If both
505
+ # ip_cidr_range and prefix_length are set, there is an error if the range sizes
506
+ # do not match. Can also be used during updates to change the range size.
507
+ # Corresponds to the JSON property `prefixLength`
508
+ # @return [Fixnum]
509
+ attr_accessor :prefix_length
510
+
511
+ # Optional. Can be set to narrow down or pick a different address space while
512
+ # searching for a free range. If not set, defaults to the "10.0.0.0/8" address
513
+ # space. This can be used to search in other rfc-1918 address spaces like "172.
514
+ # 16.0.0/12" and "192.168.0.0/16" or non-rfc-1918 address spaces used in the VPC.
515
+ # Corresponds to the JSON property `targetCidrRange`
516
+ # @return [Array<String>]
517
+ attr_accessor :target_cidr_range
518
+
519
+ # Time when the internal range was updated.
520
+ # Corresponds to the JSON property `updateTime`
521
+ # @return [String]
522
+ attr_accessor :update_time
523
+
524
+ # The type of usage set for this internal range.
525
+ # Corresponds to the JSON property `usage`
526
+ # @return [String]
527
+ attr_accessor :usage
528
+
529
+ # Output only. The list of resources that refer to this internal range.
530
+ # Resources that use the internal range for their range allocation are referred
531
+ # to as users of the range. Other resources mark themselves as users while doing
532
+ # so by creating a reference to this internal range. Having a user, based on
533
+ # this reference, prevents deletion of the internal range that is referred to.
534
+ # Can be empty.
535
+ # Corresponds to the JSON property `users`
536
+ # @return [Array<String>]
537
+ attr_accessor :users
538
+
539
+ def initialize(**args)
540
+ update!(**args)
541
+ end
542
+
543
+ # Update properties of this object
544
+ def update!(**args)
545
+ @create_time = args[:create_time] if args.key?(:create_time)
546
+ @description = args[:description] if args.key?(:description)
547
+ @ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range)
548
+ @labels = args[:labels] if args.key?(:labels)
549
+ @name = args[:name] if args.key?(:name)
550
+ @network = args[:network] if args.key?(:network)
551
+ @overlaps = args[:overlaps] if args.key?(:overlaps)
552
+ @peering = args[:peering] if args.key?(:peering)
553
+ @prefix_length = args[:prefix_length] if args.key?(:prefix_length)
554
+ @target_cidr_range = args[:target_cidr_range] if args.key?(:target_cidr_range)
555
+ @update_time = args[:update_time] if args.key?(:update_time)
556
+ @usage = args[:usage] if args.key?(:usage)
557
+ @users = args[:users] if args.key?(:users)
558
+ end
559
+ end
560
+
449
561
  # Response for HubService.ListHubs method.
450
562
  class ListHubsResponse
451
563
  include Google::Apis::Core::Hashable
@@ -478,6 +590,38 @@ module Google
478
590
  end
479
591
  end
480
592
 
593
+ # Response for InternalRange.ListInternalRanges
594
+ class ListInternalRangesResponse
595
+ include Google::Apis::Core::Hashable
596
+
597
+ # Internal range to be returned.
598
+ # Corresponds to the JSON property `internalRanges`
599
+ # @return [Array<Google::Apis::NetworkconnectivityV1alpha1::InternalRange>]
600
+ attr_accessor :internal_ranges
601
+
602
+ # The next pagination token in the List response. It should be used as
603
+ # page_token for the following request. An empty value means no more result.
604
+ # Corresponds to the JSON property `nextPageToken`
605
+ # @return [String]
606
+ attr_accessor :next_page_token
607
+
608
+ # Locations that could not be reached.
609
+ # Corresponds to the JSON property `unreachable`
610
+ # @return [Array<String>]
611
+ attr_accessor :unreachable
612
+
613
+ def initialize(**args)
614
+ update!(**args)
615
+ end
616
+
617
+ # Update properties of this object
618
+ def update!(**args)
619
+ @internal_ranges = args[:internal_ranges] if args.key?(:internal_ranges)
620
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
621
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
622
+ end
623
+ end
624
+
481
625
  # The response message for Locations.ListLocations.
482
626
  class ListLocationsResponse
483
627
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module NetworkconnectivityV1alpha1
18
18
  # Version of the google-apis-networkconnectivity_v1alpha1 gem
19
- GEM_VERSION = "0.26.0"
19
+ GEM_VERSION = "0.28.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.11.0"
22
+ GENERATOR_VERSION = "0.11.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20221031"
25
+ REVISION = "20230105"
26
26
  end
27
27
  end
28
28
  end
@@ -82,12 +82,24 @@ module Google
82
82
  include Google::Apis::Core::JsonObjectSupport
83
83
  end
84
84
 
85
+ class InternalRange
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
85
91
  class ListHubsResponse
86
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
93
 
88
94
  include Google::Apis::Core::JsonObjectSupport
89
95
  end
90
96
 
97
+ class ListInternalRangesResponse
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
91
103
  class ListLocationsResponse
92
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
105
 
@@ -241,6 +253,25 @@ module Google
241
253
  end
242
254
  end
243
255
 
256
+ class InternalRange
257
+ # @private
258
+ class Representation < Google::Apis::Core::JsonRepresentation
259
+ property :create_time, as: 'createTime'
260
+ property :description, as: 'description'
261
+ property :ip_cidr_range, as: 'ipCidrRange'
262
+ hash :labels, as: 'labels'
263
+ property :name, as: 'name'
264
+ property :network, as: 'network'
265
+ collection :overlaps, as: 'overlaps'
266
+ property :peering, as: 'peering'
267
+ property :prefix_length, as: 'prefixLength'
268
+ collection :target_cidr_range, as: 'targetCidrRange'
269
+ property :update_time, as: 'updateTime'
270
+ property :usage, as: 'usage'
271
+ collection :users, as: 'users'
272
+ end
273
+ end
274
+
244
275
  class ListHubsResponse
245
276
  # @private
246
277
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -251,6 +282,16 @@ module Google
251
282
  end
252
283
  end
253
284
 
285
+ class ListInternalRangesResponse
286
+ # @private
287
+ class Representation < Google::Apis::Core::JsonRepresentation
288
+ collection :internal_ranges, as: 'internalRanges', class: Google::Apis::NetworkconnectivityV1alpha1::InternalRange, decorator: Google::Apis::NetworkconnectivityV1alpha1::InternalRange::Representation
289
+
290
+ property :next_page_token, as: 'nextPageToken'
291
+ collection :unreachable, as: 'unreachable'
292
+ end
293
+ end
294
+
254
295
  class ListLocationsResponse
255
296
  # @private
256
297
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -457,6 +457,128 @@ module Google
457
457
  execute_or_queue_command(command, &block)
458
458
  end
459
459
 
460
+ # Creates a new internal range in a given project and location.
461
+ # @param [String] parent
462
+ # Required. The parent resource's name of the InternalRange.
463
+ # @param [Google::Apis::NetworkconnectivityV1alpha1::InternalRange] internal_range_object
464
+ # @param [String] internal_range_id
465
+ # Optional. Resource ID (i.e. 'foo' in '[...]/projects/p/locations/l/
466
+ # internalRanges/foo') See https://google.aip.dev/122#resource-id-segments
467
+ # Unique per location.
468
+ # @param [String] request_id
469
+ # Optional. An optional request ID to identify requests. Specify a unique
470
+ # request ID so that if you must retry your request, the server will know to
471
+ # ignore the request if it has already been completed. The server will guarantee
472
+ # that for at least 60 minutes since the first request. For example, consider a
473
+ # situation where you make an initial request and t he request times out. If you
474
+ # make the request again with the same request ID, the server can check if the
475
+ # original operation with the same request ID was received, and if so, will
476
+ # ignore the second request. This prevents clients from accidentally creating
477
+ # duplicate commitments. The request ID must be a valid UUID with the exception
478
+ # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
479
+ # @param [String] fields
480
+ # Selector specifying which fields to include in a partial response.
481
+ # @param [String] quota_user
482
+ # Available to use for quota purposes for server-side applications. Can be any
483
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
484
+ # @param [Google::Apis::RequestOptions] options
485
+ # Request-specific options
486
+ #
487
+ # @yield [result, err] Result & error if block supplied
488
+ # @yieldparam result [Google::Apis::NetworkconnectivityV1alpha1::GoogleLongrunningOperation] parsed result object
489
+ # @yieldparam err [StandardError] error object if request failed
490
+ #
491
+ # @return [Google::Apis::NetworkconnectivityV1alpha1::GoogleLongrunningOperation]
492
+ #
493
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
494
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
495
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
496
+ def create_project_location_internal_range(parent, internal_range_object = nil, internal_range_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
497
+ command = make_simple_command(:post, 'v1alpha1/{+parent}/internalRanges', options)
498
+ command.request_representation = Google::Apis::NetworkconnectivityV1alpha1::InternalRange::Representation
499
+ command.request_object = internal_range_object
500
+ command.response_representation = Google::Apis::NetworkconnectivityV1alpha1::GoogleLongrunningOperation::Representation
501
+ command.response_class = Google::Apis::NetworkconnectivityV1alpha1::GoogleLongrunningOperation
502
+ command.params['parent'] = parent unless parent.nil?
503
+ command.query['internalRangeId'] = internal_range_id unless internal_range_id.nil?
504
+ command.query['requestId'] = request_id unless request_id.nil?
505
+ command.query['fields'] = fields unless fields.nil?
506
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
507
+ execute_or_queue_command(command, &block)
508
+ end
509
+
510
+ # Deletes a single internal range.
511
+ # @param [String] name
512
+ # Required. The name of the InternalRange to delete.
513
+ # @param [String] request_id
514
+ # Optional. An optional request ID to identify requests. Specify a unique
515
+ # request ID so that if you must retry your request, the server will know to
516
+ # ignore the request if it has already been completed. The server will guarantee
517
+ # that for at least 60 minutes after the first request. For example, consider a
518
+ # situation where you make an initial request and t he request times out. If you
519
+ # make the request again with the same request ID, the server can check if the
520
+ # original operation with the same request ID was received, and if so, will
521
+ # ignore the second request. This prevents clients from accidentally creating
522
+ # duplicate commitments. The request ID must be a valid UUID with the exception
523
+ # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
524
+ # @param [String] fields
525
+ # Selector specifying which fields to include in a partial response.
526
+ # @param [String] quota_user
527
+ # Available to use for quota purposes for server-side applications. Can be any
528
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
529
+ # @param [Google::Apis::RequestOptions] options
530
+ # Request-specific options
531
+ #
532
+ # @yield [result, err] Result & error if block supplied
533
+ # @yieldparam result [Google::Apis::NetworkconnectivityV1alpha1::GoogleLongrunningOperation] parsed result object
534
+ # @yieldparam err [StandardError] error object if request failed
535
+ #
536
+ # @return [Google::Apis::NetworkconnectivityV1alpha1::GoogleLongrunningOperation]
537
+ #
538
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
539
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
540
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
541
+ def delete_project_location_internal_range(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
542
+ command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
543
+ command.response_representation = Google::Apis::NetworkconnectivityV1alpha1::GoogleLongrunningOperation::Representation
544
+ command.response_class = Google::Apis::NetworkconnectivityV1alpha1::GoogleLongrunningOperation
545
+ command.params['name'] = name unless name.nil?
546
+ command.query['requestId'] = request_id unless request_id.nil?
547
+ command.query['fields'] = fields unless fields.nil?
548
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
549
+ execute_or_queue_command(command, &block)
550
+ end
551
+
552
+ # Gets details of a single internal range.
553
+ # @param [String] name
554
+ # Required. Name of the InternalRange to get.
555
+ # @param [String] fields
556
+ # Selector specifying which fields to include in a partial response.
557
+ # @param [String] quota_user
558
+ # Available to use for quota purposes for server-side applications. Can be any
559
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
560
+ # @param [Google::Apis::RequestOptions] options
561
+ # Request-specific options
562
+ #
563
+ # @yield [result, err] Result & error if block supplied
564
+ # @yieldparam result [Google::Apis::NetworkconnectivityV1alpha1::InternalRange] parsed result object
565
+ # @yieldparam err [StandardError] error object if request failed
566
+ #
567
+ # @return [Google::Apis::NetworkconnectivityV1alpha1::InternalRange]
568
+ #
569
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
570
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
571
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
572
+ def get_project_location_internal_range(name, fields: nil, quota_user: nil, options: nil, &block)
573
+ command = make_simple_command(:get, 'v1alpha1/{+name}', options)
574
+ command.response_representation = Google::Apis::NetworkconnectivityV1alpha1::InternalRange::Representation
575
+ command.response_class = Google::Apis::NetworkconnectivityV1alpha1::InternalRange
576
+ command.params['name'] = name unless name.nil?
577
+ command.query['fields'] = fields unless fields.nil?
578
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
579
+ execute_or_queue_command(command, &block)
580
+ end
581
+
460
582
  # Gets the access control policy for a resource. Returns an empty policy if the
461
583
  # resource exists and does not have a policy set.
462
584
  # @param [String] resource
@@ -502,6 +624,102 @@ module Google
502
624
  execute_or_queue_command(command, &block)
503
625
  end
504
626
 
627
+ # Lists internal ranges in a given project and location.
628
+ # @param [String] parent
629
+ # Required. The parent resource's name.
630
+ # @param [String] filter
631
+ # A filter expression that filters the results listed in the response.
632
+ # @param [String] order_by
633
+ # Sort the results by a certain order.
634
+ # @param [Fixnum] page_size
635
+ # The maximum number of results per page that should be returned.
636
+ # @param [String] page_token
637
+ # The page token.
638
+ # @param [String] fields
639
+ # Selector specifying which fields to include in a partial response.
640
+ # @param [String] quota_user
641
+ # Available to use for quota purposes for server-side applications. Can be any
642
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
643
+ # @param [Google::Apis::RequestOptions] options
644
+ # Request-specific options
645
+ #
646
+ # @yield [result, err] Result & error if block supplied
647
+ # @yieldparam result [Google::Apis::NetworkconnectivityV1alpha1::ListInternalRangesResponse] parsed result object
648
+ # @yieldparam err [StandardError] error object if request failed
649
+ #
650
+ # @return [Google::Apis::NetworkconnectivityV1alpha1::ListInternalRangesResponse]
651
+ #
652
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
653
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
654
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
655
+ def list_project_location_internal_ranges(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
656
+ command = make_simple_command(:get, 'v1alpha1/{+parent}/internalRanges', options)
657
+ command.response_representation = Google::Apis::NetworkconnectivityV1alpha1::ListInternalRangesResponse::Representation
658
+ command.response_class = Google::Apis::NetworkconnectivityV1alpha1::ListInternalRangesResponse
659
+ command.params['parent'] = parent unless parent.nil?
660
+ command.query['filter'] = filter unless filter.nil?
661
+ command.query['orderBy'] = order_by unless order_by.nil?
662
+ command.query['pageSize'] = page_size unless page_size.nil?
663
+ command.query['pageToken'] = page_token unless page_token.nil?
664
+ command.query['fields'] = fields unless fields.nil?
665
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
666
+ execute_or_queue_command(command, &block)
667
+ end
668
+
669
+ # Updates the parameters of a single internal range.
670
+ # @param [String] name
671
+ # Immutable. The name of an internal range. Format: projects/`project`/locations/
672
+ # `location`/internalRanges/`internal_range` See: https://google.aip.dev/122#
673
+ # fields-representing-resource-names
674
+ # @param [Google::Apis::NetworkconnectivityV1alpha1::InternalRange] internal_range_object
675
+ # @param [String] request_id
676
+ # Optional. An optional request ID to identify requests. Specify a unique
677
+ # request ID so that if you must retry your request, the server will know to
678
+ # ignore the request if it has already been completed. The server will guarantee
679
+ # that for at least 60 minutes since the first request. For example, consider a
680
+ # situation where you make an initial request and t he request times out. If you
681
+ # make the request again with the same request ID, the server can check if the
682
+ # original operation with the same request ID was received, and if so, will
683
+ # ignore the second request. This prevents clients from accidentally creating
684
+ # duplicate commitments. The request ID must be a valid UUID with the exception
685
+ # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
686
+ # @param [String] update_mask
687
+ # Optional. Field mask is used to specify the fields to be overwritten in the
688
+ # internal range resource by the update. The fields specified in the update_mask
689
+ # are relative to the resource, not the full request. A field will be
690
+ # overwritten if it is in the mask. If the user does not provide a mask then all
691
+ # fields will be overwritten.
692
+ # @param [String] fields
693
+ # Selector specifying which fields to include in a partial response.
694
+ # @param [String] quota_user
695
+ # Available to use for quota purposes for server-side applications. Can be any
696
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
697
+ # @param [Google::Apis::RequestOptions] options
698
+ # Request-specific options
699
+ #
700
+ # @yield [result, err] Result & error if block supplied
701
+ # @yieldparam result [Google::Apis::NetworkconnectivityV1alpha1::GoogleLongrunningOperation] parsed result object
702
+ # @yieldparam err [StandardError] error object if request failed
703
+ #
704
+ # @return [Google::Apis::NetworkconnectivityV1alpha1::GoogleLongrunningOperation]
705
+ #
706
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
707
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
708
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
709
+ def patch_project_location_internal_range(name, internal_range_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
710
+ command = make_simple_command(:patch, 'v1alpha1/{+name}', options)
711
+ command.request_representation = Google::Apis::NetworkconnectivityV1alpha1::InternalRange::Representation
712
+ command.request_object = internal_range_object
713
+ command.response_representation = Google::Apis::NetworkconnectivityV1alpha1::GoogleLongrunningOperation::Representation
714
+ command.response_class = Google::Apis::NetworkconnectivityV1alpha1::GoogleLongrunningOperation
715
+ command.params['name'] = name unless name.nil?
716
+ command.query['requestId'] = request_id unless request_id.nil?
717
+ command.query['updateMask'] = update_mask unless update_mask.nil?
718
+ command.query['fields'] = fields unless fields.nil?
719
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
720
+ execute_or_queue_command(command, &block)
721
+ end
722
+
505
723
  # Sets the access control policy on the specified resource. Replaces any
506
724
  # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
507
725
  # PERMISSION_DENIED` errors.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-networkconnectivity_v1alpha1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.26.0
4
+ version: 0.28.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-11-07 00:00:00.000000000 Z
11
+ date: 2023-01-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networkconnectivity_v1alpha1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-networkconnectivity_v1alpha1/v0.26.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-networkconnectivity_v1alpha1/v0.28.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networkconnectivity_v1alpha1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.3.14
78
+ rubygems_version: 3.4.2
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Network Connectivity API V1alpha1