Class: Google::Apis::LookerV1::PscConfig

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

Overview

Information for Private Service Connect (PSC) setup for a Looker instance.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PscConfig

Returns a new instance of PscConfig.



1190
1191
1192
# File 'lib/google/apis/looker_v1/classes.rb', line 1190

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

Instance Attribute Details

#allowed_vpcsArray<String>

Optional. List of VPCs that are allowed ingress into looker. Format: projects/ project/global/networks/network Corresponds to the JSON property allowedVpcs

Returns:

  • (Array<String>)


1178
1179
1180
# File 'lib/google/apis/looker_v1/classes.rb', line 1178

def allowed_vpcs
  @allowed_vpcs
end

#looker_service_attachment_uriString

Output only. URI of the Looker service attachment. Corresponds to the JSON property lookerServiceAttachmentUri

Returns:

  • (String)


1183
1184
1185
# File 'lib/google/apis/looker_v1/classes.rb', line 1183

def looker_service_attachment_uri
  @looker_service_attachment_uri
end

#service_attachmentsArray<Google::Apis::LookerV1::ServiceAttachment>

Optional. List of egress service attachment configurations. Corresponds to the JSON property serviceAttachments



1188
1189
1190
# File 'lib/google/apis/looker_v1/classes.rb', line 1188

def service_attachments
  @service_attachments
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1195
1196
1197
1198
1199
# File 'lib/google/apis/looker_v1/classes.rb', line 1195

def update!(**args)
  @allowed_vpcs = args[:allowed_vpcs] if args.key?(:allowed_vpcs)
  @looker_service_attachment_uri = args[:looker_service_attachment_uri] if args.key?(:looker_service_attachment_uri)
  @service_attachments = args[:service_attachments] if args.key?(:service_attachments)
end