google-apis-oracledatabase_v1 0.12.0 → 0.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 974f808b047d8728067a53a5ec1baf0696631b1ae76e986bb07353bc866a1bab
4
- data.tar.gz: cf5199895cd542410ee9b3555692e0101f57772f81c3b0fc224e4a5cc447b11f
3
+ metadata.gz: 9301aeb76f114a14fc0230b6c98b5cff39cd0b4d45c09ee571be28bb4e5106c7
4
+ data.tar.gz: 8354c84c98bf08dfc4b286844054c14afab657dbe5a1631332908944486ff02e
5
5
  SHA512:
6
- metadata.gz: fdec0355a1a166e3d56aa6e9ce7e2cf07b8d7c3ef9402114b577746252961b49ea303162192929153a1822c51f6e00361d0cdd44759e2891b5cf45ca43168bed
7
- data.tar.gz: 87598d369d46f380d9b99cf80254525f0f5c67f0382375a79cf7b6fd8e4ce13955cdbff0fbd2b328008c5471589820e6ec3d56de5129a076842c0e5175172faa
6
+ metadata.gz: 66ddfc85b3f4515a08c1d872f4f569393f427b091f7f1176d472b6df8064f8ca504f3c6d591085cc4bcffad572f5d5b5aae68af98fd8b15b12ed123c526a5e04
7
+ data.tar.gz: b6f6587cf2c9b1df593b04f365b56f91d55260d40c97e5cfb634dd9c1216a745ab95caf60e6998bcb603fa145a46fbf7458e0a346b4e51409b6a39d1a041a587
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-oracledatabase_v1
2
2
 
3
+ ### v0.13.0 (2025-07-20)
4
+
5
+ * Regenerated from discovery document revision 20250717
6
+ * Regenerated using generator version 0.18.0
7
+
3
8
  ### v0.12.0 (2025-05-18)
4
9
 
5
10
  * Regenerated from discovery document revision 20250509
@@ -120,6 +120,21 @@ module Google
120
120
  # @return [String]
121
121
  attr_accessor :network
122
122
 
123
+ # Optional. The name of the OdbNetwork associated with the Autonomous Database.
124
+ # Format: projects/`project`/locations/`location`/odbNetworks/`odb_network` It
125
+ # is optional but if specified, this should match the parent ODBNetwork of the
126
+ # OdbSubnet.
127
+ # Corresponds to the JSON property `odbNetwork`
128
+ # @return [String]
129
+ attr_accessor :odb_network
130
+
131
+ # Optional. The name of the OdbSubnet associated with the Autonomous Database.
132
+ # Format: projects/`project`/locations/`location`/odbNetworks/`odb_network`/
133
+ # odbSubnets/`odb_subnet`
134
+ # Corresponds to the JSON property `odbSubnet`
135
+ # @return [String]
136
+ attr_accessor :odb_subnet
137
+
123
138
  # Output only. The peer Autonomous Database names of the given Autonomous
124
139
  # Database.
125
140
  # Corresponds to the JSON property `peerAutonomousDatabases`
@@ -152,6 +167,8 @@ module Google
152
167
  @labels = args[:labels] if args.key?(:labels)
153
168
  @name = args[:name] if args.key?(:name)
154
169
  @network = args[:network] if args.key?(:network)
170
+ @odb_network = args[:odb_network] if args.key?(:odb_network)
171
+ @odb_subnet = args[:odb_subnet] if args.key?(:odb_subnet)
155
172
  @peer_autonomous_databases = args[:peer_autonomous_databases] if args.key?(:peer_autonomous_databases)
156
173
  @properties = args[:properties] if args.key?(:properties)
157
174
  @source_config = args[:source_config] if args.key?(:source_config)
@@ -1359,6 +1376,13 @@ module Google
1359
1376
  class CloudVmCluster
1360
1377
  include Google::Apis::Core::Hashable
1361
1378
 
1379
+ # Optional. The name of the backup OdbSubnet associated with the VM Cluster.
1380
+ # Format: projects/`project`/locations/`location`/odbNetworks/`odb_network`/
1381
+ # odbSubnets/`odb_subnet`
1382
+ # Corresponds to the JSON property `backupOdbSubnet`
1383
+ # @return [String]
1384
+ attr_accessor :backup_odb_subnet
1385
+
1362
1386
  # Optional. CIDR range of the backup subnet.
1363
1387
  # Corresponds to the JSON property `backupSubnetCidr`
1364
1388
  # @return [String]
@@ -1409,6 +1433,21 @@ module Google
1409
1433
  # @return [String]
1410
1434
  attr_accessor :network
1411
1435
 
