Reference documentation and code samples for the Compute V1 Client class SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.
Generated from protobuf message google.cloud.compute.v1.SecurityPolicyAdvancedOptionsConfigJsonCustomConfig
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ content_types |
array
A list of custom Content-Type header values to apply the JSON parsing. As per RFC 1341, a Content-Type header value has the following format: Content-Type := type "/" subtype *[";" parameter] When configuring a custom Content-Type header value, only the type/subtype needs to be specified, and the parameters should be excluded. |
getContentTypes
A list of custom Content-Type header values to apply the JSON parsing. As per RFC 1341, a Content-Type header value has the following format: Content-Type := type "/" subtype *[";" parameter] When configuring a custom Content-Type header value, only the type/subtype needs to be specified, and the parameters should be excluded.
Generated from protobuf field repeated string content_types = 17428787;
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setContentTypes
A list of custom Content-Type header values to apply the JSON parsing. As per RFC 1341, a Content-Type header value has the following format: Content-Type := type "/" subtype *[";" parameter] When configuring a custom Content-Type header value, only the type/subtype needs to be specified, and the parameters should be excluded.
Generated from protobuf field repeated string content_types = 17428787;
Parameter | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$this |