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.



44143
44144
44145
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 44143

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)


44101
44102
44103
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 44101

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



44107
44108
44109
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 44107

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)


44112
44113
44114
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 44112

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)


44118
44119
44120
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 44118

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)


44124
44125
44126
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 44124

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)


44130
44131
44132
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 44130

def psc_service_attachment
  @psc_service_attachment
end

#stateString

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

Returns:

  • (String)


44135
44136
44137
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 44135

def state
  @state
end

#update_timeString

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

Returns:

  • (String)


44141
44142
44143
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 44141

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



44148
44149
44150
44151
44152
44153
44154
44155
44156
44157
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 44148

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