1436
+ # Optional. The name of the OdbNetwork associated with the VM Cluster. Format:
1437
+ # projects/`project`/locations/`location`/odbNetworks/`odb_network` It is
1438
+ # optional but if specified, this should match the parent ODBNetwork of the
1439
+ # odb_subnet and backup_odb_subnet.
1440
+ # Corresponds to the JSON property `odbNetwork`
1441
+ # @return [String]
1442
+ attr_accessor :odb_network
1443
+
1444
+ # Optional. The name of the OdbSubnet associated with the VM Cluster for IP
1445
+ # allocation. Format: projects/`project`/locations/`location`/odbNetworks/`
1446
+ # odb_network`/odbSubnets/`odb_subnet`
1447
+ # Corresponds to the JSON property `odbSubnet`
1448
+ # @return [String]
1449
+ attr_accessor :odb_subnet
1450
+
1412
1451
  # Various properties and settings associated with Exadata VM cluster.
1413
1452
  # Corresponds to the JSON property `properties`
1414
1453
  # @return [Google::Apis::OracledatabaseV1::CloudVmClusterProperties]
@@ -1420,6 +1459,7 @@ module Google
1420
1459
 
1421
1460
  # Update properties of this object
1422
1461
  def update!(**args)
1462
+ @backup_odb_subnet = args[:backup_odb_subnet] if args.key?(:backup_odb_subnet)
1423
1463
  @backup_subnet_cidr = args[:backup_subnet_cidr] if args.key?(:backup_subnet_cidr)
1424
1464
  @cidr = args[:cidr] if args.key?(:cidr)
1425
1465
  @create_time = args[:create_time] if args.key?(:create_time)
@@ -1429,6 +1469,8 @@ module Google
1429
1469
  @labels = args[:labels] if args.key?(:labels)
1430
1470
  @name = args[:name] if args.key?(:name)
1431
1471
  @network = args[:network] if args.key?(:network)
1472
+ @odb_network = args[:odb_network] if args.key?(:odb_network)
1473
+ @odb_subnet = args[:odb_subnet] if args.key?(:odb_subnet)
1432
1474
  @properties = args[:properties] if args.key?(:properties)
1433
1475
  end
1434
1476
  end
@@ -1811,6 +1853,11 @@ module Google
1811
1853
  class DbNodeProperties
1812
1854
  include Google::Apis::Core::Hashable
1813
1855
 
1856
+ # Output only. The date and time that the database node was created.
1857
+ # Corresponds to the JSON property `createTime`
1858
+ # @return [String]
1859
+ attr_accessor :create_time
1860
+
1814
1861
  # Optional. Local storage per database node.
1815
1862
  # Corresponds to the JSON property `dbNodeStorageSizeGb`
1816
1863
  # @return [Fixnum]
@@ -1857,6 +1904,7 @@ module Google
1857
1904
 
1858
1905
  # Update properties of this object
1859
1906
  def update!(**args)
1907
+ @create_time = args[:create_time] if args.key?(:create_time)
1860
1908
  @db_node_storage_size_gb = args[:db_node_storage_size_gb] if args.key?(:db_node_storage_size_gb)
1861
1909
  @db_server_ocid = args[:db_server_ocid] if args.key?(:db_server_ocid)
1862
1910
  @hostname = args[:hostname] if args.key?(:hostname)
@@ -2498,6 +2546,70 @@ module Google
2498
2546
  end
2499
2547
  end
2500
2548
 
2549
+ # The response for `OdbNetwork.List`.
2550
+ class ListOdbNetworksResponse
2551
+ include Google::Apis::Core::Hashable
2552
+
2553
+ # A token identifying a page of results the server should return.
2554
+ # Corresponds to the JSON property `nextPageToken`
2555
+ # @return [String]
2556
+ attr_accessor :next_page_token
2557
+
2558
+ # The list of ODB Networks.
2559
+ # Corresponds to the JSON property `odbNetworks`
2560
+ # @return [Array<Google::Apis::OracledatabaseV1::OdbNetwork>]
2561
+ attr_accessor :odb_networks
2562
+
2563
+ # Unreachable locations when listing resources across all locations using
2564
+ # wildcard location '-'.
2565
+ # Corresponds to the JSON property `unreachable`
2566
+ # @return [Array<String>]
2567
+ attr_accessor :unreachable
2568
+
2569
+ def initialize(**args)
2570
+ update!(**args)
2571
+ end
2572
+
2573
+ # Update properties of this object
2574
+ def update!(**args)
2575
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2576
+ @odb_networks = args[:odb_networks] if args.key?(:odb_networks)
2577
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
2578
+ end
2579
+ end
2580
+
2581
+ # The response for `OdbSubnet.List`.
2582
+ class ListOdbSubnetsResponse
2583
+ include Google::Apis::Core::Hashable
2584
+
2585
+ # A token identifying a page of results the server should return.
2586
+ # Corresponds to the JSON property `nextPageToken`
2587
+ # @return [String]
2588
+ attr_accessor :next_page_token
2589
+
2590
+ # The list of ODB Subnets.
2591
+ # Corresponds to the JSON property `odbSubnets`
2592
+ # @return [Array<Google::Apis::OracledatabaseV1::OdbSubnet>]
2593
+ attr_accessor :odb_subnets
2594
+
2595
+ # Unreachable locations when listing resources across all locations using
2596
+ # wildcard location '-'.
2597
+ # Corresponds to the JSON property `unreachable`
2598
+ # @return [Array<String>]
2599
+ attr_accessor :unreachable
2600
+
2601
+ def initialize(**args)
2602
+ update!(**args)
2603
+ end
2604
+
2605
+ # Update properties of this object
2606
+ def update!(**args)
2607
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2608
+ @odb_subnets = args[:odb_subnets] if args.key?(:odb_subnets)
2609
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
2610
+ end
2611
+ end
2612
+
2501
2613
  # The response message for Operations.ListOperations.
