Class: Google::Apis::ApihubV1::GoogleCloudApihubV1Config

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApihubV1Config

Returns a new instance of GoogleCloudApihubV1Config.



1196
1197
1198
# File 'lib/google/apis/apihub_v1/classes.rb', line 1196

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#agent_registry_sync_configGoogle::Apis::ApihubV1::GoogleCloudApihubV1AgentRegistrySyncConfig

The configuration for Agent Registry sync. Corresponds to the JSON property agentRegistrySyncConfig



1166
1167
1168
# File 'lib/google/apis/apihub_v1/classes.rb', line 1166

def agent_registry_sync_config
  @agent_registry_sync_config
end

#cmek_key_nameString

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

Returns:

  • (String)


1175
1176
1177
# File 'lib/google/apis/apihub_v1/classes.rb', line 1175

def cmek_key_name
  @cmek_key_name
end

#disable_searchBoolean 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

Returns:

  • (Boolean)


1181
1182
1183
# File 'lib/google/apis/apihub_v1/classes.rb', line 1181

def disable_search
  @disable_search
end

#encryption_typeString

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

Returns:

  • (String)


1189
1190
1191
# File 'lib/google/apis/apihub_v1/classes.rb', line 1189

def encryption_type
  @encryption_type
end

#vertex_locationString

Optional. The name of the Vertex AI location where the data store is stored. Corresponds to the JSON property vertexLocation

Returns:

  • (String)


1194
1195
1196
# File 'lib/google/apis/apihub_v1/classes.rb', line 1194

def vertex_location
  @vertex_location
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1201
1202
1203
1204
1205
1206
1207
# File 'lib/google/apis/apihub_v1/classes.rb', line 1201

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