Google Cloud Ces V1 Client - Class VpcScSettings (0.3.0)

Reference documentation and code samples for the Google Cloud Ces V1 Client class VpcScSettings.

VPC-SC settings for the app.

Generated from protobuf message google.cloud.ces.v1.VpcScSettings

Namespace

Google \ Cloud \ Ces \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ allowed_origins 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.

getAllowedOrigins

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.

Returns
Type Description
Google\Protobuf\RepeatedField<string>

setAllowedOrigins

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.

Parameter
Name Description
var string[]
Returns
Type Description
$this