Reference documentation and code samples for the BeyondCorp AppGateways V1 API class Google::Cloud::BeyondCorp::AppGateways::V1::CreateAppGatewayRequest.
Must contain between 4-63 characters from /[a-z][0-9]-/.
Must end with a number or a letter.
#app_gateway_id=
defapp_gateway_id=(value)->::String
Parameter
value (::String) —
Optional. User-settable AppGateway resource ID.
Must start with a letter.
Must contain between 4-63 characters from /[a-z][0-9]-/.
Must end with a number or a letter.
Returns
(::String) —
Optional. User-settable AppGateway resource ID.
Must start with a letter.
Must contain between 4-63 characters from /[a-z][0-9]-/.
Must end with a number or a letter.
#parent
defparent()->::String
Returns
(::String) — Required. The resource project name of the AppGateway location using the
form: projects/{project_id}/locations/{location_id}
#parent=
defparent=(value)->::String
Parameter
value (::String) — Required. The resource project name of the AppGateway location using the
form: projects/{project_id}/locations/{location_id}
Returns
(::String) — Required. The resource project name of the AppGateway location using the
form: projects/{project_id}/locations/{location_id}
#request_id
defrequest_id()->::String
Returns
(::String) — Optional. An optional request ID to identify requests. Specify a unique
request ID so that if you must retry your request, the server will know to
ignore the request if it has already been completed. The server will
guarantee that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and t
he request times out. If you make the request again with the same request
ID, the server can check if original operation with the same request ID
was received, and if so, will ignore the second request. This prevents
clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is
not supported (00000000-0000-0000-0000-000000000000).
#request_id=
defrequest_id=(value)->::String
Parameter
value (::String) — Optional. An optional request ID to identify requests. Specify a unique
request ID so that if you must retry your request, the server will know to
ignore the request if it has already been completed. The server will
guarantee that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and t
he request times out. If you make the request again with the same request
ID, the server can check if original operation with the same request ID
was received, and if so, will ignore the second request. This prevents
clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is
not supported (00000000-0000-0000-0000-000000000000).
Returns
(::String) — Optional. An optional request ID to identify requests. Specify a unique
request ID so that if you must retry your request, the server will know to
ignore the request if it has already been completed. The server will
guarantee that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and t
he request times out. If you make the request again with the same request
ID, the server can check if original operation with the same request ID
was received, and if so, will ignore the second request. This prevents
clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is
not supported (00000000-0000-0000-0000-000000000000).
#validate_only
defvalidate_only()->::Boolean
Returns
(::Boolean) — Optional. If set, validates request by executing a dry-run which would not
alter the resource in any way.
#validate_only=
defvalidate_only=(value)->::Boolean
Parameter
value (::Boolean) — Optional. If set, validates request by executing a dry-run which would not
alter the resource in any way.
Returns
(::Boolean) — Optional. If set, validates request by executing a dry-run which would not
alter the resource in any way.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# BeyondCorp AppGateways V1 API - Class Google::Cloud::BeyondCorp::AppGateways::V1::CreateAppGatewayRequest (v0.8.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.8.0 (latest)](/ruby/docs/reference/google-cloud-beyond_corp-app_gateways-v1/latest/Google-Cloud-BeyondCorp-AppGateways-V1-CreateAppGatewayRequest)\n- [0.7.1](/ruby/docs/reference/google-cloud-beyond_corp-app_gateways-v1/0.7.1/Google-Cloud-BeyondCorp-AppGateways-V1-CreateAppGatewayRequest)\n- [0.6.0](/ruby/docs/reference/google-cloud-beyond_corp-app_gateways-v1/0.6.0/Google-Cloud-BeyondCorp-AppGateways-V1-CreateAppGatewayRequest)\n- [0.5.2](/ruby/docs/reference/google-cloud-beyond_corp-app_gateways-v1/0.5.2/Google-Cloud-BeyondCorp-AppGateways-V1-CreateAppGatewayRequest)\n- [0.4.2](/ruby/docs/reference/google-cloud-beyond_corp-app_gateways-v1/0.4.2/Google-Cloud-BeyondCorp-AppGateways-V1-CreateAppGatewayRequest)\n- [0.3.0](/ruby/docs/reference/google-cloud-beyond_corp-app_gateways-v1/0.3.0/Google-Cloud-BeyondCorp-AppGateways-V1-CreateAppGatewayRequest)\n- [0.2.0](/ruby/docs/reference/google-cloud-beyond_corp-app_gateways-v1/0.2.0/Google-Cloud-BeyondCorp-AppGateways-V1-CreateAppGatewayRequest)\n- [0.1.1](/ruby/docs/reference/google-cloud-beyond_corp-app_gateways-v1/0.1.1/Google-Cloud-BeyondCorp-AppGateways-V1-CreateAppGatewayRequest) \nReference documentation and code samples for the BeyondCorp AppGateways V1 API class Google::Cloud::BeyondCorp::AppGateways::V1::CreateAppGatewayRequest.\n\nRequest message for BeyondCorp.CreateAppGateway. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #app_gateway\n\n def app_gateway() -\u003e ::Google::Cloud::BeyondCorp::AppGateways::V1::AppGateway\n\n**Returns**\n\n- ([::Google::Cloud::BeyondCorp::AppGateways::V1::AppGateway](./Google-Cloud-BeyondCorp-AppGateways-V1-AppGateway)) --- Required. A BeyondCorp AppGateway resource.\n\n### #app_gateway=\n\n def app_gateway=(value) -\u003e ::Google::Cloud::BeyondCorp::AppGateways::V1::AppGateway\n\n**Parameter**\n\n- **value** ([::Google::Cloud::BeyondCorp::AppGateways::V1::AppGateway](./Google-Cloud-BeyondCorp-AppGateways-V1-AppGateway)) --- Required. A BeyondCorp AppGateway resource. \n**Returns**\n\n- ([::Google::Cloud::BeyondCorp::AppGateways::V1::AppGateway](./Google-Cloud-BeyondCorp-AppGateways-V1-AppGateway)) --- Required. A BeyondCorp AppGateway resource.\n\n### #app_gateway_id\n\n def app_gateway_id() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Optional. User-settable AppGateway resource ID.\n\n - Must start with a letter.\n - Must contain between 4-63 characters from `/[a-z][0-9]-/`.\n - Must end with a number or a letter.\n\n### #app_gateway_id=\n\n def app_gateway_id=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) ---\n\n Optional. User-settable AppGateway resource ID.\n - Must start with a letter.\n - Must contain between 4-63 characters from `/[a-z][0-9]-/`.\n- Must end with a number or a letter. \n**Returns**\n\n- (::String) --- Optional. User-settable AppGateway resource ID.\n\n - Must start with a letter.\n - Must contain between 4-63 characters from `/[a-z][0-9]-/`.\n - Must end with a number or a letter.\n\n### #parent\n\n def parent() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Required. The resource project name of the AppGateway location using the form: `projects/{project_id}/locations/{location_id}`\n\n### #parent=\n\n def parent=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Required. The resource project name of the AppGateway location using the form: `projects/{project_id}/locations/{location_id}` \n**Returns**\n\n- (::String) --- Required. The resource project name of the AppGateway location using the form: `projects/{project_id}/locations/{location_id}`\n\n### #request_id\n\n def request_id() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.\n\n For example, consider a situation where you make an initial request and t\n he request times out. If you make the request again with the same request\n ID, the server can check if original operation with the same request ID\n was received, and if so, will ignore the second request. This prevents\n clients from accidentally creating duplicate commitments.\n\n The request ID must be a valid UUID with the exception that zero UUID is\n not supported (00000000-0000-0000-0000-000000000000).\n\n### #request_id=\n\n def request_id=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.\n\n\n For example, consider a situation where you make an initial request and t\n he request times out. If you make the request again with the same request\n ID, the server can check if original operation with the same request ID\n was received, and if so, will ignore the second request. This prevents\n clients from accidentally creating duplicate commitments.\n\n The request ID must be a valid UUID with the exception that zero UUID is\nnot supported (00000000-0000-0000-0000-000000000000). \n**Returns**\n\n- (::String) --- Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.\n\n For example, consider a situation where you make an initial request and t\n he request times out. If you make the request again with the same request\n ID, the server can check if original operation with the same request ID\n was received, and if so, will ignore the second request. This prevents\n clients from accidentally creating duplicate commitments.\n\n The request ID must be a valid UUID with the exception that zero UUID is\n not supported (00000000-0000-0000-0000-000000000000).\n\n### #validate_only\n\n def validate_only() -\u003e ::Boolean\n\n**Returns**\n\n- (::Boolean) --- Optional. If set, validates request by executing a dry-run which would not alter the resource in any way.\n\n### #validate_only=\n\n def validate_only=(value) -\u003e ::Boolean\n\n**Parameter**\n\n- **value** (::Boolean) --- Optional. If set, validates request by executing a dry-run which would not alter the resource in any way. \n**Returns**\n\n- (::Boolean) --- Optional. If set, validates request by executing a dry-run which would not alter the resource in any way."]]