Class: Google::Apis::CesV1::VpcScSettings
- Inherits:
-
Object
- Object
- Google::Apis::CesV1::VpcScSettings
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/ces_v1/classes.rb,
lib/google/apis/ces_v1/representations.rb,
lib/google/apis/ces_v1/representations.rb
Overview
VPC-SC settings for the app.
Instance Attribute Summary collapse
-
#allowed_origins ⇒ Array<String>
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VpcScSettings
constructor
A new instance of VpcScSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ VpcScSettings
Returns a new instance of VpcScSettings.
7174 7175 7176 |
# File 'lib/google/apis/ces_v1/classes.rb', line 7174 def initialize(**args) update!(**args) end |
Instance Attribute Details
#allowed_origins ⇒ Array<String>
Optional. The allowed HTTP(s) origins that OpenAPI tools in the App are able
to directly call when VPC Service Controls are enabled. These strings must
match the origin exactly, including the port if specified. For example, "https:
//example.com" or "https://example.com:443". This list does not yet apply to
Python tools that may make direct HTTP calls.
Corresponds to the JSON property allowedOrigins
7172 7173 7174 |
# File 'lib/google/apis/ces_v1/classes.rb', line 7172 def allowed_origins @allowed_origins end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7179 7180 7181 |
# File 'lib/google/apis/ces_v1/classes.rb', line 7179 def update!(**args) @allowed_origins = args[:allowed_origins] if args.key?(:allowed_origins) end |