Class: Google::Apis::CloudsearchV1::VpcSettings

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ VpcSettings

Returns a new instance of VpcSettings.



5121
5122
5123
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5121

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

Instance Attribute Details

#projectString

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

Returns:

  • (String)


5119
5120
5121
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5119

def project
  @project
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5126
5127
5128
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5126

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