Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SemanticGovernancePolicyEngine

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/representations.rb

Overview

Define a singleton SemanticGovernancePolicyEngine resource under a project and location.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1SemanticGovernancePolicyEngine

Returns a new instance of GoogleCloudAiplatformV1SemanticGovernancePolicyEngine.



44587
44588
44589
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 44587

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

Instance Attribute Details

#create_timeString

Output only. Timestamp when this SemanticGovernancePolicyEngine was created. Corresponds to the JSON property createTime

Returns:

  • (String)


44545
44546
44547
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 44545

def create_time
  @create_time
end

#gateway_configsHash<String,Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GatewayConfig>

Optional. Configurations for gateways. The keys are user-defined names for each gateway. At most 5 gateway configurations are allowed. Corresponds to the JSON property gatewayConfigs



44551
44552
44553
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 44551

def gateway_configs
  @gateway_configs
end

#ip_addressString

Output only. The private IPv4 address of the PSC endpoint. Corresponds to the JSON property ipAddress

Returns:

  • (String)


44556
44557
44558
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 44556

def ip_address
  @ip_address
end

#nameString

Identifier. The resource name of the SemanticGovernancePolicyEngine. Format: projects/project/locations/location/semanticGovernancePolicyEngine Corresponds to the JSON property name

Returns:

  • (String)


44562
44563
44564
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 44562

def name
  @name
end

#psc_forwarding_ruleString

Output only. The URI of the PSC endpoint resource created in customer project. Format: projects/project/regions/region/forwardingRules/forwarding_rule Corresponds to the JSON property pscForwardingRule

Returns:

  • (String)


44568
44569
44570
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 44568

def psc_forwarding_rule
  @psc_forwarding_rule
end

#psc_service_attachmentString

Output only. URI of the PSC attachment resource provided by SGP. Format: projects/project/regions/region/serviceAttachments/service_attachment Corresponds to the JSON property pscServiceAttachment

Returns:

  • (String)


44574
44575
44576
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 44574

def psc_service_attachment
  @psc_service_attachment
end

#stateString

Output only. The state of the SemanticGovernancePolicyEngine. Corresponds to the JSON property state

Returns:

  • (String)


44579
44580
44581
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 44579

def state
  @state
end

#update_timeString

Output only. Timestamp when this SemanticGovernancePolicyEngine was last updated. Corresponds to the JSON property updateTime

Returns:

  • (String)


44585
44586
44587
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 44585

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



44592
44593
44594
44595
44596
44597
44598
44599
44600
44601
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 44592

def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @gateway_configs = args[:gateway_configs] if args.key?(:gateway_configs)
  @ip_address = args[:ip_address] if args.key?(:ip_address)
  @name = args[:name] if args.key?(:name)
  @psc_forwarding_rule = args[:psc_forwarding_rule] if args.key?(:psc_forwarding_rule)
  @psc_service_attachment = args[:psc_service_attachment] if args.key?(:psc_service_attachment)
  @state = args[:state] if args.key?(:state)
  @update_time = args[:update_time] if args.key?(:update_time)
end