Class AdminResource.ProjectsResource.LocationsResource.ReservationsResource
The "reservations" collection of methods.
Inherited Members
Namespace: Google.Apis.PubsubLite.v1
Assembly: Google.Apis.PubsubLite.v1.dll
Syntax
public class AdminResource.ProjectsResource.LocationsResource.ReservationsResource
Constructors
ReservationsResource(IClientService)
Constructs a new resource.
Declaration
public ReservationsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
Topics
Gets the Topics resource.
Declaration
public virtual AdminResource.ProjectsResource.LocationsResource.ReservationsResource.TopicsResource Topics { get; }
Property Value
Type | Description |
---|---|
AdminResource.ProjectsResource.LocationsResource.ReservationsResource.TopicsResource |
Methods
Create(Reservation, string)
Creates a new reservation.
Declaration
public virtual AdminResource.ProjectsResource.LocationsResource.ReservationsResource.CreateRequest Create(Reservation body, string parent)
Parameters
Type | Name | Description |
---|---|---|
Reservation | body | The body of the request. |
string | parent | Required. The parent location in which to create the reservation. Structured like
|
Returns
Type | Description |
---|---|
AdminResource.ProjectsResource.LocationsResource.ReservationsResource.CreateRequest |
Delete(string)
Deletes the specified reservation.
Declaration
public virtual AdminResource.ProjectsResource.LocationsResource.ReservationsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the reservation to delete. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id} |
Returns
Type | Description |
---|---|
AdminResource.ProjectsResource.LocationsResource.ReservationsResource.DeleteRequest |
Get(string)
Returns the reservation configuration.
Declaration
public virtual AdminResource.ProjectsResource.LocationsResource.ReservationsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the reservation whose configuration to return. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id} |
Returns
Type | Description |
---|---|
AdminResource.ProjectsResource.LocationsResource.ReservationsResource.GetRequest |
List(string)
Returns the list of reservations for the given project.
Declaration
public virtual AdminResource.ProjectsResource.LocationsResource.ReservationsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The parent whose reservations are to be listed. Structured like
|
Returns
Type | Description |
---|---|
AdminResource.ProjectsResource.LocationsResource.ReservationsResource.ListRequest |
Patch(Reservation, string)
Updates properties of the specified reservation.
Declaration
public virtual AdminResource.ProjectsResource.LocationsResource.ReservationsResource.PatchRequest Patch(Reservation body, string name)
Parameters
Type | Name | Description |
---|---|---|
Reservation | body | The body of the request. |
string | name | The name of the reservation. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id} |
Returns
Type | Description |
---|---|
AdminResource.ProjectsResource.LocationsResource.ReservationsResource.PatchRequest |