Class PublicAdvertisedPrefixesResource
The "publicAdvertisedPrefixes" collection of methods.
Inherited Members
Namespace: Google.Apis.Compute.beta
Assembly: Google.Apis.Compute.beta.dll
Syntax
public class PublicAdvertisedPrefixesResource
Constructors
PublicAdvertisedPrefixesResource(IClientService)
Constructs a new resource.
Declaration
public PublicAdvertisedPrefixesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Announce(string, string)
Announces the specified PublicAdvertisedPrefix
Declaration
public virtual PublicAdvertisedPrefixesResource.AnnounceRequest Announce(string project, string publicAdvertisedPrefix)
Parameters
Type | Name | Description |
---|---|---|
string | project | Project ID for this request. |
string | publicAdvertisedPrefix | The name of the public advertised prefix. It should comply with RFC1035. |
Returns
Type | Description |
---|---|
PublicAdvertisedPrefixesResource.AnnounceRequest |
Delete(string, string)
Deletes the specified PublicAdvertisedPrefix
Declaration
public virtual PublicAdvertisedPrefixesResource.DeleteRequest Delete(string project, string publicAdvertisedPrefix)
Parameters
Type | Name | Description |
---|---|---|
string | project | Project ID for this request. |
string | publicAdvertisedPrefix | Name of the PublicAdvertisedPrefix resource to delete. |
Returns
Type | Description |
---|---|
PublicAdvertisedPrefixesResource.DeleteRequest |
Get(string, string)
Returns the specified PublicAdvertisedPrefix resource.
Declaration
public virtual PublicAdvertisedPrefixesResource.GetRequest Get(string project, string publicAdvertisedPrefix)
Parameters
Type | Name | Description |
---|---|---|
string | project | Project ID for this request. |
string | publicAdvertisedPrefix | Name of the PublicAdvertisedPrefix resource to return. |
Returns
Type | Description |
---|---|
PublicAdvertisedPrefixesResource.GetRequest |
Insert(PublicAdvertisedPrefix, string)
Creates a PublicAdvertisedPrefix in the specified project using the parameters that are included in the request.
Declaration
public virtual PublicAdvertisedPrefixesResource.InsertRequest Insert(PublicAdvertisedPrefix body, string project)
Parameters
Type | Name | Description |
---|---|---|
PublicAdvertisedPrefix | body | The body of the request. |
string | project | Project ID for this request. |
Returns
Type | Description |
---|---|
PublicAdvertisedPrefixesResource.InsertRequest |
List(string)
Lists the PublicAdvertisedPrefixes for a project.
Declaration
public virtual PublicAdvertisedPrefixesResource.ListRequest List(string project)
Parameters
Type | Name | Description |
---|---|---|
string | project | Project ID for this request. |
Returns
Type | Description |
---|---|
PublicAdvertisedPrefixesResource.ListRequest |
Patch(PublicAdvertisedPrefix, string, string)
Patches the specified Router resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules.
Declaration
public virtual PublicAdvertisedPrefixesResource.PatchRequest Patch(PublicAdvertisedPrefix body, string project, string publicAdvertisedPrefix)
Parameters
Type | Name | Description |
---|---|---|
PublicAdvertisedPrefix | body | The body of the request. |
string | project | Project ID for this request. |
string | publicAdvertisedPrefix | Name of the PublicAdvertisedPrefix resource to patch. |
Returns
Type | Description |
---|---|
PublicAdvertisedPrefixesResource.PatchRequest |
Withdraw(string, string)
Withdraws the specified PublicAdvertisedPrefix
Declaration
public virtual PublicAdvertisedPrefixesResource.WithdrawRequest Withdraw(string project, string publicAdvertisedPrefix)
Parameters
Type | Name | Description |
---|---|---|
string | project | Project ID for this request. |
string | publicAdvertisedPrefix | The name of the public advertised prefix. It should comply with RFC1035. |
Returns
Type | Description |
---|---|
PublicAdvertisedPrefixesResource.WithdrawRequest |