Versions in this module Expand all Collapse all v0 v0.0.1 Dec 7, 2023 Changes in this version + const CloudPlatformScope + type AdminSettings struct + AllowedEmailDomains []string + ForceSendFields []string + NullFields []string + func (s *AdminSettings) MarshalJSON() ([]byte, error) + type AuditConfig struct + AuditLogConfigs []*AuditLogConfig + ForceSendFields []string + NullFields []string + Service string + func (s *AuditConfig) MarshalJSON() ([]byte, error) + type AuditLogConfig struct + ExemptedMembers []string + ForceSendFields []string + LogType string + NullFields []string + func (s *AuditLogConfig) MarshalJSON() ([]byte, error) + type Binding struct + Condition *Expr + ForceSendFields []string + Members []string + NullFields []string + Role string + func (s *Binding) MarshalJSON() ([]byte, error) + type CancelOperationRequest struct + type CustomDomain struct + Domain string + ForceSendFields []string + NullFields []string + State string + func (s *CustomDomain) MarshalJSON() ([]byte, error) + type Date struct + Day int64 + ForceSendFields []string + Month int64 + NullFields []string + Year int64 + func (s *Date) MarshalJSON() ([]byte, error) + type DenyMaintenancePeriod struct + EndDate *Date + ForceSendFields []string + NullFields []string + StartDate *Date + Time *TimeOfDay + func (s *DenyMaintenancePeriod) MarshalJSON() ([]byte, error) + type Empty struct + type EncryptionConfig struct + ForceSendFields []string + KmsKeyName string + KmsKeyNameVersion string + KmsKeyState string + NullFields []string + func (s *EncryptionConfig) MarshalJSON() ([]byte, error) + type ExportEncryptionConfig struct + ForceSendFields []string + KmsKeyName string + NullFields []string + func (s *ExportEncryptionConfig) MarshalJSON() ([]byte, error) + type ExportInstanceRequest struct + EncryptionConfig *ExportEncryptionConfig + ForceSendFields []string + GcsUri string + NullFields []string + func (s *ExportInstanceRequest) MarshalJSON() ([]byte, error) + type ExportMetadata struct + ExportEncryptionKey *ExportMetadataEncryptionKey + FilePaths []string + ForceSendFields []string + LookerEncryptionKey string + LookerInstance string + LookerPlatformEdition string + LookerVersion string + NullFields []string + Source string + func (s *ExportMetadata) MarshalJSON() ([]byte, error) + type ExportMetadataEncryptionKey struct + Cmek string + ForceSendFields []string + NullFields []string + Version string + func (s *ExportMetadataEncryptionKey) MarshalJSON() ([]byte, error) + type Expr struct + Description string + Expression string + ForceSendFields []string + Location string + NullFields []string + Title string + func (s *Expr) MarshalJSON() ([]byte, error) + type ImportInstanceRequest struct + ForceSendFields []string + GcsUri string + NullFields []string + func (s *ImportInstanceRequest) MarshalJSON() ([]byte, error) + type Instance struct + AdminSettings *AdminSettings + ConsumerNetwork string + CreateTime string + CustomDomain *CustomDomain + DenyMaintenancePeriod *DenyMaintenancePeriod + EgressPublicIp string + EncryptionConfig *EncryptionConfig + ForceSendFields []string + IngressPrivateIp string + IngressPublicIp string + LastDenyMaintenancePeriod *DenyMaintenancePeriod + LookerUri string + LookerVersion string + MaintenanceSchedule *MaintenanceSchedule + MaintenanceWindow *MaintenanceWindow + Name string + NullFields []string + OauthConfig *OAuthConfig + PlatformEdition string + PrivateIpEnabled bool + PublicIpEnabled bool + ReservedRange string + State string + UpdateTime string + UserMetadata *UserMetadata + func (s *Instance) MarshalJSON() ([]byte, error) + type ListInstancesResponse struct + ForceSendFields []string + Instances []*Instance + NextPageToken string + NullFields []string + Unreachable []string + func (s *ListInstancesResponse) MarshalJSON() ([]byte, error) + type ListLocationsResponse struct + ForceSendFields []string + Locations []*Location + NextPageToken string + NullFields []string + func (s *ListLocationsResponse) MarshalJSON() ([]byte, error) + type ListOperationsResponse struct + ForceSendFields []string + NextPageToken string + NullFields []string + Operations []*Operation + func (s *ListOperationsResponse) MarshalJSON() ([]byte, error) + type Location struct + DisplayName string + ForceSendFields []string + Labels map[string]string + LocationId string + Metadata googleapi.RawMessage + Name string + NullFields []string + func (s *Location) MarshalJSON() ([]byte, error) + type MaintenanceSchedule struct + EndTime string + ForceSendFields []string + NullFields []string + StartTime string + func (s *MaintenanceSchedule) MarshalJSON() ([]byte, error) + type MaintenanceWindow struct + DayOfWeek string + ForceSendFields []string + NullFields []string + StartTime *TimeOfDay + func (s *MaintenanceWindow) MarshalJSON() ([]byte, error) + type OAuthConfig struct + ClientId string + ClientSecret string + ForceSendFields []string + NullFields []string + func (s *OAuthConfig) MarshalJSON() ([]byte, error) + type Operation struct + Done bool + Error *Status + ForceSendFields []string + Metadata googleapi.RawMessage + Name string + NullFields []string + Response googleapi.RawMessage + func (s *Operation) MarshalJSON() ([]byte, error) + type OperationMetadata struct + ApiVersion string + CreateTime string + EndTime string + ForceSendFields []string + NullFields []string + RequestedCancellation bool + StatusMessage string + Target string + Verb string + func (s *OperationMetadata) MarshalJSON() ([]byte, error) + type Policy struct + AuditConfigs []*AuditConfig + Bindings []*Binding + Etag string + ForceSendFields []string + NullFields []string + Version int64 + func (s *Policy) MarshalJSON() ([]byte, error) + type ProjectsLocationsGetCall struct + func (c *ProjectsLocationsGetCall) Context(ctx context.Context) *ProjectsLocationsGetCall + func (c *ProjectsLocationsGetCall) Do(opts ...googleapi.CallOption) (*Location, error) + func (c *ProjectsLocationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsGetCall + func (c *ProjectsLocationsGetCall) Header() http.Header + func (c *ProjectsLocationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsGetCall + type ProjectsLocationsInstancesBackupsGetIamPolicyCall struct + func (c *ProjectsLocationsInstancesBackupsGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsInstancesBackupsGetIamPolicyCall + func (c *ProjectsLocationsInstancesBackupsGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error) + func (c *ProjectsLocationsInstancesBackupsGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsInstancesBackupsGetIamPolicyCall + func (c *ProjectsLocationsInstancesBackupsGetIamPolicyCall) Header() http.Header + func (c *ProjectsLocationsInstancesBackupsGetIamPolicyCall) IfNoneMatch(entityTag string) *ProjectsLocationsInstancesBackupsGetIamPolicyCall + func (c *ProjectsLocationsInstancesBackupsGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersion int64) *ProjectsLocationsInstancesBackupsGetIamPolicyCall + type ProjectsLocationsInstancesBackupsService struct + func NewProjectsLocationsInstancesBackupsService(s *Service) *ProjectsLocationsInstancesBackupsService + func (r *ProjectsLocationsInstancesBackupsService) GetIamPolicy(resource string) *ProjectsLocationsInstancesBackupsGetIamPolicyCall + func (r *ProjectsLocationsInstancesBackupsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsInstancesBackupsSetIamPolicyCall + func (r *ProjectsLocationsInstancesBackupsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsInstancesBackupsTestIamPermissionsCall + type ProjectsLocationsInstancesBackupsSetIamPolicyCall struct + func (c *ProjectsLocationsInstancesBackupsSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsInstancesBackupsSetIamPolicyCall + func (c *ProjectsLocationsInstancesBackupsSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error) + func (c *ProjectsLocationsInstancesBackupsSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsInstancesBackupsSetIamPolicyCall + func (c *ProjectsLocationsInstancesBackupsSetIamPolicyCall) Header() http.Header + type ProjectsLocationsInstancesBackupsTestIamPermissionsCall struct + func (c *ProjectsLocationsInstancesBackupsTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsInstancesBackupsTestIamPermissionsCall + func (c *ProjectsLocationsInstancesBackupsTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error) + func (c *ProjectsLocationsInstancesBackupsTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsInstancesBackupsTestIamPermissionsCall + func (c *ProjectsLocationsInstancesBackupsTestIamPermissionsCall) Header() http.Header + type ProjectsLocationsInstancesCreateCall struct + func (c *ProjectsLocationsInstancesCreateCall) Context(ctx context.Context) *ProjectsLocationsInstancesCreateCall + func (c *ProjectsLocationsInstancesCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *ProjectsLocationsInstancesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsInstancesCreateCall + func (c *ProjectsLocationsInstancesCreateCall) Header() http.Header + func (c *ProjectsLocationsInstancesCreateCall) InstanceId(instanceId string) *ProjectsLocationsInstancesCreateCall + type ProjectsLocationsInstancesDeleteCall struct + func (c *ProjectsLocationsInstancesDeleteCall) Context(ctx context.Context) *ProjectsLocationsInstancesDeleteCall + func (c *ProjectsLocationsInstancesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *ProjectsLocationsInstancesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsInstancesDeleteCall + func (c *ProjectsLocationsInstancesDeleteCall) Force(force bool) *ProjectsLocationsInstancesDeleteCall + func (c *ProjectsLocationsInstancesDeleteCall) Header() http.Header + type ProjectsLocationsInstancesExportCall struct + func (c *ProjectsLocationsInstancesExportCall) Context(ctx context.Context) *ProjectsLocationsInstancesExportCall + func (c *ProjectsLocationsInstancesExportCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *ProjectsLocationsInstancesExportCall) Fields(s ...googleapi.Field) *ProjectsLocationsInstancesExportCall + func (c *ProjectsLocationsInstancesExportCall) Header() http.Header + type ProjectsLocationsInstancesGetCall struct + func (c *ProjectsLocationsInstancesGetCall) Context(ctx context.Context) *ProjectsLocationsInstancesGetCall + func (c *ProjectsLocationsInstancesGetCall) Do(opts ...googleapi.CallOption) (*Instance, error) + func (c *ProjectsLocationsInstancesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsInstancesGetCall + func (c *ProjectsLocationsInstancesGetCall) Header() http.Header + func (c *ProjectsLocationsInstancesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsInstancesGetCall + type ProjectsLocationsInstancesGetIamPolicyCall struct + func (c *ProjectsLocationsInstancesGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsInstancesGetIamPolicyCall + func (c *ProjectsLocationsInstancesGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error) + func (c *ProjectsLocationsInstancesGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsInstancesGetIamPolicyCall + func (c *ProjectsLocationsInstancesGetIamPolicyCall) Header() http.Header + func (c *ProjectsLocationsInstancesGetIamPolicyCall) IfNoneMatch(entityTag string) *ProjectsLocationsInstancesGetIamPolicyCall + func (c *ProjectsLocationsInstancesGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersion int64) *ProjectsLocationsInstancesGetIamPolicyCall + type ProjectsLocationsInstancesImportCall struct + func (c *ProjectsLocationsInstancesImportCall) Context(ctx context.Context) *ProjectsLocationsInstancesImportCall + func (c *ProjectsLocationsInstancesImportCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *ProjectsLocationsInstancesImportCall) Fields(s ...googleapi.Field) *ProjectsLocationsInstancesImportCall + func (c *ProjectsLocationsInstancesImportCall) Header() http.Header + type ProjectsLocationsInstancesListCall struct + func (c *ProjectsLocationsInstancesListCall) Context(ctx context.Context) *ProjectsLocationsInstancesListCall + func (c *ProjectsLocationsInstancesListCall) Do(opts ...googleapi.CallOption) (*ListInstancesResponse, error) + func (c *ProjectsLocationsInstancesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsInstancesListCall + func (c *ProjectsLocationsInstancesListCall) Header() http.Header + func (c *ProjectsLocationsInstancesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsInstancesListCall + func (c *ProjectsLocationsInstancesListCall) PageSize(pageSize int64) *ProjectsLocationsInstancesListCall + func (c *ProjectsLocationsInstancesListCall) PageToken(pageToken string) *ProjectsLocationsInstancesListCall + func (c *ProjectsLocationsInstancesListCall) Pages(ctx context.Context, f func(*ListInstancesResponse) error) error + type ProjectsLocationsInstancesPatchCall struct + func (c *ProjectsLocationsInstancesPatchCall) Context(ctx context.Context) *ProjectsLocationsInstancesPatchCall + func (c *ProjectsLocationsInstancesPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *ProjectsLocationsInstancesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsInstancesPatchCall + func (c *ProjectsLocationsInstancesPatchCall) Header() http.Header + func (c *ProjectsLocationsInstancesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsInstancesPatchCall + type ProjectsLocationsInstancesRestartCall struct + func (c *ProjectsLocationsInstancesRestartCall) Context(ctx context.Context) *ProjectsLocationsInstancesRestartCall + func (c *ProjectsLocationsInstancesRestartCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *ProjectsLocationsInstancesRestartCall) Fields(s ...googleapi.Field) *ProjectsLocationsInstancesRestartCall + func (c *ProjectsLocationsInstancesRestartCall) Header() http.Header + type ProjectsLocationsInstancesService struct + Backups *ProjectsLocationsInstancesBackupsService + func NewProjectsLocationsInstancesService(s *Service) *ProjectsLocationsInstancesService + func (r *ProjectsLocationsInstancesService) Create(parent string, instance *Instance) *ProjectsLocationsInstancesCreateCall + func (r *ProjectsLocationsInstancesService) Delete(name string) *ProjectsLocationsInstancesDeleteCall + func (r *ProjectsLocationsInstancesService) Export(name string, exportinstancerequest *ExportInstanceRequest) *ProjectsLocationsInstancesExportCall + func (r *ProjectsLocationsInstancesService) Get(name string) *ProjectsLocationsInstancesGetCall + func (r *ProjectsLocationsInstancesService) GetIamPolicy(resource string) *ProjectsLocationsInstancesGetIamPolicyCall + func (r *ProjectsLocationsInstancesService) Import(name string, importinstancerequest *ImportInstanceRequest) *ProjectsLocationsInstancesImportCall + func (r *ProjectsLocationsInstancesService) List(parent string) *ProjectsLocationsInstancesListCall + func (r *ProjectsLocationsInstancesService) Patch(name string, instance *Instance) *ProjectsLocationsInstancesPatchCall + func (r *ProjectsLocationsInstancesService) Restart(name string, restartinstancerequest *RestartInstanceRequest) *ProjectsLocationsInstancesRestartCall + func (r *ProjectsLocationsInstancesService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsInstancesSetIamPolicyCall + func (r *ProjectsLocationsInstancesService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsInstancesTestIamPermissionsCall + type ProjectsLocationsInstancesSetIamPolicyCall struct + func (c *ProjectsLocationsInstancesSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsInstancesSetIamPolicyCall + func (c *ProjectsLocationsInstancesSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error) + func (c *ProjectsLocationsInstancesSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsInstancesSetIamPolicyCall + func (c *ProjectsLocationsInstancesSetIamPolicyCall) Header() http.Header + type ProjectsLocationsInstancesTestIamPermissionsCall struct + func (c *ProjectsLocationsInstancesTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsInstancesTestIamPermissionsCall + func (c *ProjectsLocationsInstancesTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error) + func (c *ProjectsLocationsInstancesTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsInstancesTestIamPermissionsCall + func (c *ProjectsLocationsInstancesTestIamPermissionsCall) Header() http.Header + type ProjectsLocationsListCall struct + func (c *ProjectsLocationsListCall) Context(ctx context.Context) *ProjectsLocationsListCall + func (c *ProjectsLocationsListCall) Do(opts ...googleapi.CallOption) (*ListLocationsResponse, error) + func (c *ProjectsLocationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsListCall + func (c *ProjectsLocationsListCall) Filter(filter string) *ProjectsLocationsListCall + func (c *ProjectsLocationsListCall) Header() http.Header + func (c *ProjectsLocationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsListCall + func (c *ProjectsLocationsListCall) PageSize(pageSize int64) *ProjectsLocationsListCall + func (c *ProjectsLocationsListCall) PageToken(pageToken string) *ProjectsLocationsListCall + func (c *ProjectsLocationsListCall) Pages(ctx context.Context, f func(*ListLocationsResponse) error) error + type ProjectsLocationsOperationsCancelCall struct + func (c *ProjectsLocationsOperationsCancelCall) Context(ctx context.Context) *ProjectsLocationsOperationsCancelCall + func (c *ProjectsLocationsOperationsCancelCall) Do(opts ...googleapi.CallOption) (*Empty, error) + func (c *ProjectsLocationsOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsCancelCall + func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header + type ProjectsLocationsOperationsDeleteCall struct + func (c *ProjectsLocationsOperationsDeleteCall) Context(ctx context.Context) *ProjectsLocationsOperationsDeleteCall + func (c *ProjectsLocationsOperationsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error) + func (c *ProjectsLocationsOperationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsDeleteCall + func (c *ProjectsLocationsOperationsDeleteCall) Header() http.Header + type ProjectsLocationsOperationsGetCall struct + func (c *ProjectsLocationsOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsOperationsGetCall + func (c *ProjectsLocationsOperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *ProjectsLocationsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsGetCall + func (c *ProjectsLocationsOperationsGetCall) Header() http.Header + func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall + type ProjectsLocationsOperationsListCall struct + func (c *ProjectsLocationsOperationsListCall) Context(ctx context.Context) *ProjectsLocationsOperationsListCall + func (c *ProjectsLocationsOperationsListCall) Do(opts ...googleapi.CallOption) (*ListOperationsResponse, error) + func (c *ProjectsLocationsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsListCall + func (c *ProjectsLocationsOperationsListCall) Filter(filter string) *ProjectsLocationsOperationsListCall + func (c *ProjectsLocationsOperationsListCall) Header() http.Header + func (c *ProjectsLocationsOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsListCall + func (c *ProjectsLocationsOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsOperationsListCall + func (c *ProjectsLocationsOperationsListCall) PageToken(pageToken string) *ProjectsLocationsOperationsListCall + func (c *ProjectsLocationsOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error + type ProjectsLocationsOperationsService struct + func NewProjectsLocationsOperationsService(s *Service) *ProjectsLocationsOperationsService + func (r *ProjectsLocationsOperationsService) Cancel(name string, canceloperationrequest *CancelOperationRequest) *ProjectsLocationsOperationsCancelCall + func (r *ProjectsLocationsOperationsService) Delete(name string) *ProjectsLocationsOperationsDeleteCall + func (r *ProjectsLocationsOperationsService) Get(name string) *ProjectsLocationsOperationsGetCall + func (r *ProjectsLocationsOperationsService) List(name string) *ProjectsLocationsOperationsListCall + type ProjectsLocationsService struct + Instances *ProjectsLocationsInstancesService + Operations *ProjectsLocationsOperationsService + func NewProjectsLocationsService(s *Service) *ProjectsLocationsService + func (r *ProjectsLocationsService) Get(name string) *ProjectsLocationsGetCall + func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall + type ProjectsService struct + Locations *ProjectsLocationsService + func NewProjectsService(s *Service) *ProjectsService + type RestartInstanceRequest struct + type Service struct + BasePath string + Projects *ProjectsService + UserAgent string + func New(client *http.Client) (*Service, error) + func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) + type SetIamPolicyRequest struct + ForceSendFields []string + NullFields []string + Policy *Policy + UpdateMask string + func (s *SetIamPolicyRequest) MarshalJSON() ([]byte, error) + type Status struct + Code int64 + Details []googleapi.RawMessage + ForceSendFields []string + Message string + NullFields []string + func (s *Status) MarshalJSON() ([]byte, error) + type TestIamPermissionsRequest struct + ForceSendFields []string + NullFields []string + Permissions []string + func (s *TestIamPermissionsRequest) MarshalJSON() ([]byte, error) + type TestIamPermissionsResponse struct + ForceSendFields []string + NullFields []string + Permissions []string + func (s *TestIamPermissionsResponse) MarshalJSON() ([]byte, error) + type TimeOfDay struct + ForceSendFields []string + Hours int64 + Minutes int64 + Nanos int64 + NullFields []string + Seconds int64 + func (s *TimeOfDay) MarshalJSON() ([]byte, error) + type UserMetadata struct + AdditionalDeveloperUserCount int64 + AdditionalStandardUserCount int64 + AdditionalViewerUserCount int64 + ForceSendFields []string + NullFields []string + func (s *UserMetadata) MarshalJSON() ([]byte, error)