Class OrganizationsResource.LocationsResource.AddressGroupsResource
The "addressGroups" collection of methods.
Inherited Members
Namespace: Google.Apis.NetworkSecurity.v1
Assembly: Google.Apis.NetworkSecurity.v1.dll
Syntax
public class OrganizationsResource.LocationsResource.AddressGroupsResource
Constructors
AddressGroupsResource(IClientService)
Constructs a new resource.
Declaration
public AddressGroupsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
AddItems(AddAddressGroupItemsRequest, string)
Adds items to an address group.
Declaration
public virtual OrganizationsResource.LocationsResource.AddressGroupsResource.AddItemsRequest AddItems(AddAddressGroupItemsRequest body, string addressGroup)
Parameters
Type | Name | Description |
---|---|---|
AddAddressGroupItemsRequest | body | The body of the request. |
string | addressGroup | Required. A name of the AddressGroup to add items to. Must be in the format
|
Returns
Type | Description |
---|---|
OrganizationsResource.LocationsResource.AddressGroupsResource.AddItemsRequest |
CloneItems(CloneAddressGroupItemsRequest, string)
Clones items from one address group to another.
Declaration
public virtual OrganizationsResource.LocationsResource.AddressGroupsResource.CloneItemsRequest CloneItems(CloneAddressGroupItemsRequest body, string addressGroup)
Parameters
Type | Name | Description |
---|---|---|
CloneAddressGroupItemsRequest | body | The body of the request. |
string | addressGroup | Required. A name of the AddressGroup to clone items to. Must be in the format
|
Returns
Type | Description |
---|---|
OrganizationsResource.LocationsResource.AddressGroupsResource.CloneItemsRequest |
Create(AddressGroup, string)
Creates a new address group in a given project and location.
Declaration
public virtual OrganizationsResource.LocationsResource.AddressGroupsResource.CreateRequest Create(AddressGroup body, string parent)
Parameters
Type | Name | Description |
---|---|---|
AddressGroup | body | The body of the request. |
string | parent | Required. The parent resource of the AddressGroup. Must be in the format
|
Returns
Type | Description |
---|---|
OrganizationsResource.LocationsResource.AddressGroupsResource.CreateRequest |
Delete(string)
Deletes an address group.
Declaration
public virtual OrganizationsResource.LocationsResource.AddressGroupsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. A name of the AddressGroup to delete. Must be in the format
|
Returns
Type | Description |
---|---|
OrganizationsResource.LocationsResource.AddressGroupsResource.DeleteRequest |
Get(string)
Gets details of a single address group.
Declaration
public virtual OrganizationsResource.LocationsResource.AddressGroupsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. A name of the AddressGroup to get. Must be in the format
|
Returns
Type | Description |
---|---|
OrganizationsResource.LocationsResource.AddressGroupsResource.GetRequest |
List(string)
Lists address groups in a given project and location.
Declaration
public virtual OrganizationsResource.LocationsResource.AddressGroupsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The project and location from which the AddressGroups should be listed, specified in the
format |
Returns
Type | Description |
---|---|
OrganizationsResource.LocationsResource.AddressGroupsResource.ListRequest |
ListReferences(string)
Lists references of an address group.
Declaration
public virtual OrganizationsResource.LocationsResource.AddressGroupsResource.ListReferencesRequest ListReferences(string addressGroup)
Parameters
Type | Name | Description |
---|---|---|
string | addressGroup | Required. A name of the AddressGroup to clone items to. Must be in the format
|
Returns
Type | Description |
---|---|
OrganizationsResource.LocationsResource.AddressGroupsResource.ListReferencesRequest |
Patch(AddressGroup, string)
Updates parameters of an address group.
Declaration
public virtual OrganizationsResource.LocationsResource.AddressGroupsResource.PatchRequest Patch(AddressGroup body, string name)
Parameters
Type | Name | Description |
---|---|---|
AddressGroup | body | The body of the request. |
string | name | Required. Name of the AddressGroup resource. It matches pattern
|
Returns
Type | Description |
---|---|
OrganizationsResource.LocationsResource.AddressGroupsResource.PatchRequest |
RemoveItems(RemoveAddressGroupItemsRequest, string)
Removes items from an address group.
Declaration
public virtual OrganizationsResource.LocationsResource.AddressGroupsResource.RemoveItemsRequest RemoveItems(RemoveAddressGroupItemsRequest body, string addressGroup)
Parameters
Type | Name | Description |
---|---|---|
RemoveAddressGroupItemsRequest | body | The body of the request. |
string | addressGroup | Required. A name of the AddressGroup to remove items from. Must be in the format
|
Returns
Type | Description |
---|---|
OrganizationsResource.LocationsResource.AddressGroupsResource.RemoveItemsRequest |