Versions in this module Expand all Collapse all v0 v0.196.2 Sep 10, 2024 Changes in this version + const CloudPlatformScope + type GoogleExampleLibraryagentV1Book struct + Author string + ForceSendFields []string + Name string + NullFields []string + Read bool + Title string + func (s GoogleExampleLibraryagentV1Book) MarshalJSON() ([]byte, error) + type GoogleExampleLibraryagentV1ListBooksResponse struct + Books []*GoogleExampleLibraryagentV1Book + ForceSendFields []string + NextPageToken string + NullFields []string + func (s GoogleExampleLibraryagentV1ListBooksResponse) MarshalJSON() ([]byte, error) + type GoogleExampleLibraryagentV1ListShelvesResponse struct + ForceSendFields []string + NextPageToken string + NullFields []string + Shelves []*GoogleExampleLibraryagentV1Shelf + func (s GoogleExampleLibraryagentV1ListShelvesResponse) MarshalJSON() ([]byte, error) + type GoogleExampleLibraryagentV1Shelf struct + ForceSendFields []string + Name string + NullFields []string + Theme string + func (s GoogleExampleLibraryagentV1Shelf) MarshalJSON() ([]byte, error) + type Service struct + BasePath string + Shelves *ShelvesService + UserAgent string + func New(client *http.Client) (*Service, error) + func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) + type ShelvesBooksBorrowCall struct + func (c *ShelvesBooksBorrowCall) Context(ctx context.Context) *ShelvesBooksBorrowCall + func (c *ShelvesBooksBorrowCall) Do(opts ...googleapi.CallOption) (*GoogleExampleLibraryagentV1Book, error) + func (c *ShelvesBooksBorrowCall) Fields(s ...googleapi.Field) *ShelvesBooksBorrowCall + func (c *ShelvesBooksBorrowCall) Header() http.Header + type ShelvesBooksGetCall struct + func (c *ShelvesBooksGetCall) Context(ctx context.Context) *ShelvesBooksGetCall + func (c *ShelvesBooksGetCall) Do(opts ...googleapi.CallOption) (*GoogleExampleLibraryagentV1Book, error) + func (c *ShelvesBooksGetCall) Fields(s ...googleapi.Field) *ShelvesBooksGetCall + func (c *ShelvesBooksGetCall) Header() http.Header + func (c *ShelvesBooksGetCall) IfNoneMatch(entityTag string) *ShelvesBooksGetCall + type ShelvesBooksListCall struct + func (c *ShelvesBooksListCall) Context(ctx context.Context) *ShelvesBooksListCall + func (c *ShelvesBooksListCall) Do(opts ...googleapi.CallOption) (*GoogleExampleLibraryagentV1ListBooksResponse, error) + func (c *ShelvesBooksListCall) Fields(s ...googleapi.Field) *ShelvesBooksListCall + func (c *ShelvesBooksListCall) Header() http.Header + func (c *ShelvesBooksListCall) IfNoneMatch(entityTag string) *ShelvesBooksListCall + func (c *ShelvesBooksListCall) PageSize(pageSize int64) *ShelvesBooksListCall + func (c *ShelvesBooksListCall) PageToken(pageToken string) *ShelvesBooksListCall + func (c *ShelvesBooksListCall) Pages(ctx context.Context, ...) error + type ShelvesBooksReturnCall struct + func (c *ShelvesBooksReturnCall) Context(ctx context.Context) *ShelvesBooksReturnCall + func (c *ShelvesBooksReturnCall) Do(opts ...googleapi.CallOption) (*GoogleExampleLibraryagentV1Book, error) + func (c *ShelvesBooksReturnCall) Fields(s ...googleapi.Field) *ShelvesBooksReturnCall + func (c *ShelvesBooksReturnCall) Header() http.Header + type ShelvesBooksService struct + func NewShelvesBooksService(s *Service) *ShelvesBooksService + func (r *ShelvesBooksService) Borrow(name string) *ShelvesBooksBorrowCall + func (r *ShelvesBooksService) Get(name string) *ShelvesBooksGetCall + func (r *ShelvesBooksService) List(parent string) *ShelvesBooksListCall + func (r *ShelvesBooksService) Return(name string) *ShelvesBooksReturnCall + type ShelvesGetCall struct + func (c *ShelvesGetCall) Context(ctx context.Context) *ShelvesGetCall + func (c *ShelvesGetCall) Do(opts ...googleapi.CallOption) (*GoogleExampleLibraryagentV1Shelf, error) + func (c *ShelvesGetCall) Fields(s ...googleapi.Field) *ShelvesGetCall + func (c *ShelvesGetCall) Header() http.Header + func (c *ShelvesGetCall) IfNoneMatch(entityTag string) *ShelvesGetCall + type ShelvesListCall struct + func (c *ShelvesListCall) Context(ctx context.Context) *ShelvesListCall + func (c *ShelvesListCall) Do(opts ...googleapi.CallOption) (*GoogleExampleLibraryagentV1ListShelvesResponse, error) + func (c *ShelvesListCall) Fields(s ...googleapi.Field) *ShelvesListCall + func (c *ShelvesListCall) Header() http.Header + func (c *ShelvesListCall) IfNoneMatch(entityTag string) *ShelvesListCall + func (c *ShelvesListCall) PageSize(pageSize int64) *ShelvesListCall + func (c *ShelvesListCall) PageToken(pageToken string) *ShelvesListCall + func (c *ShelvesListCall) Pages(ctx context.Context, ...) error + type ShelvesService struct + Books *ShelvesBooksService + func NewShelvesService(s *Service) *ShelvesService + func (r *ShelvesService) Get(name string) *ShelvesGetCall + func (r *ShelvesService) List() *ShelvesListCall