google-apis-networkconnectivity_v1alpha1 0.26.0 → 0.27.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cc20710595bcef40ac912a1bc4b5e48b0bdb43838e6251250df3095620660499
4
- data.tar.gz: e8f7ebecbd93f1330fcfe7a5f9f9b09a94fafa63d9649e70f28d54e1f61aba43
3
+ metadata.gz: e9e837ab89a6739e0861102815ed2dc966ec5cd308d5f58f4834bbd96a56caaa
4
+ data.tar.gz: 35da44aa1036baf21d1b725acb1168f60eb1e1e393e7a9aedc31cdcbb9e29ca7
5
5
  SHA512:
6
- metadata.gz: 5e5305a03a563588958b4bb0b53e887eadad73a730492746e135956168bc8f41b4849439ea0305b74392c4da8683ad2db8ca17c4549765385584bf3b337427ce
7
- data.tar.gz: a2d00e9a747233e2a7a6090aec938e16ffa64fa3cf67a9bfe93b830121d722320d18876eca473dd1d7f0df623cf98feee56ba70942f23f7cd6b6d8f0cf46d409
6
+ metadata.gz: 660aa1126fba964787c45f8afa9bad11168fd70c5a0b2c30e9b7516df93b1bec9d120138816b4dffc1ae7a2799cc9ba18a02d2a6188d48dfdbef11db7ce3679c
7
+ data.tar.gz: f315ad3831803255336322972a9e3f44172a4ecbf9dc652be3bf0e96a67dace4309e4ddc8b1b3d68c669cdb669808c2d33cdde45270d1c713a67d0fd7b2fe7f8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-networkconnectivity_v1alpha1
2
2
 
3
+ ### v0.27.0 (2022-11-08)
4
+
5
+ * Regenerated from discovery document revision 20221107
6
+
3
7
  ### v0.26.0 (2022-11-04)
4
8
 
5
9
  * Regenerated from discovery document revision 20221031
@@ -446,6 +446,117 @@ module Google
446
446
  end
447
447
  end
448
448
 
449
+ # The InternalRange resource for IPAM operations within a VPC network. Used to
450
+ # represent a private address range along with behavioral characterstics of that
451
+ # range (it's usage and peering behavior). Networking resources can link to this
452
+ # range if they are created as belonging to it. Next id: 14
453
+ class InternalRange
454
+ include Google::Apis::Core::Hashable
455
+
456
+ # Time when the InternalRange 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 InternalRange 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 a InternalRange. 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 network is 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
+ # InternalRange.
494
+ # Corresponds to the JSON property `overlaps`
495
+ # @return [Array<String>]
496
+ attr_accessor :overlaps
497
+
498
+ # The type of peering set for this InternalRange.
499
+ # Corresponds to the JSON property `peering`
500
+ # @return [String]
501
+ attr_accessor :peering
502
+
503
+ # An alternate to ip_cidr_range. Can be set when trying to create a reservation
504
+ # that automatically finds a free range of the given size. If both ip_cidr_range
505
+ # and prefix_length are set, it's an error if the range sizes don't match. Can
506
+ # 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 InternalRange 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 InternalRange.
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 InternalRange 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 InternalRange. Having a user, based on this
533
+ # reference, prevents deletion of the InternalRange referred to. Can be empty.
534
+ # Corresponds to the JSON property `users`
535
+ # @return [Array<String>]
536
+ attr_accessor :users
537
+
538
+ def initialize(**args)
539
+ update!(**args)
540
+ end
541
+
542
+ # Update properties of this object
543
+ def update!(**args)
544
+ @create_time = args[:create_time] if args.key?(:create_time)
545
+ @description = args[:description] if args.key?(:description)
546
+ @ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range)
547
+ @labels = args[:labels] if args.key?(:labels)
548
+ @name = args[:name] if args.key?(:name)
549
+ @network = args[:network] if args.key?(:network)
550
+ @overlaps = args[:overlaps] if args.key?(:overlaps)
551
+ @peering = args[:peering] if args.key?(:peering)
552
+ @prefix_length = args[:prefix_length] if args.key?(:prefix_length)
553
+ @target_cidr_range = args[:target_cidr_range] if args.key?(:target_cidr_range)
554
+ @update_time = args[:update_time] if args.key?(:update_time)
555
+ @usage = args[:usage] if args.key?(:usage)
556
+ @users = args[:users] if args.key?(:users)
557
+ end
558
+ end
559
+
449
560
  # Response for HubService.ListHubs method.
450
561
  class ListHubsResponse
451
562
  include Google::Apis::Core::Hashable
@@ -478,6 +589,38 @@ module Google
478
589
  end
479
590
  end
480
591
 
592
+ # Response for InternalRange.ListInternalRanges
593
+ class ListInternalRangesResponse
594
+ include Google::Apis::Core::Hashable
595
+
596
+ # InternalRanges to be returned.
597
+ # Corresponds to the JSON property `internalRanges`
598
+ # @return [Array<Google::Apis::NetworkconnectivityV1alpha1::InternalRange>]
599
+ attr_accessor :internal_ranges
600
+
601
+ # The next pagination token in the List response. It should be used as
602
+ # page_token for the following request. An empty value means no more result.
603
+ # Corresponds to the JSON property `nextPageToken`
604
+ # @return [String]
605
+ attr_accessor :next_page_token
606
+
607
+ # Locations that could not be reached.
608
+ # Corresponds to the JSON property `unreachable`
609
+ # @return [Array<String>]
610
+ attr_accessor :unreachable
611
+
612
+ def initialize(**args)
613
+ update!(**args)
614
+ end
615
+
616
+ # Update properties of this object
617
+ def update!(**args)
618
+ @internal_ranges = args[:internal_ranges] if args.key?(:internal_ranges)
619
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
620
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
621
+ end
622
+ end
623
+
481
624
  # The response message for Locations.ListLocations.
482
625
  class ListLocationsResponse
483
626
  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.27.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.11.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20221031"
25
+ REVISION = "20221107"
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 InternalRange 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
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 InternalRange.
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
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 InternalRange.
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 InternalRanges 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 InternalRange.
670
+ # @param [String] name
671
+ # Immutable. The name of a InternalRange. 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
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
+ # InternalRange 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.27.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: 2022-11-14 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.27.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: []