Skip to content

Commit eead40b

Browse files
docs: [google-cloud-oracledatabase] the network and cidr fields of AutonomousDatabase are now marked optional (#13699)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 738616518 Source-Link: googleapis/googleapis@985a0b9 Source-Link: googleapis/googleapis-gen@8558b8f Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLW9yYWNsZWRhdGFiYXNlLy5Pd2xCb3QueWFtbCIsImgiOiI4NTU4YjhmY2NjYTA0ZTU4N2Q5ZjZhY2NlY2NkMGZiMzRlNGE2YmVhIn0= --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 00baa06 commit eead40b

File tree

6 files changed

+12
-22
lines changed

6 files changed

+12
-22
lines changed

packages/google-cloud-oracledatabase/google/cloud/oracledatabase/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "0.1.7" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-cloud-oracledatabase/google/cloud/oracledatabase_v1/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "0.1.7" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-cloud-oracledatabase/google/cloud/oracledatabase_v1/services/oracle_database/client.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2922,14 +2922,9 @@ def sample_create_autonomous_database():
29222922
client = oracledatabase_v1.OracleDatabaseClient()
29232923
29242924
# Initialize request argument(s)
2925-
autonomous_database = oracledatabase_v1.AutonomousDatabase()
2926-
autonomous_database.network = "network_value"
2927-
autonomous_database.cidr = "cidr_value"
2928-
29292925
request = oracledatabase_v1.CreateAutonomousDatabaseRequest(
29302926
parent="parent_value",
29312927
autonomous_database_id="autonomous_database_id_value",
2932-
autonomous_database=autonomous_database,
29332928
)
29342929
29352930
# Make the request

packages/google-cloud-oracledatabase/google/cloud/oracledatabase_v1/types/autonomous_database.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,11 +245,11 @@ class AutonomousDatabase(proto.Message):
245245
Optional. The labels or tags associated with
246246
the Autonomous Database.
247247
network (str):
248-
Required. The name of the VPC network used by
248+
Optional. The name of the VPC network used by
249249
the Autonomous Database in the following format:
250250
projects/{project}/global/networks/{network}
251251
cidr (str):
252-
Required. The subnet CIDR range for the
252+
Optional. The subnet CIDR range for the
253253
Autonmous Database.
254254
create_time (google.protobuf.timestamp_pb2.Timestamp):
255255
Output only. The date and time that the

packages/google-cloud-oracledatabase/samples/generated_samples/oracledatabase_v1_generated_oracle_database_create_autonomous_database_sync.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,9 @@ def sample_create_autonomous_database():
3939
client = oracledatabase_v1.OracleDatabaseClient()
4040

4141
# Initialize request argument(s)
42-
autonomous_database = oracledatabase_v1.AutonomousDatabase()
43-
autonomous_database.network = "network_value"
44-
autonomous_database.cidr = "cidr_value"
45-
4642
request = oracledatabase_v1.CreateAutonomousDatabaseRequest(
4743
parent="parent_value",
4844
autonomous_database_id="autonomous_database_id_value",
49-
autonomous_database=autonomous_database,
5045
)
5146

5247
# Make the request

packages/google-cloud-oracledatabase/samples/generated_samples/snippet_metadata_google.cloud.oracledatabase.v1.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
],
99
"language": "PYTHON",
1010
"name": "google-cloud-oracledatabase",
11-
"version": "0.1.7"
11+
"version": "0.1.0"
1212
},
1313
"snippets": [
1414
{
@@ -67,12 +67,12 @@
6767
"regionTag": "oracledatabase_v1_generated_OracleDatabase_CreateAutonomousDatabase_sync",
6868
"segments": [
6969
{
70-
"end": 61,
70+
"end": 56,
7171
"start": 27,
7272
"type": "FULL"
7373
},
7474
{
75-
"end": 61,
75+
"end": 56,
7676
"start": 27,
7777
"type": "SHORT"
7878
},
@@ -82,18 +82,18 @@
8282
"type": "CLIENT_INITIALIZATION"
8383
},
8484
{
85-
"end": 51,
85+
"end": 46,
8686
"start": 41,
8787
"type": "REQUEST_INITIALIZATION"
8888
},
8989
{
90-
"end": 58,
91-
"start": 52,
90+
"end": 53,
91+
"start": 47,
9292
"type": "REQUEST_EXECUTION"
9393
},
9494
{
95-
"end": 62,
96-
"start": 59,
95+
"end": 57,
96+
"start": 54,
9797
"type": "RESPONSE_HANDLING"
9898
}
9999
],

0 commit comments

Comments
 (0)