2502
2614
  class ListOperationsResponse
2503
2615
  include Google::Apis::Core::Hashable
@@ -2670,6 +2782,109 @@ module Google
2670
2782
  end
2671
2783
  end
2672
2784
 
2785
+ # Represents OdbNetwork resource.
2786
+ class OdbNetwork
2787
+ include Google::Apis::Core::Hashable
2788
+
2789
+ # Output only. The date and time that the OdbNetwork was created.
2790
+ # Corresponds to the JSON property `createTime`
2791
+ # @return [String]
2792
+ attr_accessor :create_time
2793
+
2794
+ # Output only. The ID of the subscription entitlement associated with the
2795
+ # OdbNetwork.
2796
+ # Corresponds to the JSON property `entitlementId`
2797
+ # @return [String]
2798
+ attr_accessor :entitlement_id
2799
+
2800
+ # Optional. Labels or tags associated with the resource.
2801
+ # Corresponds to the JSON property `labels`
2802
+ # @return [Hash<String,String>]
2803
+ attr_accessor :labels
2804
+
2805
+ # Identifier. The name of the OdbNetwork resource in the following format:
2806
+ # projects/`project`/locations/`region`/odbNetworks/`odb_network`
2807
+ # Corresponds to the JSON property `name`
2808
+ # @return [String]
2809
+ attr_accessor :name
2810
+
2811
+ # Required. The name of the VPC network in the following format: projects/`
2812
+ # project`/global/networks/`network`
2813
+ # Corresponds to the JSON property `network`
2814
+ # @return [String]
2815
+ attr_accessor :network
2816
+
2817
+ # Output only. State of the ODB Network.
2818
+ # Corresponds to the JSON property `state`
2819
+ # @return [String]
2820
+ attr_accessor :state
2821
+
2822
+ def initialize(**args)
2823
+ update!(**args)
2824
+ end
2825
+
2826
+ # Update properties of this object
2827
+ def update!(**args)
2828
+ @create_time = args[:create_time] if args.key?(:create_time)
2829
+ @entitlement_id = args[:entitlement_id] if args.key?(:entitlement_id)
2830
+ @labels = args[:labels] if args.key?(:labels)
2831
+ @name = args[:name] if args.key?(:name)
2832
+ @network = args[:network] if args.key?(:network)
2833
+ @state = args[:state] if args.key?(:state)
2834
+ end
2835
+ end
2836
+
2837
+ # Represents OdbSubnet resource.
2838
+ class OdbSubnet
2839
+ include Google::Apis::Core::Hashable
2840
+
2841
+ # Required. The CIDR range of the subnet.
2842
+ # Corresponds to the JSON property `cidrRange`
2843
+ # @return [String]
2844
+ attr_accessor :cidr_range
2845
+
2846
+ # Output only. The date and time that the OdbNetwork was created.
2847
+ # Corresponds to the JSON property `createTime`
2848
+ # @return [String]
2849
+ attr_accessor :create_time
2850
+
2851
+ # Optional. Labels or tags associated with the resource.
2852
+ # Corresponds to the JSON property `labels`
2853
+ # @return [Hash<String,String>]
2854
+ attr_accessor :labels
2855
+
2856
+ # Identifier. The name of the OdbSubnet resource in the following format:
2857
+ # projects/`project`/locations/`location`/odbNetworks/`odb_network`/odbSubnets/`
2858
+ # odb_subnet`
2859
+ # Corresponds to the JSON property `name`
2860
+ # @return [String]
2861
+ attr_accessor :name
2862
+
2863
+ # Required. Purpose of the subnet.
2864
+ # Corresponds to the JSON property `purpose`
2865
+ # @return [String]
2866
+ attr_accessor :purpose
2867
+
2868
+ # Output only. State of the ODB Subnet.
2869
+ # Corresponds to the JSON property `state`
2870
+ # @return [String]
2871
+ attr_accessor :state
2872
+
2873
+ def initialize(**args)
2874
+ update!(**args)
2875
+ end
2876
+
2877
+ # Update properties of this object
2878
+ def update!(**args)
2879
+ @cidr_range = args[:cidr_range] if args.key?(:cidr_range)
2880
+ @create_time = args[:create_time] if args.key?(:create_time)
2881
+ @labels = args[:labels] if args.key?(:labels)
2882
+ @name = args[:name] if args.key?(:name)
2883
+ @purpose = args[:purpose] if args.key?(:purpose)
2884
+ @state = args[:state] if args.key?(:state)
2885
+ end
2886
+ end
2887
+
2673
2888
  # This resource represents a long-running operation that is the result of a
