Class: Google::Apis::ApihubV1::GoogleCloudApihubV1Config
- Inherits:
-
Object
- Object
- Google::Apis::ApihubV1::GoogleCloudApihubV1Config
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/apihub_v1/classes.rb,
lib/google/apis/apihub_v1/representations.rb,
lib/google/apis/apihub_v1/representations.rb
Overview
Available configurations to provision an ApiHub Instance.
Instance Attribute Summary collapse
-
#agent_registry_sync_config ⇒ Google::Apis::ApihubV1::GoogleCloudApihubV1AgentRegistrySyncConfig
The configuration for Agent Registry sync.
-
#cmek_key_name ⇒ String
Optional.
-
#disable_search ⇒ Boolean
(also: #disable_search?)
Optional.
-
#encryption_type ⇒ String
Optional.
-
#vertex_location ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApihubV1Config
constructor
A new instance of GoogleCloudApihubV1Config.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApihubV1Config
Returns a new instance of GoogleCloudApihubV1Config.
1149 1150 1151 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 1149 def initialize(**args) update!(**args) end |
Instance Attribute Details
#agent_registry_sync_config ⇒ Google::Apis::ApihubV1::GoogleCloudApihubV1AgentRegistrySyncConfig
The configuration for Agent Registry sync.
Corresponds to the JSON property agentRegistrySyncConfig
1119 1120 1121 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 1119 def agent_registry_sync_config @agent_registry_sync_config end |
#cmek_key_name ⇒ String
Optional. The Customer Managed Encryption Key (CMEK) used for data encryption.
The CMEK name should follow the format of projects/([^/]+)/locations/([^/]+)/
keyRings/([^/]+)/cryptoKeys/([^/]+), where the location must match the
instance location. If the CMEK is not provided, a GMEK will be created for the
instance.
Corresponds to the JSON property cmekKeyName
1128 1129 1130 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 1128 def cmek_key_name @cmek_key_name end |
#disable_search ⇒ Boolean Also known as: disable_search?
Optional. If true, the search will be disabled for the instance. The default
value is false.
Corresponds to the JSON property disableSearch
1134 1135 1136 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 1134 def disable_search @disable_search end |
#encryption_type ⇒ String
Optional. Encryption type for the region. If the encryption type is CMEK, the
cmek_key_name must be provided. If no encryption type is provided, GMEK will
be used.
Corresponds to the JSON property encryptionType
1142 1143 1144 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 1142 def encryption_type @encryption_type end |
#vertex_location ⇒ String
Optional. The name of the Vertex AI location where the data store is stored.
Corresponds to the JSON property vertexLocation
1147 1148 1149 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 1147 def vertex_location @vertex_location end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1154 1155 1156 1157 1158 1159 1160 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 1154 def update!(**args) @agent_registry_sync_config = args[:agent_registry_sync_config] if args.key?(:agent_registry_sync_config) @cmek_key_name = args[:cmek_key_name] if args.key?(:cmek_key_name) @disable_search = args[:disable_search] if args.key?(:disable_search) @encryption_type = args[:encryption_type] if args.key?(:encryption_type) @vertex_location = args[:vertex_location] if args.key?(:vertex_location) end |