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.



45829
45830
45831
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 45829

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)


45787
45788
45789
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 45787

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



45793
45794
45795
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 45793

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)


45798
45799
45800
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 45798

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)


45804
45805
45806
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 45804

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)


45810
45811
45812
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 45810

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)


45816
45817
45818
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 45816

def psc_service_attachment
  @psc_service_attachment
end

#stateString

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

Returns:

  • (String)


45821
45822
45823
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 45821

def state
  @state
end

#update_timeString

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

Returns:

  • (String)


45827
45828
45829
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 45827

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



45834
45835
45836
45837
45838
45839
45840
45841
45842
45843
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 45834

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