google-apis-networkconnectivity_v1 0.62.0 → 0.63.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/CHANGELOG.md +4 -0
- data/lib/google/apis/networkconnectivity_v1/classes.rb +400 -3
- data/lib/google/apis/networkconnectivity_v1/gem_version.rb +2 -2
- data/lib/google/apis/networkconnectivity_v1/representations.rb +167 -0
- data/lib/google/apis/networkconnectivity_v1/service.rb +522 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 56dec9e444bbfe4ad609ca46468c6df34a050c2eab44fed88e0192d2700866c1
|
4
|
+
data.tar.gz: 1e723bfec4971f10c351dd6c8d90a4f3989c4ba00188f539a359fdf96cce2da6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8be6d38a8f5c59973fc0dfa662546949e69bfd75e7836227e5aeb18fe7b545e419e63c2995f2e524333dee279f043d303783cffa8976bf0638261dd7cca97806
|
7
|
+
data.tar.gz: '085a3fd42b776268ceccca899557eb2c5539cf271ba6b547d814c737307898b512b88fbc7afe0d08d980e2aaaf17231df547407c46032f732b93741454496648'
|
data/CHANGELOG.md
CHANGED
@@ -553,6 +553,123 @@ module Google
|
|
553
553
|
end
|
554
554
|
end
|
555
555
|
|
556
|
+
# The Destination resource.
|
557
|
+
class Destination
|
558
|
+
include Google::Apis::Core::Hashable
|
559
|
+
|
560
|
+
# Output only. Time when the Destination was created.
|
561
|
+
# Corresponds to the JSON property `createTime`
|
562
|
+
# @return [String]
|
563
|
+
attr_accessor :create_time
|
564
|
+
|
565
|
+
# Optional. An optional field to provide a description of this resource.
|
566
|
+
# Corresponds to the JSON property `description`
|
567
|
+
# @return [String]
|
568
|
+
attr_accessor :description
|
569
|
+
|
570
|
+
# Required. Unordered list. The list of Endpoints configured for the IP Prefix.
|
571
|
+
# Corresponds to the JSON property `endpoints`
|
572
|
+
# @return [Array<Google::Apis::NetworkconnectivityV1::DestinationEndpoint>]
|
573
|
+
attr_accessor :endpoints
|
574
|
+
|
575
|
+
# The etag is computed by the server, and may be sent on update and delete
|
576
|
+
# requests to ensure the client has an up-to-date value before proceeding.
|
577
|
+
# Corresponds to the JSON property `etag`
|
578
|
+
# @return [String]
|
579
|
+
attr_accessor :etag
|
580
|
+
|
581
|
+
# Required. Immutable. Remote IP Prefix in the remote CSP, where the customer's
|
582
|
+
# workload is located
|
583
|
+
# Corresponds to the JSON property `ipPrefix`
|
584
|
+
# @return [String]
|
585
|
+
attr_accessor :ip_prefix
|
586
|
+
|
587
|
+
# Optional. User-defined labels.
|
588
|
+
# Corresponds to the JSON property `labels`
|
589
|
+
# @return [Hash<String,String>]
|
590
|
+
attr_accessor :labels
|
591
|
+
|
592
|
+
# Identifier. The name of the Destination resource. Format: `projects/`project`/
|
593
|
+
# locations/`location`/multicloudDataTransferConfigs/`
|
594
|
+
# multicloud_data_transfer_config`/destinations/`destination``.
|
595
|
+
# Corresponds to the JSON property `name`
|
596
|
+
# @return [String]
|
597
|
+
attr_accessor :name
|
598
|
+
|
599
|
+
# The timeline of pending states for a resource.
|
600
|
+
# Corresponds to the JSON property `stateTimeline`
|
601
|
+
# @return [Google::Apis::NetworkconnectivityV1::StateTimeline]
|
602
|
+
attr_accessor :state_timeline
|
603
|
+
|
604
|
+
# Output only. The Google-generated UUID for the destination. This value is
|
605
|
+
# unique across all destination resources. If a destination is deleted and
|
606
|
+
# another with the same name is created, the new destination is assigned a
|
607
|
+
# different uid.
|
608
|
+
# Corresponds to the JSON property `uid`
|
609
|
+
# @return [String]
|
610
|
+
attr_accessor :uid
|
611
|
+
|
612
|
+
# Output only. Time when the Destination was updated.
|
613
|
+
# Corresponds to the JSON property `updateTime`
|
614
|
+
# @return [String]
|
615
|
+
attr_accessor :update_time
|
616
|
+
|
617
|
+
def initialize(**args)
|
618
|
+
update!(**args)
|
619
|
+
end
|
620
|
+
|
621
|
+
# Update properties of this object
|
622
|
+
def update!(**args)
|
623
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
624
|
+
@description = args[:description] if args.key?(:description)
|
625
|
+
@endpoints = args[:endpoints] if args.key?(:endpoints)
|
626
|
+
@etag = args[:etag] if args.key?(:etag)
|
627
|
+
@ip_prefix = args[:ip_prefix] if args.key?(:ip_prefix)
|
628
|
+
@labels = args[:labels] if args.key?(:labels)
|
629
|
+
@name = args[:name] if args.key?(:name)
|
630
|
+
@state_timeline = args[:state_timeline] if args.key?(:state_timeline)
|
631
|
+
@uid = args[:uid] if args.key?(:uid)
|
632
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
633
|
+
end
|
634
|
+
end
|
635
|
+
|
636
|
+
# The metadata for a DestinationEndpoint.
|
637
|
+
class DestinationEndpoint
|
638
|
+
include Google::Apis::Core::Hashable
|
639
|
+
|
640
|
+
# Required. The ASN of the remote IP Prefix.
|
641
|
+
# Corresponds to the JSON property `asn`
|
642
|
+
# @return [Fixnum]
|
643
|
+
attr_accessor :asn
|
644
|
+
|
645
|
+
# Required. The name of the CSP of the remote IP Prefix.
|
646
|
+
# Corresponds to the JSON property `csp`
|
647
|
+
# @return [String]
|
648
|
+
attr_accessor :csp
|
649
|
+
|
650
|
+
# Output only. The state of the Endpoint.
|
651
|
+
# Corresponds to the JSON property `state`
|
652
|
+
# @return [String]
|
653
|
+
attr_accessor :state
|
654
|
+
|
655
|
+
# Output only. Time when the DestinationEndpoint was updated.
|
656
|
+
# Corresponds to the JSON property `updateTime`
|
657
|
+
# @return [String]
|
658
|
+
attr_accessor :update_time
|
659
|
+
|
660
|
+
def initialize(**args)
|
661
|
+
update!(**args)
|
662
|
+
end
|
663
|
+
|
664
|
+
# Update properties of this object
|
665
|
+
def update!(**args)
|
666
|
+
@asn = args[:asn] if args.key?(:asn)
|
667
|
+
@csp = args[:csp] if args.key?(:csp)
|
668
|
+
@state = args[:state] if args.key?(:state)
|
669
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
670
|
+
end
|
671
|
+
end
|
672
|
+
|
556
673
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
557
674
|
# messages in your APIs. A typical example is to use it as the request or the
|
558
675
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
@@ -1205,9 +1322,11 @@ module Google
|
|
1205
1322
|
attr_accessor :prefix_length
|
1206
1323
|
|
1207
1324
|
# Optional. Can be set to narrow down or pick a different address space while
|
1208
|
-
# searching for a free range. If not set, defaults to the "10.0.0.0/8"
|
1209
|
-
#
|
1210
|
-
#
|
1325
|
+
# searching for a free range. If not set, defaults to the ["10.0.0.0/8", "172.16.
|
1326
|
+
# 0.0/12", "192.168.0.0/16"] address space (for auto-mode networks, the "10.0.0.
|
1327
|
+
# 0/9" range is used instead of "10.0.0.0/8"). This can be used to target the
|
1328
|
+
# search in other rfc-1918 address spaces like "172.16.0.0/12" and "192.168.0.0/
|
1329
|
+
# 16" or non-rfc-1918 address spaces used in the VPC.
|
1211
1330
|
# Corresponds to the JSON property `targetCidrRange`
|
1212
1331
|
# @return [Array<String>]
|
1213
1332
|
attr_accessor :target_cidr_range
|
@@ -1517,6 +1636,37 @@ module Google
|
|
1517
1636
|
end
|
1518
1637
|
end
|
1519
1638
|
|
1639
|
+
# Response message for ListDestinations.
|
1640
|
+
class ListDestinationsResponse
|
1641
|
+
include Google::Apis::Core::Hashable
|
1642
|
+
|
1643
|
+
# Destinations to be returned.
|
1644
|
+
# Corresponds to the JSON property `destinations`
|
1645
|
+
# @return [Array<Google::Apis::NetworkconnectivityV1::Destination>]
|
1646
|
+
attr_accessor :destinations
|
1647
|
+
|
1648
|
+
# The next page token.
|
1649
|
+
# Corresponds to the JSON property `nextPageToken`
|
1650
|
+
# @return [String]
|
1651
|
+
attr_accessor :next_page_token
|
1652
|
+
|
1653
|
+
# Locations that could not be reached.
|
1654
|
+
# Corresponds to the JSON property `unreachable`
|
1655
|
+
# @return [Array<String>]
|
1656
|
+
attr_accessor :unreachable
|
1657
|
+
|
1658
|
+
def initialize(**args)
|
1659
|
+
update!(**args)
|
1660
|
+
end
|
1661
|
+
|
1662
|
+
# Update properties of this object
|
1663
|
+
def update!(**args)
|
1664
|
+
@destinations = args[:destinations] if args.key?(:destinations)
|
1665
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1666
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
1667
|
+
end
|
1668
|
+
end
|
1669
|
+
|
1520
1670
|
# Response for HubService.ListGroups method.
|
1521
1671
|
class ListGroupsResponse
|
1522
1672
|
include Google::Apis::Core::Hashable
|
@@ -1674,6 +1824,62 @@ module Google
|
|
1674
1824
|
end
|
1675
1825
|
end
|
1676
1826
|
|
1827
|
+
# Response message for ListMulticloudDataTransferConfigs.
|
1828
|
+
class ListMulticloudDataTransferConfigsResponse
|
1829
|
+
include Google::Apis::Core::Hashable
|
1830
|
+
|
1831
|
+
# MulticloudDataTransferConfigs to be returned.
|
1832
|
+
# Corresponds to the JSON property `multicloudDataTransferConfigs`
|
1833
|
+
# @return [Array<Google::Apis::NetworkconnectivityV1::MulticloudDataTransferConfig>]
|
1834
|
+
attr_accessor :multicloud_data_transfer_configs
|
1835
|
+
|
1836
|
+
# The next page token.
|
1837
|
+
# Corresponds to the JSON property `nextPageToken`
|
1838
|
+
# @return [String]
|
1839
|
+
attr_accessor :next_page_token
|
1840
|
+
|
1841
|
+
# Locations that could not be reached.
|
1842
|
+
# Corresponds to the JSON property `unreachable`
|
1843
|
+
# @return [Array<String>]
|
1844
|
+
attr_accessor :unreachable
|
1845
|
+
|
1846
|
+
def initialize(**args)
|
1847
|
+
update!(**args)
|
1848
|
+
end
|
1849
|
+
|
1850
|
+
# Update properties of this object
|
1851
|
+
def update!(**args)
|
1852
|
+
@multicloud_data_transfer_configs = args[:multicloud_data_transfer_configs] if args.key?(:multicloud_data_transfer_configs)
|
1853
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1854
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
1855
|
+
end
|
1856
|
+
end
|
1857
|
+
|
1858
|
+
# Response message for ListMulticloudDataTransferSupportedServices.
|
1859
|
+
class ListMulticloudDataTransferSupportedServicesResponse
|
1860
|
+
include Google::Apis::Core::Hashable
|
1861
|
+
|
1862
|
+
# The list of supported services.
|
1863
|
+
# Corresponds to the JSON property `multicloudDataTransferSupportedServices`
|
1864
|
+
# @return [Array<Google::Apis::NetworkconnectivityV1::MulticloudDataTransferSupportedService>]
|
1865
|
+
attr_accessor :multicloud_data_transfer_supported_services
|
1866
|
+
|
1867
|
+
# The next page token.
|
1868
|
+
# Corresponds to the JSON property `nextPageToken`
|
1869
|
+
# @return [String]
|
1870
|
+
attr_accessor :next_page_token
|
1871
|
+
|
1872
|
+
def initialize(**args)
|
1873
|
+
update!(**args)
|
1874
|
+
end
|
1875
|
+
|
1876
|
+
# Update properties of this object
|
1877
|
+
def update!(**args)
|
1878
|
+
@multicloud_data_transfer_supported_services = args[:multicloud_data_transfer_supported_services] if args.key?(:multicloud_data_transfer_supported_services)
|
1879
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1880
|
+
end
|
1881
|
+
end
|
1882
|
+
|
1677
1883
|
# Response for PolicyBasedRoutingService.ListPolicyBasedRoutes method.
|
1678
1884
|
class ListPolicyBasedRoutesResponse
|
1679
1885
|
include Google::Apis::Core::Hashable
|
@@ -2061,6 +2267,118 @@ module Google
|
|
2061
2267
|
end
|
2062
2268
|
end
|
2063
2269
|
|
2270
|
+
# The MulticloudDataTransferConfig resource. This lists the services for which
|
2271
|
+
# customer is opting in for Multicloud Data Transfer.
|
2272
|
+
class MulticloudDataTransferConfig
|
2273
|
+
include Google::Apis::Core::Hashable
|
2274
|
+
|
2275
|
+
# Output only. Time when the MulticloudDataTransferConfig was created.
|
2276
|
+
# Corresponds to the JSON property `createTime`
|
2277
|
+
# @return [String]
|
2278
|
+
attr_accessor :create_time
|
2279
|
+
|
2280
|
+
# Optional. An optional field to provide a description of this resource.
|
2281
|
+
# Corresponds to the JSON property `description`
|
2282
|
+
# @return [String]
|
2283
|
+
attr_accessor :description
|
2284
|
+
|
2285
|
+
# Output only. The number of Destinations in use under the
|
2286
|
+
# MulticloudDataTransferConfig resource.
|
2287
|
+
# Corresponds to the JSON property `destinationsActiveCount`
|
2288
|
+
# @return [Fixnum]
|
2289
|
+
attr_accessor :destinations_active_count
|
2290
|
+
|
2291
|
+
# Output only. The number of Destinations configured under the
|
2292
|
+
# MulticloudDataTransferConfig resource.
|
2293
|
+
# Corresponds to the JSON property `destinationsCount`
|
2294
|
+
# @return [Fixnum]
|
2295
|
+
attr_accessor :destinations_count
|
2296
|
+
|
2297
|
+
# The etag is computed by the server, and may be sent on update and delete
|
2298
|
+
# requests to ensure the client has an up-to-date value before proceeding.
|
2299
|
+
# Corresponds to the JSON property `etag`
|
2300
|
+
# @return [String]
|
2301
|
+
attr_accessor :etag
|
2302
|
+
|
2303
|
+
# Optional. User-defined labels.
|
2304
|
+
# Corresponds to the JSON property `labels`
|
2305
|
+
# @return [Hash<String,String>]
|
2306
|
+
attr_accessor :labels
|
2307
|
+
|
2308
|
+
# Identifier. The name of the MulticloudDataTransferConfig resource. Format: `
|
2309
|
+
# projects/`project`/locations/`location`/multicloudDataTransferConfigs/`
|
2310
|
+
# multicloud_data_transfer_config``.
|
2311
|
+
# Corresponds to the JSON property `name`
|
2312
|
+
# @return [String]
|
2313
|
+
attr_accessor :name
|
2314
|
+
|
2315
|
+
# Optional. This map services to either their current or planned states. Service
|
2316
|
+
# names are keys, and the associated values describe the service's state. If a
|
2317
|
+
# state change is expected, the value will be the list of ADDING or DELETING
|
2318
|
+
# states depending on the actions taken. Example: "services": ` "big-query": ` "
|
2319
|
+
# states": [ ` "state": "ADDING", "effective_time": "2024-12-12T08:00:00Z" `, ] `
|
2320
|
+
# , "cloud-storage": ` "states": [ ` "state": "ACTIVE", ` ] ` `
|
2321
|
+
# Corresponds to the JSON property `services`
|
2322
|
+
# @return [Hash<String,Google::Apis::NetworkconnectivityV1::StateTimeline>]
|
2323
|
+
attr_accessor :services
|
2324
|
+
|
2325
|
+
# Output only. The Google-generated UUID for the MulticloudDataTransferConfig.
|
2326
|
+
# This value is unique across all MulticloudDataTransferConfig resources. If a
|
2327
|
+
# MulticloudDataTransferConfig is deleted and another with the same name is
|
2328
|
+
# created, the new MulticloudDataTransferConfig is assigned a different uid.
|
2329
|
+
# Corresponds to the JSON property `uid`
|
2330
|
+
# @return [String]
|
2331
|
+
attr_accessor :uid
|
2332
|
+
|
2333
|
+
# Output only. Time when the MulticloudDataTransferConfig was updated.
|
2334
|
+
# Corresponds to the JSON property `updateTime`
|
2335
|
+
# @return [String]
|
2336
|
+
attr_accessor :update_time
|
2337
|
+
|
2338
|
+
def initialize(**args)
|
2339
|
+
update!(**args)
|
2340
|
+
end
|
2341
|
+
|
2342
|
+
# Update properties of this object
|
2343
|
+
def update!(**args)
|
2344
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
2345
|
+
@description = args[:description] if args.key?(:description)
|
2346
|
+
@destinations_active_count = args[:destinations_active_count] if args.key?(:destinations_active_count)
|
2347
|
+
@destinations_count = args[:destinations_count] if args.key?(:destinations_count)
|
2348
|
+
@etag = args[:etag] if args.key?(:etag)
|
2349
|
+
@labels = args[:labels] if args.key?(:labels)
|
2350
|
+
@name = args[:name] if args.key?(:name)
|
2351
|
+
@services = args[:services] if args.key?(:services)
|
2352
|
+
@uid = args[:uid] if args.key?(:uid)
|
2353
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
2354
|
+
end
|
2355
|
+
end
|
2356
|
+
|
2357
|
+
# The supported service for Multicloud Data Transfer.
|
2358
|
+
class MulticloudDataTransferSupportedService
|
2359
|
+
include Google::Apis::Core::Hashable
|
2360
|
+
|
2361
|
+
# Identifier. The name of the service.
|
2362
|
+
# Corresponds to the JSON property `name`
|
2363
|
+
# @return [String]
|
2364
|
+
attr_accessor :name
|
2365
|
+
|
2366
|
+
# Output only. The network service tiers supported for the service.
|
2367
|
+
# Corresponds to the JSON property `serviceConfigs`
|
2368
|
+
# @return [Array<Google::Apis::NetworkconnectivityV1::ServiceConfig>]
|
2369
|
+
attr_accessor :service_configs
|
2370
|
+
|
2371
|
+
def initialize(**args)
|
2372
|
+
update!(**args)
|
2373
|
+
end
|
2374
|
+
|
2375
|
+
# Update properties of this object
|
2376
|
+
def update!(**args)
|
2377
|
+
@name = args[:name] if args.key?(:name)
|
2378
|
+
@service_configs = args[:service_configs] if args.key?(:service_configs)
|
2379
|
+
end
|
2380
|
+
end
|
2381
|
+
|
2064
2382
|
# A route next hop that leads to an interconnect attachment resource.
|
2065
2383
|
class NextHopInterconnectAttachment
|
2066
2384
|
include Google::Apis::Core::Hashable
|
@@ -3275,6 +3593,37 @@ module Google
|
|
3275
3593
|
end
|
3276
3594
|
end
|
3277
3595
|
|
3596
|
+
# Specifies the Multicloud Data Transfer supported services configuration. This
|
3597
|
+
# includes either the network tier or the request endpoint. If end of support
|
3598
|
+
# for multicloud data transfer is planned for a service's network tier or
|
3599
|
+
# request endpoint, the end time will be provided.
|
3600
|
+
class ServiceConfig
|
3601
|
+
include Google::Apis::Core::Hashable
|
3602
|
+
|
3603
|
+
# Output only. The eligibility criteria for the service. The user has to meet
|
3604
|
+
# the eligibility criteria specified here for the service to qualify for
|
3605
|
+
# multicloud data transfer.
|
3606
|
+
# Corresponds to the JSON property `eligibilityCriteria`
|
3607
|
+
# @return [String]
|
3608
|
+
attr_accessor :eligibility_criteria
|
3609
|
+
|
3610
|
+
# Output only. The eligibility criteria support end time. If the end time is not
|
3611
|
+
# specified, no planned end time is available.
|
3612
|
+
# Corresponds to the JSON property `supportEndTime`
|
3613
|
+
# @return [String]
|
3614
|
+
attr_accessor :support_end_time
|
3615
|
+
|
3616
|
+
def initialize(**args)
|
3617
|
+
update!(**args)
|
3618
|
+
end
|
3619
|
+
|
3620
|
+
# Update properties of this object
|
3621
|
+
def update!(**args)
|
3622
|
+
@eligibility_criteria = args[:eligibility_criteria] if args.key?(:eligibility_criteria)
|
3623
|
+
@support_end_time = args[:support_end_time] if args.key?(:support_end_time)
|
3624
|
+
end
|
3625
|
+
end
|
3626
|
+
|
3278
3627
|
# The ServiceConnectionMap resource.
|
3279
3628
|
class ServiceConnectionMap
|
3280
3629
|
include Google::Apis::Core::Hashable
|
@@ -3845,6 +4194,35 @@ module Google
|
|
3845
4194
|
end
|
3846
4195
|
end
|
3847
4196
|
|
4197
|
+
# The state and activation time details of the resource state.
|
4198
|
+
class StateMetadata
|
4199
|
+
include Google::Apis::Core::Hashable
|
4200
|
+
|
4201
|
+
# Output only. This field will be accompanied only with transient states (
|
4202
|
+
# PENDING_ADD, PENDING_DELETE, PENDING_SUSPENSION) and denotes the time when the
|
4203
|
+
# transient state of the resource will be effective. For instance, if the state
|
4204
|
+
# is "ADDING," this field will show the time the resource transitions to "ACTIVE.
|
4205
|
+
# " Similarly, if the state is "PENDING_DELETE," it will show the deletion time.
|
4206
|
+
# Corresponds to the JSON property `effectiveTime`
|
4207
|
+
# @return [String]
|
4208
|
+
attr_accessor :effective_time
|
4209
|
+
|
4210
|
+
# Output only. The state of the resource.
|
4211
|
+
# Corresponds to the JSON property `state`
|
4212
|
+
# @return [String]
|
4213
|
+
attr_accessor :state
|
4214
|
+
|
4215
|
+
def initialize(**args)
|
4216
|
+
update!(**args)
|
4217
|
+
end
|
4218
|
+
|
4219
|
+
# Update properties of this object
|
4220
|
+
def update!(**args)
|
4221
|
+
@effective_time = args[:effective_time] if args.key?(:effective_time)
|
4222
|
+
@state = args[:state] if args.key?(:state)
|
4223
|
+
end
|
4224
|
+
end
|
4225
|
+
|
3848
4226
|
# The reason a spoke is inactive.
|
3849
4227
|
class StateReason
|
3850
4228
|
include Google::Apis::Core::Hashable
|
@@ -3876,6 +4254,25 @@ module Google
|
|
3876
4254
|
end
|
3877
4255
|
end
|
3878
4256
|
|
4257
|
+
# The timeline of pending states for a resource.
|
4258
|
+
class StateTimeline
|
4259
|
+
include Google::Apis::Core::Hashable
|
4260
|
+
|
4261
|
+
# Output only. The state and activation time details of the resource state.
|
4262
|
+
# Corresponds to the JSON property `states`
|
4263
|
+
# @return [Array<Google::Apis::NetworkconnectivityV1::StateMetadata>]
|
4264
|
+
attr_accessor :states
|
4265
|
+
|
4266
|
+
def initialize(**args)
|
4267
|
+
update!(**args)
|
4268
|
+
end
|
4269
|
+
|
4270
|
+
# Update properties of this object
|
4271
|
+
def update!(**args)
|
4272
|
+
@states = args[:states] if args.key?(:states)
|
4273
|
+
end
|
4274
|
+
end
|
4275
|
+
|
3879
4276
|
# Request message for `TestIamPermissions` method.
|
3880
4277
|
class TestIamPermissionsRequest
|
3881
4278
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module NetworkconnectivityV1
|
18
18
|
# Version of the google-apis-networkconnectivity_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.63.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250815"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -82,6 +82,18 @@ module Google
|
|
82
82
|
include Google::Apis::Core::JsonObjectSupport
|
83
83
|
end
|
84
84
|
|
85
|
+
class Destination
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
91
|
+
class DestinationEndpoint
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
+
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
95
|
+
end
|
96
|
+
|
85
97
|
class Empty
|
86
98
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
99
|
|
@@ -190,6 +202,12 @@ module Google
|
|
190
202
|
include Google::Apis::Core::JsonObjectSupport
|
191
203
|
end
|
192
204
|
|
205
|
+
class ListDestinationsResponse
|
206
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
|
+
|
208
|
+
include Google::Apis::Core::JsonObjectSupport
|
209
|
+
end
|
210
|
+
|
193
211
|
class ListGroupsResponse
|
194
212
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
213
|
|
@@ -220,6 +238,18 @@ module Google
|
|
220
238
|
include Google::Apis::Core::JsonObjectSupport
|
221
239
|
end
|
222
240
|
|
241
|
+
class ListMulticloudDataTransferConfigsResponse
|
242
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
|
+
|
244
|
+
include Google::Apis::Core::JsonObjectSupport
|
245
|
+
end
|
246
|
+
|
247
|
+
class ListMulticloudDataTransferSupportedServicesResponse
|
248
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
|
+
|
250
|
+
include Google::Apis::Core::JsonObjectSupport
|
251
|
+
end
|
252
|
+
|
223
253
|
class ListPolicyBasedRoutesResponse
|
224
254
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
255
|
|
@@ -292,6 +322,18 @@ module Google
|
|
292
322
|
include Google::Apis::Core::JsonObjectSupport
|
293
323
|
end
|
294
324
|
|
325
|
+
class MulticloudDataTransferConfig
|
326
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
327
|
+
|
328
|
+
include Google::Apis::Core::JsonObjectSupport
|
329
|
+
end
|
330
|
+
|
331
|
+
class MulticloudDataTransferSupportedService
|
332
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
333
|
+
|
334
|
+
include Google::Apis::Core::JsonObjectSupport
|
335
|
+
end
|
336
|
+
|
295
337
|
class NextHopInterconnectAttachment
|
296
338
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
297
339
|
|
@@ -424,6 +466,12 @@ module Google
|
|
424
466
|
include Google::Apis::Core::JsonObjectSupport
|
425
467
|
end
|
426
468
|
|
469
|
+
class ServiceConfig
|
470
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
471
|
+
|
472
|
+
include Google::Apis::Core::JsonObjectSupport
|
473
|
+
end
|
474
|
+
|
427
475
|
class ServiceConnectionMap
|
428
476
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
429
477
|
|
@@ -478,12 +526,24 @@ module Google
|
|
478
526
|
include Google::Apis::Core::JsonObjectSupport
|
479
527
|
end
|
480
528
|
|
529
|
+
class StateMetadata
|
530
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
531
|
+
|
532
|
+
include Google::Apis::Core::JsonObjectSupport
|
533
|
+
end
|
534
|
+
|
481
535
|
class StateReason
|
482
536
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
483
537
|
|
484
538
|
include Google::Apis::Core::JsonObjectSupport
|
485
539
|
end
|
486
540
|
|
541
|
+
class StateTimeline
|
542
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
543
|
+
|
544
|
+
include Google::Apis::Core::JsonObjectSupport
|
545
|
+
end
|
546
|
+
|
487
547
|
class TestIamPermissionsRequest
|
488
548
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
489
549
|
|
@@ -613,6 +673,34 @@ module Google
|
|
613
673
|
end
|
614
674
|
end
|
615
675
|
|
676
|
+
class Destination
|
677
|
+
# @private
|
678
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
679
|
+
property :create_time, as: 'createTime'
|
680
|
+
property :description, as: 'description'
|
681
|
+
collection :endpoints, as: 'endpoints', class: Google::Apis::NetworkconnectivityV1::DestinationEndpoint, decorator: Google::Apis::NetworkconnectivityV1::DestinationEndpoint::Representation
|
682
|
+
|
683
|
+
property :etag, as: 'etag'
|
684
|
+
property :ip_prefix, as: 'ipPrefix'
|
685
|
+
hash :labels, as: 'labels'
|
686
|
+
property :name, as: 'name'
|
687
|
+
property :state_timeline, as: 'stateTimeline', class: Google::Apis::NetworkconnectivityV1::StateTimeline, decorator: Google::Apis::NetworkconnectivityV1::StateTimeline::Representation
|
688
|
+
|
689
|
+
property :uid, as: 'uid'
|
690
|
+
property :update_time, as: 'updateTime'
|
691
|
+
end
|
692
|
+
end
|
693
|
+
|
694
|
+
class DestinationEndpoint
|
695
|
+
# @private
|
696
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
697
|
+
property :asn, :numeric_string => true, as: 'asn'
|
698
|
+
property :csp, as: 'csp'
|
699
|
+
property :state, as: 'state'
|
700
|
+
property :update_time, as: 'updateTime'
|
701
|
+
end
|
702
|
+
end
|
703
|
+
|
616
704
|
class Empty
|
617
705
|
# @private
|
618
706
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -820,6 +908,16 @@ module Google
|
|
820
908
|
end
|
821
909
|
end
|
822
910
|
|
911
|
+
class ListDestinationsResponse
|
912
|
+
# @private
|
913
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
914
|
+
collection :destinations, as: 'destinations', class: Google::Apis::NetworkconnectivityV1::Destination, decorator: Google::Apis::NetworkconnectivityV1::Destination::Representation
|
915
|
+
|
916
|
+
property :next_page_token, as: 'nextPageToken'
|
917
|
+
collection :unreachable, as: 'unreachable'
|
918
|
+
end
|
919
|
+
end
|
920
|
+
|
823
921
|
class ListGroupsResponse
|
824
922
|
# @private
|
825
923
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -869,6 +967,25 @@ module Google
|
|
869
967
|
end
|
870
968
|
end
|
871
969
|
|
970
|
+
class ListMulticloudDataTransferConfigsResponse
|
971
|
+
# @private
|
972
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
973
|
+
collection :multicloud_data_transfer_configs, as: 'multicloudDataTransferConfigs', class: Google::Apis::NetworkconnectivityV1::MulticloudDataTransferConfig, decorator: Google::Apis::NetworkconnectivityV1::MulticloudDataTransferConfig::Representation
|
974
|
+
|
975
|
+
property :next_page_token, as: 'nextPageToken'
|
976
|
+
collection :unreachable, as: 'unreachable'
|
977
|
+
end
|
978
|
+
end
|
979
|
+
|
980
|
+
class ListMulticloudDataTransferSupportedServicesResponse
|
981
|
+
# @private
|
982
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
983
|
+
collection :multicloud_data_transfer_supported_services, as: 'multicloudDataTransferSupportedServices', class: Google::Apis::NetworkconnectivityV1::MulticloudDataTransferSupportedService, decorator: Google::Apis::NetworkconnectivityV1::MulticloudDataTransferSupportedService::Representation
|
984
|
+
|
985
|
+
property :next_page_token, as: 'nextPageToken'
|
986
|
+
end
|
987
|
+
end
|
988
|
+
|
872
989
|
class ListPolicyBasedRoutesResponse
|
873
990
|
# @private
|
874
991
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -985,6 +1102,32 @@ module Google
|
|
985
1102
|
end
|
986
1103
|
end
|
987
1104
|
|
1105
|
+
class MulticloudDataTransferConfig
|
1106
|
+
# @private
|
1107
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1108
|
+
property :create_time, as: 'createTime'
|
1109
|
+
property :description, as: 'description'
|
1110
|
+
property :destinations_active_count, as: 'destinationsActiveCount'
|
1111
|
+
property :destinations_count, as: 'destinationsCount'
|
1112
|
+
property :etag, as: 'etag'
|
1113
|
+
hash :labels, as: 'labels'
|
1114
|
+
property :name, as: 'name'
|
1115
|
+
hash :services, as: 'services', class: Google::Apis::NetworkconnectivityV1::StateTimeline, decorator: Google::Apis::NetworkconnectivityV1::StateTimeline::Representation
|
1116
|
+
|
1117
|
+
property :uid, as: 'uid'
|
1118
|
+
property :update_time, as: 'updateTime'
|
1119
|
+
end
|
1120
|
+
end
|
1121
|
+
|
1122
|
+
class MulticloudDataTransferSupportedService
|
1123
|
+
# @private
|
1124
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1125
|
+
property :name, as: 'name'
|
1126
|
+
collection :service_configs, as: 'serviceConfigs', class: Google::Apis::NetworkconnectivityV1::ServiceConfig, decorator: Google::Apis::NetworkconnectivityV1::ServiceConfig::Representation
|
1127
|
+
|
1128
|
+
end
|
1129
|
+
end
|
1130
|
+
|
988
1131
|
class NextHopInterconnectAttachment
|
989
1132
|
# @private
|
990
1133
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1253,6 +1396,14 @@ module Google
|
|
1253
1396
|
end
|
1254
1397
|
end
|
1255
1398
|
|
1399
|
+
class ServiceConfig
|
1400
|
+
# @private
|
1401
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1402
|
+
property :eligibility_criteria, as: 'eligibilityCriteria'
|
1403
|
+
property :support_end_time, as: 'supportEndTime'
|
1404
|
+
end
|
1405
|
+
end
|
1406
|
+
|
1256
1407
|
class ServiceConnectionMap
|
1257
1408
|
# @private
|
1258
1409
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1384,6 +1535,14 @@ module Google
|
|
1384
1535
|
end
|
1385
1536
|
end
|
1386
1537
|
|
1538
|
+
class StateMetadata
|
1539
|
+
# @private
|
1540
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1541
|
+
property :effective_time, as: 'effectiveTime'
|
1542
|
+
property :state, as: 'state'
|
1543
|
+
end
|
1544
|
+
end
|
1545
|
+
|
1387
1546
|
class StateReason
|
1388
1547
|
# @private
|
1389
1548
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1393,6 +1552,14 @@ module Google
|
|
1393
1552
|
end
|
1394
1553
|
end
|
1395
1554
|
|
1555
|
+
class StateTimeline
|
1556
|
+
# @private
|
1557
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1558
|
+
collection :states, as: 'states', class: Google::Apis::NetworkconnectivityV1::StateMetadata, decorator: Google::Apis::NetworkconnectivityV1::StateMetadata::Representation
|
1559
|
+
|
1560
|
+
end
|
1561
|
+
end
|
1562
|
+
|
1396
1563
|
class TestIamPermissionsRequest
|
1397
1564
|
# @private
|
1398
1565
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -85,8 +85,8 @@ module Google
|
|
85
85
|
# @param [String] name
|
86
86
|
# The resource that owns the locations collection, if applicable.
|
87
87
|
# @param [Array<String>, String] extra_location_types
|
88
|
-
# Optional.
|
89
|
-
#
|
88
|
+
# Optional. Do not use this field. It is unsupported and is ignored unless
|
89
|
+
# explicitly documented otherwise. This is primarily for internal usage.
|
90
90
|
# @param [String] filter
|
91
91
|
# A filter to narrow down results to a preferred subset. The filtering language
|
92
92
|
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
|
@@ -1739,6 +1739,526 @@ module Google
|
|
1739
1739
|
execute_or_queue_command(command, &block)
|
1740
1740
|
end
|
1741
1741
|
|
1742
|
+
# Creates a MulticloudDataTransferConfig in a given project and location.
|
1743
|
+
# @param [String] parent
|
1744
|
+
# Required. The parent resource's name
|
1745
|
+
# @param [Google::Apis::NetworkconnectivityV1::MulticloudDataTransferConfig] multicloud_data_transfer_config_object
|
1746
|
+
# @param [String] multicloud_data_transfer_config_id
|
1747
|
+
# Required. The ID to use for the MulticloudDataTransferConfig, which will
|
1748
|
+
# become the final component of the MulticloudDataTransferConfig's resource name.
|
1749
|
+
# @param [String] request_id
|
1750
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
1751
|
+
# request ID so that if you must retry your request, the server will know to
|
1752
|
+
# ignore the request if it has already been completed. The server will guarantee
|
1753
|
+
# that for at least 60 minutes since the first request. For example, consider a
|
1754
|
+
# situation where you make an initial request and the request times out. If you
|
1755
|
+
# make the request again with the same request ID, the server can check if
|
1756
|
+
# original operation with the same request ID was received, and if so, will
|
1757
|
+
# ignore the second request. This prevents clients from accidentally creating
|
1758
|
+
# duplicate MulticloudDataTransferConfigs. The request ID must be a valid UUID
|
1759
|
+
# with the exception that zero UUID is not supported (00000000-0000-0000-0000-
|
1760
|
+
# 000000000000).
|
1761
|
+
# @param [String] fields
|
1762
|
+
# Selector specifying which fields to include in a partial response.
|
1763
|
+
# @param [String] quota_user
|
1764
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1765
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1766
|
+
# @param [Google::Apis::RequestOptions] options
|
1767
|
+
# Request-specific options
|
1768
|
+
#
|
1769
|
+
# @yield [result, err] Result & error if block supplied
|
1770
|
+
# @yieldparam result [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation] parsed result object
|
1771
|
+
# @yieldparam err [StandardError] error object if request failed
|
1772
|
+
#
|
1773
|
+
# @return [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation]
|
1774
|
+
#
|
1775
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1776
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1777
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1778
|
+
def create_project_location_multicloud_data_transfer_config(parent, multicloud_data_transfer_config_object = nil, multicloud_data_transfer_config_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1779
|
+
command = make_simple_command(:post, 'v1/{+parent}/multicloudDataTransferConfigs', options)
|
1780
|
+
command.request_representation = Google::Apis::NetworkconnectivityV1::MulticloudDataTransferConfig::Representation
|
1781
|
+
command.request_object = multicloud_data_transfer_config_object
|
1782
|
+
command.response_representation = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation::Representation
|
1783
|
+
command.response_class = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation
|
1784
|
+
command.params['parent'] = parent unless parent.nil?
|
1785
|
+
command.query['multicloudDataTransferConfigId'] = multicloud_data_transfer_config_id unless multicloud_data_transfer_config_id.nil?
|
1786
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
1787
|
+
command.query['fields'] = fields unless fields.nil?
|
1788
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1789
|
+
execute_or_queue_command(command, &block)
|
1790
|
+
end
|
1791
|
+
|
1792
|
+
# Deletes a single MulticloudDataTransferConfig.
|
1793
|
+
# @param [String] name
|
1794
|
+
# Required. The name of the MulticloudDataTransferConfig resource to delete.
|
1795
|
+
# @param [String] etag
|
1796
|
+
# Optional. The etag is computed by the server, and may be sent on update and
|
1797
|
+
# delete requests to ensure the client has an up-to-date value before proceeding.
|
1798
|
+
# @param [String] request_id
|
1799
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
1800
|
+
# request ID so that if you must retry your request, the server will know to
|
1801
|
+
# ignore the request if it has already been completed. The server will guarantee
|
1802
|
+
# that for at least 60 minutes since the first request. For example, consider a
|
1803
|
+
# situation where you make an initial request and the request times out. If you
|
1804
|
+
# make the request again with the same request ID, the server can check if
|
1805
|
+
# original operation with the same request ID was received, and if so, will
|
1806
|
+
# ignore the second request. This prevents clients from accidentally creating
|
1807
|
+
# duplicate MulticloudDataTransferConfigs. The request ID must be a valid UUID
|
1808
|
+
# with the exception that zero UUID is not supported (00000000-0000-0000-0000-
|
1809
|
+
# 000000000000).
|
1810
|
+
# @param [String] fields
|
1811
|
+
# Selector specifying which fields to include in a partial response.
|
1812
|
+
# @param [String] quota_user
|
1813
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1814
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1815
|
+
# @param [Google::Apis::RequestOptions] options
|
1816
|
+
# Request-specific options
|
1817
|
+
#
|
1818
|
+
# @yield [result, err] Result & error if block supplied
|
1819
|
+
# @yieldparam result [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation] parsed result object
|
1820
|
+
# @yieldparam err [StandardError] error object if request failed
|
1821
|
+
#
|
1822
|
+
# @return [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation]
|
1823
|
+
#
|
1824
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1825
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1826
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1827
|
+
def delete_project_location_multicloud_data_transfer_config(name, etag: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1828
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
1829
|
+
command.response_representation = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation::Representation
|
1830
|
+
command.response_class = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation
|
1831
|
+
command.params['name'] = name unless name.nil?
|
1832
|
+
command.query['etag'] = etag unless etag.nil?
|
1833
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
1834
|
+
command.query['fields'] = fields unless fields.nil?
|
1835
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1836
|
+
execute_or_queue_command(command, &block)
|
1837
|
+
end
|
1838
|
+
|
1839
|
+
# Gets details of a single MulticloudDataTransferConfig.
|
1840
|
+
# @param [String] name
|
1841
|
+
# Required. Name of the MulticloudDataTransferConfig to get.
|
1842
|
+
# @param [String] fields
|
1843
|
+
# Selector specifying which fields to include in a partial response.
|
1844
|
+
# @param [String] quota_user
|
1845
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1846
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1847
|
+
# @param [Google::Apis::RequestOptions] options
|
1848
|
+
# Request-specific options
|
1849
|
+
#
|
1850
|
+
# @yield [result, err] Result & error if block supplied
|
1851
|
+
# @yieldparam result [Google::Apis::NetworkconnectivityV1::MulticloudDataTransferConfig] parsed result object
|
1852
|
+
# @yieldparam err [StandardError] error object if request failed
|
1853
|
+
#
|
1854
|
+
# @return [Google::Apis::NetworkconnectivityV1::MulticloudDataTransferConfig]
|
1855
|
+
#
|
1856
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1857
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1858
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1859
|
+
def get_project_location_multicloud_data_transfer_config(name, fields: nil, quota_user: nil, options: nil, &block)
|
1860
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
1861
|
+
command.response_representation = Google::Apis::NetworkconnectivityV1::MulticloudDataTransferConfig::Representation
|
1862
|
+
command.response_class = Google::Apis::NetworkconnectivityV1::MulticloudDataTransferConfig
|
1863
|
+
command.params['name'] = name unless name.nil?
|
1864
|
+
command.query['fields'] = fields unless fields.nil?
|
1865
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1866
|
+
execute_or_queue_command(command, &block)
|
1867
|
+
end
|
1868
|
+
|
1869
|
+
# Lists MulticloudDataTransferConfigs in a given project and location.
|
1870
|
+
# @param [String] parent
|
1871
|
+
# Required. The parent resource's name
|
1872
|
+
# @param [String] filter
|
1873
|
+
# Optional. A filter expression that filters the results listed in the response.
|
1874
|
+
# @param [String] order_by
|
1875
|
+
# Optional. Sort the results by a certain order.
|
1876
|
+
# @param [Fixnum] page_size
|
1877
|
+
# Optional. The maximum number of results per page that should be returned.
|
1878
|
+
# @param [String] page_token
|
1879
|
+
# Optional. The page token.
|
1880
|
+
# @param [Boolean] return_partial_success
|
1881
|
+
# Optional. If true, allow partial responses for multi-regional Aggregated List
|
1882
|
+
# requests.
|
1883
|
+
# @param [String] fields
|
1884
|
+
# Selector specifying which fields to include in a partial response.
|
1885
|
+
# @param [String] quota_user
|
1886
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1887
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1888
|
+
# @param [Google::Apis::RequestOptions] options
|
1889
|
+
# Request-specific options
|
1890
|
+
#
|
1891
|
+
# @yield [result, err] Result & error if block supplied
|
1892
|
+
# @yieldparam result [Google::Apis::NetworkconnectivityV1::ListMulticloudDataTransferConfigsResponse] parsed result object
|
1893
|
+
# @yieldparam err [StandardError] error object if request failed
|
1894
|
+
#
|
1895
|
+
# @return [Google::Apis::NetworkconnectivityV1::ListMulticloudDataTransferConfigsResponse]
|
1896
|
+
#
|
1897
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1898
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1899
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1900
|
+
def list_project_location_multicloud_data_transfer_configs(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1901
|
+
command = make_simple_command(:get, 'v1/{+parent}/multicloudDataTransferConfigs', options)
|
1902
|
+
command.response_representation = Google::Apis::NetworkconnectivityV1::ListMulticloudDataTransferConfigsResponse::Representation
|
1903
|
+
command.response_class = Google::Apis::NetworkconnectivityV1::ListMulticloudDataTransferConfigsResponse
|
1904
|
+
command.params['parent'] = parent unless parent.nil?
|
1905
|
+
command.query['filter'] = filter unless filter.nil?
|
1906
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
1907
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1908
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1909
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
1910
|
+
command.query['fields'] = fields unless fields.nil?
|
1911
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1912
|
+
execute_or_queue_command(command, &block)
|
1913
|
+
end
|
1914
|
+
|
1915
|
+
# Updates a MulticloudDataTransferConfig in a given project and location.
|
1916
|
+
# @param [String] name
|
1917
|
+
# Identifier. The name of the MulticloudDataTransferConfig resource. Format: `
|
1918
|
+
# projects/`project`/locations/`location`/multicloudDataTransferConfigs/`
|
1919
|
+
# multicloud_data_transfer_config``.
|
1920
|
+
# @param [Google::Apis::NetworkconnectivityV1::MulticloudDataTransferConfig] multicloud_data_transfer_config_object
|
1921
|
+
# @param [String] request_id
|
1922
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
1923
|
+
# request ID so that if you must retry your request, the server will know to
|
1924
|
+
# ignore the request if it has already been completed. The server will guarantee
|
1925
|
+
# that for at least 60 minutes after the first request. For example, consider a
|
1926
|
+
# situation where you make an initial request and the request times out. If you
|
1927
|
+
# make the request again with the same request ID, the server can check if
|
1928
|
+
# original operation with the same request ID was received, and if so, will
|
1929
|
+
# ignore the second request. This prevents clients from accidentally creating
|
1930
|
+
# duplicate MulticloudDataTransferConfigs. The request ID must be a valid UUID
|
1931
|
+
# with the exception that zero UUID is not supported (00000000-0000-0000-0000-
|
1932
|
+
# 000000000000).
|
1933
|
+
# @param [String] update_mask
|
1934
|
+
# Optional. Field mask is used to specify the fields to be overwritten in the
|
1935
|
+
# MulticloudDataTransferConfig resource by the update. The fields specified in
|
1936
|
+
# the update_mask are relative to the resource, not the full request. A field
|
1937
|
+
# will be overwritten if it is in the mask. If the user does not provide a mask
|
1938
|
+
# then all fields will be overwritten.
|
1939
|
+
# @param [String] fields
|
1940
|
+
# Selector specifying which fields to include in a partial response.
|
1941
|
+
# @param [String] quota_user
|
1942
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1943
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1944
|
+
# @param [Google::Apis::RequestOptions] options
|
1945
|
+
# Request-specific options
|
1946
|
+
#
|
1947
|
+
# @yield [result, err] Result & error if block supplied
|
1948
|
+
# @yieldparam result [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation] parsed result object
|
1949
|
+
# @yieldparam err [StandardError] error object if request failed
|
1950
|
+
#
|
1951
|
+
# @return [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation]
|
1952
|
+
#
|
1953
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1954
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1955
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1956
|
+
def patch_project_location_multicloud_data_transfer_config(name, multicloud_data_transfer_config_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1957
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
1958
|
+
command.request_representation = Google::Apis::NetworkconnectivityV1::MulticloudDataTransferConfig::Representation
|
1959
|
+
command.request_object = multicloud_data_transfer_config_object
|
1960
|
+
command.response_representation = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation::Representation
|
1961
|
+
command.response_class = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation
|
1962
|
+
command.params['name'] = name unless name.nil?
|
1963
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
1964
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1965
|
+
command.query['fields'] = fields unless fields.nil?
|
1966
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1967
|
+
execute_or_queue_command(command, &block)
|
1968
|
+
end
|
1969
|
+
|
1970
|
+
# Creates a Destination in a given project and location.
|
1971
|
+
# @param [String] parent
|
1972
|
+
# Required. The parent resource's name
|
1973
|
+
# @param [Google::Apis::NetworkconnectivityV1::Destination] destination_object
|
1974
|
+
# @param [String] destination_id
|
1975
|
+
# Required. The ID to use for the Destination, which will become the final
|
1976
|
+
# component of the Destination's resource name.
|
1977
|
+
# @param [String] request_id
|
1978
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
1979
|
+
# request ID so that if you must retry your request, the server will know to
|
1980
|
+
# ignore the request if it has already been completed. The server will guarantee
|
1981
|
+
# that for at least 60 minutes since the first request. For example, consider a
|
1982
|
+
# situation where you make an initial request and the request times out. If you
|
1983
|
+
# make the request again with the same request ID, the server can check if
|
1984
|
+
# original operation with the same request ID was received, and if so, will
|
1985
|
+
# ignore the second request. This prevents clients from accidentally creating
|
1986
|
+
# duplicate Destinations. The request ID must be a valid UUID with the exception
|
1987
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
1988
|
+
# @param [String] fields
|
1989
|
+
# Selector specifying which fields to include in a partial response.
|
1990
|
+
# @param [String] quota_user
|
1991
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1992
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1993
|
+
# @param [Google::Apis::RequestOptions] options
|
1994
|
+
# Request-specific options
|
1995
|
+
#
|
1996
|
+
# @yield [result, err] Result & error if block supplied
|
1997
|
+
# @yieldparam result [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation] parsed result object
|
1998
|
+
# @yieldparam err [StandardError] error object if request failed
|
1999
|
+
#
|
2000
|
+
# @return [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation]
|
2001
|
+
#
|
2002
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2003
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2004
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2005
|
+
def create_project_location_multicloud_data_transfer_config_destination(parent, destination_object = nil, destination_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2006
|
+
command = make_simple_command(:post, 'v1/{+parent}/destinations', options)
|
2007
|
+
command.request_representation = Google::Apis::NetworkconnectivityV1::Destination::Representation
|
2008
|
+
command.request_object = destination_object
|
2009
|
+
command.response_representation = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation::Representation
|
2010
|
+
command.response_class = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation
|
2011
|
+
command.params['parent'] = parent unless parent.nil?
|
2012
|
+
command.query['destinationId'] = destination_id unless destination_id.nil?
|
2013
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
2014
|
+
command.query['fields'] = fields unless fields.nil?
|
2015
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2016
|
+
execute_or_queue_command(command, &block)
|
2017
|
+
end
|
2018
|
+
|
2019
|
+
# Deletes a single Destination.
|
2020
|
+
# @param [String] name
|
2021
|
+
# Required. The name of the Destination resource to delete.
|
2022
|
+
# @param [String] etag
|
2023
|
+
# Optional. The etag is computed by the server, and may be sent on update and
|
2024
|
+
# delete requests to ensure the client has an up-to-date value before proceeding.
|
2025
|
+
# @param [String] request_id
|
2026
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
2027
|
+
# request ID so that if you must retry your request, the server will know to
|
2028
|
+
# ignore the request if it has already been completed. The server will guarantee
|
2029
|
+
# that for at least 60 minutes since the first request. For example, consider a
|
2030
|
+
# situation where you make an initial request and the request times out. If you
|
2031
|
+
# make the request again with the same request ID, the server can check if
|
2032
|
+
# original operation with the same request ID was received, and if so, will
|
2033
|
+
# ignore the second request. The request ID must be a valid UUID with the
|
2034
|
+
# exception that zero UUID is not supported (00000000-0000-0000-0000-
|
2035
|
+
# 000000000000).
|
2036
|
+
# @param [String] fields
|
2037
|
+
# Selector specifying which fields to include in a partial response.
|
2038
|
+
# @param [String] quota_user
|
2039
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2040
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2041
|
+
# @param [Google::Apis::RequestOptions] options
|
2042
|
+
# Request-specific options
|
2043
|
+
#
|
2044
|
+
# @yield [result, err] Result & error if block supplied
|
2045
|
+
# @yieldparam result [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation] parsed result object
|
2046
|
+
# @yieldparam err [StandardError] error object if request failed
|
2047
|
+
#
|
2048
|
+
# @return [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation]
|
2049
|
+
#
|
2050
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2051
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2052
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2053
|
+
def delete_project_location_multicloud_data_transfer_config_destination(name, etag: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2054
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
2055
|
+
command.response_representation = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation::Representation
|
2056
|
+
command.response_class = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation
|
2057
|
+
command.params['name'] = name unless name.nil?
|
2058
|
+
command.query['etag'] = etag unless etag.nil?
|
2059
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
2060
|
+
command.query['fields'] = fields unless fields.nil?
|
2061
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2062
|
+
execute_or_queue_command(command, &block)
|
2063
|
+
end
|
2064
|
+
|
2065
|
+
# Gets details of a single Destination.
|
2066
|
+
# @param [String] name
|
2067
|
+
# Required. Name of the Destination to get.
|
2068
|
+
# @param [String] fields
|
2069
|
+
# Selector specifying which fields to include in a partial response.
|
2070
|
+
# @param [String] quota_user
|
2071
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2072
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2073
|
+
# @param [Google::Apis::RequestOptions] options
|
2074
|
+
# Request-specific options
|
2075
|
+
#
|
2076
|
+
# @yield [result, err] Result & error if block supplied
|
2077
|
+
# @yieldparam result [Google::Apis::NetworkconnectivityV1::Destination] parsed result object
|
2078
|
+
# @yieldparam err [StandardError] error object if request failed
|
2079
|
+
#
|
2080
|
+
# @return [Google::Apis::NetworkconnectivityV1::Destination]
|
2081
|
+
#
|
2082
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2083
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2084
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2085
|
+
def get_project_location_multicloud_data_transfer_config_destination(name, fields: nil, quota_user: nil, options: nil, &block)
|
2086
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
2087
|
+
command.response_representation = Google::Apis::NetworkconnectivityV1::Destination::Representation
|
2088
|
+
command.response_class = Google::Apis::NetworkconnectivityV1::Destination
|
2089
|
+
command.params['name'] = name unless name.nil?
|
2090
|
+
command.query['fields'] = fields unless fields.nil?
|
2091
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2092
|
+
execute_or_queue_command(command, &block)
|
2093
|
+
end
|
2094
|
+
|
2095
|
+
# Lists Destinations in a given project and location.
|
2096
|
+
# @param [String] parent
|
2097
|
+
# Required. The parent resource's name
|
2098
|
+
# @param [String] filter
|
2099
|
+
# Optional. A filter expression that filters the results listed in the response.
|
2100
|
+
# @param [String] order_by
|
2101
|
+
# Optional. Sort the results by a certain order.
|
2102
|
+
# @param [Fixnum] page_size
|
2103
|
+
# Optional. The maximum number of results per page that should be returned.
|
2104
|
+
# @param [String] page_token
|
2105
|
+
# Optional. The page token.
|
2106
|
+
# @param [Boolean] return_partial_success
|
2107
|
+
# Optional. If true, allow partial responses for multi-regional Aggregated List
|
2108
|
+
# requests.
|
2109
|
+
# @param [String] fields
|
2110
|
+
# Selector specifying which fields to include in a partial response.
|
2111
|
+
# @param [String] quota_user
|
2112
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2113
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2114
|
+
# @param [Google::Apis::RequestOptions] options
|
2115
|
+
# Request-specific options
|
2116
|
+
#
|
2117
|
+
# @yield [result, err] Result & error if block supplied
|
2118
|
+
# @yieldparam result [Google::Apis::NetworkconnectivityV1::ListDestinationsResponse] parsed result object
|
2119
|
+
# @yieldparam err [StandardError] error object if request failed
|
2120
|
+
#
|
2121
|
+
# @return [Google::Apis::NetworkconnectivityV1::ListDestinationsResponse]
|
2122
|
+
#
|
2123
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2124
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2125
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2126
|
+
def list_project_location_multicloud_data_transfer_config_destinations(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2127
|
+
command = make_simple_command(:get, 'v1/{+parent}/destinations', options)
|
2128
|
+
command.response_representation = Google::Apis::NetworkconnectivityV1::ListDestinationsResponse::Representation
|
2129
|
+
command.response_class = Google::Apis::NetworkconnectivityV1::ListDestinationsResponse
|
2130
|
+
command.params['parent'] = parent unless parent.nil?
|
2131
|
+
command.query['filter'] = filter unless filter.nil?
|
2132
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
2133
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
2134
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
2135
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
2136
|
+
command.query['fields'] = fields unless fields.nil?
|
2137
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2138
|
+
execute_or_queue_command(command, &block)
|
2139
|
+
end
|
2140
|
+
|
2141
|
+
# Updates a Destination in a given project and location.
|
2142
|
+
# @param [String] name
|
2143
|
+
# Identifier. The name of the Destination resource. Format: `projects/`project`/
|
2144
|
+
# locations/`location`/multicloudDataTransferConfigs/`
|
2145
|
+
# multicloud_data_transfer_config`/destinations/`destination``.
|
2146
|
+
# @param [Google::Apis::NetworkconnectivityV1::Destination] destination_object
|
2147
|
+
# @param [String] request_id
|
2148
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
2149
|
+
# request ID so that if you must retry your request, the server will know to
|
2150
|
+
# ignore the request if it has already been completed. The server will guarantee
|
2151
|
+
# that for at least 60 minutes since the first request. For example, consider a
|
2152
|
+
# situation where you make an initial request and the request times out. If you
|
2153
|
+
# make the request again with the same request ID, the server can check if
|
2154
|
+
# original operation with the same request ID was received, and if so, will
|
2155
|
+
# ignore the second request. The request ID must be a valid UUID with the
|
2156
|
+
# exception that zero UUID is not supported (00000000-0000-0000-0000-
|
2157
|
+
# 000000000000).
|
2158
|
+
# @param [String] update_mask
|
2159
|
+
# Optional. Field mask is used to specify the fields to be overwritten in the
|
2160
|
+
# Destination resource by the update. The fields specified in the update_mask
|
2161
|
+
# are relative to the resource, not the full request. A field will be
|
2162
|
+
# overwritten if it is in the mask. If the user does not provide a mask then all
|
2163
|
+
# fields will be overwritten.
|
2164
|
+
# @param [String] fields
|
2165
|
+
# Selector specifying which fields to include in a partial response.
|
2166
|
+
# @param [String] quota_user
|
2167
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2168
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2169
|
+
# @param [Google::Apis::RequestOptions] options
|
2170
|
+
# Request-specific options
|
2171
|
+
#
|
2172
|
+
# @yield [result, err] Result & error if block supplied
|
2173
|
+
# @yieldparam result [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation] parsed result object
|
2174
|
+
# @yieldparam err [StandardError] error object if request failed
|
2175
|
+
#
|
2176
|
+
# @return [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation]
|
2177
|
+
#
|
2178
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2179
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2180
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2181
|
+
def patch_project_location_multicloud_data_transfer_config_destination(name, destination_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2182
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
2183
|
+
command.request_representation = Google::Apis::NetworkconnectivityV1::Destination::Representation
|
2184
|
+
command.request_object = destination_object
|
2185
|
+
command.response_representation = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation::Representation
|
2186
|
+
command.response_class = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation
|
2187
|
+
command.params['name'] = name unless name.nil?
|
2188
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
2189
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
2190
|
+
command.query['fields'] = fields unless fields.nil?
|
2191
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2192
|
+
execute_or_queue_command(command, &block)
|
2193
|
+
end
|
2194
|
+
|
2195
|
+
# Gets details of a single MulticloudDataTransferSupportedServices.
|
2196
|
+
# @param [String] name
|
2197
|
+
# Required. The name of the service.
|
2198
|
+
# @param [String] fields
|
2199
|
+
# Selector specifying which fields to include in a partial response.
|
2200
|
+
# @param [String] quota_user
|
2201
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2202
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2203
|
+
# @param [Google::Apis::RequestOptions] options
|
2204
|
+
# Request-specific options
|
2205
|
+
#
|
2206
|
+
# @yield [result, err] Result & error if block supplied
|
2207
|
+
# @yieldparam result [Google::Apis::NetworkconnectivityV1::MulticloudDataTransferSupportedService] parsed result object
|
2208
|
+
# @yieldparam err [StandardError] error object if request failed
|
2209
|
+
#
|
2210
|
+
# @return [Google::Apis::NetworkconnectivityV1::MulticloudDataTransferSupportedService]
|
2211
|
+
#
|
2212
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2213
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2214
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2215
|
+
def get_project_location_multicloud_data_transfer_supported_service(name, fields: nil, quota_user: nil, options: nil, &block)
|
2216
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
2217
|
+
command.response_representation = Google::Apis::NetworkconnectivityV1::MulticloudDataTransferSupportedService::Representation
|
2218
|
+
command.response_class = Google::Apis::NetworkconnectivityV1::MulticloudDataTransferSupportedService
|
2219
|
+
command.params['name'] = name unless name.nil?
|
2220
|
+
command.query['fields'] = fields unless fields.nil?
|
2221
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2222
|
+
execute_or_queue_command(command, &block)
|
2223
|
+
end
|
2224
|
+
|
2225
|
+
# Lists the supported services for Multicloud Data Transfer. This is a
|
2226
|
+
# passthrough method.
|
2227
|
+
# @param [String] parent
|
2228
|
+
# Required. The parent resource's name
|
2229
|
+
# @param [Fixnum] page_size
|
2230
|
+
# Optional. The maximum number of results per page that should be returned.
|
2231
|
+
# @param [String] page_token
|
2232
|
+
# Optional. The page token.
|
2233
|
+
# @param [String] fields
|
2234
|
+
# Selector specifying which fields to include in a partial response.
|
2235
|
+
# @param [String] quota_user
|
2236
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2237
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2238
|
+
# @param [Google::Apis::RequestOptions] options
|
2239
|
+
# Request-specific options
|
2240
|
+
#
|
2241
|
+
# @yield [result, err] Result & error if block supplied
|
2242
|
+
# @yieldparam result [Google::Apis::NetworkconnectivityV1::ListMulticloudDataTransferSupportedServicesResponse] parsed result object
|
2243
|
+
# @yieldparam err [StandardError] error object if request failed
|
2244
|
+
#
|
2245
|
+
# @return [Google::Apis::NetworkconnectivityV1::ListMulticloudDataTransferSupportedServicesResponse]
|
2246
|
+
#
|
2247
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2248
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2249
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2250
|
+
def list_project_location_multicloud_data_transfer_supported_services(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2251
|
+
command = make_simple_command(:get, 'v1/{+parent}/multicloudDataTransferSupportedServices', options)
|
2252
|
+
command.response_representation = Google::Apis::NetworkconnectivityV1::ListMulticloudDataTransferSupportedServicesResponse::Representation
|
2253
|
+
command.response_class = Google::Apis::NetworkconnectivityV1::ListMulticloudDataTransferSupportedServicesResponse
|
2254
|
+
command.params['parent'] = parent unless parent.nil?
|
2255
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
2256
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
2257
|
+
command.query['fields'] = fields unless fields.nil?
|
2258
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2259
|
+
execute_or_queue_command(command, &block)
|
2260
|
+
end
|
2261
|
+
|
1742
2262
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
1743
2263
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
1744
2264
|
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-networkconnectivity_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.63.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
@@ -57,7 +57,7 @@ licenses:
|
|
57
57
|
metadata:
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networkconnectivity_v1/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-networkconnectivity_v1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-networkconnectivity_v1/v0.63.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networkconnectivity_v1
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|