diff --git a/google-cloud-oracle_database-v1/lib/google/cloud/oracledatabase/v1/exadata_infra_pb.rb b/google-cloud-oracle_database-v1/lib/google/cloud/oracledatabase/v1/exadata_infra_pb.rb index d9607938ff04..46a8163b9e2b 100644 --- a/google-cloud-oracle_database-v1/lib/google/cloud/oracledatabase/v1/exadata_infra_pb.rb +++ b/google-cloud-oracle_database-v1/lib/google/cloud/oracledatabase/v1/exadata_infra_pb.rb @@ -12,7 +12,7 @@ require 'google/type/month_pb' -descriptor_data = "\n2google/cloud/oracledatabase/v1/exadata_infra.proto\x12\x1egoogle.cloud.oracledatabase.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a+google/cloud/oracledatabase/v1/common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1bgoogle/type/dayofweek.proto\x1a\x17google/type/month.proto\"\x84\x05\n\x1a\x43loudExadataInfrastructure\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x1c\n\x0fgcp_oracle_zone\x18\x08 \x01(\tB\x03\xe0\x41\x01\x12\x1b\n\x0e\x65ntitlement_id\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12]\n\nproperties\x18\x05 \x01(\x0b\x32\x44.google.cloud.oracledatabase.v1.CloudExadataInfrastructurePropertiesB\x03\xe0\x41\x01\x12[\n\x06labels\x18\x06 \x03(\x0b\x32\x46.google.cloud.oracledatabase.v1.CloudExadataInfrastructure.LabelsEntryB\x03\xe0\x41\x01\x12\x34\n\x0b\x63reate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\xdb\x01\xea\x41\xd7\x01\n8oracledatabase.googleapis.com/CloudExadataInfrastructure\x12\x62projects/{project}/locations/{location}/cloudExadataInfrastructures/{cloud_exadata_infrastructure}*\x1b\x63loudExadataInfrastructures2\x1a\x63loudExadataInfrastructure\"\xa6\n\n$CloudExadataInfrastructureProperties\x12\x11\n\x04ocid\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x1a\n\rcompute_count\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x1a\n\rstorage_count\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12\"\n\x15total_storage_size_gb\x18\x04 \x01(\x05\x42\x03\xe0\x41\x01\x12&\n\x19\x61vailable_storage_size_gb\x18\x05 \x01(\x05\x42\x03\xe0\x41\x03\x12R\n\x12maintenance_window\x18\x06 \x01(\x0b\x32\x31.google.cloud.oracledatabase.v1.MaintenanceWindowB\x03\xe0\x41\x01\x12^\n\x05state\x18\x07 \x01(\x0e\x32J.google.cloud.oracledatabase.v1.CloudExadataInfrastructureProperties.StateB\x03\xe0\x41\x03\x12\x12\n\x05shape\x18\x08 \x01(\tB\x03\xe0\x41\x02\x12\x14\n\x07oci_url\x18\t \x01(\tB\x03\xe0\x41\x03\x12\x16\n\tcpu_count\x18\n \x01(\x05\x42\x03\xe0\x41\x01\x12\x1a\n\rmax_cpu_count\x18\x0b \x01(\x05\x42\x03\xe0\x41\x03\x12\x1b\n\x0ememory_size_gb\x18\x0c \x01(\x05\x42\x03\xe0\x41\x01\x12\x1a\n\rmax_memory_gb\x18\r \x01(\x05\x42\x03\xe0\x41\x03\x12$\n\x17\x64\x62_node_storage_size_gb\x18\x0e \x01(\x05\x42\x03\xe0\x41\x01\x12(\n\x1bmax_db_node_storage_size_gb\x18\x0f \x01(\x05\x42\x03\xe0\x41\x03\x12!\n\x14\x64\x61ta_storage_size_tb\x18\x10 \x01(\x01\x42\x03\xe0\x41\x03\x12 \n\x13max_data_storage_tb\x18\x11 \x01(\x01\x42\x03\xe0\x41\x03\x12$\n\x17\x61\x63tivated_storage_count\x18\x12 \x01(\x05\x42\x03\xe0\x41\x03\x12%\n\x18\x61\x64\x64itional_storage_count\x18\x13 \x01(\x05\x42\x03\xe0\x41\x03\x12\x1e\n\x11\x64\x62_server_version\x18\x14 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16storage_server_version\x18\x15 \x01(\tB\x03\xe0\x41\x03\x12$\n\x17next_maintenance_run_id\x18\x16 \x01(\tB\x03\xe0\x41\x03\x12\x42\n\x19next_maintenance_run_time\x18\x17 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12K\n\"next_security_maintenance_run_time\x18\x18 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12O\n\x11\x63ustomer_contacts\x18\x19 \x03(\x0b\x32/.google.cloud.oracledatabase.v1.CustomerContactB\x03\xe0\x41\x01\x12+\n\x1emonthly_storage_server_version\x18\x1a \x01(\tB\x03\xe0\x41\x03\x12&\n\x19monthly_db_server_version\x18\x1b \x01(\tB\x03\xe0\x41\x03\"\x97\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x10\n\x0cPROVISIONING\x10\x01\x12\r\n\tAVAILABLE\x10\x02\x12\x0c\n\x08UPDATING\x10\x03\x12\x0f\n\x0bTERMINATING\x10\x04\x12\x0e\n\nTERMINATED\x10\x05\x12\n\n\x06\x46\x41ILED\x10\x06\x12\x1b\n\x17MAINTENANCE_IN_PROGRESS\x10\x07\"\xa5\x05\n\x11MaintenanceWindow\x12\x66\n\npreference\x18\x01 \x01(\x0e\x32M.google.cloud.oracledatabase.v1.MaintenanceWindow.MaintenanceWindowPreferenceB\x03\xe0\x41\x01\x12\'\n\x06months\x18\x02 \x03(\x0e\x32\x12.google.type.MonthB\x03\xe0\x41\x01\x12\x1b\n\x0eweeks_of_month\x18\x03 \x03(\x05\x42\x03\xe0\x41\x01\x12\x31\n\x0c\x64\x61ys_of_week\x18\x04 \x03(\x0e\x32\x16.google.type.DayOfWeekB\x03\xe0\x41\x01\x12\x19\n\x0chours_of_day\x18\x05 \x03(\x05\x42\x03\xe0\x41\x01\x12\x1b\n\x0elead_time_week\x18\x06 \x01(\x05\x42\x03\xe0\x41\x01\x12Z\n\rpatching_mode\x18\x07 \x01(\x0e\x32>.google.cloud.oracledatabase.v1.MaintenanceWindow.PatchingModeB\x03\xe0\x41\x01\x12\'\n\x1a\x63ustom_action_timeout_mins\x18\x08 \x01(\x05\x42\x03\xe0\x41\x01\x12-\n is_custom_action_timeout_enabled\x18\t \x01(\x08\x42\x03\xe0\x41\x01\"v\n\x1bMaintenanceWindowPreference\x12-\n)MAINTENANCE_WINDOW_PREFERENCE_UNSPECIFIED\x10\x00\x12\x15\n\x11\x43USTOM_PREFERENCE\x10\x01\x12\x11\n\rNO_PREFERENCE\x10\x02\"K\n\x0cPatchingMode\x12\x1d\n\x19PATCHING_MODE_UNSPECIFIED\x10\x00\x12\x0b\n\x07ROLLING\x10\x01\x12\x0f\n\x0bNON_ROLLING\x10\x02\x42\xf9\x01\n\"com.google.cloud.oracledatabase.v1B\x1f\x43loudExadataInfrastructureProtoP\x01ZJcloud.google.com/go/oracledatabase/apiv1/oracledatabasepb;oracledatabasepb\xaa\x02\x1eGoogle.Cloud.OracleDatabase.V1\xca\x02\x1eGoogle\\Cloud\\OracleDatabase\\V1\xea\x02!Google::Cloud::OracleDatabase::V1b\x06proto3" +descriptor_data = "\n2google/cloud/oracledatabase/v1/exadata_infra.proto\x12\x1egoogle.cloud.oracledatabase.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a+google/cloud/oracledatabase/v1/common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1bgoogle/type/dayofweek.proto\x1a\x17google/type/month.proto\"\x84\x05\n\x1a\x43loudExadataInfrastructure\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x1c\n\x0fgcp_oracle_zone\x18\x08 \x01(\tB\x03\xe0\x41\x01\x12\x1b\n\x0e\x65ntitlement_id\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12]\n\nproperties\x18\x05 \x01(\x0b\x32\x44.google.cloud.oracledatabase.v1.CloudExadataInfrastructurePropertiesB\x03\xe0\x41\x01\x12[\n\x06labels\x18\x06 \x03(\x0b\x32\x46.google.cloud.oracledatabase.v1.CloudExadataInfrastructure.LabelsEntryB\x03\xe0\x41\x01\x12\x34\n\x0b\x63reate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\xdb\x01\xea\x41\xd7\x01\n8oracledatabase.googleapis.com/CloudExadataInfrastructure\x12\x62projects/{project}/locations/{location}/cloudExadataInfrastructures/{cloud_exadata_infrastructure}*\x1b\x63loudExadataInfrastructures2\x1a\x63loudExadataInfrastructure\"\xa6\n\n$CloudExadataInfrastructureProperties\x12\x11\n\x04ocid\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x1a\n\rcompute_count\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x1a\n\rstorage_count\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12\"\n\x15total_storage_size_gb\x18\x04 \x01(\x05\x42\x03\xe0\x41\x01\x12&\n\x19\x61vailable_storage_size_gb\x18\x05 \x01(\x05\x42\x03\xe0\x41\x03\x12R\n\x12maintenance_window\x18\x06 \x01(\x0b\x32\x31.google.cloud.oracledatabase.v1.MaintenanceWindowB\x03\xe0\x41\x01\x12^\n\x05state\x18\x07 \x01(\x0e\x32J.google.cloud.oracledatabase.v1.CloudExadataInfrastructureProperties.StateB\x03\xe0\x41\x03\x12\x12\n\x05shape\x18\x08 \x01(\tB\x03\xe0\x41\x02\x12\x14\n\x07oci_url\x18\t \x01(\tB\x03\xe0\x41\x03\x12\x16\n\tcpu_count\x18\n \x01(\x05\x42\x03\xe0\x41\x03\x12\x1a\n\rmax_cpu_count\x18\x0b \x01(\x05\x42\x03\xe0\x41\x03\x12\x1b\n\x0ememory_size_gb\x18\x0c \x01(\x05\x42\x03\xe0\x41\x03\x12\x1a\n\rmax_memory_gb\x18\r \x01(\x05\x42\x03\xe0\x41\x03\x12$\n\x17\x64\x62_node_storage_size_gb\x18\x0e \x01(\x05\x42\x03\xe0\x41\x03\x12(\n\x1bmax_db_node_storage_size_gb\x18\x0f \x01(\x05\x42\x03\xe0\x41\x03\x12!\n\x14\x64\x61ta_storage_size_tb\x18\x10 \x01(\x01\x42\x03\xe0\x41\x03\x12 \n\x13max_data_storage_tb\x18\x11 \x01(\x01\x42\x03\xe0\x41\x03\x12$\n\x17\x61\x63tivated_storage_count\x18\x12 \x01(\x05\x42\x03\xe0\x41\x03\x12%\n\x18\x61\x64\x64itional_storage_count\x18\x13 \x01(\x05\x42\x03\xe0\x41\x03\x12\x1e\n\x11\x64\x62_server_version\x18\x14 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16storage_server_version\x18\x15 \x01(\tB\x03\xe0\x41\x03\x12$\n\x17next_maintenance_run_id\x18\x16 \x01(\tB\x03\xe0\x41\x03\x12\x42\n\x19next_maintenance_run_time\x18\x17 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12K\n\"next_security_maintenance_run_time\x18\x18 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12O\n\x11\x63ustomer_contacts\x18\x19 \x03(\x0b\x32/.google.cloud.oracledatabase.v1.CustomerContactB\x03\xe0\x41\x01\x12+\n\x1emonthly_storage_server_version\x18\x1a \x01(\tB\x03\xe0\x41\x03\x12&\n\x19monthly_db_server_version\x18\x1b \x01(\tB\x03\xe0\x41\x03\"\x97\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x10\n\x0cPROVISIONING\x10\x01\x12\r\n\tAVAILABLE\x10\x02\x12\x0c\n\x08UPDATING\x10\x03\x12\x0f\n\x0bTERMINATING\x10\x04\x12\x0e\n\nTERMINATED\x10\x05\x12\n\n\x06\x46\x41ILED\x10\x06\x12\x1b\n\x17MAINTENANCE_IN_PROGRESS\x10\x07\"\xa5\x05\n\x11MaintenanceWindow\x12\x66\n\npreference\x18\x01 \x01(\x0e\x32M.google.cloud.oracledatabase.v1.MaintenanceWindow.MaintenanceWindowPreferenceB\x03\xe0\x41\x01\x12\'\n\x06months\x18\x02 \x03(\x0e\x32\x12.google.type.MonthB\x03\xe0\x41\x01\x12\x1b\n\x0eweeks_of_month\x18\x03 \x03(\x05\x42\x03\xe0\x41\x01\x12\x31\n\x0c\x64\x61ys_of_week\x18\x04 \x03(\x0e\x32\x16.google.type.DayOfWeekB\x03\xe0\x41\x01\x12\x19\n\x0chours_of_day\x18\x05 \x03(\x05\x42\x03\xe0\x41\x01\x12\x1b\n\x0elead_time_week\x18\x06 \x01(\x05\x42\x03\xe0\x41\x01\x12Z\n\rpatching_mode\x18\x07 \x01(\x0e\x32>.google.cloud.oracledatabase.v1.MaintenanceWindow.PatchingModeB\x03\xe0\x41\x01\x12\'\n\x1a\x63ustom_action_timeout_mins\x18\x08 \x01(\x05\x42\x03\xe0\x41\x01\x12-\n is_custom_action_timeout_enabled\x18\t \x01(\x08\x42\x03\xe0\x41\x01\"v\n\x1bMaintenanceWindowPreference\x12-\n)MAINTENANCE_WINDOW_PREFERENCE_UNSPECIFIED\x10\x00\x12\x15\n\x11\x43USTOM_PREFERENCE\x10\x01\x12\x11\n\rNO_PREFERENCE\x10\x02\"K\n\x0cPatchingMode\x12\x1d\n\x19PATCHING_MODE_UNSPECIFIED\x10\x00\x12\x0b\n\x07ROLLING\x10\x01\x12\x0f\n\x0bNON_ROLLING\x10\x02\x42\xf9\x01\n\"com.google.cloud.oracledatabase.v1B\x1f\x43loudExadataInfrastructureProtoP\x01ZJcloud.google.com/go/oracledatabase/apiv1/oracledatabasepb;oracledatabasepb\xaa\x02\x1eGoogle.Cloud.OracleDatabase.V1\xca\x02\x1eGoogle\\Cloud\\OracleDatabase\\V1\xea\x02!Google::Cloud::OracleDatabase::V1b\x06proto3" pool = Google::Protobuf::DescriptorPool.generated_pool diff --git a/google-cloud-oracle_database-v1/proto_docs/google/cloud/oracledatabase/v1/exadata_infra.rb b/google-cloud-oracle_database-v1/proto_docs/google/cloud/oracledatabase/v1/exadata_infra.rb index c3eb88d5e270..6cf99c6af506 100644 --- a/google-cloud-oracle_database-v1/proto_docs/google/cloud/oracledatabase/v1/exadata_infra.rb +++ b/google-cloud-oracle_database-v1/proto_docs/google/cloud/oracledatabase/v1/exadata_infra.rb @@ -94,21 +94,21 @@ class LabelsEntry # @!attribute [r] oci_url # @return [::String] # Output only. Deep link to the OCI console to view this resource. - # @!attribute [rw] cpu_count + # @!attribute [r] cpu_count # @return [::Integer] - # Optional. The number of enabled CPU cores. + # Output only. The number of enabled CPU cores. # @!attribute [r] max_cpu_count # @return [::Integer] # Output only. The total number of CPU cores available. - # @!attribute [rw] memory_size_gb + # @!attribute [r] memory_size_gb # @return [::Integer] - # Optional. The memory allocated in GBs. + # Output only. The memory allocated in GBs. # @!attribute [r] max_memory_gb # @return [::Integer] # Output only. The total memory available in GBs. - # @!attribute [rw] db_node_storage_size_gb + # @!attribute [r] db_node_storage_size_gb # @return [::Integer] - # Optional. The local node storage allocated in GBs. + # Output only. The local node storage allocated in GBs. # @!attribute [r] max_db_node_storage_size_gb # @return [::Integer] # Output only. The total local node storage available in GBs. diff --git a/google-cloud-oracle_database-v1/test/google/cloud/oracle_database/v1/oracle_database_rest_test.rb b/google-cloud-oracle_database-v1/test/google/cloud/oracle_database/v1/oracle_database_rest_test.rb index d11f268057e1..7bf3fc9ed942 100644 --- a/google-cloud-oracle_database-v1/test/google/cloud/oracle_database/v1/oracle_database_rest_test.rb +++ b/google-cloud-oracle_database-v1/test/google/cloud/oracle_database/v1/oracle_database_rest_test.rb @@ -72,6 +72,10 @@ def universe_domain def stub_logger nil end + + def logger + nil + end end def test_list_cloud_exadata_infrastructures