Class: Google::Cloud::OracleDatabase::V1::OdbSubnet
- Inherits:
-
Object
- Object
- Google::Cloud::OracleDatabase::V1::OdbSubnet
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/oracledatabase/v1/odb_subnet.rb
Overview
Represents OdbSubnet resource.
Defined Under Namespace
Modules: Purpose, State Classes: LabelsEntry
Instance Attribute Summary collapse
-
#cidr_range ⇒ ::String
Required.
-
#create_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
Optional.
-
#name ⇒ ::String
Identifier.
-
#purpose ⇒ ::Google::Cloud::OracleDatabase::V1::OdbSubnet::Purpose
Required.
-
#state ⇒ ::Google::Cloud::OracleDatabase::V1::OdbSubnet::State
readonly
Output only.
Instance Attribute Details
#cidr_range ⇒ ::String
Returns Required. The CIDR range of the subnet.
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 |
# File 'proto_docs/google/cloud/oracledatabase/v1/odb_subnet.rb', line 44 class OdbSubnet include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Purpose available for the subnet. module Purpose # Default unspecified value. PURPOSE_UNSPECIFIED = 0 # Subnet to be used for client connections. CLIENT_SUBNET = 1 # Subnet to be used for backup. BACKUP_SUBNET = 2 end # The various lifecycle states of the ODB Subnet. module State # Default unspecified value. STATE_UNSPECIFIED = 0 # Indicates that the resource is in provisioning state. PROVISIONING = 1 # Indicates that the resource is in available state. AVAILABLE = 2 # Indicates that the resource is in terminating state. TERMINATING = 3 # Indicates that the resource is in failed state. FAILED = 4 end end |
#create_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. The date and time that the OdbNetwork was created.
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 |
# File 'proto_docs/google/cloud/oracledatabase/v1/odb_subnet.rb', line 44 class OdbSubnet include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Purpose available for the subnet. module Purpose # Default unspecified value. PURPOSE_UNSPECIFIED = 0 # Subnet to be used for client connections. CLIENT_SUBNET = 1 # Subnet to be used for backup. BACKUP_SUBNET = 2 end # The various lifecycle states of the ODB Subnet. module State # Default unspecified value. STATE_UNSPECIFIED = 0 # Indicates that the resource is in provisioning state. PROVISIONING = 1 # Indicates that the resource is in available state. AVAILABLE = 2 # Indicates that the resource is in terminating state. TERMINATING = 3 # Indicates that the resource is in failed state. FAILED = 4 end end |
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
Returns Optional. Labels or tags associated with the resource.
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 |
# File 'proto_docs/google/cloud/oracledatabase/v1/odb_subnet.rb', line 44 class OdbSubnet include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Purpose available for the subnet. module Purpose # Default unspecified value. PURPOSE_UNSPECIFIED = 0 # Subnet to be used for client connections. CLIENT_SUBNET = 1 # Subnet to be used for backup. BACKUP_SUBNET = 2 end # The various lifecycle states of the ODB Subnet. module State # Default unspecified value. STATE_UNSPECIFIED = 0 # Indicates that the resource is in provisioning state. PROVISIONING = 1 # Indicates that the resource is in available state. AVAILABLE = 2 # Indicates that the resource is in terminating state. TERMINATING = 3 # Indicates that the resource is in failed state. FAILED = 4 end end |
#name ⇒ ::String
Returns Identifier. The name of the OdbSubnet resource in the following format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}.
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 |
# File 'proto_docs/google/cloud/oracledatabase/v1/odb_subnet.rb', line 44 class OdbSubnet include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Purpose available for the subnet. module Purpose # Default unspecified value. PURPOSE_UNSPECIFIED = 0 # Subnet to be used for client connections. CLIENT_SUBNET = 1 # Subnet to be used for backup. BACKUP_SUBNET = 2 end # The various lifecycle states of the ODB Subnet. module State # Default unspecified value. STATE_UNSPECIFIED = 0 # Indicates that the resource is in provisioning state. PROVISIONING = 1 # Indicates that the resource is in available state. AVAILABLE = 2 # Indicates that the resource is in terminating state. TERMINATING = 3 # Indicates that the resource is in failed state. FAILED = 4 end end |
#purpose ⇒ ::Google::Cloud::OracleDatabase::V1::OdbSubnet::Purpose
Returns Required. Purpose of the subnet.
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 |
# File 'proto_docs/google/cloud/oracledatabase/v1/odb_subnet.rb', line 44 class OdbSubnet include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Purpose available for the subnet. module Purpose # Default unspecified value. PURPOSE_UNSPECIFIED = 0 # Subnet to be used for client connections. CLIENT_SUBNET = 1 # Subnet to be used for backup. BACKUP_SUBNET = 2 end # The various lifecycle states of the ODB Subnet. module State # Default unspecified value. STATE_UNSPECIFIED = 0 # Indicates that the resource is in provisioning state. PROVISIONING = 1 # Indicates that the resource is in available state. AVAILABLE = 2 # Indicates that the resource is in terminating state. TERMINATING = 3 # Indicates that the resource is in failed state. FAILED = 4 end end |
#state ⇒ ::Google::Cloud::OracleDatabase::V1::OdbSubnet::State (readonly)
Returns Output only. State of the ODB Subnet.
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 |
# File 'proto_docs/google/cloud/oracledatabase/v1/odb_subnet.rb', line 44 class OdbSubnet include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Purpose available for the subnet. module Purpose # Default unspecified value. PURPOSE_UNSPECIFIED = 0 # Subnet to be used for client connections. CLIENT_SUBNET = 1 # Subnet to be used for backup. BACKUP_SUBNET = 2 end # The various lifecycle states of the ODB Subnet. module State # Default unspecified value. STATE_UNSPECIFIED = 0 # Indicates that the resource is in provisioning state. PROVISIONING = 1 # Indicates that the resource is in available state. AVAILABLE = 2 # Indicates that the resource is in terminating state. TERMINATING = 3 # Indicates that the resource is in failed state. FAILED = 4 end end |