method

GetInvoice

acme.billing.v1.BillingService.GetInvoice

RPC on BillingService

rpc GetInvoice(acme.billing.v1.GetInvoiceRequest) returns (acme.billing.v1.GetInvoiceResponse);

NO_SIDE_EFFECTS

Options

idempotency_level
idempotency_level = NO_SIDE_EFFECTS
HTTP — GET /v1/invoices/{id}
GET
(google.api.http) = { get: "/v1/invoices/{id}" }

Request

acme.billing.v1.GetInvoiceRequest

FieldNumberTypeCardinalityValidationDescription
id1stringimplicit——
Details
  • JSON name: id
  • Presence: IMPLICIT
  • Annotations: REQUIRED
(google.api.field_behavior) = [
  REQUIRED
]

Response

acme.billing.v1.GetInvoiceResponse

FieldNumberTypeCardinalityValidationDescription
invoice1acme.billing.v1.Invoiceoptional——
Details
  • JSON name: invoice
  • Presence: EXPLICIT