Versions in this module Expand all Collapse all v0 v0.196.2 Sep 10, 2024 Changes in this version + type ApisGetRestCall struct + func (c *ApisGetRestCall) Context(ctx context.Context) *ApisGetRestCall + func (c *ApisGetRestCall) Do(opts ...googleapi.CallOption) (*RestDescription, error) + func (c *ApisGetRestCall) Fields(s ...googleapi.Field) *ApisGetRestCall + func (c *ApisGetRestCall) Header() http.Header + func (c *ApisGetRestCall) IfNoneMatch(entityTag string) *ApisGetRestCall + type ApisListCall struct + func (c *ApisListCall) Context(ctx context.Context) *ApisListCall + func (c *ApisListCall) Do(opts ...googleapi.CallOption) (*DirectoryList, error) + func (c *ApisListCall) Fields(s ...googleapi.Field) *ApisListCall + func (c *ApisListCall) Header() http.Header + func (c *ApisListCall) IfNoneMatch(entityTag string) *ApisListCall + func (c *ApisListCall) Name(name string) *ApisListCall + func (c *ApisListCall) Preferred(preferred bool) *ApisListCall + type ApisService struct + func NewApisService(s *Service) *ApisService + func (r *ApisService) GetRest(api string, version string) *ApisGetRestCall + func (r *ApisService) List() *ApisListCall + type DirectoryList struct + DiscoveryVersion string + ForceSendFields []string + Items []*DirectoryListItems + Kind string + NullFields []string + func (s DirectoryList) MarshalJSON() ([]byte, error) + type DirectoryListItems struct + Description string + DiscoveryLink string + DiscoveryRestUrl string + DocumentationLink string + ForceSendFields []string + Icons *DirectoryListItemsIcons + Id string + Kind string + Labels []string + Name string + NullFields []string + Preferred bool + Title string + Version string + func (s DirectoryListItems) MarshalJSON() ([]byte, error) + type DirectoryListItemsIcons struct + ForceSendFields []string + NullFields []string + X16 string + X32 string + func (s DirectoryListItemsIcons) MarshalJSON() ([]byte, error) + type JsonSchema struct + AdditionalProperties *JsonSchema + Annotations *JsonSchemaAnnotations + Default string + Deprecated bool + Description string + Enum []string + EnumDeprecated []bool + EnumDescriptions []string + ForceSendFields []string + Format string + Id string + Items *JsonSchema + Location string + Maximum string + Minimum string + NullFields []string + Pattern string + Properties map[string]JsonSchema + ReadOnly bool + Ref string + Repeated bool + Required bool + Type string + Variant *JsonSchemaVariant + func (s JsonSchema) MarshalJSON() ([]byte, error) + type JsonSchemaAnnotations struct + ForceSendFields []string + NullFields []string + Required []string + func (s JsonSchemaAnnotations) MarshalJSON() ([]byte, error) + type JsonSchemaVariant struct + Discriminant string + ForceSendFields []string + Map []*JsonSchemaVariantMap + NullFields []string + func (s JsonSchemaVariant) MarshalJSON() ([]byte, error) + type JsonSchemaVariantMap struct + ForceSendFields []string + NullFields []string + Ref string + TypeValue string + func (s JsonSchemaVariantMap) MarshalJSON() ([]byte, error) + type RestDescription struct + Auth *RestDescriptionAuth + BasePath string + BaseUrl string + BatchPath string + CanonicalName string + Description string + DiscoveryVersion string + DocumentationLink string + Endpoints []*RestDescriptionEndpoints + Etag string + ExponentialBackoffDefault bool + Features []string + ForceSendFields []string + Icons *RestDescriptionIcons + Id string + Kind string + Labels []string + Methods map[string]RestMethod + Name string + NullFields []string + OwnerDomain string + OwnerName string + PackagePath string + Parameters map[string]JsonSchema + Protocol string + Resources map[string]RestResource + Revision string + RootUrl string + Schemas map[string]JsonSchema + ServicePath string + Title string + Version string + VersionModule bool + func (s RestDescription) MarshalJSON() ([]byte, error) + type RestDescriptionAuth struct + ForceSendFields []string + NullFields []string + Oauth2 *RestDescriptionAuthOauth2 + func (s RestDescriptionAuth) MarshalJSON() ([]byte, error) + type RestDescriptionAuthOauth2 struct + ForceSendFields []string + NullFields []string + Scopes map[string]RestDescriptionAuthOauth2Scopes + func (s RestDescriptionAuthOauth2) MarshalJSON() ([]byte, error) + type RestDescriptionAuthOauth2Scopes struct + Description string + ForceSendFields []string + NullFields []string + func (s RestDescriptionAuthOauth2Scopes) MarshalJSON() ([]byte, error) + type RestDescriptionEndpoints struct + Deprecated bool + Description string + EndpointUrl string + ForceSendFields []string + Location string + NullFields []string + func (s RestDescriptionEndpoints) MarshalJSON() ([]byte, error) + type RestDescriptionIcons struct + ForceSendFields []string + NullFields []string + X16 string + X32 string + func (s RestDescriptionIcons) MarshalJSON() ([]byte, error) + type RestMethod struct + ApiVersion string + Deprecated bool + Description string + EtagRequired bool + FlatPath string + ForceSendFields []string + HttpMethod string + Id string + MediaUpload *RestMethodMediaUpload + NullFields []string + ParameterOrder []string + Parameters map[string]JsonSchema + Path string + Request *RestMethodRequest + Response *RestMethodResponse + Scopes []string + SupportsMediaDownload bool + SupportsMediaUpload bool + SupportsSubscription bool + UseMediaDownloadService bool + func (s RestMethod) MarshalJSON() ([]byte, error) + type RestMethodMediaUpload struct + Accept []string + ForceSendFields []string + MaxSize string + NullFields []string + Protocols *RestMethodMediaUploadProtocols + func (s RestMethodMediaUpload) MarshalJSON() ([]byte, error) + type RestMethodMediaUploadProtocols struct + ForceSendFields []string + NullFields []string + Resumable *RestMethodMediaUploadProtocolsResumable + Simple *RestMethodMediaUploadProtocolsSimple + func (s RestMethodMediaUploadProtocols) MarshalJSON() ([]byte, error) + type RestMethodMediaUploadProtocolsResumable struct + ForceSendFields []string + Multipart *bool + NullFields []string + Path string + func (s RestMethodMediaUploadProtocolsResumable) MarshalJSON() ([]byte, error) + type RestMethodMediaUploadProtocolsSimple struct + ForceSendFields []string + Multipart *bool + NullFields []string + Path string + func (s RestMethodMediaUploadProtocolsSimple) MarshalJSON() ([]byte, error) + type RestMethodRequest struct + ForceSendFields []string + NullFields []string + ParameterName string + Ref string + func (s RestMethodRequest) MarshalJSON() ([]byte, error) + type RestMethodResponse struct + ForceSendFields []string + NullFields []string + Ref string + func (s RestMethodResponse) MarshalJSON() ([]byte, error) + type RestResource struct + Deprecated bool + ForceSendFields []string + Methods map[string]RestMethod + NullFields []string + Resources map[string]RestResource + func (s RestResource) MarshalJSON() ([]byte, error) + type Service struct + Apis *ApisService + BasePath string + UserAgent string + func New(client *http.Client) (*Service, error) + func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error)