2674
2889
  # network API call.
2675
2890
  class Operation
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module OracledatabaseV1
18
18
  # Version of the google-apis-oracledatabase_v1 gem
19
- GEM_VERSION = "0.12.0"
19
+ GEM_VERSION = "0.13.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.17.0"
22
+ GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250509"
25
+ REVISION = "20250717"
26
26
  end
27
27
  end
28
28
  end
@@ -274,6 +274,18 @@ module Google
274
274
  include Google::Apis::Core::JsonObjectSupport
275
275
  end
276
276
 
277
+ class ListOdbNetworksResponse
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
283
+ class ListOdbSubnetsResponse
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
277
289
  class ListOperationsResponse
278
290
  class Representation < Google::Apis::Core::JsonRepresentation; end
279
291
 
@@ -298,6 +310,18 @@ module Google
298
310
  include Google::Apis::Core::JsonObjectSupport
299
311
  end
300
312
 
313
+ class OdbNetwork
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
319
+ class OdbSubnet
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
301
325
  class Operation
302
326
  class Representation < Google::Apis::Core::JsonRepresentation; end
303
327
 
@@ -392,6 +416,8 @@ module Google
392
416
  hash :labels, as: 'labels'
393
417
  property :name, as: 'name'
394
418
  property :network, as: 'network'
419
+ property :odb_network, as: 'odbNetwork'
420
+ property :odb_subnet, as: 'odbSubnet'
395
421
  collection :peer_autonomous_databases, as: 'peerAutonomousDatabases'
396
422
  property :properties, as: 'properties', class: Google::Apis::OracledatabaseV1::AutonomousDatabaseProperties, decorator: Google::Apis::OracledatabaseV1::AutonomousDatabaseProperties::Representation
397
423
 
@@ -647,6 +673,7 @@ module Google
647
673
  class CloudVmCluster
648
674
  # @private
649
675
  class Representation < Google::Apis::Core::JsonRepresentation
676
+ property :backup_odb_subnet, as: 'backupOdbSubnet'
650
677
  property :backup_subnet_cidr, as: 'backupSubnetCidr'
651
678
  property :cidr, as: 'cidr'
652
679
  property :create_time, as: 'createTime'
@@ -656,6 +683,8 @@ module Google
656
683
  hash :labels, as: 'labels'
657
684
  property :name, as: 'name'
658
685
  property :network, as: 'network'
686
+ property :odb_network, as: 'odbNetwork'
687
+ property :odb_subnet, as: 'odbSubnet'
659
688
  property :properties, as: 'properties', class: Google::Apis::OracledatabaseV1::CloudVmClusterProperties, decorator: Google::Apis::OracledatabaseV1::CloudVmClusterProperties::Representation
660
689
 
661
690
  end
@@ -745,6 +774,7 @@ module Google
745
774
  class DbNodeProperties
746
775
  # @private
747
776
  class Representation < Google::Apis::Core::JsonRepresentation
777
+ property :create_time, as: 'createTime'
748
778
  property :db_node_storage_size_gb, as: 'dbNodeStorageSizeGb'
749
779
  property :db_server_ocid, as: 'dbServerOcid'
750
780
  property :hostname, as: 'hostname'
@@ -949,6 +979,26 @@ module Google
949
979
  end
950
980
  end
951
981
 
982
+ class ListOdbNetworksResponse
983
+ # @private
984
+ class Representation < Google::Apis::Core::JsonRepresentation
985
+ property :next_page_token, as: 'nextPageToken'
986
+ collection :odb_networks, as: 'odbNetworks', class: Google::Apis::OracledatabaseV1::OdbNetwork, decorator: Google::Apis::OracledatabaseV1::OdbNetwork::Representation
987
+
988
+ collection :unreachable, as: 'unreachable'
989
+ end
990
+ end
991
+
992
+ class ListOdbSubnetsResponse
993
+ # @private
994
+ class Representation < Google::Apis::Core::JsonRepresentation
995
+ property :next_page_token, as: 'nextPageToken'
996
+ collection :odb_subnets, as: 'odbSubnets', class: Google::Apis::OracledatabaseV1::OdbSubnet, decorator: Google::Apis::OracledatabaseV1::OdbSubnet::Representation
997
+
998
+ collection :unreachable, as: 'unreachable'
999
+ end
1000
+ end
1001
+
952
1002
  class ListOperationsResponse
