Method: customers.policies.networks.defineNetwork
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
একটি নতুন নেটওয়ার্ক সংজ্ঞায়িত করুন।
HTTP অনুরোধ
POST https://chromepolicy.googleapis.com/v1/{customer=customers/*}/policies/networks:defineNetwork
URL gRPC ট্রান্সকোডিং সিনট্যাক্স ব্যবহার করে।
পাথ প্যারামিটার
পরামিতি |
---|
customer | string প্রয়োজন। যে গ্রাহক এই নতুন নেটওয়ার্কের মালিক হবেন। |
শরীরের অনুরোধ
অনুরোধের অংশে নিম্নলিখিত কাঠামো সহ ডেটা রয়েছে:
JSON প্রতিনিধিত্ব |
---|
{
"targetResource": string,
"name": string,
"settings": [
{
object (NetworkSetting )
}
]
} |
ক্ষেত্র |
---|
targetResource | string প্রয়োজন। লক্ষ্য সম্পদ যার উপর এই নতুন নেটওয়ার্ক সংজ্ঞায়িত করা হবে. নিম্নলিখিত সংস্থানগুলি সমর্থিত: * সাংগঠনিক ইউনিট ("orgunits/{orgunit_id}") |
name | string প্রয়োজন। নতুন তৈরি নেটওয়ার্কের নাম। |
settings[] | object ( NetworkSetting ) প্রয়োজন। বিস্তারিত নেটওয়ার্ক সেটিংস। |
প্রতিক্রিয়া শরীর
একটি নেটওয়ার্ক তৈরির জন্য প্রতিক্রিয়া বস্তু।
সফল হলে, প্রতিক্রিয়া বডিতে নিম্নলিখিত কাঠামোর সাথে ডেটা থাকে:
JSON প্রতিনিধিত্ব |
---|
{
"networkId": string,
"targetResource": string,
"settings": [
{
object (NetworkSetting )
}
]
} |
ক্ষেত্র |
---|
networkId | string নতুন তৈরি নেটওয়ার্কের নেটওয়ার্ক আইডি। |
targetResource | string লক্ষ্য সম্পদ যার উপর এই নতুন নেটওয়ার্ক সংজ্ঞায়িত করা হবে. নিম্নলিখিত সংস্থানগুলি সমর্থিত: * সাংগঠনিক ইউনিট ("orgunits/{orgunit_id}") |
settings[] | object ( NetworkSetting ) নতুন তৈরি নেটওয়ার্কের বিস্তারিত নেটওয়ার্ক সেটিংস |
অনুমোদনের সুযোগ
নিম্নলিখিত OAuth সুযোগ প্রয়োজন:
-
https://www.googleapis.com/auth/chrome.management.policy
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-24 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-07-24 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eDefine a new network with specific settings for a target resource, such as an organizational unit.\u003c/p\u003e\n"],["\u003cp\u003eThe request body requires the target resource, network name, and detailed network settings.\u003c/p\u003e\n"],["\u003cp\u003eThe response body provides the network ID, target resource, and network settings of the newly created network.\u003c/p\u003e\n"],["\u003cp\u003eThis functionality requires authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/chrome.management.policy\u003c/code\u003e scope.\u003c/p\u003e\n"]]],[],null,["# Method: customers.policies.networks.defineNetwork\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n - [JSON representation](#body.request_body.SCHEMA_REPRESENTATION)\n- [Response body](#body.response_body)\n - [JSON representation](#body.DefineNetworkResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nDefine a new network.\n\n### HTTP request\n\n`POST https://chromepolicy.googleapis.com/v1/{customer=customers/*}/policies/networks:defineNetwork`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|------------|----------------------------------------------------------------|\n| `customer` | `string` Required. The customer who will own this new network. |\n\n### Request body\n\nThe request body contains data with the following structure:\n\n| JSON representation |\n|------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"targetResource\": string, \"name\": string, \"settings\": [ { object (/chrome/policy/reference/rest/v1/NetworkSetting) } ] } ``` |\n\n| Fields ||\n|------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `targetResource` | `string` Required. The target resource on which this new network will be defined. The following resources are supported: \\* Organizational Unit (\"orgunits/{orgunit_id}\") |\n| `name` | `string` Required. name of the new created network. |\n| `settings[]` | `object (`[NetworkSetting](/chrome/policy/reference/rest/v1/NetworkSetting)`)` Required. Detailed network settings. |\n\n### Response body\n\nResponse object for creating a network.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|-----------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"networkId\": string, \"targetResource\": string, \"settings\": [ { object (/chrome/policy/reference/rest/v1/NetworkSetting) } ] } ``` |\n\n| Fields ||\n|------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `networkId` | `string` Network ID of the new created network. |\n| `targetResource` | `string` The target resource on which this new network will be defined. The following resources are supported: \\* Organizational Unit (\"orgunits/{orgunit_id}\") |\n| `settings[]` | `object (`[NetworkSetting](/chrome/policy/reference/rest/v1/NetworkSetting)`)` Detailed network settings of the new created network |\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/chrome.management.policy`"]]