Class: Google::Apis::CloudsearchV1::VpcSettings
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::VpcSettings
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudsearch_v1/classes.rb,
lib/google/apis/cloudsearch_v1/representations.rb,
lib/google/apis/cloudsearch_v1/representations.rb
Instance Attribute Summary collapse
-
#project ⇒ String
The resource name of the GCP Project to be used for VPC SC policy check.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VpcSettings
constructor
A new instance of VpcSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ VpcSettings
Returns a new instance of VpcSettings.
5245 5246 5247 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5245 def initialize(**args) update!(**args) end |
Instance Attribute Details
#project ⇒ String
The resource name of the GCP Project to be used for VPC SC policy check. VPC
security settings on this project will be honored for Cloud Search APIs after
project_name has been updated through CustomerService. Format: projects/
project_id
Corresponds to the JSON property project
5243 5244 5245 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5243 def project @project end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5250 5251 5252 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5250 def update!(**args) @project = args[:project] if args.key?(:project) end |