953
1003
  # @private
954
1004
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -991,6 +1041,30 @@ module Google
991
1041
  end
992
1042
  end
993
1043
 
1044
+ class OdbNetwork
1045
+ # @private
1046
+ class Representation < Google::Apis::Core::JsonRepresentation
1047
+ property :create_time, as: 'createTime'
1048
+ property :entitlement_id, as: 'entitlementId'
1049
+ hash :labels, as: 'labels'
1050
+ property :name, as: 'name'
1051
+ property :network, as: 'network'
1052
+ property :state, as: 'state'
1053
+ end
1054
+ end
1055
+
1056
+ class OdbSubnet
1057
+ # @private
1058
+ class Representation < Google::Apis::Core::JsonRepresentation
1059
+ property :cidr_range, as: 'cidrRange'
1060
+ property :create_time, as: 'createTime'
1061
+ hash :labels, as: 'labels'
1062
+ property :name, as: 'name'
1063
+ property :purpose, as: 'purpose'
1064
+ property :state, as: 'state'
1065
+ end
1066
+ end
1067
+
994
1068
  class Operation
995
1069
  # @private
996
1070
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1163,6 +1163,330 @@ module Google
1163
1163
  execute_or_queue_command(command, &block)
1164
1164
  end
1165
1165
 
1166
+ # Creates a new ODB Network in a given project and location.
1167
+ # @param [String] parent
1168
+ # Required. The parent value for the OdbNetwork in the following format:
1169
+ # projects/`project`/locations/`location`.
1170
+ # @param [Google::Apis::OracledatabaseV1::OdbNetwork] odb_network_object
1171
+ # @param [String] odb_network_id
1172
+ # Required. The ID of the OdbNetwork to create. This value is restricted to (^[a-
1173
+ # z]([a-z0-9-]`0,61`[a-z0-9])?$) and must be a maximum of 63 characters in
1174
+ # length. The value must start with a letter and end with a letter or a number.
1175
+ # @param [String] request_id
1176
+ # Optional. An optional ID to identify the request. This value is used to
1177
+ # identify duplicate requests. If you make a request with the same request ID
1178
+ # and the original request is still in progress or completed, the server ignores
1179
+ # the second request. This prevents clients from accidentally creating duplicate
1180
+ # commitments. The request ID must be a valid UUID with the exception that zero
1181
+ # UUID is not supported (00000000-0000-0000-0000-000000000000).
1182
+ # @param [String] fields
1183
+ # Selector specifying which fields to include in a partial response.
1184
+ # @param [String] quota_user
1185
+ # Available to use for quota purposes for server-side applications. Can be any
1186
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1187
+ # @param [Google::Apis::RequestOptions] options
1188
+ # Request-specific options
1189
+ #
1190
+ # @yield [result, err] Result & error if block supplied
1191
+ # @yieldparam result [Google::Apis::OracledatabaseV1::Operation] parsed result object
1192
+ # @yieldparam err [StandardError] error object if request failed
1193
+ #
1194
+ # @return [Google::Apis::OracledatabaseV1::Operation]
1195
+ #
1196
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1197
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1198
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1199
+ def create_project_location_odb_network(parent, odb_network_object = nil, odb_network_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
1200
+ command = make_simple_command(:post, 'v1/{+parent}/odbNetworks', options)
1201
+ command.request_representation = Google::Apis::OracledatabaseV1::OdbNetwork::Representation
1202
+ command.request_object = odb_network_object
1203
+ command.response_representation = Google::Apis::OracledatabaseV1::Operation::Representation
1204
+ command.response_class = Google::Apis::OracledatabaseV1::Operation
1205
+ command.params['parent'] = parent unless parent.nil?
1206
+ command.query['odbNetworkId'] = odb_network_id unless odb_network_id.nil?
1207
+ command.query['requestId'] = request_id unless request_id.nil?
1208
+ command.query['fields'] = fields unless fields.nil?
1209
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1210
+ execute_or_queue_command(command, &block)
1211
+ end
1212
+
1213
+ # Deletes a single ODB Network.
1214
+ # @param [String] name
1215
+ # Required. The name of the resource in the following format: projects/`project`/
1216
+ # locations/`location`/odbNetworks/`odb_network`.
1217
+ # @param [String] request_id
1218
+ # Optional. An optional ID to identify the request. This value is used to
1219
+ # identify duplicate requests. If you make a request with the same request ID
1220
+ # and the original request is still in progress or completed, the server ignores
1221
+ # the second request. This prevents clients from accidentally creating duplicate
1222
+ # commitments. The request ID must be a valid UUID with the exception that zero
1223
+ # UUID is not supported (00000000-0000-0000-0000-000000000000).
1224
+ # @param [String] fields
1225
+ # Selector specifying which fields to include in a partial response.
1226
+ # @param [String] quota_user
1227
+ # Available to use for quota purposes for server-side applications. Can be any
1228
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1229
+ # @param [Google::Apis::RequestOptions] options
1230
+ # Request-specific options
1231
+ #
1232
+ # @yield [result, err] Result & error if block supplied
1233
+ # @yieldparam result [Google::Apis::OracledatabaseV1::Operation] parsed result object
1234
+ # @yieldparam err [StandardError] error object if request failed
1235
+ #
1236
+ # @return [Google::Apis::OracledatabaseV1::Operation]
1237
+ #
1238
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1239
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1240
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1241
+ def delete_project_location_odb_network(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
1242
+ command = make_simple_command(:delete, 'v1/{+name}', options)
1243
+ command.response_representation = Google::Apis::OracledatabaseV1::Operation::Representation
1244
+ command.response_class = Google::Apis::OracledatabaseV1::Operation
1245
+ command.params['name'] = name unless name.nil?
1246
+ command.query['requestId'] = request_id unless request_id.nil?
1247
+ command.query['fields'] = fields unless fields.nil?
1248
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1249
+ execute_or_queue_command(command, &block)
1250
+ end
1251
+
1252
+ # Gets details of a single ODB Network.
1253
+ # @param [String] name
1254
+ # Required. The name of the OdbNetwork in the following format: projects/`
1255
+ # project`/locations/`location`/odbNetworks/`odb_network`.
1256
+ # @param [String] fields
1257
+ # Selector specifying which fields to include in a partial response.
1258
+ # @param [String] quota_user
1259
+ # Available to use for quota purposes for server-side applications. Can be any
1260
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1261
+ # @param [Google::Apis::RequestOptions] options
1262
+ # Request-specific options
1263
+ #
1264
+ # @yield [result, err] Result & error if block supplied
1265
+ # @yieldparam result [Google::Apis::OracledatabaseV1::OdbNetwork] parsed result object
1266
+ # @yieldparam err [StandardError] error object if request failed
1267
+ #
1268
+ # @return [Google::Apis::OracledatabaseV1::OdbNetwork]
1269
+ #
1270
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1271
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1272
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1273
+ def get_project_location_odb_network(name, fields: nil, quota_user: nil, options: nil, &block)
1274
+ command = make_simple_command(:get, 'v1/{+name}', options)
1275
+ command.response_representation = Google::Apis::OracledatabaseV1::OdbNetwork::Representation
1276
+ command.response_class = Google::Apis::OracledatabaseV1::OdbNetwork
1277
+ command.params['name'] = name unless name.nil?
1278
+ command.query['fields'] = fields unless fields.nil?
1279
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1280
+ execute_or_queue_command(command, &block)
1281
+ end
1282
+
1283
+ # Lists the ODB Networks in a given project and location.
1284
+ # @param [String] parent
1285
+ # Required. The parent value for the ODB Network in the following format:
1286
+ # projects/`project`/locations/`location`.
1287
+ # @param [String] filter
1288
+ # Optional. An expression for filtering the results of the request.
1289
+ # @param [String] order_by
1290
+ # Optional. An expression for ordering the results of the request.
1291
+ # @param [Fixnum] page_size
1292
+ # Optional. The maximum number of items to return. If unspecified, at most 50
1293
+ # ODB Networks will be returned. The maximum value is 1000; values above 1000
1294
+ # will be coerced to 1000.
1295
+ # @param [String] page_token
1296
+ # Optional. A token identifying a page of results the server should return.
1297
+ # @param [String] fields
1298
+ # Selector specifying which fields to include in a partial response.
1299
+ # @param [String] quota_user
1300
+ # Available to use for quota purposes for server-side applications. Can be any
1301
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1302
+ # @param [Google::Apis::RequestOptions] options
1303
+ # Request-specific options
1304
+ #
1305
+ # @yield [result, err] Result & error if block supplied
1306
+ # @yieldparam result [Google::Apis::OracledatabaseV1::ListOdbNetworksResponse] parsed result object
1307
+ # @yieldparam err [StandardError] error object if request failed
1308
+ #
1309
+ # @return [Google::Apis::OracledatabaseV1::ListOdbNetworksResponse]
1310
+ #
1311
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1312
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1313
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1314
+ def list_project_location_odb_networks(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1315
+ command = make_simple_command(:get, 'v1/{+parent}/odbNetworks', options)
1316
+ command.response_representation = Google::Apis::OracledatabaseV1::ListOdbNetworksResponse::Representation
1317
+ command.response_class = Google::Apis::OracledatabaseV1::ListOdbNetworksResponse
1318
+ command.params['parent'] = parent unless parent.nil?
1319
+ command.query['filter'] = filter unless filter.nil?
1320
+ command.query['orderBy'] = order_by unless order_by.nil?
1321
+ command.query['pageSize'] = page_size unless page_size.nil?
1322
+ command.query['pageToken'] = page_token unless page_token.nil?
1323
+ command.query['fields'] = fields unless fields.nil?
1324
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1325
+ execute_or_queue_command(command, &block)
1326
+ end
1327
+
1328
+ # Creates a new ODB Subnet in a given ODB Network.
1329
+ # @param [String] parent
1330
+ # Required. The parent value for the OdbSubnet in the following format: projects/
1331
+ # `project`/locations/`location`/odbNetworks/`odb_network`.
1332
+ # @param [Google::Apis::OracledatabaseV1::OdbSubnet] odb_subnet_object
1333
+ # @param [String] odb_subnet_id
1334
+ # Required. The ID of the OdbSubnet to create. This value is restricted to (^[a-
1335
+ # z]([a-z0-9-]`0,61`[a-z0-9])?$) and must be a maximum of 63 characters in
1336
+ # length. The value must start with a letter and end with a letter or a number.
1337
+ # @param [String] request_id
1338
+ # Optional. An optional ID to identify the request. This value is used to
1339
+ # identify duplicate requests. If you make a request with the same request ID
1340
+ # and the original request is still in progress or completed, the server ignores
1341
+ # the second request. This prevents clients from accidentally creating duplicate
1342
+ # commitments. The request ID must be a valid UUID with the exception that zero
1343
+ # UUID is not supported (00000000-0000-0000-0000-000000000000).
1344
+ # @param [String] fields
1345
+ # Selector specifying which fields to include in a partial response.
1346
+ # @param [String] quota_user
1347
+ # Available to use for quota purposes for server-side applications. Can be any
1348
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1349
+ # @param [Google::Apis::RequestOptions] options
1350
+ # Request-specific options
1351
+ #
1352
+ # @yield [result, err] Result & error if block supplied
1353
+ # @yieldparam result [Google::Apis::OracledatabaseV1::Operation] parsed result object
1354
+ # @yieldparam err [StandardError] error object if request failed
1355
+ #
1356
+ # @return [Google::Apis::OracledatabaseV1::Operation]
1357
+ #
1358
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1359
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1360
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1361
+ def create_project_location_odb_network_odb_subnet(parent, odb_subnet_object = nil, odb_subnet_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
1362
+ command = make_simple_command(:post, 'v1/{+parent}/odbSubnets', options)
1363
+ command.request_representation = Google::Apis::OracledatabaseV1::OdbSubnet::Representation
1364
+ command.request_object = odb_subnet_object
1365
+ command.response_representation = Google::Apis::OracledatabaseV1::Operation::Representation
1366
+ command.response_class = Google::Apis::OracledatabaseV1::Operation
1367
+ command.params['parent'] = parent unless parent.nil?
1368
+ command.query['odbSubnetId'] = odb_subnet_id unless odb_subnet_id.nil?
1369
+ command.query['requestId'] = request_id unless request_id.nil?
1370
+ command.query['fields'] = fields unless fields.nil?
1371
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1372
+ execute_or_queue_command(command, &block)
1373
+ end
1374
+
1375
+ # Deletes a single ODB Subnet.
1376
+ # @param [String] name
1377
+ # Required. The name of the resource in the following format: projects/`project`/
1378
+ # locations/`region`/odbNetworks/`odb_network`/odbSubnets/`odb_subnet`.
1379
+ # @param [String] request_id
1380
+ # Optional. An optional ID to identify the request. This value is used to
1381
+ # identify duplicate requests. If you make a request with the same request ID
1382
+ # and the original request is still in progress or completed, the server ignores
1383
+ # the second request. This prevents clients from accidentally creating duplicate
1384
+ # commitments. The request ID must be a valid UUID with the exception that zero
1385
+ # UUID is not supported (00000000-0000-0000-0000-000000000000).
1386
+ # @param [String] fields
1387
+ # Selector specifying which fields to include in a partial response.
1388
+ # @param [String] quota_user
1389
+ # Available to use for quota purposes for server-side applications. Can be any
1390
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1391
+ # @param [Google::Apis::RequestOptions] options
1392
+ # Request-specific options
1393
+ #
1394
+ # @yield [result, err] Result & error if block supplied
1395
+ # @yieldparam result [Google::Apis::OracledatabaseV1::Operation] parsed result object
1396
+ # @yieldparam err [StandardError] error object if request failed
1397
+ #
1398
+ # @return [Google::Apis::OracledatabaseV1::Operation]
1399
+ #
1400
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1401
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1402
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1403
+ def delete_project_location_odb_network_odb_subnet(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
1404
+ command = make_simple_command(:delete, 'v1/{+name}', options)
1405
+ command.response_representation = Google::Apis::OracledatabaseV1::Operation::Representation
1406
+ command.response_class = Google::Apis::OracledatabaseV1::Operation
1407
+ command.params['name'] = name unless name.nil?
1408
+ command.query['requestId'] = request_id unless request_id.nil?
1409
+ command.query['fields'] = fields unless fields.nil?
1410
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1411
+ execute_or_queue_command(command, &block)
1412
+ end
1413
+
1414
+ # Gets details of a single ODB Subnet.
1415
+ # @param [String] name
1416
+ # Required. The name of the OdbSubnet in the following format: projects/`project`
1417
+ # /locations/`location`/odbNetworks/`odb_network`/odbSubnets/`odb_subnet`.
1418
+ # @param [String] fields
1419
+ # Selector specifying which fields to include in a partial response.
1420
+ # @param [String] quota_user
1421
+ # Available to use for quota purposes for server-side applications. Can be any
1422
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1423
+ # @param [Google::Apis::RequestOptions] options
1424
+ # Request-specific options
1425
+ #
1426
+ # @yield [result, err] Result & error if block supplied
1427
+ # @yieldparam result [Google::Apis::OracledatabaseV1::OdbSubnet] parsed result object
1428
+ # @yieldparam err [StandardError] error object if request failed
1429
+ #
1430
+ # @return [Google::Apis::OracledatabaseV1::OdbSubnet]
1431
+ #
1432
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1433
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1434
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1435
+ def get_project_location_odb_network_odb_subnet(name, fields: nil, quota_user: nil, options: nil, &block)
1436
+ command = make_simple_command(:get, 'v1/{+name}', options)
1437
+ command.response_representation = Google::Apis::OracledatabaseV1::OdbSubnet::Representation
1438
+ command.response_class = Google::Apis::OracledatabaseV1::OdbSubnet
1439
+ command.params['name'] = name unless name.nil?
1440
+ command.query['fields'] = fields unless fields.nil?
1441
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1442
+ execute_or_queue_command(command, &block)
1443
+ end
1444
+
1445
+ # Lists all the ODB Subnets in a given ODB Network.
1446
+ # @param [String] parent
1447
+ # Required. The parent value for the OdbSubnet in the following format: projects/
1448
+ # `project`/locations/`location`/odbNetworks/`odb_network`.
1449
+ # @param [String] filter
1450
+ # Optional. An expression for filtering the results of the request.
1451
+ # @param [String] order_by
1452
+ # Optional. An expression for ordering the results of the request.
1453
+ # @param [Fixnum] page_size
1454
+ # Optional. The maximum number of items to return. If unspecified, at most 50
1455
+ # ODB Networks will be returned. The maximum value is 1000; values above 1000
1456
+ # will be coerced to 1000.
1457
+ # @param [String] page_token
1458
+ # Optional. A token identifying a page of results the server should return.
1459
+ # @param [String] fields
1460
+ # Selector specifying which fields to include in a partial response.
1461
+ # @param [String] quota_user
1462
+ # Available to use for quota purposes for server-side applications. Can be any
1463
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1464
+ # @param [Google::Apis::RequestOptions] options
1465
+ # Request-specific options
1466
+ #
1467
+ # @yield [result, err] Result & error if block supplied
1468
+ # @yieldparam result [Google::Apis::OracledatabaseV1::ListOdbSubnetsResponse] parsed result object
1469
+ # @yieldparam err [StandardError] error object if request failed
1470
+ #
1471
+ # @return [Google::Apis::OracledatabaseV1::ListOdbSubnetsResponse]
1472
+ #
1473
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1474
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1475
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1476
+ def list_project_location_odb_network_odb_subnets(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1477
+ command = make_simple_command(:get, 'v1/{+parent}/odbSubnets', options)
1478
+ command.response_representation = Google::Apis::OracledatabaseV1::ListOdbSubnetsResponse::Representation
1479
+ command.response_class = Google::Apis::OracledatabaseV1::ListOdbSubnetsResponse
1480
+ command.params['parent'] = parent unless parent.nil?
1481
+ command.query['filter'] = filter unless filter.nil?
1482
+ command.query['orderBy'] = order_by unless order_by.nil?
1483
+ command.query['pageSize'] = page_size unless page_size.nil?
1484
+ command.query['pageToken'] = page_token unless page_token.nil?
1485
+ command.query['fields'] = fields unless fields.nil?
1486
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1487
+ execute_or_queue_command(command, &block)
1488
+ end
1489
+
1166
1490
  # Starts asynchronous cancellation on a long-running operation. The server makes
1167
1491
  # a best effort to cancel the operation, but success is not guaranteed. If the
1168
1492
  # 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-oracledatabase_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.13.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-oracledatabase_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-oracledatabase_v1/v0.12.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-oracledatabase_v1/v0.13.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-oracledatabase_v1
62
62
  rdoc_options: []
63
63
  require_paths:
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  requirements: []
76
- rubygems_version: 3.6.8
76
+ rubygems_version: 3.6.9
77
77
  specification_version: 4
78
78
  summary: Simple REST client for Oracle Database@Google Cloud API V1
79
79
  test_files: []